Repository navigation
feat(scoring): 按内容形态细分评分标尺 - #234
Merged
Merged
Conversation
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.
普通分析把资讯、教程、观点和评测套在同一套证据要求下,容易把没有操作步骤的新闻或有充分依据的个人体验判低。这次按现有十种内容形态及通用回退细分中英评分标尺,接入完整分析和Lite预筛;保持原有权重、门槛、风险与输出结构。
Closes #233
分支:
issue-233-content-type-rubrics;基线:15ecbd9;HEAD:16d3f1c5546878d89a62ae08c9f5fb40ca2fefe3。Changes
Verification
TEST_PG_PORT=5567 bash backend/scripts/test_full_local.sh -k 'content_type_rubrics or scoring_caliber or paper_analysis or prompt_contracts or prompt_registry or classifier_contract or analysis_recovery or content_pipeline or test_today_picks or cache_warmup' --junitxml=../.vidt/commit-233/integration-junit.xml,退出0,225通过,0失败/错误/跳过,含93项类型标尺回归。一次性PG已清理。/root/type_rubrics_verify最终PASS,绑定16d3f1c的11文件hash;核查代码/合同和执行日志,没有独立重跑pytest或调用Provider。修复了其发现的个人案例低分P2;新增缓存补丁仅三处v6→v7完整预期字符串,未放宽断言。16d3f1c。工作区干净。Limits and rollback
未更改UI、schema、依赖、评分CONFIG、权限或调度。无真实Provider调用、历史批量重评或生产操作。source_name/published_at等元数据仍未额外注入title/body模板;判断限于输入片段。模型遵从、标签冲突识别及跨类型评分质量需独立人工留出与真实Provider校准;Lite派生维度、本地估分不等于完整Pro判断。
必要时用后续revert PR回退代码,不批量回写历史分析。四个独立逻辑提交:
3b3065c评分与回归、31a7b14日报契约测试、bf536e5长期合同、16d3f1c缓存版本断言;ea90356仅合入最新main,保留历史。合并后验证:本PR已按所有者授权合并为
a33f373fc2db35fc968908153f9852d7db68abdb;main push CI 420498990088/8成功,#233已回读为closed/completed。本地main已同步且工作区干净,文件树与最终已审HEAD完全一致。