Repository navigation
证据出自图片的字段送审核页 - #108
Merged
Merged
证据出自图片的字段送审核页#108
Conversation
图片和扫描件的文字是 DeepSeek 读出来的,认错的字在快照里照样原样找得到,证据校验拦不住,所以这类字段要交给人核对。 - 抓取节点交附件时带上 read_from_pictures:文字里有从图片或扫描页读的部分就为真,存着的读图结果也算 - 网站的 attachments 表加同名的列;证据有一句出自这种附件的字段,以 evidence_in_picture 进审核页 - 审核页加上「证据在图片里」,总体设计 §8.3 和数据表写上这条规则
文字一样、这次是从扫描页读出来的,沿用旧快照就会让证据绕过审核。
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联
路线图 #2「证据只在图片里的值送审核页」,抓取节点上线前要有。Refs #102、#106
改了什么
图片和扫描件的文字是 DeepSeek 读出来的,认错的字在快照里照样原样找得到,看着也像对的,证据校验拦不住,所以这类字段要交给人核对(总体设计 §8.3)。
read_from_pictures,文字里有从图片或扫描页读的部分就为真。存着没重读的也算:存下来的都是读图的结果。attachments表加同名的列;附件改成从图片读的也算快照变了。证据有一句出自这种附件的字段不上表,以evidence_in_picture进审核页,通过的照抽出来的值上表,和置信度低的一样。怎么验证的
pnpm check通过,101 个测试;新测试:一条通知的字段证据分别在正文、普通附件和图片附件里,只有图片里的两个进审核页。./check.sh通过,344 个测试;读图的测试里,第一次读和用存着的结果,附件都标为从图片读的。0001_init.sql直接改,上线前没有历史包袱)。影响
POST /notices/{id}/snapshot的附件多了必填的read_from_pictures,两边一起改了。attachments加一列,review_items.reason多一种。还没上线,没有已有数据。