Repository navigation
领活不再带来源的栏目名 - #99
Merged
Merged
领活不再带来源的栏目名#99
Conversation
初筛只看标题(总体设计 §8.1),抓取节点用不到栏目名;网站上它还是来源的名字,列留着。 - 领活接口的 WorkSource 去掉 section,重新生成 OpenAPI 文档和抓取节点的类型 - 数据表文档改掉「初筛时一起看」的说法
Merged
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.
关联
#40 的讨论里定的:栏目名留着当来源的名字,抓取节点不再拿它。
改了什么
初筛只看标题(总体设计 §8.1、§8.5 的实验:加上栏目名,过滤率反而降低),抓取节点里一直传
section=None,领活时带来的栏目名没有用处。网站上它还是来源的名字(抓取看板、学院页、来源管理),所以sources.section这一列不动。WorkSource去掉section,pnpm openapi和uv run datamodel-codegen重新生成 OpenAPI 文档和抓取节点的类型screening/evaluate.py)读的是data/screening.csv里的栏目名,不经过领活接口,不动怎么验证的
crawler/./check.sh通过:生成类型一致性、格式、lint、Pyright 严格模式和 217 项测试。web/里pnpm typecheck、pnpm lint、prettier --check .通过;pnpm openapi重新生成的文档只少了section这一项。网站的测试要连 PostgreSQL,本机这次没起数据库,以 CI 为准;网站的测试里没有用到领活返回的section。影响
GET /crawler/work返回的来源少了section。抓取节点的类型已经一起重新生成,抓取节点里没有地方用它。