Publish Reddit offline stratification v10.4.1 and S3 follow-up diagnostics 2026-10-30
Browse filesProduction offline tiers remain unchanged; S3 follow-up is published as a diagnostic overlay pending human review.
- .gitattributes +5 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/DATASET_README.md +37 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/IMPLEMENTATION_REPORT.md +182 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S1_reasoning_candidate.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S2_reasoning_fragment.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S3_process_only.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S4_offline_excluded.jsonl +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/U_review_or_source_pending.jsonl +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/artifact_integrity_report.json +108 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/candidate_comments.jsonl +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/classification_state.json +12 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/comment_evidence_all.jsonl.gz +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/S3_CONTINUED_DETECTION_REPORT_20261029.md +91 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s1_chain_audit_summary.json +22 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s1_chain_review_candidates.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_candidate_review_sample.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_reviewed_comments.jsonl +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_s1_chain_audit.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_semantic_candidates.jsonl +0 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/scan_summary.json +41 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/filter_manifest.json +31 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/historical_human15_current_routes.json +250 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/known_cases_regression.json +1012 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/migration_examples.json +649 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/offline_filter_statistics.json +183 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/offline_quality_report.md +182 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/post_routes_all.jsonl +3 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/audit_s1_chain_candidates.py +149 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/candidate_discovery.py +103 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/offline_cot_filter_v10.py +826 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/offline_evidence_schema.py +78 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/scan_s3_continued.py +130 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/source_index.py +227 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/u_semantic_filter.py +349 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/source_recovery_statistics.json +61 -0
- reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/v9_v10_transition_matrix.json +41 -0
- reddit/cleaned/A_pool/latest.json +27 -12
.gitattributes
CHANGED
|
@@ -7728,3 +7728,8 @@ tutorial_assets/ready_for_cot/20261010/json_with_images/tutorials_ready_for_cot_
|
|
| 7728 |
tutorial_assets/ready_for_cot/20261010/tutorials_ready_for_cot_875_bound.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7729 |
reddit/cleaned/A_pool/20261027/A_normal_candidate_20261025.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7730 |
reddit/cleaned/A_pool/20261027/F_image_unmapped_20261025.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7728 |
tutorial_assets/ready_for_cot/20261010/tutorials_ready_for_cot_875_bound.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7729 |
reddit/cleaned/A_pool/20261027/A_normal_candidate_20261025.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7730 |
reddit/cleaned/A_pool/20261027/F_image_unmapped_20261025.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7731 |
+
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/candidate_comments.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7732 |
+
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_reviewed_comments.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7733 |
+
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/post_routes_all.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7734 |
+
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S4_offline_excluded.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 7735 |
+
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/U_review_or_source_pending.jsonl filter=lfs diff=lfs merge=lfs -text
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/DATASET_README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: Reddit Geo CoT Offline Stratification
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Reddit Geo CoT offline stratification
|
| 9 |
+
|
| 10 |
+
This version publishes the current offline stratification of the Reddit precise-coordinate candidate pool before DeepSeek Flash CoT extraction.
|
| 11 |
+
|
| 12 |
+
- Rule version: `offline-cot-full-source.v10.4.1`
|
| 13 |
+
- Input rows: `72,170` posts
|
| 14 |
+
- Input SHA256: `2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae`
|
| 15 |
+
- Model calls: `0`
|
| 16 |
+
- Human precision/recall: not measured
|
| 17 |
+
- Training approval: `0`
|
| 18 |
+
|
| 19 |
+
## Production post tiers
|
| 20 |
+
|
| 21 |
+
| Tier | Posts | Comments |
|
| 22 |
+
|---|---:|---:|
|
| 23 |
+
| S1 reasoning candidate | 75 | 76 |
|
| 24 |
+
| S2 reasoning fragment | 2,015 | 2,135 |
|
| 25 |
+
| S3 process only | 4,983 | 5,150 |
|
| 26 |
+
| S4 offline excluded | 40,029 | 887,879 |
|
| 27 |
+
| U review/source pending | 25,068 | 47,641 |
|
| 28 |
+
|
| 29 |
+
`post_routes_all.jsonl` is the post-level routing output. `candidate_comments.jsonl` contains comments in S1-S3. The route-specific JSONL files are convenient partitions of the full comment evidence. `comment_evidence_all.jsonl.gz` contains the complete comment-level evidence in compressed JSONL form.
|
| 30 |
+
|
| 31 |
+
## Follow-up diagnostic
|
| 32 |
+
|
| 33 |
+
The `diagnostics/s3_followup_v2/` directory contains a source-bound re-screen of 5,042 non-frozen S3 comments. It identified 816 S2 fragment candidates across 809 posts and 20 S1 chain-review candidates. These are diagnostic overlays and have not changed the production tiers. The diagnostic files are not human gold labels.
|
| 34 |
+
|
| 35 |
+
## Reproducibility and limits
|
| 36 |
+
|
| 37 |
+
The `filter_manifest.json`, reports, and `provenance/code/` preserve the source hash and rule snapshot. Original Reddit source snapshots and local source indexes are not uploaded here. No model inference was performed in this run. Human review is required before using candidates as training records.
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/IMPLEMENTATION_REPORT.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CoT 全文筛选修改与重新分层实施报告
|
| 2 |
+
|
| 3 |
+
规则版本:offline-cot-full-source.v10.4.1。结果目录:offline_cot_filter_20261029_v10_4_2。
|
| 4 |
+
|
| 5 |
+
本次已完成新规则实现、全池本地全文扫描、多轮分层与诊断修订、来源完整性校验及新复核工作台。
|
| 6 |
+
S1/S2 是有原文证据的规则候选,未完成人工未见评估;S3 单独保留操作过程。没有训练放行记录。
|
| 7 |
+
|
| 8 |
+
## 重新分层
|
| 9 |
+
|
| 10 |
+
| 分层 | v9 帖数 | 本次帖数 | 本次占比 |
|
| 11 |
+
|---|---:|---:|---:|
|
| 12 |
+
| S1_reasoning_candidate | 1244 | 75 | 0.10% |
|
| 13 |
+
| S2_reasoning_fragment | 5780 | 2,015 | 2.79% |
|
| 14 |
+
| S3_process_only | 1248 | 4,983 | 6.90% |
|
| 15 |
+
| S4_offline_excluded | 63898 | 40,029 | 55.46% |
|
| 16 |
+
| U_review_or_source_pending | — | 25,068 | 34.73% |
|
| 17 |
+
|
| 18 |
+
各层互斥,总数为 72,170。U 是确实未解决的来源/依赖/语义问题,未计入 S2,也不当成确定无推理。
|
| 19 |
+
|
| 20 |
+
## 实际修复
|
| 21 |
+
|
| 22 |
+
1. 全文恢复前移。扫描三个上游快照,恢复正式池全部 72,170 帖;读取 942,881 条评论。预览只作线索,不再截断后作最终判定。
|
| 23 |
+
2. 评论级证据门槛。推理候选保存前提、结果/推断、关系陈述及原文偏移;去掉帖子关键词聚合、固定序号标签和 S2 直通。
|
| 24 |
+
3. 真正选择解释回复。问题、提示、确认与解法分开,沿真实 parent_id 查解释;不把后续回复内容归给提问者。
|
| 25 |
+
4. 修正处理状态。cot_comment_ids 只作已有候选线索;所有新记录处理状态 unknown,不凭标记排除或宣称节省调用。
|
| 26 |
+
5. 来源与任务分离。记录题面先验、图像线索自述、检索结果、条件查询策略;非地理任务和非图片个人信息不能冒充图像 CoT。
|
| 27 |
+
6. 错解与核对分开。识别直接反驳、部分纠正、自我撤回、事后候选核对、容差/得分争论、工具计划/禁用和链接教程。
|
| 28 |
+
7. 新增 U 待查。规则无法证明关系、正文删除/缺失、任务/依赖不明时不强行放行。
|
| 29 |
+
|
| 30 |
+
## 首轮抽查后的修订
|
| 31 |
+
|
| 32 |
+
首轮 v10 已完整保留。代理抽查发现自我撤回、纯提示因果、得分争论、答案致谢、泛泛记忆相似和事后候选核对仍有误放。
|
| 33 |
+
v10.1 诊断又发现百科/科学背景、跨句编号提示、or so 时间近似、so does 并列、间接邮票/文字谜任务和事后背景问题。
|
| 34 |
+
v10.2 的诊断补充了 so long as 条件句、since renamed 时间用法和 looked similar 泛泛相似的回归。最终沿用该批 125 帖做前后比较,不把开发诊断算作未见人工评估。
|
| 35 |
+
这些发现转为带完整原文的开发回归案例,并修正对应的一般判定;本次 offline-cot-full-source.v10.4.1 重新对全池执行。代理意见不改写为人工金标。
|
| 36 |
+
|
| 37 |
+
## 来源与目标完整性
|
| 38 |
+
|
| 39 |
+
- 所有评论逐条通过原文、作者、Unicode 偏移和真实祖先链校验;总计 942,881 条。
|
| 40 |
+
- 语义候选评论 2,211 条,其中 748 条不在原预览候选列表。
|
| 41 |
+
- 其中 1,199 条为解释问题的真实回复;问题自身不因此成为推理。
|
| 42 |
+
- 原始池 SHA-256 未变:2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae。
|
| 43 |
+
- 上游快照完整恢复不代表每条评论正文仍可用;[deleted]/[removed]/空正文单独待查。
|
| 44 |
+
|
| 45 |
+
U 的主原因(互斥;优先记录来源缺失,再记录语义等问题):
|
| 46 |
+
|
| 47 |
+
| 主原因 | U 帖数 |
|
| 48 |
+
|---|---:|
|
| 49 |
+
| COMMENT_SOURCE_UNAVAILABLE | 11,541 |
|
| 50 |
+
| TOOL_MENTION_WITHOUT_EXECUTION_PROOF | 6,166 |
|
| 51 |
+
| SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN | 7,293 |
|
| 52 |
+
| REFERENCE_NEEDS_SEMANTIC_REVIEW | 54 |
|
| 53 |
+
| ANSWER_CONFLICT_REVIEW | 2 |
|
| 54 |
+
| TOOL_CONTEXT_UNRESOLVED | 6 |
|
| 55 |
+
| TASK_SCOPE_UNRESOLVED | 5 |
|
| 56 |
+
| BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED | 1 |
|
| 57 |
+
|
| 58 |
+
S3 明细按评论统计;极简操作自述与详细操作分开,均不计入语义 CoT:
|
| 59 |
+
|
| 60 |
+
- minimal: 4,379
|
| 61 |
+
- informative: 771
|
| 62 |
+
|
| 63 |
+
## v9 到新版本迁移
|
| 64 |
+
|
| 65 |
+
| v9 原层 | 新 S1 | 新 S2 | 新 S3 | 新 S4 | U |
|
| 66 |
+
|---|---:|---:|---:|---:|---:|
|
| 67 |
+
| S1_reasoning_candidate | 0 | 53 | 39 | 447 | 705 |
|
| 68 |
+
| S2_reasoning_fragment | 2 | 80 | 79 | 3,168 | 2,451 |
|
| 69 |
+
| S3_process_only | 0 | 5 | 52 | 386 | 805 |
|
| 70 |
+
| S4_offline_excluded | 73 | 1,877 | 4,813 | 36,028 | 21,107 |
|
| 71 |
+
|
| 72 |
+
完整迁移矩阵另含携带旧候选标记子群,见 v9_v10_transition_matrix.json;每个迁移方向的可追溯例子见 migration_examples.json。
|
| 73 |
+
|
| 74 |
+
旧 S1/S2 所选评论在新规则下的内容诊断(不是人工精度):
|
| 75 |
+
|
| 76 |
+
| 新内容类型 | 旧入选评论数 |
|
| 77 |
+
|---|---:|
|
| 78 |
+
| answer_or_other_nonreasoning | 16,972 |
|
| 79 |
+
| hint_only | 3,828 |
|
| 80 |
+
| description_or_answer | 2,682 |
|
| 81 |
+
| question_or_guess | 1,399 |
|
| 82 |
+
| unresolved_semantic_relation | 1,267 |
|
| 83 |
+
| unresolved_tool_mention | 898 |
|
| 84 |
+
| plan_or_instruction | 556 |
|
| 85 |
+
| reasoning_fragment | 100 |
|
| 86 |
+
| recognition_only | 95 |
|
| 87 |
+
| off_task_content | 80 |
|
| 88 |
+
| tool_process | 74 |
|
| 89 |
+
| candidate_verification | 57 |
|
| 90 |
+
| explanation_request | 48 |
|
| 91 |
+
| policy_or_tool_mention | 18 |
|
| 92 |
+
| link_sharing_tutorial | 15 |
|
| 93 |
+
| answer_and_thanks | 14 |
|
| 94 |
+
| bot_noise | 13 |
|
| 95 |
+
| unresolved_dependency | 12 |
|
| 96 |
+
| external_personal_source | 7 |
|
| 97 |
+
| contradicted_reasoning | 2 |
|
| 98 |
+
| query_strategy_fragment | 1 |
|
| 99 |
+
| game_meta_discussion | 1 |
|
| 100 |
+
| contradicted_process | 1 |
|
| 101 |
+
| reasoning_chain | 1 |
|
| 102 |
+
| explicit_reasoning | 1 |
|
| 103 |
+
|
| 104 |
+
## 历史人工案例复查
|
| 105 |
+
|
| 106 |
+
15 条原始人工备注均保留。13 条在当前池中,2 条只作历史回归,未加入池。明确否定约束绑定原文哈希;正例必须通过实际规则,不能靠人工正例覆盖缺失证据。
|
| 107 |
+
|
| 108 |
+
| 评论 | 当前目标路由 | 当前内容类型 |
|
| 109 |
+
|---|---|---|
|
| 110 |
+
| GeoPuzzle/mdsgtqr | S4_offline_excluded | recognition_only |
|
| 111 |
+
| GeoPuzzle/n3azfis | S2_reasoning_fragment | reasoning_fragment |
|
| 112 |
+
| GeoPuzzle/e5muqoy | S2_reasoning_fragment | reasoning_fragment |
|
| 113 |
+
| GeoPuzzle/e8zfn10 | S4_offline_excluded | ungrounded_method_report |
|
| 114 |
+
| GeoPuzzle/fe9ukw1 | S4_offline_excluded | hint_helped_without_search_path |
|
| 115 |
+
| PictureGame/jeu3l21 | S1_reasoning_candidate | explicit_reasoning |
|
| 116 |
+
| PictureGame/gwuso5q | S1_reasoning_candidate | explicit_reasoning |
|
| 117 |
+
| PictureGame/iann998 | S2_reasoning_fragment | reasoning_fragment |
|
| 118 |
+
| PictureGame/iwke1yy | S4_offline_excluded | off_task_person_identification |
|
| 119 |
+
| PictureGame/ipmh59l | S2_reasoning_fragment | query_strategy_fragment |
|
| 120 |
+
| whereisthis/ob5e9sy | S4_offline_excluded | external_personal_source |
|
| 121 |
+
| whereisthis/oszer9x | 不在当前池 | 回归专用 |
|
| 122 |
+
| whereisthis/ckkouvp | 不在当前池 | 回归专用 |
|
| 123 |
+
| whereisthis/cr131hp | S4_offline_excluded | external_narration_source |
|
| 124 |
+
| whereisthis/d5x8mus | S4_offline_excluded | vague_rebuttal |
|
| 125 |
+
|
| 126 |
+
备注内容和来源、帖子路由与目标路由分别见 historical_human15_current_routes.json。
|
| 127 |
+
|
| 128 |
+
## 验证与当前限制
|
| 129 |
+
|
| 130 |
+
- 历史与新失效案例 53/53 项断言通过,包含 15 条人工备注涉及的明确要求;不是人工准确率。
|
| 131 |
+
- 当前管线、v9 兼容性、新 v10 及来源索引相关测试共 124 项通过。
|
| 132 |
+
- 全目录历史测试另发现未修改的 v7 一项失败:纯答案已进 S4,但缺少旧测试要求的 pure_answer hard flag。该历史版本未改写;不冒充全目录全部通过。
|
| 133 |
+
- 942,881 条来源/偏移/作者/父子关系以及 72,170 条分层守恒通过独立产物校验。
|
| 134 |
+
- 新工作台诊断样本 125 帖;另冻结 600 帖供人工复核;所有人工标签初始为空。
|
| 135 |
+
- 冻结样本排除本地已知开发帖、旧代理 QA 帖及可识别的相同图片 URL 组;作者分组和感知近重复未完全隔离,见抽样 manifest,不能宣称正式无泄漏盲测。
|
| 136 |
+
- 各层不足配额按预先定义的数量规则分配;S1 很少,不能由小样本宣布达到精度置信下界。
|
| 137 |
+
- precision、recall、图片/外链 grounding 和最终训练可用率尚未人工测量。未调用 DeepSeek,未接入模型工作流。
|
| 138 |
+
|
| 139 |
+
冻结人工复核样本的实际分配(与已见诊断样本分开):
|
| 140 |
+
|
| 141 |
+
| 层 | 原建议配额 | 实际冻结帖数 |
|
| 142 |
+
|---|---:|---:|
|
| 143 |
+
| S1_reasoning_candidate | 120 | 60 |
|
| 144 |
+
| S2_reasoning_fragment | 120 | 135 |
|
| 145 |
+
| S3_process_only | 90 | 101 |
|
| 146 |
+
| S4_offline_excluded | 210 | 236 |
|
| 147 |
+
| U_review_or_source_pending | 60 | 68 |
|
| 148 |
+
|
| 149 |
+
S1 的池本身很小,且开发已见成员被排除;配额不足按抽样 manifest 预定数量规则重新分配,不能伪造 120 帖独立 S1 样本。
|
| 150 |
+
|
| 151 |
+
## 文件与复现
|
| 152 |
+
|
| 153 |
+
- post_routes_all.jsonl:全部帖子路由;各层同名 JSONL 可独立读取。
|
| 154 |
+
- candidate_comments.jsonl:所有入选目标的完整正文、证据和真实上下文 ID。
|
| 155 |
+
- comment_evidence_all.jsonl.gz:全部评论的 gzip JSONL 诊断,流式读取,避免重复存储数 GB 文本。
|
| 156 |
+
- source_index.sqlite:只读来源字节偏移索引;原始快照未复制/改写。
|
| 157 |
+
- code_snapshot/:实际使用的代码与开发 JSONL 夹具;filter_manifest.json 保存哈希。
|
| 158 |
+
- artifact_integrity_report.json:独立校验;known_cases_regression.json:案例断言。
|
| 159 |
+
- manual_review/:诊断工作台、冻结人工样本工作台、抽样概率和空白标签。
|
| 160 |
+
|
| 161 |
+
## 规划完成状态
|
| 162 |
+
|
| 163 |
+
- A/B/C:来源勘误、开发回归、全文索引及评论级路由已实施。
|
| 164 |
+
- D:新工作台、独立统计及报告已生成。历史工作台与意见原样保留。
|
| 165 |
+
- E:样本已冻结,人工双人标注、裁决及精度/召回区间未完成;不宣称达到规划阈值。
|
| 166 |
+
- F:独立目录重跑和新旧迁移审计已完成;结果仍为实验候选。
|
| 167 |
+
- G:模型试验与主流程接入未启动。旧生产入口未替换。
|
| 168 |
+
|
| 169 |
+
## 复现入口
|
| 170 |
+
|
| 171 |
+
在 cot_extraction_v2 目录使用 Python 运行。新的输出目录须为空,先复制本次 source_index.sqlite 至该目录,再执行:
|
| 172 |
+
|
| 173 |
+
```powershell
|
| 174 |
+
python -X utf8 -m unittest test_pipeline test_offline_cot_filter test_offline_cot_filter_v9 test_offline_route test_offline_cot_filter_v10 test_v10_source_index
|
| 175 |
+
python -X utf8 -u run_offline_v10.py --output runs/your_new_run
|
| 176 |
+
python -X utf8 -u verify_v10_artifacts.py --run runs/your_new_run
|
| 177 |
+
python -X utf8 -u build_v10_review.py --run runs/your_new_run --qa-from runs/offline_cot_filter_20261029_v10_2/manual_review/qa_review_sample.jsonl
|
| 178 |
+
python -X utf8 generate_v10_report.py --run runs/your_new_run
|
| 179 |
+
python -X utf8 launch_v10_review.py --run runs/your_new_run
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
本目录为独立候选结果。旧 v9、首轮 v10、原始池、原调查标签和既有模型管线保留;回滚仅需重新选择旧目录。
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S1_reasoning_candidate.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S2_reasoning_fragment.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S3_process_only.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/S4_offline_excluded.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7d7382ca1684f939ab400f3d45573ed03b93bf7fc2a1f0bb8106759bbc353b2
|
| 3 |
+
size 68175608
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/U_review_or_source_pending.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5c37cc2eb97215d33fa01ebc3c5f82244af9f9aad5080211aee0a194c571fbe
|
| 3 |
+
size 45395171
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/artifact_integrity_report.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "passed",
|
| 3 |
+
"official_input_sha256": "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae",
|
| 4 |
+
"posts": 72170,
|
| 5 |
+
"comments": 942881,
|
| 6 |
+
"tier_counts": {
|
| 7 |
+
"S1_reasoning_candidate": 75,
|
| 8 |
+
"S2_reasoning_fragment": 2015,
|
| 9 |
+
"S3_process_only": 4983,
|
| 10 |
+
"S4_offline_excluded": 40029,
|
| 11 |
+
"U_review_or_source_pending": 25068
|
| 12 |
+
},
|
| 13 |
+
"selected_comments": 7361,
|
| 14 |
+
"semantic_comments": 2211,
|
| 15 |
+
"semantic_targets_not_in_preview": 748,
|
| 16 |
+
"semantic_explanation_reply_targets": 1199,
|
| 17 |
+
"explicit_human_negative_constraints_applied": 7,
|
| 18 |
+
"conflicting_comment_sources": 0,
|
| 19 |
+
"pending_reason_post_counts_nonexclusive": {
|
| 20 |
+
"ANSWER_CONFLICT_REVIEW": 2,
|
| 21 |
+
"BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED": 1,
|
| 22 |
+
"BASED_ON_CLUE": 1,
|
| 23 |
+
"CLUE_TO_HYPOTHESIS": 1,
|
| 24 |
+
"CLUE_TO_RESULT": 2,
|
| 25 |
+
"COMMENT_SOURCE_UNAVAILABLE": 12541,
|
| 26 |
+
"EXPLICIT_CONSEQUENCE": 1,
|
| 27 |
+
"HINT_WITHOUT_SOLVE_REPORT": 53,
|
| 28 |
+
"HYPOTHESIS_TO_VERIFICATION": 1,
|
| 29 |
+
"QUOTED_CONTEXT_NOT_AUTHOR_REASONING": 358,
|
| 30 |
+
"REFERENCE_NEEDS_SEMANTIC_REVIEW": 162,
|
| 31 |
+
"RESULT_TO_VERIFICATION": 1,
|
| 32 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN": 10250,
|
| 33 |
+
"TASK_SCOPE_UNRESOLVED": 5,
|
| 34 |
+
"TOOL_CONTEXT_UNRESOLVED": 9,
|
| 35 |
+
"TOOL_MENTION_WITHOUT_EXECUTION_PROOF": 9515
|
| 36 |
+
},
|
| 37 |
+
"U_primary_reason_post_counts_exclusive": {
|
| 38 |
+
"COMMENT_SOURCE_UNAVAILABLE": 11541,
|
| 39 |
+
"TOOL_MENTION_WITHOUT_EXECUTION_PROOF": 6166,
|
| 40 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN": 7293,
|
| 41 |
+
"REFERENCE_NEEDS_SEMANTIC_REVIEW": 54,
|
| 42 |
+
"ANSWER_CONFLICT_REVIEW": 2,
|
| 43 |
+
"TOOL_CONTEXT_UNRESOLVED": 6,
|
| 44 |
+
"TASK_SCOPE_UNRESOLVED": 5,
|
| 45 |
+
"BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED": 1
|
| 46 |
+
},
|
| 47 |
+
"process_detail_counts": {
|
| 48 |
+
"minimal": 4379,
|
| 49 |
+
"informative": 771
|
| 50 |
+
},
|
| 51 |
+
"semantic_scope_counts": {
|
| 52 |
+
"partial_retrieval_or_location": 1904,
|
| 53 |
+
"region_or_direction": 108,
|
| 54 |
+
"country_or_region": 193,
|
| 55 |
+
"intermediate_environment_or_scene": 6
|
| 56 |
+
},
|
| 57 |
+
"checks": [
|
| 58 |
+
"official pool hash unchanged",
|
| 59 |
+
"membership and mutually exclusive tiers",
|
| 60 |
+
"942881 comment coverage",
|
| 61 |
+
"exact Unicode source spans and authors",
|
| 62 |
+
"real ancestry only",
|
| 63 |
+
"no duplicate targets",
|
| 64 |
+
"candidate bodies intact",
|
| 65 |
+
"training and processing status not inferred"
|
| 66 |
+
],
|
| 67 |
+
"human_semantic_accuracy": "not_estimated",
|
| 68 |
+
"v9_S1_S2_candidate_target_audit": {
|
| 69 |
+
"old_target_count": 28142,
|
| 70 |
+
"source_matched_targets": 28142,
|
| 71 |
+
"unmatched_targets": 0,
|
| 72 |
+
"current_content_kinds": {
|
| 73 |
+
"question_or_guess": 1399,
|
| 74 |
+
"answer_or_other_nonreasoning": 16972,
|
| 75 |
+
"recognition_only": 95,
|
| 76 |
+
"description_or_answer": 2682,
|
| 77 |
+
"unresolved_tool_mention": 898,
|
| 78 |
+
"hint_only": 3828,
|
| 79 |
+
"plan_or_instruction": 556,
|
| 80 |
+
"unresolved_semantic_relation": 1267,
|
| 81 |
+
"reasoning_fragment": 100,
|
| 82 |
+
"answer_and_thanks": 14,
|
| 83 |
+
"explanation_request": 48,
|
| 84 |
+
"policy_or_tool_mention": 18,
|
| 85 |
+
"off_task_content": 80,
|
| 86 |
+
"contradicted_reasoning": 2,
|
| 87 |
+
"tool_process": 74,
|
| 88 |
+
"unresolved_dependency": 12,
|
| 89 |
+
"bot_noise": 13,
|
| 90 |
+
"external_personal_source": 7,
|
| 91 |
+
"link_sharing_tutorial": 15,
|
| 92 |
+
"query_strategy_fragment": 1,
|
| 93 |
+
"candidate_verification": 57,
|
| 94 |
+
"game_meta_discussion": 1,
|
| 95 |
+
"contradicted_process": 1,
|
| 96 |
+
"reasoning_chain": 1,
|
| 97 |
+
"explicit_reasoning": 1
|
| 98 |
+
},
|
| 99 |
+
"current_routes": {
|
| 100 |
+
"S4_offline_excluded": 25787,
|
| 101 |
+
"U_review_or_source_pending": 2178,
|
| 102 |
+
"S2_reasoning_fragment": 101,
|
| 103 |
+
"S3_process_only": 74,
|
| 104 |
+
"S1_reasoning_candidate": 2
|
| 105 |
+
},
|
| 106 |
+
"meaning": "Diagnostic rerouting of old selected targets; not human semantic accuracy"
|
| 107 |
+
}
|
| 108 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/candidate_comments.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f50a1737ae7108069d13cf34d9f222f866d9487e3bfd10e4d63aa6e373dcef51
|
| 3 |
+
size 27531725
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/classification_state.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "completed",
|
| 3 |
+
"posts": 72170,
|
| 4 |
+
"comments": 942881,
|
| 5 |
+
"tiers": {
|
| 6 |
+
"S4_offline_excluded": 40029,
|
| 7 |
+
"S2_reasoning_fragment": 2015,
|
| 8 |
+
"U_review_or_source_pending": 25068,
|
| 9 |
+
"S3_process_only": 4983,
|
| 10 |
+
"S1_reasoning_candidate": 75
|
| 11 |
+
}
|
| 12 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/comment_evidence_all.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bb22471ace3a24273bc8b43e4a455bce4461d431038907cc64a1959cfb85b4c
|
| 3 |
+
size 117597745
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/S3_CONTINUED_DETECTION_REPORT_20261029.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# S3 续检测与 S1 链候选审计报告(2026-10-29)
|
| 2 |
+
|
| 3 |
+
本报告记录对 v10.4.1 基线 S3 评论的精确来源复核,以及对识别出的 S2 片段进行多步链二次审计。所有结果是开发诊断覆盖层,未改写生产分层。
|
| 4 |
+
|
| 5 |
+
## 1. 复核范围
|
| 6 |
+
|
| 7 |
+
- 基线 S3 评论:5,150 条。
|
| 8 |
+
- 冻结人工评估帖子跳过:108 条。
|
| 9 |
+
- 实际精确复核:5,042 条,覆盖 4,960 个帖子;其中题主评论 186 条。
|
| 10 |
+
- 每条评论均从原始 SourceIndex 恢复,并核验正文哈希、真实作者、祖先链和直接回复。
|
| 11 |
+
- 规则版本:`u-semantic-evidence.v1.1`;模型调用:0;人工精度/召回:尚未测量。
|
| 12 |
+
|
| 13 |
+
## 2. S3 复核结果
|
| 14 |
+
|
| 15 |
+
| 结果路由 | 评论数 | 占已复核 | 含义 |
|
| 16 |
+
|---|---:|---:|---|
|
| 17 |
+
| `S3_process_only` | 3,910 | 77.55% | 有执行动作或工具过程,但没有被规则确认的推理关系。 |
|
| 18 |
+
| `S2_reasoning_fragment` | 816 | 16.18% | 存在来源绑定的线索—判断或查询—结果关系,但尚未按生产规则确认完整多步链。 |
|
| 19 |
+
| `U_review_or_source_pending` | 310 | 6.15% | 关系、任务范围或来源仍需人工判断。 |
|
| 20 |
+
| `S4_offline_excluded` | 6 | 0.12% | 离线规则排除。 |
|
| 21 |
+
|
| 22 |
+
首轮可回收为 S2 的评论为 **816 条**,分布在 **809 个帖子**;本轮所有已审计 S3 评论覆盖 **4,960 个帖子**。这说明 S3 中确实存在可抽取的推理片段。
|
| 23 |
+
当前没有直接加入 S1 的评论。
|
| 24 |
+
|
| 25 |
+
## 3. S1 多步链二次审计
|
| 26 |
+
|
| 27 |
+
二次审计只在 816 条 S2 片段上运行,并执行以下限制:
|
| 28 |
+
|
| 29 |
+
1. 关系跨度必须至少有两个互不重叠的证据单元。
|
| 30 |
+
2. 至少包含两个查询—结果阶段,或查询—结果后接具体特征核验。
|
| 31 |
+
3. 操作记录必须能对应到原文,重复正则命中同一句话不计为两个阶段。
|
| 32 |
+
4. 结果只标记为人工复核候选,不自动把生产 S2 改成 S1。
|
| 33 |
+
|
| 34 |
+
二次审计得到 **20 条评论、20 个帖子**,占 S3 复核后 S2 片段的 2.45%。其中:
|
| 35 |
+
|
| 36 |
+
- `query_result_sequence`:10 条。
|
| 37 |
+
- `query_result_sequence+lexical_link`:9 条。
|
| 38 |
+
- `query_result_to_verification`:1 条。
|
| 39 |
+
|
| 40 |
+
### 候选清单
|
| 41 |
+
|
| 42 |
+
| 帖子/评论 | 链类型 | 关系阶段 | 原文摘要 |
|
| 43 |
+
|---|---|---:|---|
|
| 44 |
+
| `PictureGame/109q9xx/j3zwx0d` | `query_result_sequence` | 2 | `train bridge camel bank note` got me the currency and the notes. [This](http://www.eritrea.be/old/eritrea-nakfa.htm) site helped. For the tree I looked around in Segeneiti for ... |
|
| 45 |
+
| `PictureGame/12jw6x5/jg04b4o` | `query_result_sequence+lexical_link` | 3 | searched number plates of africa, found zambia searched 'lusaka ack' found ackermans ​ searched 'lusaka ackermans' found the adress |
|
| 46 |
+
| `PictureGame/12ocn3q/jghr909` | `query_result_to_verification` | 2 | It vibed South American, and the fact that OP left the 'Sta.' part of the street name unobscured more or less confirmed this for me (abbreviation of Spanish and Portuguese Santa... |
|
| 47 |
+
| `PictureGame/1dahhyh/l7kczbr` | `query_result_sequence` | 2 | I googled 'Sweden fighter jet monument' (looked Swedish) and got an image result of one that looked more or less identical in Luleå, but that turned out to be the wrong location... |
|
| 48 |
+
| `PictureGame/dzjhuc/f883lip` | `query_result_sequence` | 2 | Using the hint I figured the site was waymarking. So i searched "manhole cover" in japan and found rough coords. I then went to street view to see where the manhole was relative... |
|
| 49 |
+
| `PictureGame/fxubue/fmwptef` | `query_result_sequence` | 2 | Searched "small castle on hill" found the top image. Searched "What does liechtenstein have in common with". First result was [this](http://math.ucr.edu/home/baez/puzzles/34.htm... |
|
| 50 |
+
| `PictureGame/gojx2a/frg7qzy` | `query_result_sequence+lexical_link` | 2 | I searched 'sword on cross memorial' and found that it's called a cross of sacrifice. So I searched 'cross of sacrifice' on Google images and scrolled until I found a match. |
|
| 51 |
+
| `PictureGame/hfe34b/fvx0j4m` | `query_result_sequence` | 2 | I googled 'city wall church tower central america' and got a result for the tower. I went to its location on Google Maps and saw the sculptures. I then googled 'estatuas de los ... |
|
| 52 |
+
| `PictureGame/hr7dh2/fy2efni` | `query_result_sequence+lexical_link` | 2 | I searched for "IT SAT NUI" which showed Transit Sat Nui. I then searched "Transit Sat Nui" which brought up SAS Transit Sat Nui. I found the address in French Polynesia and it ... |
|
| 53 |
+
| `PictureGame/iodyzi/g4d8mks` | `query_result_sequence+lexical_link` | 3 | I initially searched "circular cement pit to throw dead bodies" which brought me the Tower of Silence. When Tower of Silence is searched, Mumbai shows up with a picture of those... |
|
| 54 |
+
| `PictureGame/jlr0tp/gaqnopw` | `query_result_sequence` | 2 | I googled '"norilsk" "pevek" "tiksi" "barrow" "anchorage"' and got a result for 'Diary of MLAE-2015'. I then googled 'mlae2015' and got a result 'Route of MLAE-2015' which had a... |
|
| 55 |
+
| `PictureGame/kfk1dx/gg8x51w` | `query_result_sequence` | 2 | Searched '"giant bell" mountains -acdc' which brought up the pretty recognisable bell and two simple columns. From there, did roughly 4000 different searches in English and Ital... |
|
| 56 |
+
| `PictureGame/nd3k96/gy8guui` | `query_result_sequence+lexical_link` | 2 | Searched "top cat graffiti" on Alamy which gave me Leeds. Then searched "top cat graffiti leeds" on google image search which gave me an image on Flickr which was tagged with th... |
|
| 57 |
+
| `PictureGame/nsi3zb/h0mnesc` | `query_result_sequence` | 2 | I saw the post stamp on the top and Googled "Pizarro 4 Centazos Stamp". I then saw that it was from Lima, so I Googled "Lima Vintage Streetcar" and found the image. It was capti... |
|
| 58 |
+
| `PictureGame/nvdo12/h12nzmt` | `query_result_sequence+lexical_link` | 2 | Trial and error searching for number plates and eventually found that it was Djibouti. Then I searched up `Djibouti car` on alamy and found the [image](https://www.alamy.com/dji... |
|
| 59 |
+
| `PictureGame/p25xvm/h8iaeyw` | `query_result_sequence` | 2 | googling "giant chicken statue" got me nowhere.... so I googled the pepsi slogan on the billboard and found some random persons pic on facebook with the same slogan/ad in the ba... |
|
| 60 |
+
| `PictureGame/q0j5vw/hf8ghdb` | `query_result_sequence` | 2 | I googled '"football on a hill"', which gave me an image result of the same pitch on pinterest, but without any information about it. I reverse image searched that image, and on... |
|
| 61 |
+
| `PictureGame/r3b4nq/hm9h3ia` | `query_result_sequence+lexical_link` | 2 | I searched "biat" from the sign in the bottom corner and found that it was a bank based out of Tunisia. I searched "Tunisia Biat SF" and found the pic under SFAX 2000 |
|
| 62 |
+
| `PictureGame/yw7hfz/iwhzzih` | `query_result_sequence+lexical_link` | 2 | Searched [site:gettyimages.com "beach" "houses" ("aerial" OR "drone") (cape verde OR "senegal" OR "gambia" OR "guinea" OR "sierra leone" OR "liberia" OR "ivory coast" OR "ghana"... |
|
| 63 |
+
| `PictureGame/zjkaoq/izvmczc` | `query_result_sequence+lexical_link` | 2 | got here a bit late so i first searched `elegant trogons hummingbird endemic nicaragua OR honduras` and found this https://www.birdwatchingdaily.com/locations-travel/featured-de... |
|
| 64 |
+
|
| 65 |
+
### 代表性链条
|
| 66 |
+
|
| 67 |
+
- `12jw6x5/jg04b4o`:`number plates of africa → zambia → lusaka ack → ackermans → 地址`,3 个不重叠查询结果阶段,属于强 S1 复核候选。
|
| 68 |
+
- `iodyzi/g4d8mks`:`circular cement pit → Tower of Silence → Mumbai → 最终答案`,查询结果之间有词汇复用,属于强 S1 复核候选。
|
| 69 |
+
- `gojx2a/frg7qzy`:先用 `sword on cross memorial` 得到 `cross of sacrifice`,再用新名称检索到匹配图,形成明确的两步查询链。
|
| 70 |
+
- `1dahhyh/l7kczbr`:先得到错误的 Luleå 候选,再检索 `saab draken monument` 定位 Kalmar,包含候选修正过程。
|
| 71 |
+
- `1penkba/nsf2tw6` 未进入 S1 候选:两个匹配来自同一重叠证据跨度,二次审计将其保留为 S2,避免重复命中制造多步假象。
|
| 72 |
+
|
| 73 |
+
## 4. 对当前分层的判断
|
| 74 |
+
|
| 75 |
+
- S3 数量偏大的主要原因不是所有文本都缺少过程,而是已有一批评论只写到“搜索/查看/扫描”,没有把线索如何支持判断连接起来。
|
| 76 |
+
- 本轮确认了 816 条 S2 级片段;其中 20 条具备较完整的多阶段结构,值得优先人工核验 S1。
|
| 77 |
+
- 20 条不能直接视为人工金标:部分结果是多个检索动作的并列记录,仍需确认每一步是否服务于同一地点判断。
|
| 78 |
+
- 目前没有证据支持把全部 809 个候选帖子整体升级;升级单位应是具体评论,帖子层级需再按最高可信评论和未处理 U 评论重新计算。
|
| 79 |
+
|
| 80 |
+
## 5. 产物
|
| 81 |
+
|
| 82 |
+
- [S3 精确复核汇总](scan_summary.json)
|
| 83 |
+
- [S3 全部 5042 条复核记录](s3_reviewed_comments.jsonl)
|
| 84 |
+
- [816 条 S2 候选](s3_semantic_candidates.jsonl)
|
| 85 |
+
- [160 条开发抽样候选](s3_candidate_review_sample.jsonl)
|
| 86 |
+
- [20 条 S1 链候选](s1_chain_audit_v2/s1_chain_review_candidates.jsonl)
|
| 87 |
+
- [S1 链审计汇总](s1_chain_audit_v2/s1_chain_audit_summary.json)
|
| 88 |
+
- [续检测脚本](D:/GeoAgent/Geo-CoT%20dataset/reddit%E6%95%B0%E6%8D%AE%E6%B8%85%E6%B4%97/cot_extraction_v2/scan_s3_continued.py)
|
| 89 |
+
- [S1 链审计脚本](D:/GeoAgent/Geo-CoT%20dataset/reddit%E6%95%B0%E6%8D%AE%E6%B8%85%E6%B4%97/cot_extraction_v2/audit_s1_chain_candidates.py)
|
| 90 |
+
|
| 91 |
+
原始 v10.4.1 运行目录和输入文件未被覆盖;本报告只用于继续开发和人工复核。
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s1_chain_audit_summary.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "diagnostic_pending_human_review",
|
| 3 |
+
"input": "C:\\Users\\zong zilu\\Documents\\geoagent\\u_semantic_review\\s3_followup_v2\\s3_semantic_candidates.jsonl",
|
| 4 |
+
"input_rows": 816,
|
| 5 |
+
"s1_chain_review_candidates": 20,
|
| 6 |
+
"unique_posts": 20,
|
| 7 |
+
"basis_counts": {
|
| 8 |
+
"query_result_sequence": 10,
|
| 9 |
+
"query_result_sequence+lexical_link": 9,
|
| 10 |
+
"query_result_to_verification": 1
|
| 11 |
+
},
|
| 12 |
+
"production_tiers_changed": false,
|
| 13 |
+
"human_precision": "not_measured",
|
| 14 |
+
"human_recall": "not_measured",
|
| 15 |
+
"model_calls": 0,
|
| 16 |
+
"code_hashes": {
|
| 17 |
+
"audit_s1_chain_candidates.py": "88af68e0d72ca96179d546c64ad6f63e4dbfd2581e3af43dc90ff4ca3d949b8d",
|
| 18 |
+
"build_s3_chain_workbench.py": "cc67184c9c383e0697d45513b8de6f47fc02b243e6950f0beb1fe34617c0bc01",
|
| 19 |
+
"u_semantic_filter.py": "8274f249e56322c64761aa0d20c6bfe776dc8a79feebceee9c939b4f53e83e9f",
|
| 20 |
+
"test_u_semantic_filter.py": "cd27c5aa4e8fc1b63f522c48d130e0e462cdb438ef1310e6ed18659724dade20"
|
| 21 |
+
}
|
| 22 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s1_chain_review_candidates.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_candidate_review_sample.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_reviewed_comments.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e00595838378bea6dfdcd90b1781c286256781258060296fb955ffec5f1e0316
|
| 3 |
+
size 12567135
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_s1_chain_audit.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/s3_semantic_candidates.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2/scan_summary.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "diagnostic_pending_human_review",
|
| 3 |
+
"rule_version": "u-semantic-evidence.v1.1",
|
| 4 |
+
"baseline_rule_version": "offline-cot-full-source.v10.4.1",
|
| 5 |
+
"baseline_s3_comments": 5150,
|
| 6 |
+
"frozen_comments_skipped": 108,
|
| 7 |
+
"audited_comments": 5042,
|
| 8 |
+
"op_comments_audited": 186,
|
| 9 |
+
"candidate_comment_routes": {
|
| 10 |
+
"S3_process_only": 3910,
|
| 11 |
+
"S2_reasoning_fragment": 816,
|
| 12 |
+
"U_review_or_source_pending": 310,
|
| 13 |
+
"S4_offline_excluded": 6
|
| 14 |
+
},
|
| 15 |
+
"candidate_edge_kinds_nonexclusive": {
|
| 16 |
+
"EXECUTED_QUERY_RESULT": 778,
|
| 17 |
+
"CONCRETE_FEATURE_VERIFICATION": 36,
|
| 18 |
+
"TERSE_QUERY_RESULT": 34,
|
| 19 |
+
"CLUE_GAVE_AWAY_LOCATION": 7,
|
| 20 |
+
"CLUE_POINTS_TO_PLACE": 1,
|
| 21 |
+
"PASSIVE_SEARCH_RESULT": 1,
|
| 22 |
+
"OBSERVATION_THEN_INFERENCE": 1,
|
| 23 |
+
"SAME_AUTHOR_EXPLANATION": 1
|
| 24 |
+
},
|
| 25 |
+
"unique_posts_with_s1_comment_candidates": 0,
|
| 26 |
+
"unique_posts_with_s2_comment_candidates": 809,
|
| 27 |
+
"semantic_candidates_are_not_human_gold": true,
|
| 28 |
+
"human_precision": "not_measured",
|
| 29 |
+
"human_recall": "not_measured",
|
| 30 |
+
"training_approved": 0,
|
| 31 |
+
"model_calls": 0,
|
| 32 |
+
"candidate_input_sha256": "f50a1737ae7108069d13cf34d9f222f866d9487e3bfd10e4d63aa6e373dcef51",
|
| 33 |
+
"code_hashes": {
|
| 34 |
+
"u_semantic_filter.py": "8274f249e56322c64761aa0d20c6bfe776dc8a79feebceee9c939b4f53e83e9f",
|
| 35 |
+
"scan_s3_continued.py": "459446cd0b1b17e8b256e021220dc9e578ea5926abc2d19ae60ce2ab3d455418",
|
| 36 |
+
"candidate_discovery.py": "16a319012619f6c3f8a353eb4bd2aed3fa4d9f6a0ee69a34bdcc801f6b54626b",
|
| 37 |
+
"offline_cot_filter_v10.py": "e3b891ece65af6c69c2c7d46cdc32cbc98cd78d5253dc0f5af37942284e22e6c",
|
| 38 |
+
"offline_evidence_schema.py": "55a4f63e726a7d5435a84be14a8103d82ae25792be734f0a5c357a6bbca0aee9",
|
| 39 |
+
"source_index.py": "ba2fea0c991f8a17e7a7d554239207c4641ae7cbb227b6974946f739dffe7bf4"
|
| 40 |
+
}
|
| 41 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/filter_manifest.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "reddit-cot-full-source-run.v2",
|
| 3 |
+
"rule_version": "offline-cot-full-source.v10.4.1",
|
| 4 |
+
"status": "offline_repartitioned_pending_human_review",
|
| 5 |
+
"index_path": "D:\\GeoAgent\\Geo-CoT dataset\\reddit数据清洗\\cot_extraction_v2\\runs\\offline_cot_filter_20261029_v10_3\\source_index.sqlite",
|
| 6 |
+
"input": {
|
| 7 |
+
"path": "D:\\GeoAgent\\Geo-CoT dataset\\reddit数据清洗\\gpt5.6 full\\题图映射清理_20261025\\A_normal_candidate_20261025.jsonl",
|
| 8 |
+
"sha256": "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae",
|
| 9 |
+
"bytes": 417403253,
|
| 10 |
+
"rows": 72170
|
| 11 |
+
},
|
| 12 |
+
"input_hash_after": "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae",
|
| 13 |
+
"input_unchanged": true,
|
| 14 |
+
"code_hashes": {
|
| 15 |
+
"source_index.py": "ba2fea0c991f8a17e7a7d554239207c4641ae7cbb227b6974946f739dffe7bf4",
|
| 16 |
+
"candidate_discovery.py": "16a319012619f6c3f8a353eb4bd2aed3fa4d9f6a0ee69a34bdcc801f6b54626b",
|
| 17 |
+
"offline_evidence_schema.py": "55a4f63e726a7d5435a84be14a8103d82ae25792be734f0a5c357a6bbca0aee9",
|
| 18 |
+
"offline_cot_filter_v10.py": "e3b891ece65af6c69c2c7d46cdc32cbc98cd78d5253dc0f5af37942284e22e6c",
|
| 19 |
+
"v10_regression.py": "63290ceee248f099e901997aeb73d5bf4e200ffe0c886738952a561f0df4a5a1",
|
| 20 |
+
"run_offline_v10.py": "cf204905113f50472f1f37edb499366f81af01c570761c6ec30b4f19eed18354",
|
| 21 |
+
"test_offline_cot_filter_v10.py": "b079570734e76686ea0579fa0d0bc473ab5d3af8d49e0a10a55752075e5e6125"
|
| 22 |
+
},
|
| 23 |
+
"human_constraints_sha256": "fb5683fd2c3c19e4ead23769dc9b00275fbfaf6a2d2cca56b8eec8ee876fde4b",
|
| 24 |
+
"positive_human_overrides": false,
|
| 25 |
+
"human_notes_are_not_double_blind_gold": true,
|
| 26 |
+
"all_comment_format": "gzip JSONL, UTF-8, Unicode code-point spans",
|
| 27 |
+
"ledger_scope": "No model execution in this run. All processing statuses remain unknown.",
|
| 28 |
+
"model_calls": 0,
|
| 29 |
+
"workflow_integrated": false,
|
| 30 |
+
"train_ready": false
|
| 31 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/historical_human15_current_routes.json
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"community": "GeoPuzzle",
|
| 4 |
+
"post_id": "1itwx6r",
|
| 5 |
+
"comment_id": "mdsgtqr",
|
| 6 |
+
"pool_present": true,
|
| 7 |
+
"post_tier": "S4_offline_excluded",
|
| 8 |
+
"comment_route": "S4_offline_excluded",
|
| 9 |
+
"content_kind": "recognition_only",
|
| 10 |
+
"human_note": "这种是无意义的,不应该作为CoT提取",
|
| 11 |
+
"original_note_provenance": {
|
| 12 |
+
"kind": "human_note",
|
| 13 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 14 |
+
"line": 82,
|
| 15 |
+
"double_blind_gold": false
|
| 16 |
+
},
|
| 17 |
+
"body_sha256": "0fc99f5ed360d6216dace02da41932a96c72a026157bd8ccf00623902d7cacac",
|
| 18 |
+
"positive_human_override": false
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"community": "GeoPuzzle",
|
| 22 |
+
"post_id": "1lya8y8",
|
| 23 |
+
"comment_id": "n3azfis",
|
| 24 |
+
"pool_present": true,
|
| 25 |
+
"post_tier": "S2_reasoning_fragment",
|
| 26 |
+
"comment_route": "S2_reasoning_fragment",
|
| 27 |
+
"content_kind": "reasoning_fragment",
|
| 28 |
+
"human_note": "这种是优质数据",
|
| 29 |
+
"original_note_provenance": {
|
| 30 |
+
"kind": "human_note",
|
| 31 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 32 |
+
"line": 83,
|
| 33 |
+
"double_blind_gold": false
|
| 34 |
+
},
|
| 35 |
+
"body_sha256": "88d81aa00cb057d826e5f46b1e262753254d1e323e177f60258e62cdde04ef64",
|
| 36 |
+
"positive_human_override": false
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"community": "GeoPuzzle",
|
| 40 |
+
"post_id": "9b9ino",
|
| 41 |
+
"comment_id": "e5muqoy",
|
| 42 |
+
"pool_present": true,
|
| 43 |
+
"post_tier": "S2_reasoning_fragment",
|
| 44 |
+
"comment_route": "S2_reasoning_fragment",
|
| 45 |
+
"content_kind": "reasoning_fragment",
|
| 46 |
+
"human_note": "这种的CoT流程应该是 Observation:it looked tropical and remote->hypothesis:Pitcairn -> retrieval_result:the cliff-face from another part of the island->conclusion:found the spot 该数据的CoT是可用的,需要修改管线",
|
| 47 |
+
"original_note_provenance": {
|
| 48 |
+
"kind": "human_note",
|
| 49 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 50 |
+
"line": 84,
|
| 51 |
+
"double_blind_gold": false
|
| 52 |
+
},
|
| 53 |
+
"body_sha256": "83c2a9e7856083044a4bc9707b00c30e262804a5517e63d7fa9f94b74d5bdfff",
|
| 54 |
+
"positive_human_override": false
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"community": "GeoPuzzle",
|
| 58 |
+
"post_id": "9rajfi",
|
| 59 |
+
"comment_id": "e8zfn10",
|
| 60 |
+
"pool_present": true,
|
| 61 |
+
"post_tier": "U_review_or_source_pending",
|
| 62 |
+
"comment_route": "S4_offline_excluded",
|
| 63 |
+
"content_kind": "ungrounded_method_report",
|
| 64 |
+
"human_note": "这种只有结论的是无用提取,不用提取这样的数据的CoT",
|
| 65 |
+
"original_note_provenance": {
|
| 66 |
+
"kind": "human_note",
|
| 67 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 68 |
+
"line": 85,
|
| 69 |
+
"double_blind_gold": false
|
| 70 |
+
},
|
| 71 |
+
"body_sha256": "19b976832ffe954d026c8a2708de7d622efc7aec5089f74ebda5eee55c63d3e6",
|
| 72 |
+
"positive_human_override": false
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"community": "GeoPuzzle",
|
| 76 |
+
"post_id": "el0koh",
|
| 77 |
+
"comment_id": "fe9ukw1",
|
| 78 |
+
"pool_present": true,
|
| 79 |
+
"post_tier": "S4_offline_excluded",
|
| 80 |
+
"comment_route": "S4_offline_excluded",
|
| 81 |
+
"content_kind": "hint_helped_without_search_path",
|
| 82 |
+
"human_note": "这是无用数据,并没有推理过程,这种没有针对性查找的检索过程也无用",
|
| 83 |
+
"original_note_provenance": {
|
| 84 |
+
"kind": "human_note",
|
| 85 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 86 |
+
"line": 86,
|
| 87 |
+
"double_blind_gold": false
|
| 88 |
+
},
|
| 89 |
+
"body_sha256": "cea17177af29d167af5b812ef9936c850fa1f3113a99e1653b4b7f0d226ed495",
|
| 90 |
+
"positive_human_override": false
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"community": "PictureGame",
|
| 94 |
+
"post_id": "12axe12",
|
| 95 |
+
"comment_id": "jeu3l21",
|
| 96 |
+
"pool_present": true,
|
| 97 |
+
"post_tier": "S1_reasoning_candidate",
|
| 98 |
+
"comment_route": "S1_reasoning_candidate",
|
| 99 |
+
"content_kind": "explicit_reasoning",
|
| 100 |
+
"human_note": "这种是可用的,在How did you find the answer问题下回复的评论通常可用",
|
| 101 |
+
"original_note_provenance": {
|
| 102 |
+
"kind": "human_note",
|
| 103 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 104 |
+
"line": 87,
|
| 105 |
+
"double_blind_gold": false
|
| 106 |
+
},
|
| 107 |
+
"body_sha256": "138ba966defa6f9e194d14640494557b4e74f9a17a385cc2608dc142aa93d130",
|
| 108 |
+
"positive_human_override": false
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"community": "PictureGame",
|
| 112 |
+
"post_id": "n4ck7h",
|
| 113 |
+
"comment_id": "gwuso5q",
|
| 114 |
+
"pool_present": true,
|
| 115 |
+
"post_tier": "S1_reasoning_candidate",
|
| 116 |
+
"comment_route": "S1_reasoning_candidate",
|
| 117 |
+
"content_kind": "explicit_reasoning",
|
| 118 |
+
"human_note": " It's a construction company based in Punta Arenas which works in the southern extremes of Chile.这个并不是先验知识,是检索结果,要注意区分",
|
| 119 |
+
"original_note_provenance": {
|
| 120 |
+
"kind": "human_note",
|
| 121 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 122 |
+
"line": 88,
|
| 123 |
+
"double_blind_gold": false
|
| 124 |
+
},
|
| 125 |
+
"body_sha256": "6cc918ecbc0baeda5e605c8a424c9cb489ad69a56b75b1d3247d956a1af5f5ac",
|
| 126 |
+
"positive_human_override": false
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"community": "PictureGame",
|
| 130 |
+
"post_id": "v1oc9w",
|
| 131 |
+
"comment_id": "iann998",
|
| 132 |
+
"pool_present": true,
|
| 133 |
+
"post_tier": "S2_reasoning_fragment",
|
| 134 |
+
"comment_route": "S2_reasoning_fragment",
|
| 135 |
+
"content_kind": "reasoning_fragment",
|
| 136 |
+
"human_note": "该题的先验知识是题目中的Seoul",
|
| 137 |
+
"original_note_provenance": {
|
| 138 |
+
"kind": "human_note",
|
| 139 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 140 |
+
"line": 89,
|
| 141 |
+
"double_blind_gold": false
|
| 142 |
+
},
|
| 143 |
+
"body_sha256": "6b2b38e43608664c69970520787be958e56dc4f695bcdc38de7ee954469b6a3c",
|
| 144 |
+
"positive_human_override": false
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"community": "PictureGame",
|
| 148 |
+
"post_id": "ywmr9h",
|
| 149 |
+
"comment_id": "iwke1yy",
|
| 150 |
+
"pool_present": true,
|
| 151 |
+
"post_tier": "S4_offline_excluded",
|
| 152 |
+
"comment_route": "S4_offline_excluded",
|
| 153 |
+
"content_kind": "off_task_person_identification",
|
| 154 |
+
"human_note": "这是人像图,与图像地理定位任务无关,直接打入剔除池",
|
| 155 |
+
"original_note_provenance": {
|
| 156 |
+
"kind": "human_note",
|
| 157 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 158 |
+
"line": 90,
|
| 159 |
+
"double_blind_gold": false
|
| 160 |
+
},
|
| 161 |
+
"body_sha256": "7886a6551a3dc76b68fdcb4c0775243c9acd9e6c1e6eba78a7442a87f0358696",
|
| 162 |
+
"positive_human_override": false
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"community": "PictureGame",
|
| 166 |
+
"post_id": "xm4vv5",
|
| 167 |
+
"comment_id": "ipmh59l",
|
| 168 |
+
"pool_present": true,
|
| 169 |
+
"post_tier": "S2_reasoning_fragment",
|
| 170 |
+
"comment_route": "S2_reasoning_fragment",
|
| 171 |
+
"content_kind": "query_strategy_fragment",
|
| 172 |
+
"human_note": "这个的CoT应该在后半段:If you don't recognize, it's still findable with deep open-pit mine ,关键词是deep open-pit mine ",
|
| 173 |
+
"original_note_provenance": {
|
| 174 |
+
"kind": "human_note",
|
| 175 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 176 |
+
"line": 91,
|
| 177 |
+
"double_blind_gold": false
|
| 178 |
+
},
|
| 179 |
+
"body_sha256": "861abb7674f39d69a483f031156128255d81f865cf9f36011837ce735839f330",
|
| 180 |
+
"positive_human_override": false
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"community": "whereisthis",
|
| 184 |
+
"post_id": "1rx892v",
|
| 185 |
+
"comment_id": "ob5e9sy",
|
| 186 |
+
"pool_present": true,
|
| 187 |
+
"post_tier": "U_review_or_source_pending",
|
| 188 |
+
"comment_route": "S4_offline_excluded",
|
| 189 |
+
"content_kind": "external_personal_source",
|
| 190 |
+
"human_note": "这个判断不是从图片中得到的,是根据先验知识得到的,不能提取CoT",
|
| 191 |
+
"original_note_provenance": {
|
| 192 |
+
"kind": "human_note",
|
| 193 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 194 |
+
"line": 92,
|
| 195 |
+
"double_blind_gold": false
|
| 196 |
+
},
|
| 197 |
+
"body_sha256": "0cc39656e171ab24021fd62ccad6ac46c75b1481e170c136a4ffbfd7530faa1a",
|
| 198 |
+
"positive_human_override": false
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"community": "whereisthis",
|
| 202 |
+
"post_id": "1ubuto8",
|
| 203 |
+
"comment_id": "oszer9x",
|
| 204 |
+
"pool_present": false,
|
| 205 |
+
"human_note": "the mountain is next to feriolo.这句话是结论,这个数据不能提取CoT"
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"community": "whereisthis",
|
| 209 |
+
"post_id": "2gb23f",
|
| 210 |
+
"comment_id": "ckkouvp",
|
| 211 |
+
"pool_present": false,
|
| 212 |
+
"human_note": "猜测与答案相反的推理过程不要采纳"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"community": "whereisthis",
|
| 216 |
+
"post_id": "34fw0p",
|
| 217 |
+
"comment_id": "cr131hp",
|
| 218 |
+
"pool_present": true,
|
| 219 |
+
"post_tier": "U_review_or_source_pending",
|
| 220 |
+
"comment_route": "S4_offline_excluded",
|
| 221 |
+
"content_kind": "external_narration_source",
|
| 222 |
+
"human_note": "这个推理过程与图片中的信息无关,不抽取CoT",
|
| 223 |
+
"original_note_provenance": {
|
| 224 |
+
"kind": "human_note",
|
| 225 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 226 |
+
"line": 95,
|
| 227 |
+
"double_blind_gold": false
|
| 228 |
+
},
|
| 229 |
+
"body_sha256": "722fd7ef3ccc818a62c3f090213b84d95e32425f335302da07084c72ed07409d",
|
| 230 |
+
"positive_human_override": false
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"community": "whereisthis",
|
| 234 |
+
"post_id": "4v3gvt",
|
| 235 |
+
"comment_id": "d5x8mus",
|
| 236 |
+
"pool_present": true,
|
| 237 |
+
"post_tier": "S4_offline_excluded",
|
| 238 |
+
"comment_route": "S4_offline_excluded",
|
| 239 |
+
"content_kind": "vague_rebuttal",
|
| 240 |
+
"human_note": "这种否定的评论不用于CoT抽取",
|
| 241 |
+
"original_note_provenance": {
|
| 242 |
+
"kind": "human_note",
|
| 243 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 244 |
+
"line": 96,
|
| 245 |
+
"double_blind_gold": false
|
| 246 |
+
},
|
| 247 |
+
"body_sha256": "b254691d4a19feadffb81ffa8171993ccdff8fc42aef19d6baccb735ddb5c7b1",
|
| 248 |
+
"positive_human_override": false
|
| 249 |
+
}
|
| 250 |
+
]
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/known_cases_regression.json
ADDED
|
@@ -0,0 +1,1012 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "reddit-cot-v10-development-regression.v1",
|
| 3 |
+
"is_human_accuracy_estimate": false,
|
| 4 |
+
"positive_overrides_used": false,
|
| 5 |
+
"cases": [
|
| 6 |
+
{
|
| 7 |
+
"name": "explicit_human_negative",
|
| 8 |
+
"community": "GeoPuzzle",
|
| 9 |
+
"post_id": "1itwx6r",
|
| 10 |
+
"comment_id": "mdsgtqr",
|
| 11 |
+
"passed": true,
|
| 12 |
+
"route": "S4_offline_excluded",
|
| 13 |
+
"content_kind": "recognition_only",
|
| 14 |
+
"reason_codes": [
|
| 15 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 16 |
+
],
|
| 17 |
+
"expectation": "not semantic CoT",
|
| 18 |
+
"expectation_provenance": {
|
| 19 |
+
"kind": "human_note",
|
| 20 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 21 |
+
"line": 82,
|
| 22 |
+
"double_blind_gold": false
|
| 23 |
+
},
|
| 24 |
+
"body_sha256": "0fc99f5ed360d6216dace02da41932a96c72a026157bd8ccf00623902d7cacac"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"name": "explicit_human_negative",
|
| 28 |
+
"community": "GeoPuzzle",
|
| 29 |
+
"post_id": "9rajfi",
|
| 30 |
+
"comment_id": "e8zfn10",
|
| 31 |
+
"passed": true,
|
| 32 |
+
"route": "S4_offline_excluded",
|
| 33 |
+
"content_kind": "ungrounded_method_report",
|
| 34 |
+
"reason_codes": [
|
| 35 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 36 |
+
],
|
| 37 |
+
"expectation": "not semantic CoT",
|
| 38 |
+
"expectation_provenance": {
|
| 39 |
+
"kind": "human_note",
|
| 40 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 41 |
+
"line": 85,
|
| 42 |
+
"double_blind_gold": false
|
| 43 |
+
},
|
| 44 |
+
"body_sha256": "19b976832ffe954d026c8a2708de7d622efc7aec5089f74ebda5eee55c63d3e6"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": "explicit_human_negative",
|
| 48 |
+
"community": "GeoPuzzle",
|
| 49 |
+
"post_id": "el0koh",
|
| 50 |
+
"comment_id": "fe9ukw1",
|
| 51 |
+
"passed": true,
|
| 52 |
+
"route": "S4_offline_excluded",
|
| 53 |
+
"content_kind": "hint_helped_without_search_path",
|
| 54 |
+
"reason_codes": [
|
| 55 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 56 |
+
],
|
| 57 |
+
"expectation": "not semantic CoT",
|
| 58 |
+
"expectation_provenance": {
|
| 59 |
+
"kind": "human_note",
|
| 60 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 61 |
+
"line": 86,
|
| 62 |
+
"double_blind_gold": false
|
| 63 |
+
},
|
| 64 |
+
"body_sha256": "cea17177af29d167af5b812ef9936c850fa1f3113a99e1653b4b7f0d226ed495"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": "explicit_human_negative",
|
| 68 |
+
"community": "PictureGame",
|
| 69 |
+
"post_id": "ywmr9h",
|
| 70 |
+
"comment_id": "iwke1yy",
|
| 71 |
+
"passed": true,
|
| 72 |
+
"route": "S4_offline_excluded",
|
| 73 |
+
"content_kind": "off_task_person_identification",
|
| 74 |
+
"reason_codes": [
|
| 75 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 76 |
+
],
|
| 77 |
+
"expectation": "not semantic CoT",
|
| 78 |
+
"expectation_provenance": {
|
| 79 |
+
"kind": "human_note",
|
| 80 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 81 |
+
"line": 90,
|
| 82 |
+
"double_blind_gold": false
|
| 83 |
+
},
|
| 84 |
+
"body_sha256": "7886a6551a3dc76b68fdcb4c0775243c9acd9e6c1e6eba78a7442a87f0358696"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": "explicit_human_negative",
|
| 88 |
+
"community": "whereisthis",
|
| 89 |
+
"post_id": "1rx892v",
|
| 90 |
+
"comment_id": "ob5e9sy",
|
| 91 |
+
"passed": true,
|
| 92 |
+
"route": "S4_offline_excluded",
|
| 93 |
+
"content_kind": "external_personal_source",
|
| 94 |
+
"reason_codes": [
|
| 95 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 96 |
+
],
|
| 97 |
+
"expectation": "not semantic CoT",
|
| 98 |
+
"expectation_provenance": {
|
| 99 |
+
"kind": "human_note",
|
| 100 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 101 |
+
"line": 92,
|
| 102 |
+
"double_blind_gold": false
|
| 103 |
+
},
|
| 104 |
+
"body_sha256": "0cc39656e171ab24021fd62ccad6ac46c75b1481e170c136a4ffbfd7530faa1a"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"name": "explicit_human_negative",
|
| 108 |
+
"community": "whereisthis",
|
| 109 |
+
"post_id": "1ubuto8",
|
| 110 |
+
"comment_id": "oszer9x",
|
| 111 |
+
"passed": true,
|
| 112 |
+
"route": "S4_offline_excluded",
|
| 113 |
+
"content_kind": "answer_and_future_plan",
|
| 114 |
+
"reason_codes": [
|
| 115 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 116 |
+
],
|
| 117 |
+
"expectation": "not semantic CoT",
|
| 118 |
+
"expectation_provenance": {
|
| 119 |
+
"kind": "human_note",
|
| 120 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 121 |
+
"line": 93,
|
| 122 |
+
"double_blind_gold": false
|
| 123 |
+
},
|
| 124 |
+
"body_sha256": "34186fb18133e90b586cb4c2067d0a2824a5143dca96e020e458cde622309a7e"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "explicit_human_negative",
|
| 128 |
+
"community": "whereisthis",
|
| 129 |
+
"post_id": "2gb23f",
|
| 130 |
+
"comment_id": "ckkouvp",
|
| 131 |
+
"passed": true,
|
| 132 |
+
"route": "S4_offline_excluded",
|
| 133 |
+
"content_kind": "contradicted_reasoning",
|
| 134 |
+
"reason_codes": [
|
| 135 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 136 |
+
],
|
| 137 |
+
"expectation": "not semantic CoT",
|
| 138 |
+
"expectation_provenance": {
|
| 139 |
+
"kind": "human_note",
|
| 140 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 141 |
+
"line": 94,
|
| 142 |
+
"double_blind_gold": false
|
| 143 |
+
},
|
| 144 |
+
"body_sha256": "28c2ae1ee261849e248d86dd0eafd5d02ab4465a6a11c01c6d84da51f89efa6e"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"name": "explicit_human_negative",
|
| 148 |
+
"community": "whereisthis",
|
| 149 |
+
"post_id": "34fw0p",
|
| 150 |
+
"comment_id": "cr131hp",
|
| 151 |
+
"passed": true,
|
| 152 |
+
"route": "S4_offline_excluded",
|
| 153 |
+
"content_kind": "external_narration_source",
|
| 154 |
+
"reason_codes": [
|
| 155 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 156 |
+
],
|
| 157 |
+
"expectation": "not semantic CoT",
|
| 158 |
+
"expectation_provenance": {
|
| 159 |
+
"kind": "human_note",
|
| 160 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 161 |
+
"line": 95,
|
| 162 |
+
"double_blind_gold": false
|
| 163 |
+
},
|
| 164 |
+
"body_sha256": "722fd7ef3ccc818a62c3f090213b84d95e32425f335302da07084c72ed07409d"
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"name": "explicit_human_negative",
|
| 168 |
+
"community": "whereisthis",
|
| 169 |
+
"post_id": "4v3gvt",
|
| 170 |
+
"comment_id": "d5x8mus",
|
| 171 |
+
"passed": true,
|
| 172 |
+
"route": "S4_offline_excluded",
|
| 173 |
+
"content_kind": "vague_rebuttal",
|
| 174 |
+
"reason_codes": [
|
| 175 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION"
|
| 176 |
+
],
|
| 177 |
+
"expectation": "not semantic CoT",
|
| 178 |
+
"expectation_provenance": {
|
| 179 |
+
"kind": "human_note",
|
| 180 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 181 |
+
"line": 96,
|
| 182 |
+
"double_blind_gold": false
|
| 183 |
+
},
|
| 184 |
+
"body_sha256": "b254691d4a19feadffb81ffa8171993ccdff8fc42aef19d6baccb735ddb5c7b1"
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "human_positive_discovery",
|
| 188 |
+
"community": "GeoPuzzle",
|
| 189 |
+
"post_id": "1lya8y8",
|
| 190 |
+
"comment_id": "n3azfis",
|
| 191 |
+
"passed": true,
|
| 192 |
+
"route": "S2_reasoning_fragment",
|
| 193 |
+
"content_kind": "reasoning_fragment",
|
| 194 |
+
"reason_codes": [
|
| 195 |
+
"CLUE_TO_HYPOTHESIS",
|
| 196 |
+
"EXPLICIT_CONSEQUENCE"
|
| 197 |
+
],
|
| 198 |
+
"expectation": "source-backed semantic target discovered without positive override",
|
| 199 |
+
"expectation_provenance": {
|
| 200 |
+
"kind": "human_note",
|
| 201 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 202 |
+
"line": 83,
|
| 203 |
+
"double_blind_gold": false
|
| 204 |
+
},
|
| 205 |
+
"body_sha256": "88d81aa00cb057d826e5f46b1e262753254d1e323e177f60258e62cdde04ef64"
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"name": "human_positive_discovery",
|
| 209 |
+
"community": "GeoPuzzle",
|
| 210 |
+
"post_id": "9b9ino",
|
| 211 |
+
"comment_id": "e5muqoy",
|
| 212 |
+
"passed": true,
|
| 213 |
+
"route": "S2_reasoning_fragment",
|
| 214 |
+
"content_kind": "reasoning_fragment",
|
| 215 |
+
"reason_codes": [
|
| 216 |
+
"CONSTRAINED_SCAN_RESULT",
|
| 217 |
+
"HYPOTHESIS_TO_RESULT"
|
| 218 |
+
],
|
| 219 |
+
"expectation": "source-backed semantic target discovered without positive override",
|
| 220 |
+
"expectation_provenance": {
|
| 221 |
+
"kind": "human_note",
|
| 222 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 223 |
+
"line": 84,
|
| 224 |
+
"double_blind_gold": false
|
| 225 |
+
},
|
| 226 |
+
"body_sha256": "83c2a9e7856083044a4bc9707b00c30e262804a5517e63d7fa9f94b74d5bdfff"
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "human_positive_discovery",
|
| 230 |
+
"community": "PictureGame",
|
| 231 |
+
"post_id": "12axe12",
|
| 232 |
+
"comment_id": "jeu3l21",
|
| 233 |
+
"passed": true,
|
| 234 |
+
"route": "S1_reasoning_candidate",
|
| 235 |
+
"content_kind": "explicit_reasoning",
|
| 236 |
+
"reason_codes": [
|
| 237 |
+
"QUERY_RESULT"
|
| 238 |
+
],
|
| 239 |
+
"expectation": "source-backed semantic target discovered without positive override",
|
| 240 |
+
"expectation_provenance": {
|
| 241 |
+
"kind": "human_note",
|
| 242 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 243 |
+
"line": 87,
|
| 244 |
+
"double_blind_gold": false
|
| 245 |
+
},
|
| 246 |
+
"body_sha256": "138ba966defa6f9e194d14640494557b4e74f9a17a385cc2608dc142aa93d130"
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"name": "human_positive_discovery",
|
| 250 |
+
"community": "PictureGame",
|
| 251 |
+
"post_id": "xm4vv5",
|
| 252 |
+
"comment_id": "ipmh59l",
|
| 253 |
+
"passed": true,
|
| 254 |
+
"route": "S2_reasoning_fragment",
|
| 255 |
+
"content_kind": "query_strategy_fragment",
|
| 256 |
+
"reason_codes": [
|
| 257 |
+
"SPECIFIC_QUERY_STRATEGY"
|
| 258 |
+
],
|
| 259 |
+
"expectation": "source-backed semantic target discovered without positive override",
|
| 260 |
+
"expectation_provenance": {
|
| 261 |
+
"kind": "human_note",
|
| 262 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 263 |
+
"line": 91,
|
| 264 |
+
"double_blind_gold": false
|
| 265 |
+
},
|
| 266 |
+
"body_sha256": "861abb7674f39d69a483f031156128255d81f865cf9f36011837ce735839f330"
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"name": "company_fact_is_retrieval",
|
| 270 |
+
"community": "PictureGame",
|
| 271 |
+
"post_id": "n4ck7h",
|
| 272 |
+
"comment_id": "gwuso5q",
|
| 273 |
+
"passed": true,
|
| 274 |
+
"route": "S1_reasoning_candidate",
|
| 275 |
+
"content_kind": "explicit_reasoning",
|
| 276 |
+
"reason_codes": [
|
| 277 |
+
"CONSTRAINED_SCAN_RESULT",
|
| 278 |
+
"IMAGE_ENTITY_FACT"
|
| 279 |
+
],
|
| 280 |
+
"expectation": "company location is retrieval_result, not prior",
|
| 281 |
+
"expectation_provenance": {
|
| 282 |
+
"kind": "human_note",
|
| 283 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 284 |
+
"line": 88,
|
| 285 |
+
"double_blind_gold": false
|
| 286 |
+
},
|
| 287 |
+
"body_sha256": "6cc918ecbc0baeda5e605c8a424c9cb489ad69a56b75b1d3247d956a1af5f5ac"
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"name": "title_prior_preserved",
|
| 291 |
+
"community": "PictureGame",
|
| 292 |
+
"post_id": "v1oc9w",
|
| 293 |
+
"comment_id": "iann998",
|
| 294 |
+
"passed": true,
|
| 295 |
+
"route": "S2_reasoning_fragment",
|
| 296 |
+
"content_kind": "reasoning_fragment",
|
| 297 |
+
"reason_codes": [
|
| 298 |
+
"EXPLICIT_CONSEQUENCE"
|
| 299 |
+
],
|
| 300 |
+
"expectation": "Seoul remains title prior",
|
| 301 |
+
"expectation_provenance": {
|
| 302 |
+
"kind": "human_note",
|
| 303 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 304 |
+
"line": 89,
|
| 305 |
+
"double_blind_gold": false
|
| 306 |
+
},
|
| 307 |
+
"body_sha256": "6b2b38e43608664c69970520787be958e56dc4f695bcdc38de7ee954469b6a3c"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"name": "strategy_not_execution",
|
| 311 |
+
"community": "PictureGame",
|
| 312 |
+
"post_id": "xm4vv5",
|
| 313 |
+
"comment_id": "ipmh59l",
|
| 314 |
+
"passed": true,
|
| 315 |
+
"route": "S2_reasoning_fragment",
|
| 316 |
+
"content_kind": "query_strategy_fragment",
|
| 317 |
+
"reason_codes": [
|
| 318 |
+
"SPECIFIC_QUERY_STRATEGY"
|
| 319 |
+
],
|
| 320 |
+
"expectation": "conditional query preserved as nonexecuted",
|
| 321 |
+
"expectation_provenance": {
|
| 322 |
+
"kind": "human_note",
|
| 323 |
+
"path": "D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/cot_extraction_v2/runs/final_coordinate_trial30_v7_batch2_20261024/试点质量报告.md",
|
| 324 |
+
"line": 91,
|
| 325 |
+
"double_blind_gold": false
|
| 326 |
+
},
|
| 327 |
+
"body_sha256": "861abb7674f39d69a483f031156128255d81f865cf9f36011837ce735839f330"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"name": "current_diagnostic_negative",
|
| 331 |
+
"community": "PictureGame",
|
| 332 |
+
"post_id": "9tcrex",
|
| 333 |
+
"comment_id": "e8v9u54",
|
| 334 |
+
"passed": true,
|
| 335 |
+
"route": "S4_offline_excluded",
|
| 336 |
+
"content_kind": "answer_or_other_nonreasoning",
|
| 337 |
+
"reason_codes": [
|
| 338 |
+
"NO_EXPLICIT_REASONING_OR_OPERATION"
|
| 339 |
+
],
|
| 340 |
+
"expectation": "not semantic CoT",
|
| 341 |
+
"expectation_provenance": {
|
| 342 |
+
"kind": "agent_diagnostic",
|
| 343 |
+
"source": "2026-10-29 full-source review"
|
| 344 |
+
},
|
| 345 |
+
"body_sha256": "0ac29ca645e1c59b6b0a1a767ee898b8b4f24b7ba744f705a8a419d13624d9aa"
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"name": "current_diagnostic_negative",
|
| 349 |
+
"community": "PictureGame",
|
| 350 |
+
"post_id": "778z1y",
|
| 351 |
+
"comment_id": "dojxmgq",
|
| 352 |
+
"passed": true,
|
| 353 |
+
"route": "S4_offline_excluded",
|
| 354 |
+
"content_kind": "description_or_answer",
|
| 355 |
+
"reason_codes": [
|
| 356 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION"
|
| 357 |
+
],
|
| 358 |
+
"expectation": "not semantic CoT",
|
| 359 |
+
"expectation_provenance": {
|
| 360 |
+
"kind": "agent_diagnostic",
|
| 361 |
+
"source": "2026-10-29 full-source review"
|
| 362 |
+
},
|
| 363 |
+
"body_sha256": "9709d813ce7866484f2a9aabc60878b56b65834064fa38eb4a207c990e2b2c15"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"name": "current_diagnostic_negative",
|
| 367 |
+
"community": "GeoPuzzle",
|
| 368 |
+
"post_id": "1nhv11k",
|
| 369 |
+
"comment_id": "neecqyb",
|
| 370 |
+
"passed": true,
|
| 371 |
+
"route": "S4_offline_excluded",
|
| 372 |
+
"content_kind": "answer_or_other_nonreasoning",
|
| 373 |
+
"reason_codes": [
|
| 374 |
+
"NO_EXPLICIT_REASONING_OR_OPERATION"
|
| 375 |
+
],
|
| 376 |
+
"expectation": "not semantic CoT",
|
| 377 |
+
"expectation_provenance": {
|
| 378 |
+
"kind": "agent_diagnostic",
|
| 379 |
+
"source": "2026-10-29 full-source review"
|
| 380 |
+
},
|
| 381 |
+
"body_sha256": "be1fb842f6e14a04b1110d70fc4d8faa6034672708f50460ecd613df4b2be023"
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"name": "current_diagnostic_negative",
|
| 385 |
+
"community": "GeoPuzzle",
|
| 386 |
+
"post_id": "1l04ssw",
|
| 387 |
+
"comment_id": "mvb2jhp",
|
| 388 |
+
"passed": true,
|
| 389 |
+
"route": "S4_offline_excluded",
|
| 390 |
+
"content_kind": "description_or_answer",
|
| 391 |
+
"reason_codes": [
|
| 392 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION"
|
| 393 |
+
],
|
| 394 |
+
"expectation": "not semantic CoT",
|
| 395 |
+
"expectation_provenance": {
|
| 396 |
+
"kind": "agent_diagnostic",
|
| 397 |
+
"source": "2026-10-29 full-source review"
|
| 398 |
+
},
|
| 399 |
+
"body_sha256": "8f80fd4285a5f6050e85bdc087be1d8ae56766c5a652e40a1e72539d47166678"
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"name": "current_diagnostic_negative",
|
| 403 |
+
"community": "PictureGame",
|
| 404 |
+
"post_id": "t6jett",
|
| 405 |
+
"comment_id": "hzbm5ab",
|
| 406 |
+
"passed": true,
|
| 407 |
+
"route": "S4_offline_excluded",
|
| 408 |
+
"content_kind": "off_task_content",
|
| 409 |
+
"reason_codes": [
|
| 410 |
+
"TASK_NOT_IMAGE_GEOLOCATION"
|
| 411 |
+
],
|
| 412 |
+
"expectation": "not semantic CoT",
|
| 413 |
+
"expectation_provenance": {
|
| 414 |
+
"kind": "agent_diagnostic",
|
| 415 |
+
"source": "2026-10-29 full-source review"
|
| 416 |
+
},
|
| 417 |
+
"body_sha256": "99e5a851afe8c9e5c029c2b5c863c01e7ed15e1f0f9aa5ebf606d172deb2bcf0"
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"name": "current_diagnostic_negative",
|
| 421 |
+
"community": "PictureGame",
|
| 422 |
+
"post_id": "jsevrq",
|
| 423 |
+
"comment_id": "gbyt9jx",
|
| 424 |
+
"passed": true,
|
| 425 |
+
"route": "U_review_or_source_pending",
|
| 426 |
+
"content_kind": "unresolved_semantic_relation",
|
| 427 |
+
"reason_codes": [
|
| 428 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN"
|
| 429 |
+
],
|
| 430 |
+
"expectation": "not semantic CoT",
|
| 431 |
+
"expectation_provenance": {
|
| 432 |
+
"kind": "agent_diagnostic",
|
| 433 |
+
"source": "2026-10-29 full-source review"
|
| 434 |
+
},
|
| 435 |
+
"body_sha256": "5a3cc0800058c164349f8cab01421c9ce38599a1cecce8529451cc7f07b931f7"
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"name": "current_diagnostic_negative",
|
| 439 |
+
"community": "whereisthis",
|
| 440 |
+
"post_id": "1e2y73q",
|
| 441 |
+
"comment_id": "ld52mk4",
|
| 442 |
+
"passed": true,
|
| 443 |
+
"route": "S4_offline_excluded",
|
| 444 |
+
"content_kind": "recognition_only",
|
| 445 |
+
"reason_codes": [
|
| 446 |
+
"PERSONAL_RECOGNITION_WITHOUT_INFERENCE"
|
| 447 |
+
],
|
| 448 |
+
"expectation": "not semantic CoT",
|
| 449 |
+
"expectation_provenance": {
|
| 450 |
+
"kind": "agent_diagnostic",
|
| 451 |
+
"source": "2026-10-29 full-source review"
|
| 452 |
+
},
|
| 453 |
+
"body_sha256": "82bede68780fb993dd7843a03a4123bcd9f6cb1294f2779b9da1725c75f4571f"
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"name": "brief_visual_inference",
|
| 457 |
+
"community": "whereisthis",
|
| 458 |
+
"post_id": "294zxe",
|
| 459 |
+
"comment_id": "cihjwz8",
|
| 460 |
+
"passed": true,
|
| 461 |
+
"route": "S2_reasoning_fragment",
|
| 462 |
+
"content_kind": "reasoning_fragment",
|
| 463 |
+
"reason_codes": [
|
| 464 |
+
"EXPLICIT_CONSEQUENCE"
|
| 465 |
+
],
|
| 466 |
+
"expectation": "blue roofs -> South Korea preserved with partial scope",
|
| 467 |
+
"expectation_provenance": {
|
| 468 |
+
"kind": "agent_diagnostic"
|
| 469 |
+
},
|
| 470 |
+
"body_sha256": "a688fa3983e20bb56e491cbeeb7980cdd5fbac924427defb7b661e5cd1bd6013"
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"name": "question_can_embed_real_inference",
|
| 474 |
+
"community": "whereisthis",
|
| 475 |
+
"post_id": "1t6q3ed",
|
| 476 |
+
"comment_id": "okm83mm",
|
| 477 |
+
"passed": true,
|
| 478 |
+
"route": "S2_reasoning_fragment",
|
| 479 |
+
"content_kind": "reasoning_fragment",
|
| 480 |
+
"reason_codes": [
|
| 481 |
+
"VISUAL_HYPOTHESIS"
|
| 482 |
+
],
|
| 483 |
+
"expectation": "sticker flag -> Basque inference preserved despite follow-up question",
|
| 484 |
+
"expectation_provenance": {
|
| 485 |
+
"kind": "agent_diagnostic"
|
| 486 |
+
},
|
| 487 |
+
"body_sha256": "5dcb6ec554cd74109e8e970205932dd6a1064a1078c9b523929fab8b243a4e62"
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"name": "op_corrected_premise",
|
| 491 |
+
"community": "GeoPuzzle",
|
| 492 |
+
"post_id": "1jr8mby",
|
| 493 |
+
"comment_id": "mlcwa2z",
|
| 494 |
+
"passed": true,
|
| 495 |
+
"route": "U_review_or_source_pending",
|
| 496 |
+
"content_kind": "contradicted_reasoning",
|
| 497 |
+
"reason_codes": [
|
| 498 |
+
"EXPLICIT_CONSEQUENCE",
|
| 499 |
+
"ANSWER_CONFLICT_REVIEW"
|
| 500 |
+
],
|
| 501 |
+
"expectation": "OP corrects planted-tree premise; not a successful South Korea solve",
|
| 502 |
+
"expectation_provenance": {
|
| 503 |
+
"kind": "agent_diagnostic"
|
| 504 |
+
},
|
| 505 |
+
"body_sha256": "e3c24594ce933e7ac644c13237b1d8f03d974e5427bdac76c4a47fb3002fcd11"
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"name": "question_is_context",
|
| 509 |
+
"community": "PictureGame",
|
| 510 |
+
"post_id": "12axe12",
|
| 511 |
+
"comment_id": "jeu2exi",
|
| 512 |
+
"passed": true,
|
| 513 |
+
"route": "S4_offline_excluded",
|
| 514 |
+
"content_kind": "explanation_request",
|
| 515 |
+
"reason_codes": [
|
| 516 |
+
"EXPLANATION_REQUEST",
|
| 517 |
+
"QUESTION_IS_NOT_EXPLANATION"
|
| 518 |
+
],
|
| 519 |
+
"expectation": "explanation question is not the reasoning target",
|
| 520 |
+
"expectation_provenance": {
|
| 521 |
+
"kind": "agent_diagnostic"
|
| 522 |
+
},
|
| 523 |
+
"body_sha256": "f297f11aa0a902925cfaf01d4b87f12102e1185a0b464a38b75810cdbca22613"
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"name": "explanation_reply_discovered",
|
| 527 |
+
"community": "PictureGame",
|
| 528 |
+
"post_id": "12axe12",
|
| 529 |
+
"comment_id": "jeu3l21",
|
| 530 |
+
"passed": true,
|
| 531 |
+
"route": "S1_reasoning_candidate",
|
| 532 |
+
"content_kind": "explicit_reasoning",
|
| 533 |
+
"reason_codes": [
|
| 534 |
+
"QUERY_RESULT"
|
| 535 |
+
],
|
| 536 |
+
"expectation": "actual explanation reply is separately discovered",
|
| 537 |
+
"expectation_provenance": {
|
| 538 |
+
"kind": "source_structure"
|
| 539 |
+
},
|
| 540 |
+
"body_sha256": "138ba966defa6f9e194d14640494557b4e74f9a17a385cc2608dc142aa93d130"
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"name": "revision_qa_regression",
|
| 544 |
+
"community": "GeoPuzzle",
|
| 545 |
+
"post_id": "dobpdl",
|
| 546 |
+
"comment_id": "f60uczd",
|
| 547 |
+
"passed": true,
|
| 548 |
+
"route": "S1_reasoning_candidate",
|
| 549 |
+
"content_kind": "explicit_reasoning",
|
| 550 |
+
"reason_codes": [
|
| 551 |
+
"EXPLICIT_CONSEQUENCE"
|
| 552 |
+
],
|
| 553 |
+
"expectation": "source contains an actual inference or targeted retrieval report",
|
| 554 |
+
"expectation_provenance": {
|
| 555 |
+
"kind": "agent_diagnostic",
|
| 556 |
+
"source": "v10 initial QA, not human gold"
|
| 557 |
+
},
|
| 558 |
+
"body_sha256": "e5b8f3ddd10da324479733f82d0b0bbeed9086523a533fc98edf94e07ed9c371"
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"name": "revision_qa_regression",
|
| 562 |
+
"community": "PictureGame",
|
| 563 |
+
"post_id": "10ihlhq",
|
| 564 |
+
"comment_id": "j5edr4d",
|
| 565 |
+
"passed": true,
|
| 566 |
+
"route": "S1_reasoning_candidate",
|
| 567 |
+
"content_kind": "explicit_reasoning",
|
| 568 |
+
"reason_codes": [
|
| 569 |
+
"EXPLICIT_CONSEQUENCE",
|
| 570 |
+
"QUERY_RESULT"
|
| 571 |
+
],
|
| 572 |
+
"expectation": "source contains an actual inference or targeted retrieval report",
|
| 573 |
+
"expectation_provenance": {
|
| 574 |
+
"kind": "agent_diagnostic",
|
| 575 |
+
"source": "v10 initial QA, not human gold"
|
| 576 |
+
},
|
| 577 |
+
"body_sha256": "8e5cad4161d94bccae603a6c27db0dd1ff2428db61a238f3fad73852e1286cb0"
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"name": "revision_qa_regression",
|
| 581 |
+
"community": "whereisthis",
|
| 582 |
+
"post_id": "9ta3ao",
|
| 583 |
+
"comment_id": "e8uvf8o",
|
| 584 |
+
"passed": true,
|
| 585 |
+
"route": "S4_offline_excluded",
|
| 586 |
+
"content_kind": "contradicted_reasoning",
|
| 587 |
+
"reason_codes": [
|
| 588 |
+
"CLUE_TO_RESULT",
|
| 589 |
+
"QUERY_RESULT",
|
| 590 |
+
"RESULT_TO_NEW_CLUE",
|
| 591 |
+
"ANSWER_CONFLICT"
|
| 592 |
+
],
|
| 593 |
+
"expectation": "self_retracted_answer",
|
| 594 |
+
"expectation_provenance": {
|
| 595 |
+
"kind": "agent_diagnostic",
|
| 596 |
+
"source": "v10 initial QA, not human gold"
|
| 597 |
+
},
|
| 598 |
+
"body_sha256": "693176ffe0a34c7704e0288222324f024913d4812943ab9d7d82620bf56be99d"
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"name": "revision_qa_regression",
|
| 602 |
+
"community": "GeoPuzzle",
|
| 603 |
+
"post_id": "lgzi2x",
|
| 604 |
+
"comment_id": "gmyof0k",
|
| 605 |
+
"passed": true,
|
| 606 |
+
"route": "S4_offline_excluded",
|
| 607 |
+
"content_kind": "description_or_answer",
|
| 608 |
+
"reason_codes": [
|
| 609 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION"
|
| 610 |
+
],
|
| 611 |
+
"expectation": "sarcastic_guess_without_specific_visual_basis",
|
| 612 |
+
"expectation_provenance": {
|
| 613 |
+
"kind": "agent_diagnostic",
|
| 614 |
+
"source": "v10 initial QA, not human gold"
|
| 615 |
+
},
|
| 616 |
+
"body_sha256": "dc3dd799d726a99ce59b08536d73678803c350884ca5f09d064e40842ffdc6d8"
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"name": "revision_qa_regression",
|
| 620 |
+
"community": "PictureGame",
|
| 621 |
+
"post_id": "hp5pw9",
|
| 622 |
+
"comment_id": "fxmmy1d",
|
| 623 |
+
"passed": true,
|
| 624 |
+
"route": "S4_offline_excluded",
|
| 625 |
+
"content_kind": "hint_only",
|
| 626 |
+
"reason_codes": [
|
| 627 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 628 |
+
"HINT_WITHOUT_REPORTED_INFERENCE"
|
| 629 |
+
],
|
| 630 |
+
"expectation": "hint_only_image_edit_explanation",
|
| 631 |
+
"expectation_provenance": {
|
| 632 |
+
"kind": "agent_diagnostic",
|
| 633 |
+
"source": "v10 initial QA, not human gold"
|
| 634 |
+
},
|
| 635 |
+
"body_sha256": "ef424320e4e37b260ecb6ede3a518734702cdcdfd95d84a5f35a661f6e643444"
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"name": "revision_qa_regression",
|
| 639 |
+
"community": "PictureGame",
|
| 640 |
+
"post_id": "seyk9e",
|
| 641 |
+
"comment_id": "humoci4",
|
| 642 |
+
"passed": true,
|
| 643 |
+
"route": "S4_offline_excluded",
|
| 644 |
+
"content_kind": "hint_only",
|
| 645 |
+
"reason_codes": [
|
| 646 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 647 |
+
"HINT_WITHOUT_REPORTED_INFERENCE"
|
| 648 |
+
],
|
| 649 |
+
"expectation": "hint_background_story",
|
| 650 |
+
"expectation_provenance": {
|
| 651 |
+
"kind": "agent_diagnostic",
|
| 652 |
+
"source": "v10 initial QA, not human gold"
|
| 653 |
+
},
|
| 654 |
+
"body_sha256": "702d2c90720846baddabcbccb976fe953d9e46d7b013acdfb587ebc8a49ea238"
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"name": "revision_qa_regression",
|
| 658 |
+
"community": "PictureGame",
|
| 659 |
+
"post_id": "1e12vur",
|
| 660 |
+
"comment_id": "lcr905o",
|
| 661 |
+
"passed": true,
|
| 662 |
+
"route": "S2_reasoning_fragment",
|
| 663 |
+
"content_kind": "reasoning_fragment",
|
| 664 |
+
"reason_codes": [
|
| 665 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 666 |
+
"QUERY_RESULT"
|
| 667 |
+
],
|
| 668 |
+
"expectation": "source contains an actual inference or targeted retrieval report",
|
| 669 |
+
"expectation_provenance": {
|
| 670 |
+
"kind": "agent_diagnostic",
|
| 671 |
+
"source": "v10 initial QA, not human gold"
|
| 672 |
+
},
|
| 673 |
+
"body_sha256": "9a08400c2eeaa5bd07256f990601f059b8cdf2a432552b4a83e685b8ae287769"
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"name": "revision_qa_regression",
|
| 677 |
+
"community": "PictureGame",
|
| 678 |
+
"post_id": "trn6ma",
|
| 679 |
+
"comment_id": "i2mi2bi",
|
| 680 |
+
"passed": true,
|
| 681 |
+
"route": "S4_offline_excluded",
|
| 682 |
+
"content_kind": "game_meta_discussion",
|
| 683 |
+
"reason_codes": [
|
| 684 |
+
"GAME_SCORING_NOT_LOCATION_REASONING"
|
| 685 |
+
],
|
| 686 |
+
"expectation": "coordinate_tolerance_dispute",
|
| 687 |
+
"expectation_provenance": {
|
| 688 |
+
"kind": "agent_diagnostic",
|
| 689 |
+
"source": "v10 initial QA, not human gold"
|
| 690 |
+
},
|
| 691 |
+
"body_sha256": "8e4ec08ac24de7d167da4888c363f13f0735a56adfe2ac30e307b188d5004fb8"
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"name": "revision_qa_regression",
|
| 695 |
+
"community": "whereisthis",
|
| 696 |
+
"post_id": "1pplgej",
|
| 697 |
+
"comment_id": "nupk3dn",
|
| 698 |
+
"passed": true,
|
| 699 |
+
"route": "S4_offline_excluded",
|
| 700 |
+
"content_kind": "answer_and_thanks",
|
| 701 |
+
"reason_codes": [
|
| 702 |
+
"ANSWER_OR_SOCIAL_NOT_INFERENCE"
|
| 703 |
+
],
|
| 704 |
+
"expectation": "answer_and_thanks_not_inference",
|
| 705 |
+
"expectation_provenance": {
|
| 706 |
+
"kind": "agent_diagnostic",
|
| 707 |
+
"source": "v10 initial QA, not human gold"
|
| 708 |
+
},
|
| 709 |
+
"body_sha256": "fee9b39c28c046653cf84126345ebe266c668a313942028bd2bc8e2f8cb76da5"
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"name": "revision_qa_regression",
|
| 713 |
+
"community": "whereisthis",
|
| 714 |
+
"post_id": "hrwnxv",
|
| 715 |
+
"comment_id": "fya26ao",
|
| 716 |
+
"passed": true,
|
| 717 |
+
"route": "U_review_or_source_pending",
|
| 718 |
+
"content_kind": "unresolved_semantic_relation",
|
| 719 |
+
"reason_codes": [
|
| 720 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN"
|
| 721 |
+
],
|
| 722 |
+
"expectation": "nonlocalizing_flag_branch_inference",
|
| 723 |
+
"expectation_provenance": {
|
| 724 |
+
"kind": "agent_diagnostic",
|
| 725 |
+
"source": "v10 initial QA, not human gold"
|
| 726 |
+
},
|
| 727 |
+
"body_sha256": "08ca8dd3cb58f0307fb5434cc43f3439070b1fd130e27fbce94b8b7b77a5b45f"
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"name": "revision_qa_regression",
|
| 731 |
+
"community": "whereisthis",
|
| 732 |
+
"post_id": "1j8xvzb",
|
| 733 |
+
"comment_id": "mh919nk",
|
| 734 |
+
"passed": true,
|
| 735 |
+
"route": "S4_offline_excluded",
|
| 736 |
+
"content_kind": "description_or_answer",
|
| 737 |
+
"reason_codes": [
|
| 738 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION"
|
| 739 |
+
],
|
| 740 |
+
"expectation": "generic_personal_style_recognition",
|
| 741 |
+
"expectation_provenance": {
|
| 742 |
+
"kind": "agent_diagnostic",
|
| 743 |
+
"source": "v10 initial QA, not human gold"
|
| 744 |
+
},
|
| 745 |
+
"body_sha256": "3b222810cea79a1ade9d7b45b874338183e90a894a48a9f8e2c5fe6111659786"
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"name": "revision_qa_regression",
|
| 749 |
+
"community": "whereisthis",
|
| 750 |
+
"post_id": "1ht576m",
|
| 751 |
+
"comment_id": "m5c2i1n",
|
| 752 |
+
"passed": true,
|
| 753 |
+
"route": "S4_offline_excluded",
|
| 754 |
+
"content_kind": "candidate_verification",
|
| 755 |
+
"reason_codes": [
|
| 756 |
+
"POSTANSWER_VERIFICATION_NOT_GENERATION"
|
| 757 |
+
],
|
| 758 |
+
"expectation": "postanswer_candidate_verification",
|
| 759 |
+
"expectation_provenance": {
|
| 760 |
+
"kind": "agent_diagnostic",
|
| 761 |
+
"source": "v10 initial QA, not human gold"
|
| 762 |
+
},
|
| 763 |
+
"body_sha256": "0925dd64f6d5c4c4c4b5252942e4da60dd028e73d34fef487d76eac3d1bc174b"
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"name": "revision_qa_regression",
|
| 767 |
+
"community": "PictureGame",
|
| 768 |
+
"post_id": "95dtj6",
|
| 769 |
+
"comment_id": "e3rxitn",
|
| 770 |
+
"passed": true,
|
| 771 |
+
"route": "S4_offline_excluded",
|
| 772 |
+
"content_kind": "background_only",
|
| 773 |
+
"reason_codes": [
|
| 774 |
+
"CLUE_TO_HYPOTHESIS",
|
| 775 |
+
"REFERENCE_PROSE_NOT_IMAGE_SOLVE"
|
| 776 |
+
],
|
| 777 |
+
"expectation": "Encyclopedic biography is not image-location reasoning",
|
| 778 |
+
"expectation_provenance": {
|
| 779 |
+
"kind": "agent_diagnostic",
|
| 780 |
+
"source": "v10 initial QA, not human gold"
|
| 781 |
+
},
|
| 782 |
+
"body_sha256": "acba8e37e46a24ac68948cf50b06468b372358a711a0366fcca31b276fd322d8"
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"name": "revision_qa_regression",
|
| 786 |
+
"community": "PictureGame",
|
| 787 |
+
"post_id": "95dtj6",
|
| 788 |
+
"comment_id": "e3rxl5w",
|
| 789 |
+
"passed": true,
|
| 790 |
+
"route": "S4_offline_excluded",
|
| 791 |
+
"content_kind": "background_only",
|
| 792 |
+
"reason_codes": [
|
| 793 |
+
"CLUE_TO_HYPOTHESIS",
|
| 794 |
+
"REFERENCE_PROSE_NOT_IMAGE_SOLVE"
|
| 795 |
+
],
|
| 796 |
+
"expectation": "Metaphorical building on a foundation is not a visual clue",
|
| 797 |
+
"expectation_provenance": {
|
| 798 |
+
"kind": "agent_diagnostic",
|
| 799 |
+
"source": "v10 initial QA, not human gold"
|
| 800 |
+
},
|
| 801 |
+
"body_sha256": "e3fb1b702cbff5b8a04a3d0d1ba2a98ef166441c566460e4eeef49ddbf8f2d7d"
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"name": "revision_qa_regression",
|
| 805 |
+
"community": "PictureGame",
|
| 806 |
+
"post_id": "dj8kpc",
|
| 807 |
+
"comment_id": "f42c2y3",
|
| 808 |
+
"passed": true,
|
| 809 |
+
"route": "S4_offline_excluded",
|
| 810 |
+
"content_kind": "off_task_content",
|
| 811 |
+
"reason_codes": [
|
| 812 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 813 |
+
"TASK_NOT_IMAGE_GEOLOCATION"
|
| 814 |
+
],
|
| 815 |
+
"expectation": "Word translation puzzle hint is not direct image geolocation",
|
| 816 |
+
"expectation_provenance": {
|
| 817 |
+
"kind": "agent_diagnostic",
|
| 818 |
+
"source": "v10 initial QA, not human gold"
|
| 819 |
+
},
|
| 820 |
+
"body_sha256": "ce3ee24815b59c90ae58ca8e8a2a638cf53e3099b3340142bf6f3bae667b6fd8"
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"name": "revision_qa_regression",
|
| 824 |
+
"community": "PictureGame",
|
| 825 |
+
"post_id": "1d8sk8b",
|
| 826 |
+
"comment_id": "l78hx2g",
|
| 827 |
+
"passed": true,
|
| 828 |
+
"route": "S4_offline_excluded",
|
| 829 |
+
"content_kind": "hint_only",
|
| 830 |
+
"reason_codes": [
|
| 831 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 832 |
+
"HINT_WITHOUT_REPORTED_INFERENCE"
|
| 833 |
+
],
|
| 834 |
+
"expectation": "Hint continues across sentences; generic sign instruction is not an executed solve",
|
| 835 |
+
"expectation_provenance": {
|
| 836 |
+
"kind": "agent_diagnostic",
|
| 837 |
+
"source": "v10 initial QA, not human gold"
|
| 838 |
+
},
|
| 839 |
+
"body_sha256": "1ca58e8b3b1ff0e06d6930d0b5fede3584b20975bf347b3c173ab537b75daadb"
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"name": "revision_qa_regression",
|
| 843 |
+
"community": "PictureGame",
|
| 844 |
+
"post_id": "ah1n9w",
|
| 845 |
+
"comment_id": "eeap4ao",
|
| 846 |
+
"passed": true,
|
| 847 |
+
"route": "S4_offline_excluded",
|
| 848 |
+
"content_kind": "background_only",
|
| 849 |
+
"reason_codes": [
|
| 850 |
+
"CLUE_TO_HYPOTHESIS",
|
| 851 |
+
"EXPLICIT_REASON",
|
| 852 |
+
"REFERENCE_PROSE_NOT_IMAGE_SOLVE"
|
| 853 |
+
],
|
| 854 |
+
"expectation": "Scientific climate causation is background, not localization",
|
| 855 |
+
"expectation_provenance": {
|
| 856 |
+
"kind": "agent_diagnostic",
|
| 857 |
+
"source": "v10 initial QA, not human gold"
|
| 858 |
+
},
|
| 859 |
+
"body_sha256": "0549554c5ab59ef6904c0c42476f26d050e9d8735cb4a3a0bf4aee4879ea10af"
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"name": "revision_qa_regression",
|
| 863 |
+
"community": "PictureGame",
|
| 864 |
+
"post_id": "x75zdu",
|
| 865 |
+
"comment_id": "inaql0x",
|
| 866 |
+
"passed": true,
|
| 867 |
+
"route": "S4_offline_excluded",
|
| 868 |
+
"content_kind": "off_task_content",
|
| 869 |
+
"reason_codes": [
|
| 870 |
+
"HINT_WITHOUT_SOLVE_REPORT",
|
| 871 |
+
"TASK_NOT_IMAGE_GEOLOCATION"
|
| 872 |
+
],
|
| 873 |
+
"expectation": "Stamp country to any post office is an indirect task; so does is not causality",
|
| 874 |
+
"expectation_provenance": {
|
| 875 |
+
"kind": "agent_diagnostic",
|
| 876 |
+
"source": "v10 initial QA, not human gold"
|
| 877 |
+
},
|
| 878 |
+
"body_sha256": "804070589d921bcfb023c1e362fca54503287a527cca7b334c44a5bb1d4888b9"
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"name": "revision_qa_regression",
|
| 882 |
+
"community": "whereisthis",
|
| 883 |
+
"post_id": "dfu5i6",
|
| 884 |
+
"comment_id": "f38pdq8",
|
| 885 |
+
"passed": true,
|
| 886 |
+
"route": "U_review_or_source_pending",
|
| 887 |
+
"content_kind": "unresolved_semantic_relation",
|
| 888 |
+
"reason_codes": [
|
| 889 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN"
|
| 890 |
+
],
|
| 891 |
+
"expectation": "Minutes or so is approximate time, not a reasoning edge",
|
| 892 |
+
"expectation_provenance": {
|
| 893 |
+
"kind": "agent_diagnostic",
|
| 894 |
+
"source": "v10 initial QA, not human gold"
|
| 895 |
+
},
|
| 896 |
+
"body_sha256": "3aecf1e5a65da9ae76ba1da0269269f89dd39424517d38114f388ca91075f2e3"
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"name": "revision_qa_regression",
|
| 900 |
+
"community": "whereisthis",
|
| 901 |
+
"post_id": "1cl0483",
|
| 902 |
+
"comment_id": "l2qfj0j",
|
| 903 |
+
"passed": true,
|
| 904 |
+
"route": "S2_reasoning_fragment",
|
| 905 |
+
"content_kind": "reasoning_fragment",
|
| 906 |
+
"reason_codes": [
|
| 907 |
+
"CLUE_TO_HYPOTHESIS",
|
| 908 |
+
"EXPLICIT_REASON"
|
| 909 |
+
],
|
| 910 |
+
"expectation": "OP explicitly reports street-sign shape narrowing NYC",
|
| 911 |
+
"expectation_provenance": {
|
| 912 |
+
"kind": "agent_diagnostic",
|
| 913 |
+
"source": "v10 initial QA, not human gold"
|
| 914 |
+
},
|
| 915 |
+
"body_sha256": "12e46fa13c9b5bd0c9c0577359ceb4a0c7cf1f900bd9bb9a318ad603954795b0"
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"name": "revision_qa_regression",
|
| 919 |
+
"community": "whereisthis",
|
| 920 |
+
"post_id": "aikqhf",
|
| 921 |
+
"comment_id": "ef1sf3j",
|
| 922 |
+
"passed": true,
|
| 923 |
+
"route": "U_review_or_source_pending",
|
| 924 |
+
"content_kind": "unresolved_background_context",
|
| 925 |
+
"reason_codes": [
|
| 926 |
+
"BASED_ON_CLUE",
|
| 927 |
+
"BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED"
|
| 928 |
+
],
|
| 929 |
+
"expectation": "Retrospective city background requires image-use adjudication",
|
| 930 |
+
"expectation_provenance": {
|
| 931 |
+
"kind": "agent_diagnostic",
|
| 932 |
+
"source": "v10 initial QA, not human gold"
|
| 933 |
+
},
|
| 934 |
+
"body_sha256": "e56292652ad5c2cbf2c7eb64996ee315aedd9393fc97442ff2a64a32ab2e896d"
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"name": "revision_qa_regression",
|
| 938 |
+
"community": "whereisthis",
|
| 939 |
+
"post_id": "de9rl9",
|
| 940 |
+
"comment_id": "f3en3mx",
|
| 941 |
+
"passed": true,
|
| 942 |
+
"route": "S2_reasoning_fragment",
|
| 943 |
+
"content_kind": "reasoning_fragment",
|
| 944 |
+
"reason_codes": [
|
| 945 |
+
"EXPLICIT_REASON"
|
| 946 |
+
],
|
| 947 |
+
"expectation": "Building facade and damage inform a concrete location hypothesis",
|
| 948 |
+
"expectation_provenance": {
|
| 949 |
+
"kind": "agent_diagnostic",
|
| 950 |
+
"source": "v10 initial QA, not human gold"
|
| 951 |
+
},
|
| 952 |
+
"body_sha256": "5cd85cad561c87ff946f368493f43a714ea598c3247d4ba265132738b00fac82"
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"name": "revision_qa_regression",
|
| 956 |
+
"community": "PictureGame",
|
| 957 |
+
"post_id": "e5ojj1",
|
| 958 |
+
"comment_id": "f9l3gdy",
|
| 959 |
+
"passed": true,
|
| 960 |
+
"route": "S3_process_only",
|
| 961 |
+
"content_kind": "tool_process",
|
| 962 |
+
"reason_codes": [
|
| 963 |
+
"REPORTED_TOOL_OPERATION"
|
| 964 |
+
],
|
| 965 |
+
"expectation": "Conditional so long as introduces application requirements, not image-location reasoning",
|
| 966 |
+
"expectation_provenance": {
|
| 967 |
+
"kind": "agent_diagnostic",
|
| 968 |
+
"source": "v10 initial QA, not human gold"
|
| 969 |
+
},
|
| 970 |
+
"body_sha256": "2d044e86b5d7c2329db19ca4a325603404b7c00c63127e26dc95626ee7679535"
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"name": "revision_qa_regression",
|
| 974 |
+
"community": "PictureGame",
|
| 975 |
+
"post_id": "cg9fa6",
|
| 976 |
+
"comment_id": "eufihpj",
|
| 977 |
+
"passed": true,
|
| 978 |
+
"route": "U_review_or_source_pending",
|
| 979 |
+
"content_kind": "unresolved_semantic_relation",
|
| 980 |
+
"reason_codes": [
|
| 981 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN"
|
| 982 |
+
],
|
| 983 |
+
"expectation": "Temporal since renamed does not supply clue-to-location reasoning",
|
| 984 |
+
"expectation_provenance": {
|
| 985 |
+
"kind": "agent_diagnostic",
|
| 986 |
+
"source": "v10 initial QA, not human gold"
|
| 987 |
+
},
|
| 988 |
+
"body_sha256": "d23ea4221a710d2ef7b06d0f7b9402562460867e728509d670c008967f5d7d5e"
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"name": "revision_qa_regression",
|
| 992 |
+
"community": "whereisthis",
|
| 993 |
+
"post_id": "42ytdo",
|
| 994 |
+
"comment_id": "czf0gud",
|
| 995 |
+
"passed": true,
|
| 996 |
+
"route": "S4_offline_excluded",
|
| 997 |
+
"content_kind": "description_or_answer",
|
| 998 |
+
"reason_codes": [
|
| 999 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION"
|
| 1000 |
+
],
|
| 1001 |
+
"expectation": "Generic looked similar plus map date does not prove visual-location inference",
|
| 1002 |
+
"expectation_provenance": {
|
| 1003 |
+
"kind": "agent_diagnostic",
|
| 1004 |
+
"source": "v10 initial QA, not human gold"
|
| 1005 |
+
},
|
| 1006 |
+
"body_sha256": "4e1f0af8e03da0b39930de7b4aa3b80f2a992437deae52e2a20403dd8a7cb831"
|
| 1007 |
+
}
|
| 1008 |
+
],
|
| 1009 |
+
"passed": 53,
|
| 1010 |
+
"failed": 0,
|
| 1011 |
+
"development_posts": 192
|
| 1012 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/migration_examples.json
ADDED
|
@@ -0,0 +1,649 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"S4_offline_excluded -> S4_offline_excluded": [
|
| 3 |
+
{
|
| 4 |
+
"community": "GeoPuzzle",
|
| 5 |
+
"post_id": "1003ze9",
|
| 6 |
+
"title": "Horizons",
|
| 7 |
+
"target_comment_ids": [],
|
| 8 |
+
"semantic_target_ids": [],
|
| 9 |
+
"unresolved_comment_ids": []
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"community": "GeoPuzzle",
|
| 13 |
+
"post_id": "103dcdb",
|
| 14 |
+
"title": "By the prairie",
|
| 15 |
+
"target_comment_ids": [],
|
| 16 |
+
"semantic_target_ids": [],
|
| 17 |
+
"unresolved_comment_ids": []
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"community": "GeoPuzzle",
|
| 21 |
+
"post_id": "103ik3u",
|
| 22 |
+
"title": "Brass",
|
| 23 |
+
"target_comment_ids": [],
|
| 24 |
+
"semantic_target_ids": [],
|
| 25 |
+
"unresolved_comment_ids": []
|
| 26 |
+
}
|
| 27 |
+
],
|
| 28 |
+
"S4_offline_excluded -> S2_reasoning_fragment": [
|
| 29 |
+
{
|
| 30 |
+
"community": "GeoPuzzle",
|
| 31 |
+
"post_id": "10bn6q0",
|
| 32 |
+
"title": "Once Again, Good Luck",
|
| 33 |
+
"target_comment_ids": [
|
| 34 |
+
"j4do3lj"
|
| 35 |
+
],
|
| 36 |
+
"semantic_target_ids": [
|
| 37 |
+
"j4do3lj"
|
| 38 |
+
],
|
| 39 |
+
"unresolved_comment_ids": [
|
| 40 |
+
"j4xrsdl"
|
| 41 |
+
]
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"community": "GeoPuzzle",
|
| 45 |
+
"post_id": "12sbj9d",
|
| 46 |
+
"title": "The female driver is missing",
|
| 47 |
+
"target_comment_ids": [
|
| 48 |
+
"jgyqo6g"
|
| 49 |
+
],
|
| 50 |
+
"semantic_target_ids": [
|
| 51 |
+
"jgyqo6g"
|
| 52 |
+
],
|
| 53 |
+
"unresolved_comment_ids": [
|
| 54 |
+
"jh09jb9"
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"community": "GeoPuzzle",
|
| 59 |
+
"post_id": "12w9akg",
|
| 60 |
+
"title": "Up quite high.",
|
| 61 |
+
"target_comment_ids": [
|
| 62 |
+
"jhegd01"
|
| 63 |
+
],
|
| 64 |
+
"semantic_target_ids": [
|
| 65 |
+
"jhegd01"
|
| 66 |
+
],
|
| 67 |
+
"unresolved_comment_ids": [
|
| 68 |
+
"jhed9ow"
|
| 69 |
+
]
|
| 70 |
+
}
|
| 71 |
+
],
|
| 72 |
+
"S2_reasoning_fragment -> S4_offline_excluded": [
|
| 73 |
+
{
|
| 74 |
+
"community": "GeoPuzzle",
|
| 75 |
+
"post_id": "10is5ty",
|
| 76 |
+
"title": "Rock band",
|
| 77 |
+
"target_comment_ids": [],
|
| 78 |
+
"semantic_target_ids": [],
|
| 79 |
+
"unresolved_comment_ids": []
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"community": "GeoPuzzle",
|
| 83 |
+
"post_id": "10zwuec",
|
| 84 |
+
"title": "Terminus",
|
| 85 |
+
"target_comment_ids": [],
|
| 86 |
+
"semantic_target_ids": [],
|
| 87 |
+
"unresolved_comment_ids": []
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"community": "GeoPuzzle",
|
| 91 |
+
"post_id": "1139ih6",
|
| 92 |
+
"title": "Found a bus",
|
| 93 |
+
"target_comment_ids": [],
|
| 94 |
+
"semantic_target_ids": [],
|
| 95 |
+
"unresolved_comment_ids": []
|
| 96 |
+
}
|
| 97 |
+
],
|
| 98 |
+
"S4_offline_excluded -> U_review_or_source_pending": [
|
| 99 |
+
{
|
| 100 |
+
"community": "GeoPuzzle",
|
| 101 |
+
"post_id": "10p8x8c",
|
| 102 |
+
"title": "Low Tide",
|
| 103 |
+
"target_comment_ids": [],
|
| 104 |
+
"semantic_target_ids": [],
|
| 105 |
+
"unresolved_comment_ids": [
|
| 106 |
+
"j6j2xjm"
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"community": "GeoPuzzle",
|
| 111 |
+
"post_id": "1136csm",
|
| 112 |
+
"title": "Train accident",
|
| 113 |
+
"target_comment_ids": [],
|
| 114 |
+
"semantic_target_ids": [],
|
| 115 |
+
"unresolved_comment_ids": [
|
| 116 |
+
"j8obmm4"
|
| 117 |
+
]
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"community": "GeoPuzzle",
|
| 121 |
+
"post_id": "11fkdzg",
|
| 122 |
+
"title": "Mystery Location",
|
| 123 |
+
"target_comment_ids": [],
|
| 124 |
+
"semantic_target_ids": [],
|
| 125 |
+
"unresolved_comment_ids": [
|
| 126 |
+
"jan66qs"
|
| 127 |
+
]
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
"S1_reasoning_candidate -> U_review_or_source_pending": [
|
| 131 |
+
{
|
| 132 |
+
"community": "GeoPuzzle",
|
| 133 |
+
"post_id": "129ojii",
|
| 134 |
+
"title": "Not in Idaho",
|
| 135 |
+
"target_comment_ids": [],
|
| 136 |
+
"semantic_target_ids": [],
|
| 137 |
+
"unresolved_comment_ids": [
|
| 138 |
+
"jfcr428"
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"community": "GeoPuzzle",
|
| 143 |
+
"post_id": "12xai4a",
|
| 144 |
+
"title": "A sleeping giant",
|
| 145 |
+
"target_comment_ids": [],
|
| 146 |
+
"semantic_target_ids": [],
|
| 147 |
+
"unresolved_comment_ids": [
|
| 148 |
+
"jhi90mr",
|
| 149 |
+
"jhikpbr"
|
| 150 |
+
]
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"community": "GeoPuzzle",
|
| 154 |
+
"post_id": "13dqtb3",
|
| 155 |
+
"title": "Just some random graffiti?",
|
| 156 |
+
"target_comment_ids": [],
|
| 157 |
+
"semantic_target_ids": [],
|
| 158 |
+
"unresolved_comment_ids": [
|
| 159 |
+
"jjlp4dp",
|
| 160 |
+
"jjlpx9y",
|
| 161 |
+
"jjlqi84",
|
| 162 |
+
"jjmbymt",
|
| 163 |
+
"jjmh9i5"
|
| 164 |
+
]
|
| 165 |
+
}
|
| 166 |
+
],
|
| 167 |
+
"S3_process_only -> U_review_or_source_pending": [
|
| 168 |
+
{
|
| 169 |
+
"community": "GeoPuzzle",
|
| 170 |
+
"post_id": "12e68yx",
|
| 171 |
+
"title": "Hint: Knoxville",
|
| 172 |
+
"target_comment_ids": [],
|
| 173 |
+
"semantic_target_ids": [],
|
| 174 |
+
"unresolved_comment_ids": [
|
| 175 |
+
"jfa1g4i"
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"community": "GeoPuzzle",
|
| 180 |
+
"post_id": "13atp4f",
|
| 181 |
+
"title": "Where did I spend my was my last vacation?",
|
| 182 |
+
"target_comment_ids": [],
|
| 183 |
+
"semantic_target_ids": [],
|
| 184 |
+
"unresolved_comment_ids": [
|
| 185 |
+
"jj9ht7u"
|
| 186 |
+
]
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"community": "GeoPuzzle",
|
| 190 |
+
"post_id": "13te6ka",
|
| 191 |
+
"title": "A town close to the sea, which is quite something for a country with one of the shortest coastlines.",
|
| 192 |
+
"target_comment_ids": [],
|
| 193 |
+
"semantic_target_ids": [],
|
| 194 |
+
"unresolved_comment_ids": [
|
| 195 |
+
"jlunsg3"
|
| 196 |
+
]
|
| 197 |
+
}
|
| 198 |
+
],
|
| 199 |
+
"S2_reasoning_fragment -> U_review_or_source_pending": [
|
| 200 |
+
{
|
| 201 |
+
"community": "GeoPuzzle",
|
| 202 |
+
"post_id": "12lupje",
|
| 203 |
+
"title": "This place has gotten in hot 'water' due to a lot of wasted warm water in a giant pool nearby",
|
| 204 |
+
"target_comment_ids": [],
|
| 205 |
+
"semantic_target_ids": [],
|
| 206 |
+
"unresolved_comment_ids": [
|
| 207 |
+
"jgc1h94"
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"community": "GeoPuzzle",
|
| 212 |
+
"post_id": "1392ql4",
|
| 213 |
+
"title": "Where DE hell am I",
|
| 214 |
+
"target_comment_ids": [],
|
| 215 |
+
"semantic_target_ids": [],
|
| 216 |
+
"unresolved_comment_ids": [
|
| 217 |
+
"jj1skul",
|
| 218 |
+
"jj1yk94"
|
| 219 |
+
]
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"community": "GeoPuzzle",
|
| 223 |
+
"post_id": "13dlqa4",
|
| 224 |
+
"title": "Where was this sunset?",
|
| 225 |
+
"target_comment_ids": [],
|
| 226 |
+
"semantic_target_ids": [],
|
| 227 |
+
"unresolved_comment_ids": [
|
| 228 |
+
"jjl94ng"
|
| 229 |
+
]
|
| 230 |
+
}
|
| 231 |
+
],
|
| 232 |
+
"S2_reasoning_fragment -> S2_reasoning_fragment": [
|
| 233 |
+
{
|
| 234 |
+
"community": "GeoPuzzle",
|
| 235 |
+
"post_id": "12sbs41",
|
| 236 |
+
"title": "Where am I?",
|
| 237 |
+
"target_comment_ids": [
|
| 238 |
+
"jgzp6mv",
|
| 239 |
+
"jgzzxk1"
|
| 240 |
+
],
|
| 241 |
+
"semantic_target_ids": [
|
| 242 |
+
"jgzp6mv"
|
| 243 |
+
],
|
| 244 |
+
"unresolved_comment_ids": [
|
| 245 |
+
"jgzmgpp",
|
| 246 |
+
"jgzyujz",
|
| 247 |
+
"jh03qre",
|
| 248 |
+
"jh4exqd",
|
| 249 |
+
"jlm4ydn"
|
| 250 |
+
]
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"community": "GeoPuzzle",
|
| 254 |
+
"post_id": "16nvtng",
|
| 255 |
+
"title": "Where am I on vacation?",
|
| 256 |
+
"target_comment_ids": [
|
| 257 |
+
"k1ijtkd"
|
| 258 |
+
],
|
| 259 |
+
"semantic_target_ids": [
|
| 260 |
+
"k1ijtkd"
|
| 261 |
+
],
|
| 262 |
+
"unresolved_comment_ids": []
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"community": "GeoPuzzle",
|
| 266 |
+
"post_id": "16wpsou",
|
| 267 |
+
"title": "About a 45 minute drive from Amsterdam",
|
| 268 |
+
"target_comment_ids": [
|
| 269 |
+
"k2zylbu"
|
| 270 |
+
],
|
| 271 |
+
"semantic_target_ids": [
|
| 272 |
+
"k2zylbu"
|
| 273 |
+
],
|
| 274 |
+
"unresolved_comment_ids": [
|
| 275 |
+
"k2z5pmo",
|
| 276 |
+
"k2z892h",
|
| 277 |
+
"k2zgez3"
|
| 278 |
+
]
|
| 279 |
+
}
|
| 280 |
+
],
|
| 281 |
+
"S1_reasoning_candidate -> S2_reasoning_fragment": [
|
| 282 |
+
{
|
| 283 |
+
"community": "GeoPuzzle",
|
| 284 |
+
"post_id": "12uhmps",
|
| 285 |
+
"title": "Refresh page",
|
| 286 |
+
"target_comment_ids": [
|
| 287 |
+
"jh7seei"
|
| 288 |
+
],
|
| 289 |
+
"semantic_target_ids": [
|
| 290 |
+
"jh7seei"
|
| 291 |
+
],
|
| 292 |
+
"unresolved_comment_ids": [
|
| 293 |
+
"jh8qy5p",
|
| 294 |
+
"jh8uuyd"
|
| 295 |
+
]
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"community": "GeoPuzzle",
|
| 299 |
+
"post_id": "1fv25qi",
|
| 300 |
+
"title": "Allright, where am i?",
|
| 301 |
+
"target_comment_ids": [
|
| 302 |
+
"lq3scys",
|
| 303 |
+
"lq45a9o"
|
| 304 |
+
],
|
| 305 |
+
"semantic_target_ids": [
|
| 306 |
+
"lq3scys",
|
| 307 |
+
"lq45a9o"
|
| 308 |
+
],
|
| 309 |
+
"unresolved_comment_ids": []
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"community": "GeoPuzzle",
|
| 313 |
+
"post_id": "1fz2ark",
|
| 314 |
+
"title": "Jambo",
|
| 315 |
+
"target_comment_ids": [
|
| 316 |
+
"lqzfbl1"
|
| 317 |
+
],
|
| 318 |
+
"semantic_target_ids": [
|
| 319 |
+
"lqzfbl1"
|
| 320 |
+
],
|
| 321 |
+
"unresolved_comment_ids": [
|
| 322 |
+
"lqzle9h"
|
| 323 |
+
]
|
| 324 |
+
}
|
| 325 |
+
],
|
| 326 |
+
"S4_offline_excluded -> S3_process_only": [
|
| 327 |
+
{
|
| 328 |
+
"community": "GeoPuzzle",
|
| 329 |
+
"post_id": "12we859",
|
| 330 |
+
"title": "Goodluck trying to find this one!",
|
| 331 |
+
"target_comment_ids": [
|
| 332 |
+
"jhi3r0a"
|
| 333 |
+
],
|
| 334 |
+
"semantic_target_ids": [],
|
| 335 |
+
"unresolved_comment_ids": [
|
| 336 |
+
"jheji9f",
|
| 337 |
+
"jheyjl3",
|
| 338 |
+
"jhi0jz2"
|
| 339 |
+
]
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"community": "GeoPuzzle",
|
| 343 |
+
"post_id": "139vx47",
|
| 344 |
+
"title": "Where am i?",
|
| 345 |
+
"target_comment_ids": [
|
| 346 |
+
"jj438to"
|
| 347 |
+
],
|
| 348 |
+
"semantic_target_ids": [],
|
| 349 |
+
"unresolved_comment_ids": []
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"community": "GeoPuzzle",
|
| 353 |
+
"post_id": "13ektkb",
|
| 354 |
+
"title": "Not the Netherlands! (please don't look at my profile)",
|
| 355 |
+
"target_comment_ids": [
|
| 356 |
+
"jjqe1c1"
|
| 357 |
+
],
|
| 358 |
+
"semantic_target_ids": [],
|
| 359 |
+
"unresolved_comment_ids": [
|
| 360 |
+
"jjq9ksy",
|
| 361 |
+
"jjqhwb9",
|
| 362 |
+
"jjr8n3b"
|
| 363 |
+
]
|
| 364 |
+
}
|
| 365 |
+
],
|
| 366 |
+
"S2_reasoning_fragment -> S3_process_only": [
|
| 367 |
+
{
|
| 368 |
+
"community": "GeoPuzzle",
|
| 369 |
+
"post_id": "13v1hs8",
|
| 370 |
+
"title": "This region grows the best peaches. In my opinion.",
|
| 371 |
+
"target_comment_ids": [
|
| 372 |
+
"jm72rte"
|
| 373 |
+
],
|
| 374 |
+
"semantic_target_ids": [],
|
| 375 |
+
"unresolved_comment_ids": []
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"community": "GeoPuzzle",
|
| 379 |
+
"post_id": "1om1e03",
|
| 380 |
+
"title": "Where is this place?",
|
| 381 |
+
"target_comment_ids": [
|
| 382 |
+
"nswwgyz"
|
| 383 |
+
],
|
| 384 |
+
"semantic_target_ids": [],
|
| 385 |
+
"unresolved_comment_ids": []
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"community": "GeoPuzzle",
|
| 389 |
+
"post_id": "mlh26y",
|
| 390 |
+
"title": "Plums",
|
| 391 |
+
"target_comment_ids": [
|
| 392 |
+
"gtq7l08"
|
| 393 |
+
],
|
| 394 |
+
"semantic_target_ids": [],
|
| 395 |
+
"unresolved_comment_ids": []
|
| 396 |
+
}
|
| 397 |
+
],
|
| 398 |
+
"S1_reasoning_candidate -> S4_offline_excluded": [
|
| 399 |
+
{
|
| 400 |
+
"community": "GeoPuzzle",
|
| 401 |
+
"post_id": "18eq800",
|
| 402 |
+
"title": "Where is this?",
|
| 403 |
+
"target_comment_ids": [],
|
| 404 |
+
"semantic_target_ids": [],
|
| 405 |
+
"unresolved_comment_ids": []
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"community": "GeoPuzzle",
|
| 409 |
+
"post_id": "1fcaoar",
|
| 410 |
+
"title": "Where is it",
|
| 411 |
+
"target_comment_ids": [],
|
| 412 |
+
"semantic_target_ids": [],
|
| 413 |
+
"unresolved_comment_ids": []
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"community": "GeoPuzzle",
|
| 417 |
+
"post_id": "1ghw23f",
|
| 418 |
+
"title": "Grape harvest is now over for this year. Where did I take this picture?",
|
| 419 |
+
"target_comment_ids": [],
|
| 420 |
+
"semantic_target_ids": [],
|
| 421 |
+
"unresolved_comment_ids": []
|
| 422 |
+
}
|
| 423 |
+
],
|
| 424 |
+
"S3_process_only -> S2_reasoning_fragment": [
|
| 425 |
+
{
|
| 426 |
+
"community": "GeoPuzzle",
|
| 427 |
+
"post_id": "1awopdh",
|
| 428 |
+
"title": "Guess where this is!",
|
| 429 |
+
"target_comment_ids": [
|
| 430 |
+
"krl9eol"
|
| 431 |
+
],
|
| 432 |
+
"semantic_target_ids": [
|
| 433 |
+
"krl9eol"
|
| 434 |
+
],
|
| 435 |
+
"unresolved_comment_ids": [
|
| 436 |
+
"krkx8om",
|
| 437 |
+
"krlamp1"
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"community": "PictureGame",
|
| 442 |
+
"post_id": "e40ifk",
|
| 443 |
+
"title": "[Round 70271] Chaos in Baghdad: What are the coordinates (within 15m) of that barricade? Name the mosque for that minaret in the background too.",
|
| 444 |
+
"target_comment_ids": [
|
| 445 |
+
"f960h73"
|
| 446 |
+
],
|
| 447 |
+
"semantic_target_ids": [
|
| 448 |
+
"f960h73"
|
| 449 |
+
],
|
| 450 |
+
"unresolved_comment_ids": []
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"community": "PictureGame",
|
| 454 |
+
"post_id": "god2eo",
|
| 455 |
+
"title": "[Round 77943] We are in Oceania. Give me the coordinates of that minion within 0.25 meters. Thank you!",
|
| 456 |
+
"target_comment_ids": [
|
| 457 |
+
"frf503x",
|
| 458 |
+
"frf56cy"
|
| 459 |
+
],
|
| 460 |
+
"semantic_target_ids": [
|
| 461 |
+
"frf503x",
|
| 462 |
+
"frf56cy"
|
| 463 |
+
],
|
| 464 |
+
"unresolved_comment_ids": [
|
| 465 |
+
"frf9d3r"
|
| 466 |
+
]
|
| 467 |
+
}
|
| 468 |
+
],
|
| 469 |
+
"S3_process_only -> S4_offline_excluded": [
|
| 470 |
+
{
|
| 471 |
+
"community": "GeoPuzzle",
|
| 472 |
+
"post_id": "1jle412",
|
| 473 |
+
"title": "Mountains (easy)",
|
| 474 |
+
"target_comment_ids": [],
|
| 475 |
+
"semantic_target_ids": [],
|
| 476 |
+
"unresolved_comment_ids": []
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"community": "GeoPuzzle",
|
| 480 |
+
"post_id": "1k2n6ne",
|
| 481 |
+
"title": "Where was I in 2011?",
|
| 482 |
+
"target_comment_ids": [],
|
| 483 |
+
"semantic_target_ids": [],
|
| 484 |
+
"unresolved_comment_ids": []
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"community": "GeoPuzzle",
|
| 488 |
+
"post_id": "1q5oj2i",
|
| 489 |
+
"title": "Where was I?",
|
| 490 |
+
"target_comment_ids": [],
|
| 491 |
+
"semantic_target_ids": [],
|
| 492 |
+
"unresolved_comment_ids": []
|
| 493 |
+
}
|
| 494 |
+
],
|
| 495 |
+
"S1_reasoning_candidate -> S3_process_only": [
|
| 496 |
+
{
|
| 497 |
+
"community": "GeoPuzzle",
|
| 498 |
+
"post_id": "1k7ihw8",
|
| 499 |
+
"title": "Where is this part of heaven?",
|
| 500 |
+
"target_comment_ids": [
|
| 501 |
+
"moya0dm"
|
| 502 |
+
],
|
| 503 |
+
"semantic_target_ids": [],
|
| 504 |
+
"unresolved_comment_ids": [
|
| 505 |
+
"moycy2v",
|
| 506 |
+
"moydw4z",
|
| 507 |
+
"moyeydj",
|
| 508 |
+
"moyf2bo"
|
| 509 |
+
]
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"community": "PictureGame",
|
| 513 |
+
"post_id": "13n2ium",
|
| 514 |
+
"title": "[Round 126740] Give me coordinates inside the circle",
|
| 515 |
+
"target_comment_ids": [
|
| 516 |
+
"jkxolce"
|
| 517 |
+
],
|
| 518 |
+
"semantic_target_ids": [],
|
| 519 |
+
"unresolved_comment_ids": []
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"community": "PictureGame",
|
| 523 |
+
"post_id": "13tjif0",
|
| 524 |
+
"title": "[Round 126961] (Municipalities of Cuba 4/168) Coords anywhere at this place please",
|
| 525 |
+
"target_comment_ids": [
|
| 526 |
+
"jlvg0vb"
|
| 527 |
+
],
|
| 528 |
+
"semantic_target_ids": [],
|
| 529 |
+
"unresolved_comment_ids": [
|
| 530 |
+
"jlvflws"
|
| 531 |
+
]
|
| 532 |
+
}
|
| 533 |
+
],
|
| 534 |
+
"S3_process_only -> S3_process_only": [
|
| 535 |
+
{
|
| 536 |
+
"community": "GeoPuzzle",
|
| 537 |
+
"post_id": "1kdb4bf",
|
| 538 |
+
"title": "Where was I in July 2023?",
|
| 539 |
+
"target_comment_ids": [
|
| 540 |
+
"mq9z4ew"
|
| 541 |
+
],
|
| 542 |
+
"semantic_target_ids": [],
|
| 543 |
+
"unresolved_comment_ids": []
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"community": "GeoPuzzle",
|
| 547 |
+
"post_id": "b4aca1",
|
| 548 |
+
"title": "Artists from out of town",
|
| 549 |
+
"target_comment_ids": [
|
| 550 |
+
"ej5trex"
|
| 551 |
+
],
|
| 552 |
+
"semantic_target_ids": [],
|
| 553 |
+
"unresolved_comment_ids": []
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"community": "PictureGame",
|
| 557 |
+
"post_id": "11weudr",
|
| 558 |
+
"title": "[Round 124420] coords in this gully please. also please give me the name of that river and the name of any town visible in this screenshot",
|
| 559 |
+
"target_comment_ids": [
|
| 560 |
+
"jcxodmy"
|
| 561 |
+
],
|
| 562 |
+
"semantic_target_ids": [],
|
| 563 |
+
"unresolved_comment_ids": [
|
| 564 |
+
"jx6yjae"
|
| 565 |
+
]
|
| 566 |
+
}
|
| 567 |
+
],
|
| 568 |
+
"S4_offline_excluded -> S1_reasoning_candidate": [
|
| 569 |
+
{
|
| 570 |
+
"community": "GeoPuzzle",
|
| 571 |
+
"post_id": "clmtyy",
|
| 572 |
+
"title": "[OC] Colonial city",
|
| 573 |
+
"target_comment_ids": [
|
| 574 |
+
"ewf3cc7"
|
| 575 |
+
],
|
| 576 |
+
"semantic_target_ids": [
|
| 577 |
+
"ewf3cc7"
|
| 578 |
+
],
|
| 579 |
+
"unresolved_comment_ids": []
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"community": "GeoPuzzle",
|
| 583 |
+
"post_id": "dobpdl",
|
| 584 |
+
"title": "Sunshine",
|
| 585 |
+
"target_comment_ids": [
|
| 586 |
+
"f60uczd"
|
| 587 |
+
],
|
| 588 |
+
"semantic_target_ids": [
|
| 589 |
+
"f60uczd"
|
| 590 |
+
],
|
| 591 |
+
"unresolved_comment_ids": []
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"community": "PictureGame",
|
| 595 |
+
"post_id": "106iaym",
|
| 596 |
+
"title": "[Round 121864] coordinates anywhere on this bridge + when was the depicted building circled in red built?",
|
| 597 |
+
"target_comment_ids": [
|
| 598 |
+
"j3gnmtl"
|
| 599 |
+
],
|
| 600 |
+
"semantic_target_ids": [
|
| 601 |
+
"j3gnmtl"
|
| 602 |
+
],
|
| 603 |
+
"unresolved_comment_ids": []
|
| 604 |
+
}
|
| 605 |
+
],
|
| 606 |
+
"S2_reasoning_fragment -> S1_reasoning_candidate": [
|
| 607 |
+
{
|
| 608 |
+
"community": "whereisthis",
|
| 609 |
+
"post_id": "cl6zmt",
|
| 610 |
+
"title": "What is this city? It is one of the default background images in Trello. No luck with reverse image search.",
|
| 611 |
+
"target_comment_ids": [
|
| 612 |
+
"evz9ir5"
|
| 613 |
+
],
|
| 614 |
+
"semantic_target_ids": [
|
| 615 |
+
"evz9ir5"
|
| 616 |
+
],
|
| 617 |
+
"unresolved_comment_ids": [
|
| 618 |
+
"evx5nm6"
|
| 619 |
+
]
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"community": "whereisthis",
|
| 623 |
+
"post_id": "svkmz3",
|
| 624 |
+
"title": "Building complexes in what seems to be a European country? Where exactly is this? Even what country could help..",
|
| 625 |
+
"target_comment_ids": [
|
| 626 |
+
"hxkbb1b",
|
| 627 |
+
"hxmt10c"
|
| 628 |
+
],
|
| 629 |
+
"semantic_target_ids": [
|
| 630 |
+
"hxkbb1b",
|
| 631 |
+
"hxmt10c"
|
| 632 |
+
],
|
| 633 |
+
"unresolved_comment_ids": [
|
| 634 |
+
"hxk6cwl",
|
| 635 |
+
"hxk9chc",
|
| 636 |
+
"hxk9jje",
|
| 637 |
+
"hxka9zi",
|
| 638 |
+
"hxkiman",
|
| 639 |
+
"hxkopdu",
|
| 640 |
+
"hxkz3g5",
|
| 641 |
+
"hxl2iq7",
|
| 642 |
+
"hxl6rtx",
|
| 643 |
+
"hxl6zju",
|
| 644 |
+
"hxpibjv",
|
| 645 |
+
"hya0r4a"
|
| 646 |
+
]
|
| 647 |
+
}
|
| 648 |
+
]
|
| 649 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/offline_filter_statistics.json
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "reddit-cot-v10-offline-statistics.v1",
|
| 3 |
+
"rule_version": "offline-cot-full-source.v10.4.1",
|
| 4 |
+
"input_rows": 72170,
|
| 5 |
+
"post_tiers": {
|
| 6 |
+
"S1_reasoning_candidate": 75,
|
| 7 |
+
"S2_reasoning_fragment": 2015,
|
| 8 |
+
"S3_process_only": 4983,
|
| 9 |
+
"S4_offline_excluded": 40029,
|
| 10 |
+
"U_review_or_source_pending": 25068
|
| 11 |
+
},
|
| 12 |
+
"comment_routes": {
|
| 13 |
+
"S4_offline_excluded": 887879,
|
| 14 |
+
"S2_reasoning_fragment": 2135,
|
| 15 |
+
"U_review_or_source_pending": 47641,
|
| 16 |
+
"S3_process_only": 5150,
|
| 17 |
+
"S1_reasoning_candidate": 76
|
| 18 |
+
},
|
| 19 |
+
"comment_kinds": {
|
| 20 |
+
"answer_or_other_nonreasoning": 559788,
|
| 21 |
+
"question_or_guess": 32528,
|
| 22 |
+
"hint_only": 39397,
|
| 23 |
+
"description_or_answer": 30704,
|
| 24 |
+
"reasoning_fragment": 2131,
|
| 25 |
+
"unresolved_semantic_relation": 14287,
|
| 26 |
+
"link_sharing_tutorial": 198,
|
| 27 |
+
"source_unavailable": 21968,
|
| 28 |
+
"plan_or_instruction": 9923,
|
| 29 |
+
"explanation_request": 30068,
|
| 30 |
+
"recognition_only": 1633,
|
| 31 |
+
"unresolved_tool_mention": 11204,
|
| 32 |
+
"answer_and_thanks": 358,
|
| 33 |
+
"bot_noise": 181211,
|
| 34 |
+
"candidate_verification": 303,
|
| 35 |
+
"tool_process": 5147,
|
| 36 |
+
"game_meta_discussion": 44,
|
| 37 |
+
"unresolved_dependency": 165,
|
| 38 |
+
"policy_or_tool_mention": 154,
|
| 39 |
+
"off_task_content": 1437,
|
| 40 |
+
"contradicted_reasoning": 6,
|
| 41 |
+
"external_personal_source": 113,
|
| 42 |
+
"ungrounded_method_report": 1,
|
| 43 |
+
"reasoning_chain": 61,
|
| 44 |
+
"explicit_reasoning": 15,
|
| 45 |
+
"hint_helped_without_search_path": 1,
|
| 46 |
+
"unresolved_tool_context": 9,
|
| 47 |
+
"contradicted_process": 4,
|
| 48 |
+
"unresolved_task_reasoning": 5,
|
| 49 |
+
"background_only": 10,
|
| 50 |
+
"query_strategy_fragment": 4,
|
| 51 |
+
"off_task_person_identification": 1,
|
| 52 |
+
"external_narration_source": 1,
|
| 53 |
+
"vague_rebuttal": 1,
|
| 54 |
+
"unresolved_background_context": 1
|
| 55 |
+
},
|
| 56 |
+
"by_community": {
|
| 57 |
+
"GeoPuzzle": {
|
| 58 |
+
"S4_offline_excluded": 1735,
|
| 59 |
+
"S2_reasoning_fragment": 127,
|
| 60 |
+
"U_review_or_source_pending": 1027,
|
| 61 |
+
"S3_process_only": 112,
|
| 62 |
+
"S1_reasoning_candidate": 2
|
| 63 |
+
},
|
| 64 |
+
"PictureGame": {
|
| 65 |
+
"U_review_or_source_pending": 20418,
|
| 66 |
+
"S4_offline_excluded": 35838,
|
| 67 |
+
"S3_process_only": 4548,
|
| 68 |
+
"S2_reasoning_fragment": 1369,
|
| 69 |
+
"S1_reasoning_candidate": 65
|
| 70 |
+
},
|
| 71 |
+
"whereisthis": {
|
| 72 |
+
"U_review_or_source_pending": 3623,
|
| 73 |
+
"S4_offline_excluded": 2456,
|
| 74 |
+
"S3_process_only": 323,
|
| 75 |
+
"S2_reasoning_fragment": 519,
|
| 76 |
+
"S1_reasoning_candidate": 8
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"source_recovery": {
|
| 80 |
+
"local_snapshot": 72170,
|
| 81 |
+
"comments_read": 942881,
|
| 82 |
+
"preview_comments_recovered": 578596,
|
| 83 |
+
"preview_shorter_than_full": 203915,
|
| 84 |
+
"new_target_not_in_preview": 2719,
|
| 85 |
+
"target_not_in_old_cot_ids": 1201,
|
| 86 |
+
"explanation_reply_targets": 5328
|
| 87 |
+
},
|
| 88 |
+
"reason_counts": {
|
| 89 |
+
"NO_EXPLICIT_REASONING_OR_OPERATION": 559788,
|
| 90 |
+
"QUESTION_OR_UNSUPPORTED_GUESS": 32528,
|
| 91 |
+
"HINT_WITHOUT_REPORTED_INFERENCE": 39397,
|
| 92 |
+
"NO_EXPLICIT_USE_OF_DESCRIPTION": 30704,
|
| 93 |
+
"EXPLICIT_REASON": 100,
|
| 94 |
+
"HINT_WITHOUT_SOLVE_REPORT": 20741,
|
| 95 |
+
"SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN": 14287,
|
| 96 |
+
"LINK_SHARING_TUTORIAL": 180,
|
| 97 |
+
"NOT_A_SOLVE_OPERATION": 198,
|
| 98 |
+
"COMMENT_SOURCE_UNAVAILABLE": 21968,
|
| 99 |
+
"NO_EXECUTED_OR_SPECIFIC_STRATEGY": 9923,
|
| 100 |
+
"EXPLANATION_REQUEST": 30107,
|
| 101 |
+
"QUESTION_IS_NOT_EXPLANATION": 30068,
|
| 102 |
+
"PERSONAL_RECOGNITION_WITHOUT_INFERENCE": 1632,
|
| 103 |
+
"TOOL_MENTION_WITHOUT_EXECUTION_PROOF": 11204,
|
| 104 |
+
"ANSWER_OR_SOCIAL_NOT_INFERENCE": 358,
|
| 105 |
+
"QUOTED_CONTEXT_NOT_AUTHOR_REASONING": 8710,
|
| 106 |
+
"BOT_OR_TEMPLATE": 181211,
|
| 107 |
+
"POSTANSWER_VERIFICATION_NOT_GENERATION": 303,
|
| 108 |
+
"CLUE_TO_HYPOTHESIS": 779,
|
| 109 |
+
"REPORTED_TOOL_OPERATION": 5147,
|
| 110 |
+
"HYPOTHESIS_TO_QUERY": 115,
|
| 111 |
+
"GAME_SCORING_NOT_LOCATION_REASONING": 44,
|
| 112 |
+
"CLUE_TO_RESULT": 152,
|
| 113 |
+
"REFERENCE_NEEDS_SEMANTIC_REVIEW": 165,
|
| 114 |
+
"QUERY_TO_VERIFICATION": 111,
|
| 115 |
+
"EXPLICIT_CONSEQUENCE": 342,
|
| 116 |
+
"BASED_ON_CLUE": 17,
|
| 117 |
+
"HYPOTHESIS_TO_VERIFICATION": 99,
|
| 118 |
+
"CLUE_TO_CANDIDATE_UPDATE": 54,
|
| 119 |
+
"HYPOTHESIS_TO_RESULT": 101,
|
| 120 |
+
"TOOL_POLICY_OR_NEGATION": 156,
|
| 121 |
+
"TOOL_MENTION_NOT_OPERATION": 154,
|
| 122 |
+
"TASK_NOT_IMAGE_GEOLOCATION": 1437,
|
| 123 |
+
"VISUAL_HYPOTHESIS": 38,
|
| 124 |
+
"ANSWER_CONFLICT": 8,
|
| 125 |
+
"EXPLICIT_HUMAN_SEMANTIC_REJECTION": 7,
|
| 126 |
+
"ANSWER_CONFLICT_REVIEW": 2,
|
| 127 |
+
"NON_IMAGE_PERSONAL_SOURCE": 112,
|
| 128 |
+
"RESULT_TO_NEW_CLUE": 178,
|
| 129 |
+
"RESULT_TO_VERIFICATION": 86,
|
| 130 |
+
"QUERY_RESULT": 167,
|
| 131 |
+
"HYPOTHESIS_TO_CANDIDATE_UPDATE": 35,
|
| 132 |
+
"CONSTRAINED_SCAN_RESULT": 24,
|
| 133 |
+
"QUERY_TO_RESULT_CHAIN": 170,
|
| 134 |
+
"RESULT_TO_CANDIDATE_UPDATE": 17,
|
| 135 |
+
"UPDATED_HYPOTHESIS_TO_RESULT": 12,
|
| 136 |
+
"TOOL_CONTEXT_UNRESOLVED": 9,
|
| 137 |
+
"CANDIDATE_UPDATE_TO_HYPOTHESIS": 12,
|
| 138 |
+
"UPDATED_HYPOTHESIS_TO_QUERY": 26,
|
| 139 |
+
"CANDIDATE_UPDATE_TO_VERIFICATION": 8,
|
| 140 |
+
"TASK_SCOPE_UNRESOLVED": 5,
|
| 141 |
+
"REFERENCE_PROSE_NOT_IMAGE_SOLVE": 10,
|
| 142 |
+
"SPECIFIC_QUERY_STRATEGY": 4,
|
| 143 |
+
"IMAGE_ENTITY_FACT": 1,
|
| 144 |
+
"CLUE_MUST_IMPLY": 3,
|
| 145 |
+
"BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED": 1
|
| 146 |
+
},
|
| 147 |
+
"semantic_admission_rule_counts": {
|
| 148 |
+
"EXPLICIT_REASON": 98,
|
| 149 |
+
"CLUE_TO_HYPOTHESIS": 759,
|
| 150 |
+
"HYPOTHESIS_TO_QUERY": 113,
|
| 151 |
+
"CLUE_TO_RESULT": 146,
|
| 152 |
+
"QUERY_TO_VERIFICATION": 111,
|
| 153 |
+
"EXPLICIT_CONSEQUENCE": 339,
|
| 154 |
+
"BASED_ON_CLUE": 16,
|
| 155 |
+
"HYPOTHESIS_TO_VERIFICATION": 95,
|
| 156 |
+
"CLUE_TO_CANDIDATE_UPDATE": 54,
|
| 157 |
+
"HYPOTHESIS_TO_RESULT": 101,
|
| 158 |
+
"VISUAL_HYPOTHESIS": 38,
|
| 159 |
+
"RESULT_TO_NEW_CLUE": 176,
|
| 160 |
+
"RESULT_TO_VERIFICATION": 83,
|
| 161 |
+
"QUERY_RESULT": 166,
|
| 162 |
+
"HYPOTHESIS_TO_CANDIDATE_UPDATE": 35,
|
| 163 |
+
"CONSTRAINED_SCAN_RESULT": 24,
|
| 164 |
+
"QUERY_TO_RESULT_CHAIN": 168,
|
| 165 |
+
"RESULT_TO_CANDIDATE_UPDATE": 17,
|
| 166 |
+
"QUOTED_CONTEXT_NOT_AUTHOR_REASONING": 15,
|
| 167 |
+
"HINT_WITHOUT_SOLVE_REPORT": 16,
|
| 168 |
+
"UPDATED_HYPOTHESIS_TO_RESULT": 12,
|
| 169 |
+
"CANDIDATE_UPDATE_TO_HYPOTHESIS": 11,
|
| 170 |
+
"UPDATED_HYPOTHESIS_TO_QUERY": 26,
|
| 171 |
+
"CANDIDATE_UPDATE_TO_VERIFICATION": 8,
|
| 172 |
+
"EXPLANATION_REQUEST": 5,
|
| 173 |
+
"SPECIFIC_QUERY_STRATEGY": 4,
|
| 174 |
+
"IMAGE_ENTITY_FACT": 1,
|
| 175 |
+
"CLUE_MUST_IMPLY": 3,
|
| 176 |
+
"LINK_SHARING_TUTORIAL": 1
|
| 177 |
+
},
|
| 178 |
+
"human_precision": "not_measured",
|
| 179 |
+
"human_recall": "not_measured",
|
| 180 |
+
"new_model_calls": 0,
|
| 181 |
+
"training_records_approved": 0,
|
| 182 |
+
"elapsed_seconds": 1372.5
|
| 183 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/offline_quality_report.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CoT 全文筛选修改与重新分层实施报告
|
| 2 |
+
|
| 3 |
+
规则版本:offline-cot-full-source.v10.4.1。结果目录:offline_cot_filter_20261029_v10_4_2。
|
| 4 |
+
|
| 5 |
+
本次已完成新规则实现、全池本地全文扫描、多轮分层与诊断修订、来源完整性校验及新复核工作台。
|
| 6 |
+
S1/S2 是有原文证据的规则候选,未完成人工未见评估;S3 单独保留操作过程。没有训练放行记录。
|
| 7 |
+
|
| 8 |
+
## 重新分层
|
| 9 |
+
|
| 10 |
+
| 分层 | v9 帖数 | 本次帖数 | 本次占比 |
|
| 11 |
+
|---|---:|---:|---:|
|
| 12 |
+
| S1_reasoning_candidate | 1244 | 75 | 0.10% |
|
| 13 |
+
| S2_reasoning_fragment | 5780 | 2,015 | 2.79% |
|
| 14 |
+
| S3_process_only | 1248 | 4,983 | 6.90% |
|
| 15 |
+
| S4_offline_excluded | 63898 | 40,029 | 55.46% |
|
| 16 |
+
| U_review_or_source_pending | — | 25,068 | 34.73% |
|
| 17 |
+
|
| 18 |
+
各层互斥,总数为 72,170。U 是确实未解决的来源/依赖/语义问题,未计入 S2,也不当成确定无推理。
|
| 19 |
+
|
| 20 |
+
## 实际修复
|
| 21 |
+
|
| 22 |
+
1. 全文恢复前移。扫描三个上游快照,恢复正式池全部 72,170 帖;读取 942,881 条评论。预览只作线索,不再截断后作最终判定。
|
| 23 |
+
2. 评论级证据门槛。推理候选保存前提、结果/推断、关系陈述及原文偏移;去掉帖子关键词聚合、固定序号标签和 S2 直通。
|
| 24 |
+
3. 真正选择解释回复。问题、提示、确认与解法分开,沿真实 parent_id 查解释;不把后续回复内容归给提问者。
|
| 25 |
+
4. 修正处理状态。cot_comment_ids 只作已有候选线索;所有新记录处理状态 unknown,不凭标记排除或宣称节省调用。
|
| 26 |
+
5. 来源与任务分离。记录题面先验、图像线索自述、检索结果、条件查询策略;非地理任务和非图片个人信息不能冒充图像 CoT。
|
| 27 |
+
6. 错解与核对分开。识别直接反驳、部分纠正、自我撤回、事后候选核对、容差/得分争论、工具计划/禁用和链接教程。
|
| 28 |
+
7. 新增 U 待查。规则无法证明关系、正文删除/缺失、任务/依赖不明时不强行放行。
|
| 29 |
+
|
| 30 |
+
## 首轮抽查后的修订
|
| 31 |
+
|
| 32 |
+
首轮 v10 已完整保留。代理抽查发现自我撤回、纯提示因果、得分争论、答案致谢、泛泛记忆相似和事后候选核对仍有误放。
|
| 33 |
+
v10.1 诊断又发现百科/科学背景、跨句编号提示、or so 时间近似、so does 并列、间接邮票/文字谜任务和事后背景问题。
|
| 34 |
+
v10.2 的诊断补充了 so long as 条件句、since renamed 时间用法和 looked similar 泛泛相似的回归。最终沿用该批 125 帖做前后比较,不把开发诊断算作未见人工评估。
|
| 35 |
+
这些发现转为带完整原文的开发回归案例,并修正对应的一般判定;本次 offline-cot-full-source.v10.4.1 重新对全池执行。代理意见不改写为人工金标。
|
| 36 |
+
|
| 37 |
+
## 来源与目标完整性
|
| 38 |
+
|
| 39 |
+
- 所有评论逐条通过原文、作者、Unicode 偏移和真实祖先链校验;总计 942,881 条。
|
| 40 |
+
- 语义候选评论 2,211 条,其中 748 条不在原预览候选列表。
|
| 41 |
+
- 其中 1,199 条为解释问题的真实回复;问题自身不因此成为推理。
|
| 42 |
+
- 原始池 SHA-256 未变:2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae。
|
| 43 |
+
- 上游快照完整恢复不代表每条评论正文仍可用;[deleted]/[removed]/空正文单独待查。
|
| 44 |
+
|
| 45 |
+
U 的主原因(互斥;优先记录来源缺失,再记录语义等问题):
|
| 46 |
+
|
| 47 |
+
| 主原因 | U 帖数 |
|
| 48 |
+
|---|---:|
|
| 49 |
+
| COMMENT_SOURCE_UNAVAILABLE | 11,541 |
|
| 50 |
+
| TOOL_MENTION_WITHOUT_EXECUTION_PROOF | 6,166 |
|
| 51 |
+
| SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN | 7,293 |
|
| 52 |
+
| REFERENCE_NEEDS_SEMANTIC_REVIEW | 54 |
|
| 53 |
+
| ANSWER_CONFLICT_REVIEW | 2 |
|
| 54 |
+
| TOOL_CONTEXT_UNRESOLVED | 6 |
|
| 55 |
+
| TASK_SCOPE_UNRESOLVED | 5 |
|
| 56 |
+
| BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED | 1 |
|
| 57 |
+
|
| 58 |
+
S3 明细按评论统计;极简操作自述与详细操作分开,均不计入语义 CoT:
|
| 59 |
+
|
| 60 |
+
- minimal: 4,379
|
| 61 |
+
- informative: 771
|
| 62 |
+
|
| 63 |
+
## v9 到新版本迁移
|
| 64 |
+
|
| 65 |
+
| v9 原层 | 新 S1 | 新 S2 | 新 S3 | 新 S4 | U |
|
| 66 |
+
|---|---:|---:|---:|---:|---:|
|
| 67 |
+
| S1_reasoning_candidate | 0 | 53 | 39 | 447 | 705 |
|
| 68 |
+
| S2_reasoning_fragment | 2 | 80 | 79 | 3,168 | 2,451 |
|
| 69 |
+
| S3_process_only | 0 | 5 | 52 | 386 | 805 |
|
| 70 |
+
| S4_offline_excluded | 73 | 1,877 | 4,813 | 36,028 | 21,107 |
|
| 71 |
+
|
| 72 |
+
完整迁移矩阵另含携带旧候选标记子群,见 v9_v10_transition_matrix.json;每个迁移方向的可追溯例子见 migration_examples.json。
|
| 73 |
+
|
| 74 |
+
旧 S1/S2 所选评论在新规则下的内容诊断(不是人工精度):
|
| 75 |
+
|
| 76 |
+
| 新内容类型 | 旧入选评论数 |
|
| 77 |
+
|---|---:|
|
| 78 |
+
| answer_or_other_nonreasoning | 16,972 |
|
| 79 |
+
| hint_only | 3,828 |
|
| 80 |
+
| description_or_answer | 2,682 |
|
| 81 |
+
| question_or_guess | 1,399 |
|
| 82 |
+
| unresolved_semantic_relation | 1,267 |
|
| 83 |
+
| unresolved_tool_mention | 898 |
|
| 84 |
+
| plan_or_instruction | 556 |
|
| 85 |
+
| reasoning_fragment | 100 |
|
| 86 |
+
| recognition_only | 95 |
|
| 87 |
+
| off_task_content | 80 |
|
| 88 |
+
| tool_process | 74 |
|
| 89 |
+
| candidate_verification | 57 |
|
| 90 |
+
| explanation_request | 48 |
|
| 91 |
+
| policy_or_tool_mention | 18 |
|
| 92 |
+
| link_sharing_tutorial | 15 |
|
| 93 |
+
| answer_and_thanks | 14 |
|
| 94 |
+
| bot_noise | 13 |
|
| 95 |
+
| unresolved_dependency | 12 |
|
| 96 |
+
| external_personal_source | 7 |
|
| 97 |
+
| contradicted_reasoning | 2 |
|
| 98 |
+
| query_strategy_fragment | 1 |
|
| 99 |
+
| game_meta_discussion | 1 |
|
| 100 |
+
| contradicted_process | 1 |
|
| 101 |
+
| reasoning_chain | 1 |
|
| 102 |
+
| explicit_reasoning | 1 |
|
| 103 |
+
|
| 104 |
+
## 历史人工案例复查
|
| 105 |
+
|
| 106 |
+
15 条原始人工备注均保留。13 条在当前池中,2 条只作历史回归,未加入池。明确否定约束绑定原文哈希;正例必须通过实际规则,不能靠人工正例覆盖缺失证据。
|
| 107 |
+
|
| 108 |
+
| 评论 | 当前目标路由 | 当前内容类型 |
|
| 109 |
+
|---|---|---|
|
| 110 |
+
| GeoPuzzle/mdsgtqr | S4_offline_excluded | recognition_only |
|
| 111 |
+
| GeoPuzzle/n3azfis | S2_reasoning_fragment | reasoning_fragment |
|
| 112 |
+
| GeoPuzzle/e5muqoy | S2_reasoning_fragment | reasoning_fragment |
|
| 113 |
+
| GeoPuzzle/e8zfn10 | S4_offline_excluded | ungrounded_method_report |
|
| 114 |
+
| GeoPuzzle/fe9ukw1 | S4_offline_excluded | hint_helped_without_search_path |
|
| 115 |
+
| PictureGame/jeu3l21 | S1_reasoning_candidate | explicit_reasoning |
|
| 116 |
+
| PictureGame/gwuso5q | S1_reasoning_candidate | explicit_reasoning |
|
| 117 |
+
| PictureGame/iann998 | S2_reasoning_fragment | reasoning_fragment |
|
| 118 |
+
| PictureGame/iwke1yy | S4_offline_excluded | off_task_person_identification |
|
| 119 |
+
| PictureGame/ipmh59l | S2_reasoning_fragment | query_strategy_fragment |
|
| 120 |
+
| whereisthis/ob5e9sy | S4_offline_excluded | external_personal_source |
|
| 121 |
+
| whereisthis/oszer9x | 不在当前池 | 回归专用 |
|
| 122 |
+
| whereisthis/ckkouvp | 不在当前池 | 回归专用 |
|
| 123 |
+
| whereisthis/cr131hp | S4_offline_excluded | external_narration_source |
|
| 124 |
+
| whereisthis/d5x8mus | S4_offline_excluded | vague_rebuttal |
|
| 125 |
+
|
| 126 |
+
备注内容和来源、帖子路由与目标路由分别见 historical_human15_current_routes.json。
|
| 127 |
+
|
| 128 |
+
## 验证与当前限制
|
| 129 |
+
|
| 130 |
+
- 历史与新失效案例 53/53 项断言通过,包含 15 条人工备注涉及的明确要求;不是人工准确率。
|
| 131 |
+
- 当前管线、v9 兼容性、新 v10 及来源索引相关测试共 124 项通过。
|
| 132 |
+
- 全目录历史测试另发现未修改的 v7 一项失败:纯答案已进 S4,但缺少旧测试要求的 pure_answer hard flag。该历史版本未改写;不冒充全目录全部通过。
|
| 133 |
+
- 942,881 条来源/偏移/作者/父子关系以及 72,170 条分层守恒通过独立产物校验。
|
| 134 |
+
- 新工作台诊断样本 125 帖;另冻结 600 帖供人工复核;所有人工标签初始为空。
|
| 135 |
+
- 冻结样本排除本地已知开发帖、旧代理 QA 帖及可识别的相同图片 URL 组;作者分组和感知近重复未完全隔离,见抽样 manifest,不能宣称正式无泄漏盲测。
|
| 136 |
+
- 各层不足配额按预先定义的数量规则分配;S1 很少,不能由小样本宣布达到精度置信下界。
|
| 137 |
+
- precision、recall、图片/外链 grounding 和最终训练可用率尚未人工测量。未调用 DeepSeek,未接入模型工作流。
|
| 138 |
+
|
| 139 |
+
冻结人工复核样本的实际分配(与已见诊断样本分开):
|
| 140 |
+
|
| 141 |
+
| 层 | 原建议配额 | 实际冻结帖数 |
|
| 142 |
+
|---|---:|---:|
|
| 143 |
+
| S1_reasoning_candidate | 120 | 60 |
|
| 144 |
+
| S2_reasoning_fragment | 120 | 135 |
|
| 145 |
+
| S3_process_only | 90 | 101 |
|
| 146 |
+
| S4_offline_excluded | 210 | 236 |
|
| 147 |
+
| U_review_or_source_pending | 60 | 68 |
|
| 148 |
+
|
| 149 |
+
S1 的池本身很小,且开发已见成员被排除;配额不足按抽样 manifest 预定数量规则重新分配,不能伪造 120 帖独立 S1 样本。
|
| 150 |
+
|
| 151 |
+
## 文件与复现
|
| 152 |
+
|
| 153 |
+
- post_routes_all.jsonl:全部帖子路由;各层同名 JSONL 可独立读取。
|
| 154 |
+
- candidate_comments.jsonl:所有入选目标的完整正文、证据和真实上下文 ID。
|
| 155 |
+
- comment_evidence_all.jsonl.gz:全部评论的 gzip JSONL 诊断,流式读取,避免重复存储数 GB 文本。
|
| 156 |
+
- source_index.sqlite:只读来源字节偏移索引;原始快照未复制/改写。
|
| 157 |
+
- code_snapshot/:实际使用的代码与开发 JSONL 夹具;filter_manifest.json 保存哈希。
|
| 158 |
+
- artifact_integrity_report.json:独立校验;known_cases_regression.json:案例断言。
|
| 159 |
+
- manual_review/:诊断工作台、冻结人工样本工作台、抽样概率和空白标签。
|
| 160 |
+
|
| 161 |
+
## 规划完成状态
|
| 162 |
+
|
| 163 |
+
- A/B/C:来源勘误、开发回归、全文索引及评论级路由已实施。
|
| 164 |
+
- D:新工作台、独立统计及报告已生成。历史工作台与意见原样保留。
|
| 165 |
+
- E:样本已冻结,人工双人标注、裁决及精度/召回区间未完成;不宣称达到规划阈值。
|
| 166 |
+
- F:独立目录重跑和新旧迁移审计已完成;结果仍为实验候选。
|
| 167 |
+
- G:模型试验与主流程接入未启动。旧生产入口未替换。
|
| 168 |
+
|
| 169 |
+
## 复现入口
|
| 170 |
+
|
| 171 |
+
在 cot_extraction_v2 目录使用 Python 运行。新的输出目录须为空,先复制本次 source_index.sqlite 至该目录,再执行:
|
| 172 |
+
|
| 173 |
+
```powershell
|
| 174 |
+
python -X utf8 -m unittest test_pipeline test_offline_cot_filter test_offline_cot_filter_v9 test_offline_route test_offline_cot_filter_v10 test_v10_source_index
|
| 175 |
+
python -X utf8 -u run_offline_v10.py --output runs/your_new_run
|
| 176 |
+
python -X utf8 -u verify_v10_artifacts.py --run runs/your_new_run
|
| 177 |
+
python -X utf8 -u build_v10_review.py --run runs/your_new_run --qa-from runs/offline_cot_filter_20261029_v10_2/manual_review/qa_review_sample.jsonl
|
| 178 |
+
python -X utf8 generate_v10_report.py --run runs/your_new_run
|
| 179 |
+
python -X utf8 launch_v10_review.py --run runs/your_new_run
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
本目录为独立候选结果。旧 v9、首轮 v10、原始池、原调查标签和既有模型管线保留;回滚仅需重新选择旧目录。
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/post_routes_all.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:988a5b90ad8bb55cbcddeffb32b6e377baa4a7c162a9f2bef7cb73cde92dcd68
|
| 3 |
+
size 126848188
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/audit_s1_chain_candidates.py
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Audit S2 fragments for source-bound multi-step chain evidence.
|
| 2 |
+
|
| 3 |
+
This is a diagnostic overlay. It does not rewrite production tiers. It
|
| 4 |
+
separates genuinely independent relation spans from duplicate regex hits on
|
| 5 |
+
the same sentence and emits candidates for human review before any S1 change.
|
| 6 |
+
"""
|
| 7 |
+
from __future__ import annotations
|
| 8 |
+
|
| 9 |
+
import argparse
|
| 10 |
+
import json
|
| 11 |
+
import re
|
| 12 |
+
from collections import Counter
|
| 13 |
+
from pathlib import Path
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
QUERY_KINDS = {"EXECUTED_QUERY_RESULT", "TERSE_QUERY_RESULT", "PASSIVE_SEARCH_RESULT"}
|
| 17 |
+
VERIFICATION_KINDS = {"CONCRETE_FEATURE_VERIFICATION"}
|
| 18 |
+
STOPWORDS = {
|
| 19 |
+
"a", "an", "and", "answer", "as", "at", "be", "by", "came", "could",
|
| 20 |
+
"found", "from", "gave", "got", "google", "image", "in", "it", "me",
|
| 21 |
+
"of", "on", "or", "result", "search", "searched", "showed", "shows",
|
| 22 |
+
"that", "the", "then", "this", "to", "up", "was", "with", "which",
|
| 23 |
+
"would", "looked", "look", "found", "picture", "site", "photo", "maps",
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def relation_bounds(relation):
|
| 28 |
+
spans = [relation["premise"], relation["conclusion"]]
|
| 29 |
+
spans.extend(relation.get("support", []))
|
| 30 |
+
return min(x["start"] for x in spans), max(x["end"] for x in spans)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def independent_relations(relations):
|
| 34 |
+
"""Greedily retain relation spans that do not overlap earlier spans."""
|
| 35 |
+
ordered = sorted(
|
| 36 |
+
((relation_bounds(r), i, r) for i, r in enumerate(relations)),
|
| 37 |
+
key=lambda x: (x[0][0], x[0][1], x[1]),
|
| 38 |
+
)
|
| 39 |
+
kept = []
|
| 40 |
+
for bounds, index, relation in ordered:
|
| 41 |
+
if all(bounds[0] >= previous[1] or bounds[1] <= previous[0]
|
| 42 |
+
for previous, _, _ in kept):
|
| 43 |
+
kept.append((bounds, index, relation))
|
| 44 |
+
return kept
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
def tokens(text):
|
| 48 |
+
return {
|
| 49 |
+
word.casefold()
|
| 50 |
+
for word in re.findall(r"[A-Za-zÀ-ÿ0-9]{3,}", text)
|
| 51 |
+
if word.casefold() not in STOPWORDS
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def audit_record(record):
|
| 56 |
+
result = record["result"]
|
| 57 |
+
relations = result.get("relations", [])
|
| 58 |
+
independent = independent_relations(relations)
|
| 59 |
+
query_count = sum(r["kind"] in QUERY_KINDS for _, _, r in independent)
|
| 60 |
+
verification_count = sum(r["kind"] in VERIFICATION_KINDS for _, _, r in independent)
|
| 61 |
+
operations = result.get("operations", [])
|
| 62 |
+
links = []
|
| 63 |
+
for left, right in zip(independent, independent[1:]):
|
| 64 |
+
left_bounds, _, left_relation = left
|
| 65 |
+
right_bounds, _, right_relation = right
|
| 66 |
+
shared = sorted(
|
| 67 |
+
(tokens(left_relation["conclusion"]["quote"]) &
|
| 68 |
+
tokens(right_relation["premise"]["quote"]))
|
| 69 |
+
)
|
| 70 |
+
links.append({
|
| 71 |
+
"from_kind": left_relation["kind"],
|
| 72 |
+
"to_kind": right_relation["kind"],
|
| 73 |
+
"from_end": left_bounds[1],
|
| 74 |
+
"to_start": right_bounds[0],
|
| 75 |
+
"ordered": right_bounds[0] >= left_bounds[1],
|
| 76 |
+
"shared_tokens": shared,
|
| 77 |
+
})
|
| 78 |
+
|
| 79 |
+
# A query/result followed by another result or a concrete verification is
|
| 80 |
+
# the minimum reviewable multi-step trace. Requiring disjoint spans avoids
|
| 81 |
+
# promoting duplicate matches created by overlapping regexes.
|
| 82 |
+
sequence = query_count >= 2 and len(operations) >= 2
|
| 83 |
+
query_to_verification = query_count >= 1 and verification_count >= 1 and len(operations) >= 1
|
| 84 |
+
if len(independent) >= 2 and (sequence or query_to_verification):
|
| 85 |
+
basis = "query_result_sequence" if sequence else "query_result_to_verification"
|
| 86 |
+
if any(link["shared_tokens"] for link in links):
|
| 87 |
+
basis += "+lexical_link"
|
| 88 |
+
result["chain_audit"] = {
|
| 89 |
+
"status": "S1_chain_review_candidate",
|
| 90 |
+
"basis": basis,
|
| 91 |
+
"independent_relation_count": len(independent),
|
| 92 |
+
"independent_relation_kinds": [r["kind"] for _, _, r in independent],
|
| 93 |
+
"query_relation_count": query_count,
|
| 94 |
+
"verification_relation_count": verification_count,
|
| 95 |
+
"operation_count": len(operations),
|
| 96 |
+
"links": links,
|
| 97 |
+
}
|
| 98 |
+
return record
|
| 99 |
+
|
| 100 |
+
result["chain_audit"] = {
|
| 101 |
+
"status": "S2_fragment_or_duplicate_relation",
|
| 102 |
+
"independent_relation_count": len(independent),
|
| 103 |
+
"independent_relation_kinds": [r["kind"] for _, _, r in independent],
|
| 104 |
+
"query_relation_count": query_count,
|
| 105 |
+
"verification_relation_count": verification_count,
|
| 106 |
+
"operation_count": len(operations),
|
| 107 |
+
"links": links,
|
| 108 |
+
}
|
| 109 |
+
return record
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def run(input_path, output_dir):
|
| 113 |
+
input_path, output_dir = Path(input_path).resolve(), Path(output_dir).resolve()
|
| 114 |
+
output_dir.mkdir(parents=True, exist_ok=False)
|
| 115 |
+
rows = [json.loads(line) for line in input_path.read_text(encoding="utf-8").splitlines()]
|
| 116 |
+
audited = [audit_record(row) for row in rows]
|
| 117 |
+
candidates = [row for row in audited if row["result"]["chain_audit"]["status"] == "S1_chain_review_candidate"]
|
| 118 |
+
counts = Counter(row["result"]["chain_audit"]["basis"] for row in candidates)
|
| 119 |
+
posts = {(row["result"]["community"], row["result"]["post_id"]) for row in candidates}
|
| 120 |
+
with (output_dir / "s3_s1_chain_audit.jsonl").open("w", encoding="utf-8") as handle:
|
| 121 |
+
for row in audited:
|
| 122 |
+
handle.write(json.dumps(row, ensure_ascii=False) + "\n")
|
| 123 |
+
with (output_dir / "s1_chain_review_candidates.jsonl").open("w", encoding="utf-8") as handle:
|
| 124 |
+
for row in candidates:
|
| 125 |
+
handle.write(json.dumps(row, ensure_ascii=False) + "\n")
|
| 126 |
+
summary = {
|
| 127 |
+
"status": "diagnostic_pending_human_review",
|
| 128 |
+
"input": str(input_path),
|
| 129 |
+
"input_rows": len(rows),
|
| 130 |
+
"s1_chain_review_candidates": len(candidates),
|
| 131 |
+
"unique_posts": len(posts),
|
| 132 |
+
"basis_counts": dict(counts),
|
| 133 |
+
"production_tiers_changed": False,
|
| 134 |
+
"human_precision": "not_measured",
|
| 135 |
+
"human_recall": "not_measured",
|
| 136 |
+
"model_calls": 0,
|
| 137 |
+
}
|
| 138 |
+
(output_dir / "s1_chain_audit_summary.json").write_text(
|
| 139 |
+
json.dumps(summary, ensure_ascii=False, indent=2) + "\n", encoding="utf-8"
|
| 140 |
+
)
|
| 141 |
+
print(json.dumps(summary, ensure_ascii=False))
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
if __name__ == "__main__":
|
| 145 |
+
parser = argparse.ArgumentParser()
|
| 146 |
+
parser.add_argument("--input", type=Path, required=True)
|
| 147 |
+
parser.add_argument("--output", type=Path, required=True)
|
| 148 |
+
args = parser.parse_args()
|
| 149 |
+
run(args.input, args.output)
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/candidate_discovery.py
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Discover targets from full local comments; replies and logical edges are distinct."""
|
| 2 |
+
from __future__ import annotations
|
| 3 |
+
|
| 4 |
+
import re
|
| 5 |
+
from collections import defaultdict
|
| 6 |
+
|
| 7 |
+
URL = re.compile(r"https?://[^\s<>]+", re.I)
|
| 8 |
+
EXPLANATION_REQUEST = re.compile(
|
| 9 |
+
r"\bhow (?:did|do|were|have|would|could) (?:you|u|ya)\b.{0,100}"
|
| 10 |
+
r"(?:find|solve|locat|figure|know|recogn|identif)|"
|
| 11 |
+
r"\b(?:can|could|would) you (?:please )?(?:explain|share|describe).{0,80}"
|
| 12 |
+
r"(?:how|process|method|reason)|"
|
| 13 |
+
r"\b(?:what|which) (?:clues?|method|search terms?|keywords?).{0,60}"
|
| 14 |
+
r"(?:used|use|helped|gave|led)|怎么找到|如何找到|怎么解|能解释", re.I)
|
| 15 |
+
BOT_NOISE = re.compile(
|
| 16 |
+
r"Thank you for posting (?:a new round|in /r/)|"
|
| 17 |
+
r"Congratulations, that was the correct answer|"
|
| 18 |
+
r"Join the official PictureGame|"
|
| 19 |
+
r"This action was performed automatically|"
|
| 20 |
+
r"I \^\^am \^\^a \^\^bot|"
|
| 21 |
+
r"post the next round within 5 minutes|"
|
| 22 |
+
r"Please remember to (?:add|include).{0,50}(?:location|flair)|"
|
| 23 |
+
r"Your post has been removed", re.I)
|
| 24 |
+
REFERENT = re.compile(r"\b(?:that clue|this clue|that did it|this did it|as mentioned above|"
|
| 25 |
+
r"your (?:hint|clue)|thanks for the (?:hint|clue)|the above)\b", re.I)
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
def mask_urls(body):
|
| 29 |
+
"""Mask instead of removing so every regex offset maps to untouched source."""
|
| 30 |
+
return URL.sub(lambda m: "".join("\n" if c == "\n" else " " for c in m.group()), body)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def sentences(body):
|
| 34 |
+
masked = mask_urls(body)
|
| 35 |
+
start = 0
|
| 36 |
+
for boundary in re.finditer(r"(?<=[.!?])\s+(?=[A-Z0-9])|\n\s*\n", masked):
|
| 37 |
+
end = boundary.start()
|
| 38 |
+
a, b = start, end
|
| 39 |
+
while a < b and masked[a].isspace():
|
| 40 |
+
a += 1
|
| 41 |
+
while b > a and masked[b - 1].isspace():
|
| 42 |
+
b -= 1
|
| 43 |
+
if a < b:
|
| 44 |
+
yield a, b, masked[a:b]
|
| 45 |
+
start = boundary.end()
|
| 46 |
+
a, b = start, len(masked)
|
| 47 |
+
while a < b and masked[a].isspace():
|
| 48 |
+
a += 1
|
| 49 |
+
while b > a and masked[b - 1].isspace():
|
| 50 |
+
b -= 1
|
| 51 |
+
if a < b:
|
| 52 |
+
yield a, b, masked[a:b]
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def is_explanation_request(body):
|
| 56 |
+
return bool(EXPLANATION_REQUEST.search(mask_urls(body)))
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def build_tree(source):
|
| 60 |
+
by_id = {c["comment_id"]: c for c in source["comments"]}
|
| 61 |
+
children = defaultdict(list)
|
| 62 |
+
unresolved = {}
|
| 63 |
+
for c in source["comments"]:
|
| 64 |
+
parent = c.get("parent_id") or ""
|
| 65 |
+
if parent.startswith("t1_"):
|
| 66 |
+
pid = parent[3:]
|
| 67 |
+
if pid in by_id:
|
| 68 |
+
children[pid].append(c["comment_id"])
|
| 69 |
+
else:
|
| 70 |
+
unresolved[c["comment_id"]] = "missing_parent"
|
| 71 |
+
elif parent != "t3_" + source["post_id"]:
|
| 72 |
+
unresolved[c["comment_id"]] = "missing_or_invalid_parent"
|
| 73 |
+
cycles = set()
|
| 74 |
+
for cid in by_id:
|
| 75 |
+
current, visited = cid, set()
|
| 76 |
+
while current in by_id:
|
| 77 |
+
if current in visited:
|
| 78 |
+
cycles.update(visited)
|
| 79 |
+
break
|
| 80 |
+
visited.add(current)
|
| 81 |
+
p = by_id[current].get("parent_id") or ""
|
| 82 |
+
if not p.startswith("t1_"):
|
| 83 |
+
break
|
| 84 |
+
current = p[3:]
|
| 85 |
+
for cid in cycles:
|
| 86 |
+
unresolved[cid] = "parent_cycle"
|
| 87 |
+
requests = {c["comment_id"] for c in source["comments"] if
|
| 88 |
+
not BOT_NOISE.search(c["body"]) and is_explanation_request(c["body"])}
|
| 89 |
+
explanation_replies = {cid: pid for pid in requests for cid in children[pid]}
|
| 90 |
+
return {"by_id": by_id, "children": dict(children), "unresolved": unresolved,
|
| 91 |
+
"explanation_requests": requests, "explanation_replies": explanation_replies}
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def ancestors(cid, tree):
|
| 95 |
+
out, seen = [], {cid}
|
| 96 |
+
while cid in tree["by_id"]:
|
| 97 |
+
parent = tree["by_id"][cid].get("parent_id") or ""
|
| 98 |
+
if not parent.startswith("t1_") or parent[3:] not in tree["by_id"] or parent[3:] in seen:
|
| 99 |
+
break
|
| 100 |
+
cid = parent[3:]
|
| 101 |
+
seen.add(cid)
|
| 102 |
+
out.append(cid)
|
| 103 |
+
return out
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/offline_cot_filter_v10.py
ADDED
|
@@ -0,0 +1,826 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Conservative full-source CoT discovery. No scores can bypass evidence gates.
|
| 2 |
+
|
| 3 |
+
Rules recognize explicit constructions, not arbitrary natural-language semantics.
|
| 4 |
+
Ambiguous evidence is retained in U. This is candidate selection, not human gold.
|
| 5 |
+
"""
|
| 6 |
+
from __future__ import annotations
|
| 7 |
+
|
| 8 |
+
import re
|
| 9 |
+
from collections import Counter
|
| 10 |
+
|
| 11 |
+
from candidate_discovery import (BOT_NOISE, REFERENT, ancestors, build_tree,
|
| 12 |
+
is_explanation_request, mask_urls, sentences)
|
| 13 |
+
from offline_evidence_schema import RULE_VERSION, SCHEMA, TIERS, digest, validate_comment
|
| 14 |
+
|
| 15 |
+
PHYSICAL = re.compile(
|
| 16 |
+
r"\b(?:roof(?:s|tops)?|buildings?|architecture|facades?|plates?|signs?|signage|"
|
| 17 |
+
r"script|letters?|alphabet|language|logos?|stickers?|mountains?|rocks?|snow|leaves|trees?|"
|
| 18 |
+
r"vegetation|palms?|tropical|cliffs?|coast(?:al)?|beach(?:es)?|shore|"
|
| 19 |
+
r"roads?|streets?|markings?|driving|drive|flags?|bollards?|poles?|"
|
| 20 |
+
r"landscape|terrain|shrine|church|mosque|minaret|domes?|spires?|"
|
| 21 |
+
r"mine|quarry|pool|rivers?|bridges?|cars?|traffic|windows?|"
|
| 22 |
+
r"sun|shadows?|soil|grass|ground|paved|unpaved|writing|text|"
|
| 23 |
+
r"colors?|colours?|rail(?:way)?|tracks?|bus|tram|streetcar)\b", re.I)
|
| 24 |
+
ATTRIBUTE = re.compile(
|
| 25 |
+
r"\b(?:red|blue|green|yellow|white|black|orange|pink|brown|grey|gray|"
|
| 26 |
+
r"Cyrillic|Latin|Arabic|Hangul|Korean|Japanese|Chinese|Hebrew|"
|
| 27 |
+
r"alpine|tropical|remote|coastal|volcanic|limestone|granite|"
|
| 28 |
+
r"blurred|distinctive|striped|double|single|two|three|four|many|"
|
| 29 |
+
r"left|right|north|south|east|west|western|eastern|southern|northern|"
|
| 30 |
+
r"dry|snowy|snowless|snow|leafless|leaves|paved|unpaved|dirt|soil|"
|
| 31 |
+
r"flat|steep|tall|low|narrow|wide|deep|open.pit|cliff.face|"
|
| 32 |
+
r"parallel|perpendicular|triangular|rectangular|octagonal|"
|
| 33 |
+
r"colour|color|shape|angle|orientation|direction|no|not)\b|\d", re.I)
|
| 34 |
+
GEO_TERM = re.compile(
|
| 35 |
+
r"\b(?:country|region|city|town|village|island|coast|north|south|east|west|"
|
| 36 |
+
r"Germany|German|Slovenia|Slovenian|Korea|Korean|Japan|Japanese|China|Chinese|"
|
| 37 |
+
r"France|French|Italy|Italian|Spain|Spanish|Portugal|Portuguese|Brazil|Brazilian|"
|
| 38 |
+
r"Chile|Chilean|Canada|Canadian|USA|America|American|Sweden|Swedish|Norway|"
|
| 39 |
+
r"Denmark|Danish|Finland|Finnish|Russia|Russian|Austria|Austrian|Switzerland|"
|
| 40 |
+
r"Alps|Dolomites|Karavanke|Triglav|Grintovec|Tyrol|Celje|Basque|Bilbao|"
|
| 41 |
+
r"Netherlands|Dutch|Ireland|Irish|UK|Britain|British|Australia|Australian|"
|
| 42 |
+
r"New Zealand|Taiwan|Malaysia|Indonesia|India|Africa|Europe|European)\b", re.I)
|
| 43 |
+
TOOL_NAME = re.compile(r"\b(?:google(?: maps?| earth| images?| lens)?|bing|street\s*view|"
|
| 44 |
+
r"reverse.image|image.search|satellite|mapillary|yandex|tineye|"
|
| 45 |
+
r"search(?:ed|ing)?|looked up|looked around|looked at)\b", re.I)
|
| 46 |
+
ACTION = re.compile(
|
| 47 |
+
r"(?:\b(?:i|we)\s+(?:(?:first|then|just|initially|originally|also|actually|"
|
| 48 |
+
r"eventually|finally|had|have|quickly)\s+){0,4}|(?<=^))"
|
| 49 |
+
r"(?P<verb>searched|googled|binged|looked up|looked around|looked at|"
|
| 50 |
+
r"checked|clicked on|used|compared|scanned|browsed|zoomed|panned|"
|
| 51 |
+
r"reverse.searched|tried searching)"
|
| 52 |
+
r"(?P<object>.{0,330})", re.I)
|
| 53 |
+
BARE_ACTION = re.compile(
|
| 54 |
+
r"^(?P<verb>searched|googled|looked up|looked around|looked at|checked|"
|
| 55 |
+
r"clicked on|used|compared|scanned|browsed|zoomed|panned)"
|
| 56 |
+
r"(?P<object>.{0,330})", re.I)
|
| 57 |
+
RESULT = re.compile(r"\b(?:and (?:i )?(?:found|got|saw|spotted|noticed)|"
|
| 58 |
+
r"which (?:was|were|showed|gave)|(?:and |that |which )?(?:it |they )?matched up|"
|
| 59 |
+
r"until (?:i )?found|till (?:i )?found)\b", re.I)
|
| 60 |
+
QUESTION = re.compile(r"^\s*(?:where|what|which|who|how|why|can|could|would|did|does|"
|
| 61 |
+
r"do you|is this|is it|are you|anyone|does anyone)\b", re.I)
|
| 62 |
+
PLAN = re.compile(r"\b(?:i(?:'|’)?ll|i will|i am going to|i'm going to|"
|
| 63 |
+
r"we will|you (?:can|should|could)|try (?:using|searching)|"
|
| 64 |
+
r"intended solve path|would (?:search|look)|findable with)\b", re.I)
|
| 65 |
+
TOOL_POLICY = re.compile(r"\b(?:not using|don't use|do not use|no (?:google )?lens|"
|
| 66 |
+
r"without using|not allowed|is banned|is cheating|"
|
| 67 |
+
r"mr\.? google lens)\b", re.I)
|
| 68 |
+
CHAIN_HYPOTHESIS = re.compile(
|
| 69 |
+
r"\b(?:i|we)\s+(?:thought|think|guessed|guess|assumed|suspected|"
|
| 70 |
+
r"figured|believed|identified|recognized|recognised)\b|"
|
| 71 |
+
r"\b(?:could|might|may|probably|likely|possibly|seems? to be|"
|
| 72 |
+
r"look(?:ed|s)? like|must be|turned out to be)\b", re.I)
|
| 73 |
+
CHAIN_UPDATE = re.compile(
|
| 74 |
+
r"\b(?:no avail|nothing came up|couldn\s*['’]?t find|found nothing|"
|
| 75 |
+
r"ruled? out|eliminated|narrowed|led me to|let me know|made me think|"
|
| 76 |
+
r"changed (?:my|the) (?:mind|guess|hypothesis)|instead|from there|"
|
| 77 |
+
r"then thought|so i (?:looked|searched|checked|tried)|"
|
| 78 |
+
r"which (?:meant|suggested|showed|confirmed))\b", re.I)
|
| 79 |
+
CHAIN_VERIFICATION = re.compile(
|
| 80 |
+
r"\b(?:confirm(?:ed|s)?|verif(?:ied|y)|checked against|matched|"
|
| 81 |
+
r"same (?:picture|place|building|spot|location)|looked similar|"
|
| 82 |
+
r"street ?view|satellite|correspond(?:ed|s)|consistent with)\b", re.I)
|
| 83 |
+
CHAIN_RESULT = re.compile(
|
| 84 |
+
r"\b(?:found|got|saw|spotted|noticed|located|showed|gave me|"
|
| 85 |
+
r"led to|turned out|result(?:ed)? in|came across)\b", re.I)
|
| 86 |
+
URL_TUTORIAL = re.compile(r"\b(?:copy|paste|share|post|send)\b.{0,65}\b(?:link|url)\b", re.I)
|
| 87 |
+
PERSONAL = re.compile(r"\b(?:i (?:live|lived|grew up|visited|have been|went|recogniz|remember)|"
|
| 88 |
+
r"where i (?:went|live)|my (?:friend|home|hometown)|"
|
| 89 |
+
r"looked similar to|reminded me of)\b", re.I)
|
| 90 |
+
GENERIC_MEMORY = re.compile(r"\b(?:recalled|remembered|reminds? me|reminded me|same style|"
|
| 91 |
+
r"look(?:ed|s)? familiar|look(?:ed|s)? similar|recogniz(?:ed|e))\b", re.I)
|
| 92 |
+
STRONG_ATTRIBUTE = re.compile(r"\b(?:red|blue|green|yellow|white|black|orange|pink|"
|
| 93 |
+
r"cyrillic|hangul|alpine|limestone|granite|unpaved|"
|
| 94 |
+
r"striped|triangular|open.pit|cliff.face|blurred)\b", re.I)
|
| 95 |
+
SOCIAL_META = re.compile(r"\b(?:shout.?out|thanks? (?:to|for)|thank you|"
|
| 96 |
+
r"should (?:really )?be correction|deserve.{0,20}(?:points?|correct)|"
|
| 97 |
+
r"not bothered|note to my ?self)\b", re.I)
|
| 98 |
+
VERIFICATION_CONTEXT = re.compile(
|
| 99 |
+
r"\b(?:coords|cords|coordinates|location|place)\s+(?:that )?you\s+"
|
| 100 |
+
r"(?:had )?(?:sent|provided|gave|suggested|found)|"
|
| 101 |
+
r"^\s*solved!.{0,200}thank|"
|
| 102 |
+
r"\b(?:at|in) (?:the )?(?:coordinates|coords|location) (?:you|provided|given)\b", re.I | re.S)
|
| 103 |
+
SELF_RETRACTION = re.compile(r"\b(?:i(?:'|’)m|i am|i was) wrong (?:on this one|about this|here)\b|"
|
| 104 |
+
r"\bmy answer is wrong\b|\bi retract\b", re.I)
|
| 105 |
+
EXTERNAL_PERSON = re.compile(r"\b(?:photographer|instagram|blogger|uploader)\b.{0,100}"
|
| 106 |
+
r"\b(?:lives?|based|from|profile|says|said)\b|"
|
| 107 |
+
r"\b(?:dog|dog's|dog’s)\b.{0,40}\binstagram\b", re.I)
|
| 108 |
+
GENERIC_WORDS = frozenset(
|
| 109 |
+
"i we the a an this that these those it there here place location spot somewhere "
|
| 110 |
+
"on at in from to for of and or with is was are were be been by my your "
|
| 111 |
+
"google maps map earth lens images image picture photo search searched "
|
| 112 |
+
"look looked up around finding found result results similar same "
|
| 113 |
+
"just first then really very one some any all see can could would "
|
| 114 |
+
"quickly eventually finally".split())
|
| 115 |
+
TASK_PERSON = re.compile(r"\b(?:name|identify|who is|who's)\s+(?:this |the |that )?"
|
| 116 |
+
r"(?:guy|person|man|woman|actor|actress|chef|singer|character|celebrity)\b", re.I)
|
| 117 |
+
TASK_PUZZLE = re.compile(r"\b(?:puzzle round|solve (?:this |the )?(?:cipher|riddle)|"
|
| 118 |
+
r"decode|copy.pastable text|what (?:song|movie|film)|"
|
| 119 |
+
r"name (?:this |the )?(?:song|movie|film|game|album))\b", re.I)
|
| 120 |
+
GEO_TASK = re.compile(r"\b(?:where|coordinates?|location|locate|photo.{0,20}taken|"
|
| 121 |
+
r"identify.{0,20}(?:place|building|city|mountain))\b", re.I)
|
| 122 |
+
HINT_HEADER = re.compile(
|
| 123 |
+
r"(?:^|\n)\s*(?:(?:\d+(?::\d+)?\s*(?:min(?:ute)?s?)?\s+)?"
|
| 124 |
+
r"(?:hint|clue|for clarity)|starter hint|next hint)\s*:", re.I)
|
| 125 |
+
REFERENCE_PROSE = re.compile(
|
| 126 |
+
r"\b(?:according to (?:the )?tradition|researchers (?:speculated|showed)|"
|
| 127 |
+
r"peer.reviewed|solar irradiance|attribution theories|patron saint|"
|
| 128 |
+
r"synoptic gospels|epistle to the|acts of the apostles)\b", re.I)
|
| 129 |
+
|
| 130 |
+
# Explicit relation constructions. A marker still requires a specific premise,
|
| 131 |
+
# relevant result and non-request/non-policy speech act.
|
| 132 |
+
FORWARD = re.compile(
|
| 133 |
+
r"(?P<premise>.{3,260}?)"
|
| 134 |
+
r"(?P<marker>,?\s+(?:so(?: that)?|therefore|thus|hence|which means|"
|
| 135 |
+
r"which suggests|suggesting|indicating|indicates|suggests|points to|"
|
| 136 |
+
r"makes me think|made me think|leads? me to|must (?:be|mean))\s+)"
|
| 137 |
+
r"(?P<conclusion>.{3,240})", re.I)
|
| 138 |
+
BECAUSE = re.compile(
|
| 139 |
+
r"(?P<conclusion>.{3,200}?)\s+(?:because|due to|based on)\s+"
|
| 140 |
+
r"(?P<premise>.{3,240})", re.I)
|
| 141 |
+
BASED_FIRST = re.compile(
|
| 142 |
+
r"\b(?:based on|judging (?:by|from)|going by|given|since)\s+"
|
| 143 |
+
r"(?P<premise>.{3,210}?)(?:,\s*|\s+(?:it |this |that )?(?:must|could|would|might)\s+)"
|
| 144 |
+
r"(?P<conclusion>.{3,230})", re.I)
|
| 145 |
+
BASED_DIRECT = re.compile(
|
| 146 |
+
r"\b(?:based on|judging (?:by|from))\s+"
|
| 147 |
+
r"(?P<premise>.{3,180}?)\s+(?:definitely|probably|most likely|clearly|certainly)\s+"
|
| 148 |
+
r"(?P<conclusion>.{3,130})", re.I)
|
| 149 |
+
MUST = re.compile(r"(?P<premise>.{3,180}?),?\s+(?:it |this |that )"
|
| 150 |
+
r"(?:must|has to|would have to) be\s+(?P<conclusion>.{2,130})", re.I)
|
| 151 |
+
VISUAL_HYPOTHESIS = re.compile(
|
| 152 |
+
r"(?P<premise>(?:the|this|that|a|an|these|those|its)\s+.{2,140}?)\s+"
|
| 153 |
+
r"(?:look(?:ed|s)?(?: to me)? like|seems? to (?:be|suggest)|suggests?)\s+"
|
| 154 |
+
r"(?P<conclusion>.{3,150})", re.I)
|
| 155 |
+
STRATEGY = re.compile(
|
| 156 |
+
r"(?P<strategy>(?:it(?:'|’)s (?:still )?findable with|"
|
| 157 |
+
r"(?:the )?intended solve path was to search(?: for)?|"
|
| 158 |
+
r"(?:you can|you could|try to) search for))\s+"
|
| 159 |
+
r"(?P<query>[^.!?\n]{3,200})", re.I)
|
| 160 |
+
RELATION_RULES = (
|
| 161 |
+
(FORWARD, "EXPLICIT_CONSEQUENCE", re.compile(r"\b(?:so|therefore|thus|hence|means|suggests|suggesting|indicates|indicating|points|think|lead|leads|must)\b", re.I)),
|
| 162 |
+
(BECAUSE, "EXPLICIT_REASON", re.compile(r"\b(?:because|due to|based on)\b", re.I)),
|
| 163 |
+
(BASED_FIRST, "BASED_ON_CLUE", re.compile(r"\b(?:based on|judging|going by|given|since)\b", re.I)),
|
| 164 |
+
(BASED_DIRECT, "BASED_ON_DIRECT", re.compile(r"\b(?:based on|judging)\b", re.I)),
|
| 165 |
+
(MUST, "CLUE_MUST_IMPLY", re.compile(r"\b(?:must|has to|would have to) be\b", re.I)),
|
| 166 |
+
(VISUAL_HYPOTHESIS, "VISUAL_HYPOTHESIS", re.compile(r"\b(?:look|looked|looks|seem|seems|suggests)\b", re.I)),
|
| 167 |
+
)
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
def words(text):
|
| 171 |
+
return re.findall(r"[A-Za-zÀ-ž0-9]+(?:[-'][A-Za-zÀ-ž0-9]+)*", text)
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
def specific_clue(text):
|
| 175 |
+
# "right?" as a conversational tag is not right-hand driving evidence.
|
| 176 |
+
text = re.sub(r"\bright\s*\?", " ", text, flags=re.I)
|
| 177 |
+
text = re.sub(r"\bbuilding on (?:someone|somebody|another).{0,20}foundation\b", " ", text, flags=re.I)
|
| 178 |
+
if GENERIC_MEMORY.search(text) and not STRONG_ATTRIBUTE.search(text):
|
| 179 |
+
return False
|
| 180 |
+
hits = PHYSICAL.findall(text)
|
| 181 |
+
return bool(hits and ((ATTRIBUTE.search(text) and len(words(text)) >= 2) or
|
| 182 |
+
(len(set(h.lower() for h in hits)) >= 2 and len(words(text)) >= 6)))
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
def concrete_query(text):
|
| 186 |
+
tokens = [w.lower() for w in words(text) if w.lower() not in GENERIC_WORDS]
|
| 187 |
+
return len(set(tokens)) >= 2 and (specific_clue(text) or bool(re.search(r"\bsite:", text)))
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
def relevant_conclusion(text):
|
| 191 |
+
text = re.sub(r"\bcoast guard\b", " ", text, flags=re.I)
|
| 192 |
+
if SOCIAL_META.search(text):
|
| 193 |
+
return False
|
| 194 |
+
if re.search(r"\b(?:why not|thanks|thank you|funny|joke|safe|safety|faster|easier|"
|
| 195 |
+
r"copy|paste|post the|your turn|interesting|nice|cool)\b", text, re.I):
|
| 196 |
+
return False
|
| 197 |
+
if GEO_TERM.search(text):
|
| 198 |
+
return True
|
| 199 |
+
if re.search(r"\b(?:search|looked?|google|hospital|church|beach|mine|logo|season|spring|winter|market|fair)\b", text, re.I):
|
| 200 |
+
return True
|
| 201 |
+
# Proper names alone are insufficient; they must be a stated hypothesis.
|
| 202 |
+
return bool(re.search(r"\b(?:in|near|around|must be|could be|might be|probably|likely|"
|
| 203 |
+
r"definitely|leaves out|rules out)\s+(?:the\s+)?[A-Z][a-z]{2,}", text))
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
def evidence_scope(units):
|
| 207 |
+
text = " ".join(u["span"]["quote"] for u in units if u["role"] == "inference")
|
| 208 |
+
if re.search(r"\b(?:north|south|east|west|northern|southern|eastern|western)\b", text, re.I):
|
| 209 |
+
return "region_or_direction"
|
| 210 |
+
if GEO_TERM.search(text):
|
| 211 |
+
return "country_or_region"
|
| 212 |
+
if re.search(r"\b(?:spring|winter|summer|season|market|fair)\b", text, re.I):
|
| 213 |
+
return "intermediate_environment_or_scene"
|
| 214 |
+
return "partial_retrieval_or_location"
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
def task_type(member, source):
|
| 218 |
+
title = source["title"] + "\n" + source["selftext"]
|
| 219 |
+
if TASK_PERSON.search(title):
|
| 220 |
+
return "mixed" if GEO_TASK.search(title) else "non_geolocation"
|
| 221 |
+
if TASK_PUZZLE.search(title):
|
| 222 |
+
return "indirect_or_non_image_task"
|
| 223 |
+
if re.search(r"\b(?:top|bottom) half represents (?:the )?name\b|"
|
| 224 |
+
r"\bcoords to any\b", title, re.I):
|
| 225 |
+
return "indirect_or_non_image_task"
|
| 226 |
+
metadata = (member.get("answer_context") or {}).get("is_geolocation")
|
| 227 |
+
if metadata is False:
|
| 228 |
+
return "non_geolocation"
|
| 229 |
+
if metadata is True or GEO_TASK.search(title) or source["community"] in {"GeoPuzzle", "whereisthis"}:
|
| 230 |
+
return "image_geolocation"
|
| 231 |
+
return "unknown"
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
class Evidence:
|
| 235 |
+
def __init__(self, comment):
|
| 236 |
+
self.c = comment
|
| 237 |
+
self.units = []
|
| 238 |
+
self.relations = []
|
| 239 |
+
self.seen = {}
|
| 240 |
+
|
| 241 |
+
def unit(self, start, end, role, source_kind="image_clue_asserted", executed=None):
|
| 242 |
+
body = self.c["body"]
|
| 243 |
+
while start < end and body[start].isspace():
|
| 244 |
+
start += 1
|
| 245 |
+
while end > start and body[end - 1].isspace():
|
| 246 |
+
end -= 1
|
| 247 |
+
if end <= start:
|
| 248 |
+
return None
|
| 249 |
+
key = (start, end, role, source_kind)
|
| 250 |
+
if key in self.seen:
|
| 251 |
+
return self.seen[key]
|
| 252 |
+
uid = f"e{len(self.units) + 1}"
|
| 253 |
+
value = {"id": uid, "comment_id": self.c["comment_id"],
|
| 254 |
+
"span": {"start": start, "end": end, "quote": body[start:end]},
|
| 255 |
+
"role": role, "source_kind": source_kind, "actor": self.c.get("author")}
|
| 256 |
+
if executed is not None:
|
| 257 |
+
value["is_executed"] = executed
|
| 258 |
+
self.units.append(value)
|
| 259 |
+
self.seen[key] = uid
|
| 260 |
+
return uid
|
| 261 |
+
|
| 262 |
+
def relation(self, a, b, start, end, kind, rule):
|
| 263 |
+
if not a or not b or a == b:
|
| 264 |
+
return
|
| 265 |
+
support = self.unit(start, end, "relation_statement", "author_report")
|
| 266 |
+
key = (a, b, kind)
|
| 267 |
+
if any((r["from"], r["to"], r["kind"]) == key for r in self.relations):
|
| 268 |
+
return
|
| 269 |
+
self.relations.append({"from": a, "to": b, "kind": kind,
|
| 270 |
+
"supporting_span_ids": [support], "status": "source_supported",
|
| 271 |
+
"rule_id": rule})
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
def derive_reasoning_chain(comment, ev, operations):
|
| 275 |
+
"""Recover source-bound multi-step traces missed by explicit relation regexes.
|
| 276 |
+
|
| 277 |
+
Actions alone never qualify. A strong chain needs multiple ordered stages and
|
| 278 |
+
an author-reported candidate update or verification.
|
| 279 |
+
"""
|
| 280 |
+
body = comment["body"]
|
| 281 |
+
masked = mask_urls(body)
|
| 282 |
+
pieces = list(sentences(body))
|
| 283 |
+
steps = []
|
| 284 |
+
def overlaps(a, b, start, end):
|
| 285 |
+
return min(b, end) > max(a, start)
|
| 286 |
+
|
| 287 |
+
for sentence_start, sentence_end, sentence_text in pieces:
|
| 288 |
+
if sentence_text.lstrip().startswith(">") and not sentence_text.lstrip().startswith(">!"):
|
| 289 |
+
continue
|
| 290 |
+
# Clause boundaries recover "then", "so", and "from there" transitions
|
| 291 |
+
# that are commonly written inside one long sentence.
|
| 292 |
+
boundaries = [0]
|
| 293 |
+
for boundary in re.finditer(
|
| 294 |
+
r",\s+(?=(?:so|then|which|until|but|instead|from there)\b)|"
|
| 295 |
+
r"\s+(?=(?:I|We)\s+(?:then|also|finally|first|initially)\b)",
|
| 296 |
+
sentence_text, re.I,
|
| 297 |
+
):
|
| 298 |
+
boundaries.append(boundary.end())
|
| 299 |
+
boundaries.append(len(sentence_text))
|
| 300 |
+
for left, right in zip(boundaries, boundaries[1:]):
|
| 301 |
+
start, end = sentence_start + left, sentence_start + right
|
| 302 |
+
text = sentence_text[left:right].strip()
|
| 303 |
+
while start < end and body[start].isspace():
|
| 304 |
+
start += 1
|
| 305 |
+
while end > start and body[end - 1].isspace():
|
| 306 |
+
end -= 1
|
| 307 |
+
if not text or end <= start:
|
| 308 |
+
continue
|
| 309 |
+
sentence_ops = [o for o in operations if overlaps(o["start"], o["end"], start, end)]
|
| 310 |
+
if HINT_HEADER.search(text) and not sentence_ops:
|
| 311 |
+
continue
|
| 312 |
+
has_query_result = bool(RESULT.search(text) or CHAIN_RESULT.search(text)) and bool(sentence_ops)
|
| 313 |
+
has_verification = bool(CHAIN_VERIFICATION.search(text)) and bool(
|
| 314 |
+
sentence_ops or re.search(r"\b(?:confirmed|verified|matched|same)\b", text, re.I)
|
| 315 |
+
)
|
| 316 |
+
has_update = bool(CHAIN_UPDATE.search(text))
|
| 317 |
+
has_hypothesis = bool(CHAIN_HYPOTHESIS.search(text)) and (specific_clue(text) or relevant_conclusion(text))
|
| 318 |
+
has_clue = specific_clue(text) or bool(
|
| 319 |
+
re.search(r"\b(?:flag|sign|writing|letters?|road|building|church|tank|vehicle)\b", text, re.I)
|
| 320 |
+
and len(words(text)) >= 3
|
| 321 |
+
)
|
| 322 |
+
stage = None
|
| 323 |
+
if has_verification:
|
| 324 |
+
stage = "verification"
|
| 325 |
+
elif has_query_result:
|
| 326 |
+
stage = "query_result"
|
| 327 |
+
elif has_hypothesis:
|
| 328 |
+
stage = "hypothesis"
|
| 329 |
+
elif has_update and (sentence_ops or has_hypothesis):
|
| 330 |
+
stage = "candidate_update"
|
| 331 |
+
elif sentence_ops:
|
| 332 |
+
stage = "query_or_action"
|
| 333 |
+
elif has_clue:
|
| 334 |
+
stage = "visual_clue"
|
| 335 |
+
if not stage:
|
| 336 |
+
continue
|
| 337 |
+
uid = ev.unit(start, end, "chain_step", "author_report", bool(sentence_ops))
|
| 338 |
+
steps.append({"id": uid, "stage": stage, "start": start, "end": end,
|
| 339 |
+
"quote": body[start:end]})
|
| 340 |
+
|
| 341 |
+
# Collapse adjacent duplicate stages while retaining the longer source span.
|
| 342 |
+
compact = []
|
| 343 |
+
for step in steps:
|
| 344 |
+
if compact and compact[-1]["stage"] == step["stage"]:
|
| 345 |
+
compact[-1]["end"] = step["end"]
|
| 346 |
+
compact[-1]["quote"] = body[compact[-1]["start"]:step["end"]]
|
| 347 |
+
continue
|
| 348 |
+
compact.append(step)
|
| 349 |
+
steps = compact
|
| 350 |
+
edges = []
|
| 351 |
+
allowed = {
|
| 352 |
+
("visual_clue", "hypothesis"): "CLUE_TO_HYPOTHESIS",
|
| 353 |
+
("visual_clue", "candidate_update"): "CLUE_TO_CANDIDATE_UPDATE",
|
| 354 |
+
("visual_clue", "query_result"): "CLUE_TO_RESULT",
|
| 355 |
+
("hypothesis", "query_or_action"): "HYPOTHESIS_TO_QUERY",
|
| 356 |
+
("hypothesis", "query_result"): "HYPOTHESIS_TO_RESULT",
|
| 357 |
+
("hypothesis", "candidate_update"): "HYPOTHESIS_TO_CANDIDATE_UPDATE",
|
| 358 |
+
("query_or_action", "query_result"): "QUERY_TO_RESULT_CHAIN",
|
| 359 |
+
("query_result", "candidate_update"): "RESULT_TO_CANDIDATE_UPDATE",
|
| 360 |
+
("query_result", "verification"): "RESULT_TO_VERIFICATION",
|
| 361 |
+
("candidate_update", "query_or_action"): "UPDATED_HYPOTHESIS_TO_QUERY",
|
| 362 |
+
("candidate_update", "query_result"): "UPDATED_HYPOTHESIS_TO_RESULT",
|
| 363 |
+
("candidate_update", "hypothesis"): "CANDIDATE_UPDATE_TO_HYPOTHESIS",
|
| 364 |
+
("candidate_update", "verification"): "CANDIDATE_UPDATE_TO_VERIFICATION",
|
| 365 |
+
("query_result", "visual_clue"): "RESULT_TO_NEW_CLUE",
|
| 366 |
+
("query_or_action", "verification"): "QUERY_TO_VERIFICATION",
|
| 367 |
+
("hypothesis", "verification"): "HYPOTHESIS_TO_VERIFICATION",
|
| 368 |
+
}
|
| 369 |
+
for previous, current in zip(steps, steps[1:]):
|
| 370 |
+
rule = allowed.get((previous["stage"], current["stage"]))
|
| 371 |
+
if not rule:
|
| 372 |
+
continue
|
| 373 |
+
support = ev.unit(previous["start"], current["end"], "chain_transition", "author_report")
|
| 374 |
+
edge = {"from": previous["id"], "to": current["id"], "kind": "reasoning_chain_transition",
|
| 375 |
+
"supporting_span_ids": [support], "rule_id": rule,
|
| 376 |
+
"status": "source_supported"}
|
| 377 |
+
if not any((x["from"], x["to"], x["kind"]) == (edge["from"], edge["to"], edge["kind"]) for x in edges):
|
| 378 |
+
edges.append(edge)
|
| 379 |
+
explicit = sum(1 for r in ev.relations if r["kind"] == "explicit_inference")
|
| 380 |
+
stage_types = {s["stage"] for s in steps}
|
| 381 |
+
has_update = "candidate_update" in stage_types
|
| 382 |
+
has_verification = "verification" in stage_types
|
| 383 |
+
has_result = "query_result" in stage_types
|
| 384 |
+
strong = len(stage_types) >= 3 and len(edges) >= 2 and (has_update or has_verification) and (has_result or explicit)
|
| 385 |
+
clear = strong and (explicit >= 2 or (has_result and has_update) or (has_update and has_verification))
|
| 386 |
+
confidence = "clear" if clear else "implicit" if strong else "borderline" if len(stage_types) >= 2 and len(edges) >= 1 else "none"
|
| 387 |
+
return {"steps": steps, "edges": edges, "stage_types": sorted(stage_types),
|
| 388 |
+
"edge_count": len(edges), "explicit_relation_count": explicit,
|
| 389 |
+
"has_candidate_update": has_update, "has_verification": has_verification,
|
| 390 |
+
"has_query_result": has_result, "s1_eligible": strong,
|
| 391 |
+
"s1_subtier": "S1_clear_chain" if clear else "S1_implicit_chain" if strong else
|
| 392 |
+
"S1_borderline" if confidence == "borderline" else None,
|
| 393 |
+
"confidence": confidence}
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
def collect_evidence(comment):
|
| 397 |
+
body = comment["body"]
|
| 398 |
+
ev, operations = Evidence(comment), []
|
| 399 |
+
uncertain, flags = False, set()
|
| 400 |
+
hint_context = bool(HINT_HEADER.search(mask_urls(body)))
|
| 401 |
+
pieces = list(sentences(body))
|
| 402 |
+
for offset, end, text in pieces:
|
| 403 |
+
# Quoted material is context, not the author's own solve report.
|
| 404 |
+
if text.lstrip().startswith(">") and not text.lstrip().startswith(">!"):
|
| 405 |
+
flags.add("QUOTED_CONTEXT_NOT_AUTHOR_REASONING")
|
| 406 |
+
continue
|
| 407 |
+
request = is_explanation_request(text)
|
| 408 |
+
policy = bool(TOOL_POLICY.search(text))
|
| 409 |
+
tutorial = bool(URL_TUTORIAL.search(text))
|
| 410 |
+
performed = []
|
| 411 |
+
if not request and not policy and not tutorial:
|
| 412 |
+
for action_rx in (ACTION, BARE_ACTION):
|
| 413 |
+
for action in action_rx.finditer(text):
|
| 414 |
+
a, b = offset + action.start(), end
|
| 415 |
+
verb, obj = action.group("verb").lower(), action.group("object").strip()
|
| 416 |
+
if not obj or not words(obj):
|
| 417 |
+
continue
|
| 418 |
+
if verb in {"used", "checked", "compared", "zoomed", "panned"} and not TOOL_NAME.search(obj):
|
| 419 |
+
continue
|
| 420 |
+
if verb == "clicked on" and not (TOOL_NAME.search(obj) or re.search(r"\b(?:hospital|map|result|link)\b", obj, re.I)):
|
| 421 |
+
continue
|
| 422 |
+
if verb == "looked at" and not (
|
| 423 |
+
TOOL_NAME.search(obj) or re.search(r"\b[A-Z][a-z]{2,}\b", obj) or URL_TUTORIAL.search(obj)
|
| 424 |
+
):
|
| 425 |
+
continue
|
| 426 |
+
if re.search(r"\b(?:my (?:phone|computer)|reddit profile|your comment|the rules)\b", obj, re.I):
|
| 427 |
+
continue
|
| 428 |
+
if (a, b) in {(x["start"], x["end"]) for x in performed}:
|
| 429 |
+
continue
|
| 430 |
+
result = RESULT.search(text, action.start("object"))
|
| 431 |
+
if result:
|
| 432 |
+
b = offset + result.start()
|
| 433 |
+
action_id = ev.unit(a, b, "tool_action", "author_report", True)
|
| 434 |
+
operation = {"span_id": action_id, "verb": verb, "is_executed": True,
|
| 435 |
+
"object_reported": True, "detail": "informative" if concrete_query(obj) else "minimal",
|
| 436 |
+
"start": a, "end": b}
|
| 437 |
+
operations.append(operation)
|
| 438 |
+
performed.append(operation)
|
| 439 |
+
# Query -> reported retrieval result; no implied success if none reported.
|
| 440 |
+
q_start, q_end = action.start("object"), result.start() if result else action.end("object")
|
| 441 |
+
query = text[q_start:q_end]
|
| 442 |
+
if result and concrete_query(query):
|
| 443 |
+
r_start, r_end = result.end(), end - offset
|
| 444 |
+
next_action = re.search(r"\b(?:so (?:then )?|then )?(?:i|we)\s+(?:searched|looked|checked|clicked|used)\b",
|
| 445 |
+
text[r_start:], re.I)
|
| 446 |
+
if next_action:
|
| 447 |
+
r_end = r_start + next_action.start()
|
| 448 |
+
retrieval = text[r_start:r_end]
|
| 449 |
+
if words(retrieval) and not re.match(r"\s*(?:nothing|no\b|none\b|not\b|zero\b)", retrieval, re.I):
|
| 450 |
+
q = ev.unit(offset + q_start, offset + q_end, "search_query", "author_report", True)
|
| 451 |
+
r = ev.unit(offset + r_start, offset + r_end, "retrieval_result", "retrieval_result")
|
| 452 |
+
ev.relation(q, r, a, offset + r_end, "query_to_reported_result", "QUERY_RESULT")
|
| 453 |
+
# Constrained scanning -> observed match, without fabricating a visual premise.
|
| 454 |
+
if verb in {"looked around", "looked at", "scanned", "browsed"} and result:
|
| 455 |
+
before = text[action.start("object"):result.start()]
|
| 456 |
+
after = text[result.end():]
|
| 457 |
+
if (specific_clue(before) or (re.search(r"\b[A-Z][a-z]{2,}", before) and specific_clue(after))):
|
| 458 |
+
q = ev.unit(offset + action.start("object"), offset + result.start(),
|
| 459 |
+
"search_constraint", "author_report", True)
|
| 460 |
+
r = ev.unit(offset + result.end(), end, "retrieval_result", "retrieval_result")
|
| 461 |
+
ev.relation(q, r, a, end, "constrained_search_to_result", "CONSTRAINED_SCAN_RESULT")
|
| 462 |
+
if request:
|
| 463 |
+
flags.add("EXPLANATION_REQUEST")
|
| 464 |
+
if policy:
|
| 465 |
+
flags.add("TOOL_POLICY_OR_NEGATION")
|
| 466 |
+
if tutorial:
|
| 467 |
+
flags.add("LINK_SHARING_TUTORIAL")
|
| 468 |
+
if request or policy or tutorial:
|
| 469 |
+
continue
|
| 470 |
+
# A clue or image-edit explanation is not a solver report merely because
|
| 471 |
+
# it contains "so". OP comments reporting their own searches still pass.
|
| 472 |
+
if re.match(r"^\s*(?:hint|clue|starter hint|next hint)\s*:", text, re.I) and not performed:
|
| 473 |
+
flags.add("HINT_WITHOUT_SOLVE_REPORT")
|
| 474 |
+
continue
|
| 475 |
+
# Conditional search strategies are not execution logs.
|
| 476 |
+
for match in STRATEGY.finditer(text):
|
| 477 |
+
query = match.group("query")
|
| 478 |
+
if concrete_query(query):
|
| 479 |
+
s = ev.unit(offset + match.start("strategy"), offset + match.end("strategy"),
|
| 480 |
+
"search_strategy", "author_strategy", False)
|
| 481 |
+
q = ev.unit(offset + match.start("query"), offset + match.end("query"),
|
| 482 |
+
"query_terms", "author_strategy", False)
|
| 483 |
+
ev.relation(s, q, offset + match.start(), offset + match.end(),
|
| 484 |
+
"strategy_specifies_query", "SPECIFIC_QUERY_STRATEGY")
|
| 485 |
+
# Explicit premise -> consequence constructions.
|
| 486 |
+
if hint_context and not performed:
|
| 487 |
+
flags.add("HINT_WITHOUT_SOLVE_REPORT")
|
| 488 |
+
continue
|
| 489 |
+
for rx, rule, trigger in RELATION_RULES:
|
| 490 |
+
if not PHYSICAL.search(text) or not trigger.search(text):
|
| 491 |
+
continue
|
| 492 |
+
for match in rx.finditer(text):
|
| 493 |
+
premise, conclusion = match.group("premise"), match.group("conclusion")
|
| 494 |
+
# 'or so' is an approximation, and 'so does' is an additive
|
| 495 |
+
# comparison. Neither states a premise-to-conclusion relation.
|
| 496 |
+
if rule == "EXPLICIT_CONSEQUENCE" and (
|
| 497 |
+
re.search(r"\bor\s*$", premise, re.I) or
|
| 498 |
+
re.match(r"\s*(?:does|do|did|long as)\b", conclusion, re.I)
|
| 499 |
+
):
|
| 500 |
+
continue
|
| 501 |
+
if rule in {"BASED_ON_CLUE", "BASED_ON_DIRECT"} and re.search(
|
| 502 |
+
r"\bsince\s+(?:renamed|rebuilt|demolished|converted|closed|opened|\d{4})\b", match.group(), re.I
|
| 503 |
+
):
|
| 504 |
+
continue
|
| 505 |
+
if not specific_clue(premise) or not relevant_conclusion(conclusion):
|
| 506 |
+
continue
|
| 507 |
+
if SOCIAL_META.search(premise) or re.search(r"\bfor (?:suggesting|finding|helping)\b", premise, re.I):
|
| 508 |
+
continue
|
| 509 |
+
# A direct question can contain reasoning, but not merely ask the other person for it.
|
| 510 |
+
if QUESTION.search(premise) and not re.search(r"\b(?:since|given|because|based|judging)\b", text, re.I):
|
| 511 |
+
uncertain = True
|
| 512 |
+
continue
|
| 513 |
+
if re.search(r"\b(?:general landscape|looks? similar|architecture fits|"
|
| 514 |
+
r"because why not|i (?:like|love|enjoy))\b", premise, re.I):
|
| 515 |
+
uncertain = True
|
| 516 |
+
continue
|
| 517 |
+
if PLAN.search(text) and not STRATEGY.search(text):
|
| 518 |
+
uncertain = True
|
| 519 |
+
continue
|
| 520 |
+
a = ev.unit(offset + match.start("premise"), offset + match.end("premise"),
|
| 521 |
+
"premise", "image_clue_asserted")
|
| 522 |
+
b = ev.unit(offset + match.start("conclusion"), offset + match.end("conclusion"),
|
| 523 |
+
"inference", "author_inference")
|
| 524 |
+
ev.relation(a, b, offset + match.start(), offset + match.end(), "explicit_inference", rule)
|
| 525 |
+
# An image transcription -> a fact about that entity, in the same source report.
|
| 526 |
+
masked = mask_urls(body)
|
| 527 |
+
transcribed = re.search(r"\b(?:got|read|made out)\s+(.{3,100}?)\s+from (?:the |this )?(?:image|photo|picture)\b", masked, re.I)
|
| 528 |
+
if transcribed:
|
| 529 |
+
fact = re.search(r"\b(?:it(?:'|’)s|it is|the company is)\s+[^.!?\n]{0,160}?\b(?:based in|located in|works in)\b[^.!?\n]{3,180}",
|
| 530 |
+
masked[transcribed.end():], re.I)
|
| 531 |
+
if fact:
|
| 532 |
+
start, end = transcribed.end() + fact.start(), transcribed.end() + fact.end()
|
| 533 |
+
a = ev.unit(transcribed.start(1), transcribed.end(1), "transcribed_entity", "image_clue_asserted")
|
| 534 |
+
b = ev.unit(start, end, "retrieval_result", "retrieval_result")
|
| 535 |
+
ev.relation(a, b, transcribed.start(), end, "image_entity_to_reported_fact", "IMAGE_ENTITY_FACT")
|
| 536 |
+
# Prevent overlapping regexes from manufacturing multiple reasoning steps.
|
| 537 |
+
unique, windows = [], []
|
| 538 |
+
for rel in ev.relations:
|
| 539 |
+
support = next(u for u in ev.units if u["id"] == rel["supporting_span_ids"][0])["span"]
|
| 540 |
+
interval = (support["start"], support["end"])
|
| 541 |
+
if rel["kind"] == "explicit_inference" and any(
|
| 542 |
+
kind == "explicit_inference" and min(b, interval[1]) - max(a, interval[0]) > 0.65 * min(b-a, interval[1]-interval[0])
|
| 543 |
+
for a, b, kind in windows
|
| 544 |
+
):
|
| 545 |
+
continue
|
| 546 |
+
windows.append((*interval, rel["kind"]))
|
| 547 |
+
unique.append(rel)
|
| 548 |
+
ev.relations = unique
|
| 549 |
+
return ev, operations, uncertain, flags
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
def answer_alignment(comment, member, tree):
|
| 553 |
+
masked = mask_urls(comment["body"])
|
| 554 |
+
retraction = SELF_RETRACTION.search(masked)
|
| 555 |
+
if retraction and not re.search(r"\b(?:but then|however|actually|instead|finally corrected)\b", masked[retraction.end():], re.I):
|
| 556 |
+
return "contradicted", [comment["comment_id"]]
|
| 557 |
+
replies = [tree["by_id"][cid] for cid in tree["children"].get(comment["comment_id"], [])]
|
| 558 |
+
for reply in replies:
|
| 559 |
+
if not reply.get("is_op"):
|
| 560 |
+
continue
|
| 561 |
+
text = mask_urls(reply["body"]).strip().lstrip("\\")
|
| 562 |
+
if re.match(r"^(?:nope\b|wrong\b|incorrect\b|not (?:it|there|correct|right)\b|no[,.!]\s)", text, re.I):
|
| 563 |
+
return "contradicted", [reply["comment_id"]]
|
| 564 |
+
if re.match(r"^not quite\b|^close[, .]|^almost\b", text, re.I):
|
| 565 |
+
return "suspected_conflict", [reply["comment_id"]]
|
| 566 |
+
# Upstream answer-resolution metadata is model evidence, not a new human verdict.
|
| 567 |
+
for refuted in (member.get("answer_context") or {}).get("refuted_locations") or []:
|
| 568 |
+
name = refuted if isinstance(refuted, str) else refuted.get("location", "")
|
| 569 |
+
# A rejected intermediate search location is NOT a rejected final answer.
|
| 570 |
+
claim = r"(?:^(?:i think |looks like |probably )?|(?:my (?:guess|answer)|the answer|the location)\s+(?:is|:)\s*)"
|
| 571 |
+
if name and len(name) >= 4 and name.casefold() in comment["body"].casefold() and re.search(
|
| 572 |
+
claim + re.escape(name) + r"[\s.!?,]*$", comment["body"].strip(), re.I
|
| 573 |
+
):
|
| 574 |
+
return "suspected_conflict", []
|
| 575 |
+
return "unknown", []
|
| 576 |
+
|
| 577 |
+
|
| 578 |
+
def classify_comment(comment, member, source, tree, constraints=None):
|
| 579 |
+
body, cid = comment["body"], comment["comment_id"]
|
| 580 |
+
source_info = source.get("source") or {}
|
| 581 |
+
task = task_type(member, source)
|
| 582 |
+
contexts = ancestors(cid, tree)
|
| 583 |
+
context_hash = digest("\n".join(tree["by_id"][x]["body_sha256"] for x in contexts))
|
| 584 |
+
base = {
|
| 585 |
+
"schema": SCHEMA, "rule_version": RULE_VERSION, "community": member["community"],
|
| 586 |
+
"post_id": member["post_id"], "target_comment_id": cid,
|
| 587 |
+
"source": {"status": comment.get("source_completeness", "full_snapshot"),
|
| 588 |
+
"body_sha256": digest(body), "parent_id": comment.get("parent_id"),
|
| 589 |
+
"source_line": source_info.get("source_line"), "author": comment.get("author"),
|
| 590 |
+
"created_utc": comment.get("created_utc"), "edited": comment.get("edited")},
|
| 591 |
+
"content_kind": "answer_or_other_nonreasoning", "route": TIERS[3],
|
| 592 |
+
"task_type": task, "speech_act": "assertion", "modality": "unspecified",
|
| 593 |
+
"reasoning_scope": "not_established", "answer_alignment": "unknown",
|
| 594 |
+
"evidence_units": [], "relations": [], "tool_operations": [],
|
| 595 |
+
"chain_steps": [], "chain_edges": [],
|
| 596 |
+
"reasoning_subtier": None, "chain_confidence": "none",
|
| 597 |
+
"context_comment_ids": contexts, "context_fingerprint": context_hash,
|
| 598 |
+
"context_priors": [{"field": "title", "source_kind": "thread_hint", "text": source["title"]}] if source["title"] else [],
|
| 599 |
+
"dependency_status": "unresolved" if cid in tree["unresolved"] else "no_dependency",
|
| 600 |
+
"grounding_status": "unverified", "text_gate": "rejected",
|
| 601 |
+
"training_eligibility": "not_evaluated", "processing_status": "unknown",
|
| 602 |
+
"reason_codes": [], "missing_links": [],
|
| 603 |
+
"annotation_provenance": {"kind": "rule", "reviewer_id": None},
|
| 604 |
+
"discovery": {"existing_candidate_id": cid in member.get("existing_candidate_ids", []),
|
| 605 |
+
"in_pool_preview": cid in member.get("preview_lengths", {}),
|
| 606 |
+
"reply_to_explanation_request": tree["explanation_replies"].get(cid)},
|
| 607 |
+
}
|
| 608 |
+
if base["source"]["status"] != "full_snapshot":
|
| 609 |
+
base.update(content_kind="source_unavailable", route=TIERS[4], text_gate="unresolved",
|
| 610 |
+
reason_codes=["COMMENT_SOURCE_UNAVAILABLE"])
|
| 611 |
+
return base
|
| 612 |
+
if cid in source.get("conflicting_comment_ids", []):
|
| 613 |
+
base.update(content_kind="unresolved", route=TIERS[4], text_gate="unresolved",
|
| 614 |
+
reason_codes=["CONFLICTING_COMMENT_SNAPSHOTS"])
|
| 615 |
+
return base
|
| 616 |
+
if BOT_NOISE.search(body) or re.search(r"(?:^|_)bot$", str(comment.get("author") or ""), re.I):
|
| 617 |
+
base.update(content_kind="bot_noise", reason_codes=["BOT_OR_TEMPLATE"])
|
| 618 |
+
return base
|
| 619 |
+
masked = mask_urls(body)
|
| 620 |
+
ev, operations, uncertain, flags = collect_evidence(comment)
|
| 621 |
+
chain = derive_reasoning_chain(comment, ev, operations)
|
| 622 |
+
if chain["s1_subtier"] is None and chain["explicit_relation_count"] >= 2:
|
| 623 |
+
chain["s1_subtier"] = "S1_clear_chain"
|
| 624 |
+
chain["confidence"] = "clear"
|
| 625 |
+
for edge in chain["edges"]:
|
| 626 |
+
if not any((r["from"], r["to"], r["kind"]) ==
|
| 627 |
+
(edge["from"], edge["to"], edge["kind"]) for r in ev.relations):
|
| 628 |
+
ev.relations.append(edge)
|
| 629 |
+
base["evidence_units"], base["relations"], base["tool_operations"] = ev.units, ev.relations, operations
|
| 630 |
+
base["chain_steps"], base["chain_edges"] = chain["steps"], chain["edges"]
|
| 631 |
+
base["reasoning_subtier"], base["chain_confidence"] = chain["s1_subtier"], chain["confidence"]
|
| 632 |
+
base["reason_codes"] = sorted({r["rule_id"] for r in ev.relations} | flags)
|
| 633 |
+
alignment, alignment_context = answer_alignment(comment, member, tree)
|
| 634 |
+
base["answer_alignment"] = alignment
|
| 635 |
+
base["answer_audit_comment_ids"] = alignment_context
|
| 636 |
+
if cid in tree["explanation_requests"]:
|
| 637 |
+
base["speech_act"] = "request"
|
| 638 |
+
elif "?" in masked:
|
| 639 |
+
base["speech_act"] = "question_or_mixed"
|
| 640 |
+
if STRATEGY.search(masked):
|
| 641 |
+
base["modality"] = "hypothetical_or_intended"
|
| 642 |
+
elif operations:
|
| 643 |
+
base["modality"] = "retrospective_report"
|
| 644 |
+
elif PLAN.search(masked):
|
| 645 |
+
base["modality"] = "planned_or_instruction"
|
| 646 |
+
elif TOOL_POLICY.search(masked):
|
| 647 |
+
base["modality"] = "prohibited_or_negated"
|
| 648 |
+
constraint = (constraints or {}).get((member["community"], member["post_id"], cid))
|
| 649 |
+
if constraint and constraint["body_sha256"] != base["source"]["body_sha256"]:
|
| 650 |
+
base.update(route=TIERS[4], content_kind="unresolved", text_gate="unresolved")
|
| 651 |
+
base["reason_codes"].append("HUMAN_NOTE_SOURCE_CHANGED")
|
| 652 |
+
return base
|
| 653 |
+
if constraint:
|
| 654 |
+
base["human_feedback"] = constraint
|
| 655 |
+
# Only explicit negative/scope instructions constrain admission. Positive
|
| 656 |
+
# feedback never supplies a missing edge or bypasses the rule engine.
|
| 657 |
+
if constraint.get("semantic_rejected"):
|
| 658 |
+
base.update(content_kind=constraint.get("content_kind", "human_rejected_semantic"),
|
| 659 |
+
text_gate="rejected", route=TIERS[3])
|
| 660 |
+
base["reason_codes"].append("EXPLICIT_HUMAN_SEMANTIC_REJECTION")
|
| 661 |
+
if constraint.get("task_type"):
|
| 662 |
+
base["task_type"] = constraint["task_type"]
|
| 663 |
+
if constraint.get("answer_alignment"):
|
| 664 |
+
base["answer_alignment"] = constraint["answer_alignment"]
|
| 665 |
+
return base
|
| 666 |
+
if task in {"non_geolocation", "indirect_or_non_image_task"}:
|
| 667 |
+
base.update(content_kind="off_task_content", reason_codes=base["reason_codes"] + ["TASK_NOT_IMAGE_GEOLOCATION"])
|
| 668 |
+
return base
|
| 669 |
+
if EXTERNAL_PERSON.search(masked):
|
| 670 |
+
base.update(content_kind="external_personal_source", reason_codes=base["reason_codes"] + ["NON_IMAGE_PERSONAL_SOURCE"])
|
| 671 |
+
return base
|
| 672 |
+
generative = any(r["kind"] in {"query_to_reported_result", "constrained_search_to_result",
|
| 673 |
+
"image_entity_to_reported_fact"} for r in ev.relations)
|
| 674 |
+
if not generative and REFERENCE_PROSE.search(masked) and not re.search(
|
| 675 |
+
r"\b(?:i|we)\b[^.!?\n]{0,100}\b(?:photo|picture|image|searched|looked|found|noticed|saw)\b", masked, re.I
|
| 676 |
+
):
|
| 677 |
+
base.update(content_kind="background_only", route=TIERS[3], text_gate="rejected")
|
| 678 |
+
base["reason_codes"].append("REFERENCE_PROSE_NOT_IMAGE_SOLVE")
|
| 679 |
+
return base
|
| 680 |
+
if ev.relations and not generative and re.search(r"\bfor future reference\b", masked, re.I):
|
| 681 |
+
base.update(content_kind="unresolved_background_context", route=TIERS[4], text_gate="unresolved")
|
| 682 |
+
base["reason_codes"].append("BACKGROUND_VS_IMAGE_INFERENCE_UNRESOLVED")
|
| 683 |
+
return base
|
| 684 |
+
if not generative and SOCIAL_META.search(masked):
|
| 685 |
+
if re.search(r"\b(?:shout.?out|thanks? to)\b", masked, re.I) and not operations:
|
| 686 |
+
base.update(content_kind="answer_and_thanks", route=TIERS[3], text_gate="rejected")
|
| 687 |
+
base["reason_codes"].append("ANSWER_OR_SOCIAL_NOT_INFERENCE")
|
| 688 |
+
return base
|
| 689 |
+
if re.search(r"\b(?:correction|points?|not bothered|note to my ?self)\b", masked, re.I):
|
| 690 |
+
base.update(content_kind="game_meta_discussion", route=TIERS[3], text_gate="rejected")
|
| 691 |
+
base["reason_codes"].append("GAME_SCORING_NOT_LOCATION_REASONING")
|
| 692 |
+
return base
|
| 693 |
+
if not generative and VERIFICATION_CONTEXT.search(masked):
|
| 694 |
+
base.update(content_kind="candidate_verification", route=TIERS[2] if operations else TIERS[3],
|
| 695 |
+
text_gate="process_candidate" if operations else "rejected")
|
| 696 |
+
base["reason_codes"].append("POSTANSWER_VERIFICATION_NOT_GENERATION")
|
| 697 |
+
base["process_detail"] = "minimal"
|
| 698 |
+
return base
|
| 699 |
+
if alignment in {"contradicted", "suspected_conflict"} and (ev.relations or operations):
|
| 700 |
+
base.update(content_kind="contradicted_reasoning" if ev.relations else "contradicted_process",
|
| 701 |
+
route=TIERS[3] if alignment == "contradicted" else TIERS[4],
|
| 702 |
+
text_gate="rejected" if alignment == "contradicted" else "unresolved")
|
| 703 |
+
base["reason_codes"].append("ANSWER_CONFLICT" if alignment == "contradicted" else "ANSWER_CONFLICT_REVIEW")
|
| 704 |
+
return base
|
| 705 |
+
if ev.relations:
|
| 706 |
+
if task in {"mixed", "unknown"}:
|
| 707 |
+
base.update(content_kind="unresolved_task_reasoning", route=TIERS[4], text_gate="unresolved")
|
| 708 |
+
base["reason_codes"].append("TASK_SCOPE_UNRESOLVED")
|
| 709 |
+
return base
|
| 710 |
+
if cid in tree["unresolved"] or cid in source.get("conflicting_comment_ids", []):
|
| 711 |
+
base.update(content_kind="unresolved_source_reasoning", route=TIERS[4], text_gate="unresolved")
|
| 712 |
+
base["reason_codes"].append("DEPENDENCY_OR_SOURCE_CONFLICT")
|
| 713 |
+
return base
|
| 714 |
+
kinds = {r["kind"] for r in ev.relations}
|
| 715 |
+
only_strategy = kinds == {"strategy_specifies_query"}
|
| 716 |
+
supports = [u["span"] for u in ev.units if u["role"] == "relation_statement"]
|
| 717 |
+
# A second non-overlapping explicit relation provides multi-step evidence;
|
| 718 |
+
# two keywords or two overlapping regex hits do not.
|
| 719 |
+
independent = []
|
| 720 |
+
for s in supports:
|
| 721 |
+
if all(min(s["end"], t["end"]) <= max(s["start"], t["start"]) for t in independent):
|
| 722 |
+
independent.append(s)
|
| 723 |
+
chain_s1 = chain["s1_eligible"] and not only_strategy
|
| 724 |
+
explicit_s1 = len(independent) >= 2 and not only_strategy
|
| 725 |
+
if explicit_s1 and chain["s1_subtier"] is None:
|
| 726 |
+
chain["s1_subtier"] = "S1_clear_chain"
|
| 727 |
+
chain["confidence"] = "clear"
|
| 728 |
+
base["reasoning_subtier"] = chain["s1_subtier"]
|
| 729 |
+
base["chain_confidence"] = chain["confidence"]
|
| 730 |
+
base.update(content_kind="query_strategy_fragment" if only_strategy else
|
| 731 |
+
"explicit_reasoning" if explicit_s1 else
|
| 732 |
+
"reasoning_chain" if chain_s1 else "reasoning_fragment",
|
| 733 |
+
route=TIERS[0] if (chain_s1 or explicit_s1) else TIERS[1],
|
| 734 |
+
text_gate="candidate", reasoning_scope=evidence_scope(ev.units),
|
| 735 |
+
dependency_status="resolved" if contexts else "no_dependency")
|
| 736 |
+
base["missing_links"] = ["Final coordinate derivation and external/image grounding are not established by offline rules."]
|
| 737 |
+
if only_strategy:
|
| 738 |
+
base["missing_links"].append("Query strategy is stated; execution is not reported.")
|
| 739 |
+
return base
|
| 740 |
+
if operations:
|
| 741 |
+
if task != "image_geolocation" or cid in tree["unresolved"]:
|
| 742 |
+
base.update(content_kind="unresolved_tool_context", route=TIERS[4], text_gate="unresolved")
|
| 743 |
+
base["reason_codes"].append("TOOL_CONTEXT_UNRESOLVED")
|
| 744 |
+
else:
|
| 745 |
+
base.update(content_kind="tool_process", route=TIERS[2], text_gate="process_candidate")
|
| 746 |
+
base["reason_codes"].append("REPORTED_TOOL_OPERATION")
|
| 747 |
+
base["process_detail"] = "informative" if any(o["detail"] == "informative" for o in operations) else "minimal"
|
| 748 |
+
return base
|
| 749 |
+
if is_explanation_request(masked):
|
| 750 |
+
base.update(content_kind="explanation_request", reason_codes=base["reason_codes"] + ["QUESTION_IS_NOT_EXPLANATION"])
|
| 751 |
+
elif TOOL_POLICY.search(masked):
|
| 752 |
+
base.update(content_kind="policy_or_tool_mention", reason_codes=base["reason_codes"] + ["TOOL_MENTION_NOT_OPERATION"])
|
| 753 |
+
elif URL_TUTORIAL.search(masked):
|
| 754 |
+
base.update(content_kind="link_sharing_tutorial", reason_codes=base["reason_codes"] + ["NOT_A_SOLVE_OPERATION"])
|
| 755 |
+
elif comment.get("is_op") and re.search(r"\b(?:hint|clue|try|you can|you should|you need|not quite)\b", masked, re.I):
|
| 756 |
+
base.update(content_kind="hint_only", reason_codes=base["reason_codes"] + ["HINT_WITHOUT_REPORTED_INFERENCE"])
|
| 757 |
+
elif REFERENT.search(masked):
|
| 758 |
+
base.update(content_kind="unresolved_dependency", route=TIERS[4], text_gate="unresolved",
|
| 759 |
+
dependency_status="unresolved", reason_codes=base["reason_codes"] + ["REFERENCE_NEEDS_SEMANTIC_REVIEW"])
|
| 760 |
+
elif PLAN.search(masked):
|
| 761 |
+
base.update(content_kind="plan_or_instruction", reason_codes=base["reason_codes"] + ["NO_EXECUTED_OR_SPECIFIC_STRATEGY"])
|
| 762 |
+
elif PERSONAL.search(masked) and not specific_clue(masked):
|
| 763 |
+
base.update(content_kind="recognition_only", reason_codes=base["reason_codes"] + ["PERSONAL_RECOGNITION_WITHOUT_INFERENCE"])
|
| 764 |
+
elif uncertain or (specific_clue(masked) and (
|
| 765 |
+
len(words(masked)) >= 18 or re.search(r"\b(?:because|since|so|therefore|based|judging|"
|
| 766 |
+
r"must|probably|likely|guess|looks like|felt|"
|
| 767 |
+
r"checked|searched|found)\b", masked, re.I))):
|
| 768 |
+
base.update(content_kind="unresolved_semantic_relation", route=TIERS[4], text_gate="unresolved",
|
| 769 |
+
reason_codes=base["reason_codes"] + ["SPECIFIC_CLUE_BUT_RELATION_NOT_PROVEN"])
|
| 770 |
+
elif TOOL_NAME.search(masked) and not TOOL_POLICY.search(masked) and not QUESTION.search(masked):
|
| 771 |
+
base.update(content_kind="unresolved_tool_mention", route=TIERS[4], text_gate="unresolved",
|
| 772 |
+
reason_codes=base["reason_codes"] + ["TOOL_MENTION_WITHOUT_EXECUTION_PROOF"])
|
| 773 |
+
elif QUESTION.search(masked) or masked.rstrip().endswith("?"):
|
| 774 |
+
base.update(content_kind="question_or_guess", reason_codes=base["reason_codes"] + ["QUESTION_OR_UNSUPPORTED_GUESS"])
|
| 775 |
+
elif PHYSICAL.search(masked):
|
| 776 |
+
base.update(content_kind="description_or_answer", reason_codes=base["reason_codes"] + ["NO_EXPLICIT_USE_OF_DESCRIPTION"])
|
| 777 |
+
else:
|
| 778 |
+
base["reason_codes"].append("NO_EXPLICIT_REASONING_OR_OPERATION")
|
| 779 |
+
return base
|
| 780 |
+
|
| 781 |
+
|
| 782 |
+
def classify_post(member, source, source_status=None, constraints=None, validate=True):
|
| 783 |
+
if source is None:
|
| 784 |
+
return {"schema": "reddit-cot-offline-post.v2", "rule_version": RULE_VERSION,
|
| 785 |
+
"community": member["community"], "post_id": member["post_id"], "title": member["title"],
|
| 786 |
+
"offline_tier": TIERS[4], "candidate_comment_ids": [], "target_comment_ids": [],
|
| 787 |
+
"unresolved_comment_ids": [], "source_status": source_status,
|
| 788 |
+
"reason_codes": ["POST_SOURCE_UNAVAILABLE"], "processing_status": "unknown",
|
| 789 |
+
"training_eligibility": "not_evaluated"}, []
|
| 790 |
+
tree = build_tree(source)
|
| 791 |
+
records = []
|
| 792 |
+
for comment in source["comments"]:
|
| 793 |
+
result = classify_comment(comment, member, source, tree, constraints)
|
| 794 |
+
if validate:
|
| 795 |
+
validate_comment(result, comment, tree["by_id"])
|
| 796 |
+
records.append(result)
|
| 797 |
+
present_tiers = {r["route"] for r in records}
|
| 798 |
+
tier = next((t for t in (TIERS[0], TIERS[1], TIERS[2], TIERS[4]) if t in present_tiers), TIERS[3])
|
| 799 |
+
targets = [r["target_comment_id"] for r in records if r["route"] in TIERS[:3]]
|
| 800 |
+
unresolved = [r["target_comment_id"] for r in records if r["route"] == TIERS[4]]
|
| 801 |
+
if not records:
|
| 802 |
+
tier = TIERS[4]
|
| 803 |
+
missing_marked = [cid for cid in member.get("existing_candidate_ids", []) if cid not in tree["by_id"]]
|
| 804 |
+
if missing_marked and tier == TIERS[3]:
|
| 805 |
+
tier = TIERS[4]
|
| 806 |
+
post = {
|
| 807 |
+
"schema": "reddit-cot-offline-post.v2", "rule_version": RULE_VERSION,
|
| 808 |
+
"community": member["community"], "post_id": member["post_id"], "title": source["title"],
|
| 809 |
+
"source_url": member.get("source_url"), "offline_tier": tier, "task_type": task_type(member, source),
|
| 810 |
+
"candidate_comment_ids": targets, "target_comment_ids": targets,
|
| 811 |
+
"semantic_target_ids": [r["target_comment_id"] for r in records if r["route"] in TIERS[:2]],
|
| 812 |
+
"process_target_ids": [r["target_comment_id"] for r in records if r["route"] == TIERS[2]],
|
| 813 |
+
"unresolved_comment_ids": unresolved, "source_status": source.get("source") or source_status,
|
| 814 |
+
"comment_count": len(records), "comment_kind_counts": dict(Counter(r["content_kind"] for r in records)),
|
| 815 |
+
"comment_route_counts": dict(Counter(r["route"] for r in records)),
|
| 816 |
+
"existing_candidate_ids": member.get("existing_candidate_ids", []),
|
| 817 |
+
"missing_existing_candidate_ids": missing_marked, "processing_status": "unknown",
|
| 818 |
+
"training_eligibility": "not_evaluated", "grounding_status": "unverified",
|
| 819 |
+
"explanation_request_ids": sorted(tree["explanation_requests"]),
|
| 820 |
+
"discovered_explanation_target_ids": [cid for cid in targets if cid in tree["explanation_replies"]],
|
| 821 |
+
"context_comment_ids_by_target": {r["target_comment_id"]: r["context_comment_ids"] for r in records if r["target_comment_id"] in targets},
|
| 822 |
+
"reason_codes": ["FULL_SOURCE_COMMENT_ROUTING"] + (["MISSING_PREVIOUS_CANDIDATES"] if missing_marked else []),
|
| 823 |
+
"annotation_provenance": {"kind": "rule", "human_accuracy": "not_measured"},
|
| 824 |
+
"member_image_urls": member.get("image_urls", []),
|
| 825 |
+
}
|
| 826 |
+
return post, records
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/offline_evidence_schema.py
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Contracts for the full-source offline filter. Offsets are Unicode code points."""
|
| 2 |
+
from __future__ import annotations
|
| 3 |
+
|
| 4 |
+
import hashlib
|
| 5 |
+
import json
|
| 6 |
+
|
| 7 |
+
RULE_VERSION = "offline-cot-full-source.v10.4.1"
|
| 8 |
+
SCHEMA = "reddit-cot-offline-evidence.v3"
|
| 9 |
+
TIERS = ("S1_reasoning_candidate", "S2_reasoning_fragment", "S3_process_only",
|
| 10 |
+
"S4_offline_excluded", "U_review_or_source_pending")
|
| 11 |
+
SEMANTIC_TIERS = frozenset(TIERS[:2])
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def digest(text):
|
| 15 |
+
return hashlib.sha256(text.encode("utf-8")).hexdigest()
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def stable_hash(value):
|
| 19 |
+
return digest(json.dumps(value, sort_keys=True, ensure_ascii=False, separators=(",", ":")))
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def json_line(value):
|
| 23 |
+
return json.dumps(value, ensure_ascii=False, separators=(",", ":")) + "\n"
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def validate_comment(record, comment, by_id):
|
| 27 |
+
"""Validate evidence against sources, not merely against a shape schema."""
|
| 28 |
+
assert record["schema"] == SCHEMA
|
| 29 |
+
assert record["route"] in TIERS
|
| 30 |
+
assert record["target_comment_id"] == comment["comment_id"]
|
| 31 |
+
assert record["source"]["body_sha256"] == digest(comment["body"])
|
| 32 |
+
ids = set()
|
| 33 |
+
for unit in record["evidence_units"]:
|
| 34 |
+
assert unit["id"] not in ids
|
| 35 |
+
ids.add(unit["id"])
|
| 36 |
+
origin = by_id[unit["comment_id"]]
|
| 37 |
+
span = unit["span"]
|
| 38 |
+
assert 0 <= span["start"] < span["end"] <= len(origin["body"])
|
| 39 |
+
assert origin["body"][span["start"]:span["end"]] == span["quote"]
|
| 40 |
+
assert unit["actor"] == origin.get("author")
|
| 41 |
+
for relation in record["relations"]:
|
| 42 |
+
assert relation["from"] in ids and relation["to"] in ids
|
| 43 |
+
assert relation["from"] != relation["to"]
|
| 44 |
+
assert relation["supporting_span_ids"]
|
| 45 |
+
assert set(relation["supporting_span_ids"]) <= ids
|
| 46 |
+
for step in record.get("chain_steps", []):
|
| 47 |
+
assert step["id"] in ids
|
| 48 |
+
assert step["stage"] in {
|
| 49 |
+
"visual_clue", "hypothesis", "query_or_action", "query_result",
|
| 50 |
+
"candidate_update", "verification",
|
| 51 |
+
}
|
| 52 |
+
for edge in record.get("chain_edges", []):
|
| 53 |
+
assert edge["from"] in ids and edge["to"] in ids
|
| 54 |
+
assert edge["from"] != edge["to"]
|
| 55 |
+
assert edge["supporting_span_ids"]
|
| 56 |
+
assert set(edge["supporting_span_ids"]) <= ids
|
| 57 |
+
for cid in record["context_comment_ids"]:
|
| 58 |
+
assert cid in by_id and cid != comment["comment_id"]
|
| 59 |
+
if record["route"] in SEMANTIC_TIERS:
|
| 60 |
+
assert record["relations"], "semantic admission requires source-bound relation"
|
| 61 |
+
assert record["source"]["status"] == "full_snapshot"
|
| 62 |
+
assert record["answer_alignment"] not in {"contradicted", "suspected_conflict"}
|
| 63 |
+
assert record["task_type"] == "image_geolocation"
|
| 64 |
+
assert record["content_kind"] in {
|
| 65 |
+
"explicit_reasoning", "reasoning_chain", "reasoning_fragment", "query_strategy_fragment",
|
| 66 |
+
}
|
| 67 |
+
if record["route"] == TIERS[2]:
|
| 68 |
+
assert record["tool_operations"]
|
| 69 |
+
assert any(x["is_executed"] for x in record["tool_operations"])
|
| 70 |
+
assert record["training_eligibility"] == "not_evaluated"
|
| 71 |
+
assert record["processing_status"] == "unknown"
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def ledger_key(record, context_fingerprint, extractor_version, prompt_version, gate_version):
|
| 75 |
+
"""Candidate IDs never stand in for an execution ledger entry."""
|
| 76 |
+
return stable_hash([record["community"], record["post_id"], record["target_comment_id"],
|
| 77 |
+
record["source"]["body_sha256"], context_fingerprint,
|
| 78 |
+
extractor_version, prompt_version, gate_version])
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/scan_s3_continued.py
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Re-screen S3 comments with exact source authorship and context, excluding holdout posts."""
|
| 2 |
+
from __future__ import annotations
|
| 3 |
+
|
| 4 |
+
import argparse
|
| 5 |
+
import hashlib
|
| 6 |
+
import json
|
| 7 |
+
import random
|
| 8 |
+
import shutil
|
| 9 |
+
from collections import Counter
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
from prepare_u_semantic_review import write_json
|
| 13 |
+
from source_index import SourceIndex, file_hash
|
| 14 |
+
from u_semantic_filter import VERSION, S1, S2, S3, S4, U, classify, validate
|
| 15 |
+
|
| 16 |
+
ROOT = Path(__file__).resolve().parent
|
| 17 |
+
BASELINE = ROOT / "runs/offline_cot_filter_20261029_v10_4_2"
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def frozen_ids(baseline):
|
| 21 |
+
path = baseline / "manual_review/review_sample_manifest.json"
|
| 22 |
+
manifest = json.loads(path.read_text(encoding="utf-8"))
|
| 23 |
+
return {(x.get("community"), x.get("post_id")) for x in manifest.get("sampling", [])}
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def run(baseline, output):
|
| 27 |
+
baseline, output = Path(baseline).resolve(), Path(output).resolve()
|
| 28 |
+
output.mkdir(parents=True, exist_ok=False)
|
| 29 |
+
frozen = frozen_ids(baseline)
|
| 30 |
+
candidate_path = baseline / "candidate_comments.jsonl"
|
| 31 |
+
candidate_sha = file_hash(candidate_path)
|
| 32 |
+
manifest = json.loads((baseline / "filter_manifest.json").read_text(encoding="utf-8"))
|
| 33 |
+
index = SourceIndex(manifest["index_path"])
|
| 34 |
+
cache = {}
|
| 35 |
+
totals = Counter()
|
| 36 |
+
rules = Counter()
|
| 37 |
+
transitions = Counter()
|
| 38 |
+
candidate_posts = {S1:set(),S2:set()}
|
| 39 |
+
sample = []
|
| 40 |
+
rng = random.Random(20261029)
|
| 41 |
+
code_names = ("u_semantic_filter.py", "scan_s3_continued.py", "candidate_discovery.py",
|
| 42 |
+
"offline_cot_filter_v10.py", "offline_evidence_schema.py", "source_index.py")
|
| 43 |
+
snapshot = output / "code_snapshot"
|
| 44 |
+
snapshot.mkdir()
|
| 45 |
+
for name in code_names:
|
| 46 |
+
shutil.copyfile(ROOT / name, snapshot / name)
|
| 47 |
+
hashes = {name: file_hash(ROOT / name) for name in code_names}
|
| 48 |
+
with candidate_path.open(encoding="utf-8") as source, \
|
| 49 |
+
(output / "s3_reviewed_comments.jsonl").open("w", encoding="utf-8") as all_out, \
|
| 50 |
+
(output / "s3_semantic_candidates.jsonl").open("w", encoding="utf-8") as candidate_out:
|
| 51 |
+
for line in source:
|
| 52 |
+
row = json.loads(line)
|
| 53 |
+
if row.get("route") != S3:
|
| 54 |
+
continue
|
| 55 |
+
totals["baseline_s3_comments"] += 1
|
| 56 |
+
key = row["community"], row["post_id"]
|
| 57 |
+
if key in frozen:
|
| 58 |
+
totals["frozen_comments_skipped"] += 1
|
| 59 |
+
continue
|
| 60 |
+
if key not in cache:
|
| 61 |
+
recovered, _ = index.recover(*key)
|
| 62 |
+
if recovered is None:
|
| 63 |
+
raise ValueError(("SOURCE_RECOVERY_FAILED", key))
|
| 64 |
+
by_id = {c["comment_id"]: c for c in recovered["comments"]}
|
| 65 |
+
cache[key] = recovered, by_id
|
| 66 |
+
post, by_id = cache[key]
|
| 67 |
+
cid = row["target_comment_id"]
|
| 68 |
+
comment = by_id[cid]
|
| 69 |
+
body = comment["body"]
|
| 70 |
+
if hashlib.sha256(body.encode("utf-8")).hexdigest() != row["source"]["body_sha256"]:
|
| 71 |
+
raise ValueError(("CANDIDATE_SOURCE_HASH_MISMATCH", key, cid))
|
| 72 |
+
ancestors, current, seen = [], cid, {cid}
|
| 73 |
+
while current in by_id:
|
| 74 |
+
parent = by_id[current].get("parent_id") or ""
|
| 75 |
+
if not parent.startswith("t1_") or parent[3:] not in by_id or parent[3:] in seen:
|
| 76 |
+
break
|
| 77 |
+
current = parent[3:]
|
| 78 |
+
seen.add(current)
|
| 79 |
+
ancestors.append(by_id[current])
|
| 80 |
+
replies = [c for c in post["comments"] if c.get("parent_id") == "t1_" + cid]
|
| 81 |
+
target = {"comment": comment, "ancestors": ancestors, "direct_replies": replies,
|
| 82 |
+
"baseline_record": {"community": key[0], "post_id": key[1], "route": S3,
|
| 83 |
+
"task_type": row.get("task_type"),
|
| 84 |
+
"dependency_status": row.get("dependency_status"),
|
| 85 |
+
"answer_alignment": row.get("answer_alignment")}}
|
| 86 |
+
result = classify(target)
|
| 87 |
+
validate(result, target)
|
| 88 |
+
totals["audited_comments"] += 1
|
| 89 |
+
totals["op_comments"] += bool(comment.get("is_op"))
|
| 90 |
+
transitions[result["route"]] += 1
|
| 91 |
+
rules.update(r["kind"] for r in result["relations"])
|
| 92 |
+
result["title"] = row.get("title")
|
| 93 |
+
record = {"result": result, "target": target}
|
| 94 |
+
all_out.write(json.dumps(record, ensure_ascii=False) + "\n")
|
| 95 |
+
if result["route"] in {S1, S2}:
|
| 96 |
+
candidate_out.write(json.dumps(record, ensure_ascii=False) + "\n")
|
| 97 |
+
sample.append(record)
|
| 98 |
+
candidate_posts[result["route"]].add(key)
|
| 99 |
+
if totals["audited_comments"] % 1000 == 0:
|
| 100 |
+
print(json.dumps({"stage":"s3_rescreen","comments":totals["audited_comments"]}),flush=True)
|
| 101 |
+
index.close()
|
| 102 |
+
if candidate_sha != file_hash(candidate_path):
|
| 103 |
+
raise ValueError("Baseline candidate file changed during scan")
|
| 104 |
+
assert hashes == {name: file_hash(ROOT / name) for name in code_names}
|
| 105 |
+
sample.sort(key=lambda x: (x["result"]["community"], x["result"]["post_id"], x["result"]["target_comment_id"]))
|
| 106 |
+
sample = sample[:160]
|
| 107 |
+
with (output / "s3_candidate_review_sample.jsonl").open("w", encoding="utf-8") as handle:
|
| 108 |
+
for record in sample:
|
| 109 |
+
handle.write(json.dumps(record, ensure_ascii=False) + "\n")
|
| 110 |
+
summary = {"status":"diagnostic_pending_human_review","rule_version":VERSION,
|
| 111 |
+
"baseline_rule_version":"offline-cot-full-source.v10.4.1",
|
| 112 |
+
"baseline_s3_comments":totals["baseline_s3_comments"],
|
| 113 |
+
"frozen_comments_skipped":totals["frozen_comments_skipped"],
|
| 114 |
+
"audited_comments":totals["audited_comments"],"op_comments_audited":totals["op_comments"],
|
| 115 |
+
"candidate_comment_routes":dict(transitions),"candidate_edge_kinds_nonexclusive":dict(rules),
|
| 116 |
+
"unique_posts_with_s1_comment_candidates":len(candidate_posts[S1]),
|
| 117 |
+
"unique_posts_with_s2_comment_candidates":len(candidate_posts[S2]),
|
| 118 |
+
"semantic_candidates_are_not_human_gold":True,"human_precision":"not_measured",
|
| 119 |
+
"human_recall":"not_measured","training_approved":0,"model_calls":0,
|
| 120 |
+
"candidate_input_sha256":candidate_sha,"code_hashes":hashes}
|
| 121 |
+
write_json(output / "scan_summary.json", summary)
|
| 122 |
+
print(json.dumps(summary, ensure_ascii=False))
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
if __name__ == "__main__":
|
| 126 |
+
parser=argparse.ArgumentParser()
|
| 127 |
+
parser.add_argument("--baseline",type=Path,default=BASELINE)
|
| 128 |
+
parser.add_argument("--output",type=Path,required=True)
|
| 129 |
+
args=parser.parse_args()
|
| 130 |
+
run(args.baseline,args.output)
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/source_index.py
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Read-only source indexing for current-pool members; no model/provider imports."""
|
| 2 |
+
from __future__ import annotations
|
| 3 |
+
|
| 4 |
+
import hashlib
|
| 5 |
+
import json
|
| 6 |
+
import sqlite3
|
| 7 |
+
from collections import Counter
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
from offline_evidence_schema import digest, json_line
|
| 11 |
+
|
| 12 |
+
COMMUNITIES = ("GeoPuzzle", "whereisthis", "PictureGame")
|
| 13 |
+
POOL = Path("D:/GeoAgent/Geo-CoT dataset/reddit数据清洗/gpt5.6 full/题图映射清理_20261025/A_normal_candidate_20261025.jsonl")
|
| 14 |
+
UPSTREAM = Path("D:/GeoAgent/Geo-CoT dataset/外网图像地理定位数据收集/reddit_posts")
|
| 15 |
+
EXPECTED_SHA256 = "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae"
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def file_hash(path):
|
| 19 |
+
h = hashlib.sha256()
|
| 20 |
+
with Path(path).open("rb") as handle:
|
| 21 |
+
for block in iter(lambda: handle.read(4 * 1024 * 1024), b""):
|
| 22 |
+
h.update(block)
|
| 23 |
+
return h.hexdigest()
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def compact_member(raw):
|
| 27 |
+
final = raw.get("_final") or {}
|
| 28 |
+
resolved = raw.get("resolved") or {}
|
| 29 |
+
previews = raw.get("comment_previews") or []
|
| 30 |
+
marked = list(dict.fromkeys(raw.get("cot_comment_ids") or final.get("cot_comment_ids") or resolved.get("cot_comment_ids") or []))
|
| 31 |
+
return {
|
| 32 |
+
"community": raw["community"], "post_id": raw["post_id"], "title": raw.get("title") or "",
|
| 33 |
+
"source_url": raw.get("source_url"), "category": raw.get("category"),
|
| 34 |
+
"link_flair_text": raw.get("link_flair_text"), "review_flags": raw.get("review_flags") or {},
|
| 35 |
+
"existing_candidate_ids": marked,
|
| 36 |
+
"preview_lengths": {str(p.get("comment_id")): len(p.get("text") or "") for p in previews if isinstance(p, dict)},
|
| 37 |
+
"answer_context": {"candidate": final.get("correct_location_final") or resolved.get("correct_location"),
|
| 38 |
+
"coordinates": final.get("coordinate_final") or [],
|
| 39 |
+
"is_geolocation": final.get("is_geolocation", resolved.get("is_geolocation")),
|
| 40 |
+
"chosen_comment_ids": resolved.get("chosen_comment_ids") or raw.get("gold_comment_ids") or [],
|
| 41 |
+
"refuted_locations": resolved.get("refuted_locations") or []},
|
| 42 |
+
"image_urls": final.get("image_urls_final") or raw.get("image_urls") or [],
|
| 43 |
+
"reported_comment_count": raw.get("n_comments_raw", raw.get("n_comments")),
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
def source_path(upstream, community):
|
| 48 |
+
for path in (Path(upstream) / "solved_communities" / community / "posts_with_comments.jsonl",
|
| 49 |
+
Path(upstream) / community / "posts_with_comments.jsonl"):
|
| 50 |
+
if path.is_file():
|
| 51 |
+
return path
|
| 52 |
+
return Path(upstream) / "solved_communities" / community / "posts_with_comments.jsonl"
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def build_index(pool, upstream, db_path, expected_hash=EXPECTED_SHA256):
|
| 56 |
+
db_path = Path(db_path)
|
| 57 |
+
if db_path.exists():
|
| 58 |
+
raise FileExistsError(f"Refuse to overwrite index: {db_path}")
|
| 59 |
+
db = sqlite3.connect(db_path)
|
| 60 |
+
db.executescript("""
|
| 61 |
+
CREATE TABLE members (community TEXT, post_id TEXT, data TEXT,
|
| 62 |
+
PRIMARY KEY (community, post_id));
|
| 63 |
+
CREATE TABLE posts (community TEXT, post_id TEXT, source_file TEXT, source_line INTEGER,
|
| 64 |
+
byte_offset INTEGER, byte_length INTEGER, line_sha256 TEXT,
|
| 65 |
+
duplicate_count INTEGER DEFAULT 0, conflicting INTEGER DEFAULT 0,
|
| 66 |
+
PRIMARY KEY (community, post_id));
|
| 67 |
+
CREATE TABLE metadata (name TEXT PRIMARY KEY, data TEXT);
|
| 68 |
+
""")
|
| 69 |
+
h = hashlib.sha256()
|
| 70 |
+
counts = Counter()
|
| 71 |
+
with Path(pool).open("rb") as handle:
|
| 72 |
+
for number, line in enumerate(handle, 1):
|
| 73 |
+
h.update(line)
|
| 74 |
+
if not line.strip():
|
| 75 |
+
continue
|
| 76 |
+
raw = json.loads(line)
|
| 77 |
+
member = compact_member(raw)
|
| 78 |
+
if member["community"] not in COMMUNITIES:
|
| 79 |
+
raise ValueError(f"Unexpected community at pool line {number}")
|
| 80 |
+
db.execute("INSERT INTO members VALUES (?,?,?)",
|
| 81 |
+
(member["community"], member["post_id"], json.dumps(member, ensure_ascii=False)))
|
| 82 |
+
counts["input_rows"] += 1
|
| 83 |
+
counts["existing_candidate_marker"] += bool(member["existing_candidate_ids"])
|
| 84 |
+
if counts["input_rows"] % 5000 == 0:
|
| 85 |
+
db.commit()
|
| 86 |
+
actual_hash = h.hexdigest()
|
| 87 |
+
if expected_hash is not None and actual_hash != expected_hash:
|
| 88 |
+
db.close()
|
| 89 |
+
raise ValueError(f"Unexpected official pool SHA256: {actual_hash}")
|
| 90 |
+
db.commit()
|
| 91 |
+
descriptors = {}
|
| 92 |
+
for community in COMMUNITIES:
|
| 93 |
+
wanted = {r[0] for r in db.execute("SELECT post_id FROM members WHERE community=?", (community,))}
|
| 94 |
+
path = source_path(upstream, community)
|
| 95 |
+
desc = {"path": str(path), "wanted": len(wanted), "found": 0,
|
| 96 |
+
"invalid_json_lines": 0, "source_lines": 0, "duplicate_member_lines": 0}
|
| 97 |
+
if not path.is_file():
|
| 98 |
+
desc["status"] = "missing_file"
|
| 99 |
+
descriptors[community] = desc
|
| 100 |
+
continue
|
| 101 |
+
sha = hashlib.sha256()
|
| 102 |
+
offset = 0
|
| 103 |
+
with path.open("rb") as handle:
|
| 104 |
+
for number, line in enumerate(handle, 1):
|
| 105 |
+
sha.update(line)
|
| 106 |
+
desc["source_lines"] = number
|
| 107 |
+
try:
|
| 108 |
+
raw = json.loads(line)
|
| 109 |
+
except (json.JSONDecodeError, UnicodeDecodeError):
|
| 110 |
+
desc["invalid_json_lines"] += 1
|
| 111 |
+
offset += len(line)
|
| 112 |
+
continue
|
| 113 |
+
pid = raw.get("id")
|
| 114 |
+
if pid in wanted:
|
| 115 |
+
line_hash = hashlib.sha256(line).hexdigest()
|
| 116 |
+
previous = db.execute("SELECT line_sha256 FROM posts WHERE community=? AND post_id=?",
|
| 117 |
+
(community, pid)).fetchone()
|
| 118 |
+
if previous:
|
| 119 |
+
db.execute("""UPDATE posts SET duplicate_count=duplicate_count+1,
|
| 120 |
+
conflicting=MAX(conflicting,?) WHERE community=? AND post_id=?""",
|
| 121 |
+
(int(previous[0] != line_hash), community, pid))
|
| 122 |
+
desc["duplicate_member_lines"] += 1
|
| 123 |
+
else:
|
| 124 |
+
db.execute("INSERT INTO posts VALUES (?,?,?,?,?,?,?,0,0)",
|
| 125 |
+
(community, pid, str(path), number, offset, len(line), line_hash))
|
| 126 |
+
desc["found"] += 1
|
| 127 |
+
if desc["found"] % 5000 == 0:
|
| 128 |
+
db.commit()
|
| 129 |
+
print(json_line({"phase": "index", "community": community, "found": desc["found"]}), end="", flush=True)
|
| 130 |
+
offset += len(line)
|
| 131 |
+
desc.update(status="indexed", sha256=sha.hexdigest(), bytes=offset)
|
| 132 |
+
descriptors[community] = desc
|
| 133 |
+
db.commit()
|
| 134 |
+
print(json_line({"phase": "indexed", **desc, "community": community}), end="", flush=True)
|
| 135 |
+
counts["source_posts_found"] = db.execute("SELECT COUNT(*) FROM posts").fetchone()[0]
|
| 136 |
+
counts["source_posts_missing"] = counts["input_rows"] - counts["source_posts_found"]
|
| 137 |
+
counts["conflicting_source_posts"] = db.execute("SELECT COUNT(*) FROM posts WHERE conflicting=1").fetchone()[0]
|
| 138 |
+
result = {"input": {"path": str(Path(pool).resolve()), "sha256": actual_hash, "bytes": Path(pool).stat().st_size,
|
| 139 |
+
"rows": counts["input_rows"]},
|
| 140 |
+
"counts": dict(counts), "upstream": descriptors}
|
| 141 |
+
db.execute("INSERT INTO metadata VALUES (?,?)", ("manifest", json.dumps(result, ensure_ascii=False)))
|
| 142 |
+
db.commit()
|
| 143 |
+
db.close()
|
| 144 |
+
return result
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
class SourceIndex:
|
| 148 |
+
def __init__(self, path):
|
| 149 |
+
self.db = sqlite3.connect(f"file:{Path(path).resolve().as_posix()}?mode=ro", uri=True)
|
| 150 |
+
self.db.row_factory = sqlite3.Row
|
| 151 |
+
self.handles = {}
|
| 152 |
+
|
| 153 |
+
def members(self):
|
| 154 |
+
for row in self.db.execute("SELECT data FROM members ORDER BY community,post_id"):
|
| 155 |
+
yield json.loads(row[0])
|
| 156 |
+
|
| 157 |
+
def member(self, community, post_id):
|
| 158 |
+
row = self.db.execute("SELECT data FROM members WHERE community=? AND post_id=?", (community, post_id)).fetchone()
|
| 159 |
+
return json.loads(row[0]) if row else None
|
| 160 |
+
|
| 161 |
+
def recover(self, community, post_id):
|
| 162 |
+
descriptor = self.db.execute("SELECT * FROM posts WHERE community=? AND post_id=?", (community, post_id)).fetchone()
|
| 163 |
+
if descriptor is None:
|
| 164 |
+
return None, {"status": "post_not_found"}
|
| 165 |
+
info = dict(descriptor)
|
| 166 |
+
if info["conflicting"]:
|
| 167 |
+
return None, {**info, "status": "conflicting_source_snapshots"}
|
| 168 |
+
file = info["source_file"]
|
| 169 |
+
handle = self.handles.setdefault(file, None)
|
| 170 |
+
if handle is None:
|
| 171 |
+
self.handles[file] = handle = open(file, "rb")
|
| 172 |
+
handle.seek(info["byte_offset"])
|
| 173 |
+
line = handle.read(info["byte_length"])
|
| 174 |
+
if hashlib.sha256(line).hexdigest() != info["line_sha256"]:
|
| 175 |
+
return None, {**info, "status": "source_changed_after_index"}
|
| 176 |
+
raw = json.loads(line)
|
| 177 |
+
if raw.get("id") != post_id:
|
| 178 |
+
raise ValueError("SOURCE_ID_MISMATCH")
|
| 179 |
+
source = normalize_post(raw, community)
|
| 180 |
+
info["status"] = "local_snapshot"
|
| 181 |
+
source["source"] = info
|
| 182 |
+
return source, info
|
| 183 |
+
|
| 184 |
+
def close(self):
|
| 185 |
+
for handle in self.handles.values():
|
| 186 |
+
if handle:
|
| 187 |
+
handle.close()
|
| 188 |
+
self.db.close()
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
def normalize_post(raw, community):
|
| 192 |
+
author = raw.get("author")
|
| 193 |
+
comments, seen, conflicts = [], {}, []
|
| 194 |
+
for item in raw.get("comments") or []:
|
| 195 |
+
if not isinstance(item, dict):
|
| 196 |
+
continue
|
| 197 |
+
cid = item.get("id") or item.get("comment_id")
|
| 198 |
+
if not cid:
|
| 199 |
+
continue
|
| 200 |
+
body = item.get("body") if isinstance(item.get("body"), str) else ""
|
| 201 |
+
if cid in seen:
|
| 202 |
+
if seen[cid] != body:
|
| 203 |
+
conflicts.append(cid)
|
| 204 |
+
continue
|
| 205 |
+
seen[cid] = body
|
| 206 |
+
is_op = bool(author and author != "[deleted]" and item.get("author") == author)
|
| 207 |
+
status = ("deleted_placeholder" if body.strip() == "[deleted]" else
|
| 208 |
+
"removed_placeholder" if body.strip() == "[removed]" else
|
| 209 |
+
"empty" if not body.strip() else "full_snapshot")
|
| 210 |
+
comments.append({"comment_id": cid, "parent_id": item.get("parent_id"), "body": body,
|
| 211 |
+
"body_sha256": digest(body), "author": item.get("author"), "is_op": is_op,
|
| 212 |
+
"created_utc": item.get("created_utc"), "edited": item.get("edited"),
|
| 213 |
+
"score": item.get("score"), "source_completeness": status, "source_order": len(comments)})
|
| 214 |
+
return {"community": community, "post_id": raw.get("id") or raw.get("post_id"),
|
| 215 |
+
"title": raw.get("title") or "", "selftext": raw.get("selftext") or "",
|
| 216 |
+
"post_edited": raw.get("edited"), "author": author, "comments": comments,
|
| 217 |
+
"conflicting_comment_ids": sorted(set(conflicts))}
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
if __name__ == "__main__":
|
| 221 |
+
import argparse
|
| 222 |
+
parser = argparse.ArgumentParser()
|
| 223 |
+
parser.add_argument("--output", type=Path, required=True)
|
| 224 |
+
args = parser.parse_args()
|
| 225 |
+
args.output.mkdir(parents=False, exist_ok=False)
|
| 226 |
+
manifest = build_index(POOL, UPSTREAM, args.output / "source_index.sqlite")
|
| 227 |
+
(args.output / "input_manifest.json").write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/provenance/code/u_semantic_filter.py
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Source-bound U-pool screening. No adjacency-only edges or model calls.
|
| 2 |
+
|
| 3 |
+
This is an isolated review overlay; it never changes v10 production routing.
|
| 4 |
+
"""
|
| 5 |
+
from __future__ import annotations
|
| 6 |
+
|
| 7 |
+
import re
|
| 8 |
+
from collections import Counter
|
| 9 |
+
|
| 10 |
+
from candidate_discovery import mask_urls, is_explanation_request
|
| 11 |
+
from offline_cot_filter_v10 import PHYSICAL, HINT_HEADER, EXTERNAL_PERSON, specific_clue
|
| 12 |
+
|
| 13 |
+
VERSION = "u-semantic-evidence.v1.1"
|
| 14 |
+
S1, S2, S3, S4, U = ("S1_reasoning_candidate", "S2_reasoning_fragment", "S3_process_only",
|
| 15 |
+
"S4_offline_excluded", "U_review_or_source_pending")
|
| 16 |
+
CLUE = re.compile(
|
| 17 |
+
r"\b(?:flags?|signs?|signage|scripts?|letters?|alphabet|writing|text|languages?|"
|
| 18 |
+
r"roofs?|buildings?|architecture|facades?|windows?|dormers?|roads?|streets?|"
|
| 19 |
+
r"markings?|plates?|bollards?|poles?|mountains?|trees?|vegetation|landscape|"
|
| 20 |
+
r"shadows?|coast|bridges?|towers?|church|churches|railways?|seating|skyline|"
|
| 21 |
+
r"minimap|intersection|statue|monument|name|logo|concrete|sidewalk)\b", re.I)
|
| 22 |
+
FEATURE = re.compile(
|
| 23 |
+
r"\b(?:red|white|blue|yellow|green|black|brown|tall|short|steep|wide|narrow|"
|
| 24 |
+
r"wooden|concrete|brick|Cyrillic|Armenian|Spanish|English|French|Arabic|"
|
| 25 |
+
r"Chinese|Japanese|Hangul|Latin|German|number|colour|color|left|right|"
|
| 26 |
+
r"shape|layout|border|darker|lighter|visible|top|bottom|three|two|four)\b", re.I)
|
| 27 |
+
LOCATION = re.compile(
|
| 28 |
+
r"\b(?:country|region|city|town|village|island|coast|province|state|continent|"
|
| 29 |
+
r"north|south|east|west|location|place|spot|Europe|Asia|Africa|America|"
|
| 30 |
+
r"in|near|around)\b|(?<!\w)[A-ZÀ-Þ][a-zà-ÿ]{2,}")
|
| 31 |
+
ACTION = re.compile(
|
| 32 |
+
r"\b(?:I|we)\s+(?:(?:first|then|also|just|initially|eventually|actually|finally|"
|
| 33 |
+
r"had|have)\s+){0,3}(?:did (?:a |an )?)?"
|
| 34 |
+
r"(?:searched|googled|looked (?:up|for|around|at)|checked|browsed|scanned|"
|
| 35 |
+
r"used|tried|went (?:with|to)|did a reverse image search)\b|"
|
| 36 |
+
r"^\s*(?:read|searched|googled|scrolled|browsed|scanned|looked (?:up|for|around)|"
|
| 37 |
+
r"reverse image search|RIS(?:ed)?)\b", re.I)
|
| 38 |
+
RESULT = re.compile(
|
| 39 |
+
r"\b(?:found|got (?:a |the )?(?:result|image|picture)|brought (?:me|up)|got me|"
|
| 40 |
+
r"led? me to|lead me to|which (?:gave|showed)|until I found|turned out to be|"
|
| 41 |
+
r"worked on (?:Google )?Maps|(?:the )?answer (?:is|was) found|"
|
| 42 |
+
r"shows? up|comes? up|appears? as)\b", re.I)
|
| 43 |
+
VERIFY = re.compile(r"\b(?:match(?:ed|ing)?|confirmed|verified|checks? out|"
|
| 44 |
+
r"still there|same (?:place|building|picture|location))\b", re.I)
|
| 45 |
+
FAILURE = re.compile(r"\b(?:found nothing|no results|no avail|couldn['’]?t find|"
|
| 46 |
+
r"can['’]?t find|nothing came up|without success)\b", re.I)
|
| 47 |
+
EXTERNAL = re.compile(r"\b(?:ChatGPT|chat ?gpt|AI generated|AI response|my phone identified|"
|
| 48 |
+
r"(?:Gemini|Copilot|language model) (?:said|says|told|gave))\b", re.I)
|
| 49 |
+
INSTRUCTIONS = re.compile(r"\b(?:you (?:can|should|could|need to)|if you (?:click|search|use)|"
|
| 50 |
+
r"possible solution method|your solve.path|intended solve|"
|
| 51 |
+
r"to clarify|for clarification)\b", re.I)
|
| 52 |
+
META = re.compile(r"\b(?:rules of (?:this|the) (?:sub|game)|this sub recommended|"
|
| 53 |
+
r"supposed to be good enough|next round|points? for|"
|
| 54 |
+
r"close this sub|family tree|no Swiss genes|algorithm that|"
|
| 55 |
+
r"great firewall|architects forget|I hate the trend)\b", re.I)
|
| 56 |
+
WITHDRAWAL = re.compile(r"\b(?:I(?:['’]m| am| was) wrong|my answer is wrong|I retract|"
|
| 57 |
+
r"it was (?:actually )?wrong|my guess was wrong)\b", re.I)
|
| 58 |
+
MEMORY = re.compile(r"\b(?:I (?:live|lived|grew up|visited)|my (?:wife|daughter|family)|"
|
| 59 |
+
r"if memory serves|I['’]ve (?:been|driven)|we (?:drove|visited|hiked))\b", re.I)
|
| 60 |
+
OP_SOLVE = re.compile(r"\b(?:I|we)\b.{0,45}\b(?:searched|googled|looked|used|found|"
|
| 61 |
+
r"tried|guessed|thought|figured|noticed)\b", re.I)
|
| 62 |
+
TENTATIVE = re.compile(r"\b(?:probably|likely|guess|could|might|perhaps|maybe|not sure|"
|
| 63 |
+
r"no clue|no idea|expecting|at first|I thought)\b", re.I)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def prose_mask(body):
|
| 67 |
+
"""Preserve Unicode offsets; omit URLs, quotations and Markdown delimiters."""
|
| 68 |
+
masked = mask_urls(body)
|
| 69 |
+
chars = list(masked)
|
| 70 |
+
offset = 0
|
| 71 |
+
for line in masked.splitlines(keepends=True):
|
| 72 |
+
if line.lstrip().startswith(">") and not line.lstrip().startswith(">!"):
|
| 73 |
+
for n in range(offset, offset+len(line)):
|
| 74 |
+
if chars[n] not in "\r\n":
|
| 75 |
+
chars[n] = " "
|
| 76 |
+
offset += len(line)
|
| 77 |
+
for match in re.finditer(r">!|!<|\*\*|__", masked):
|
| 78 |
+
chars[match.start():match.end()] = " " * (match.end()-match.start())
|
| 79 |
+
return "".join(chars)
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def clauses(masked):
|
| 83 |
+
"""Split source prose without mistaking abbreviations/URLs for steps."""
|
| 84 |
+
start = 0
|
| 85 |
+
for boundary in re.finditer(r"[.!?](?:[\"']?)(?=\s+[A-Z]|\s*$)|\n\s*\n|;(?=\s)", masked):
|
| 86 |
+
end = boundary.end()
|
| 87 |
+
yield start, end, masked[start:end]
|
| 88 |
+
start = end
|
| 89 |
+
if start < len(masked):
|
| 90 |
+
yield start, len(masked), masked[start:]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def meaningful_clue(text):
|
| 94 |
+
return bool(CLUE.search(text) and len(re.findall(r"\w+", text)) >= 3)
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
def conclusion(text):
|
| 98 |
+
return bool(LOCATION.search(text) and not re.search(
|
| 99 |
+
r"\b(?:civilised|civilized|nice|cool|why not|no (?:idea|clue)|cheapest architect)\b", text, re.I))
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def evidence_span(comment, start, end, role):
|
| 103 |
+
body = comment["body"]
|
| 104 |
+
while start < end and body[start].isspace():
|
| 105 |
+
start += 1
|
| 106 |
+
while end > start and body[end-1].isspace():
|
| 107 |
+
end -= 1
|
| 108 |
+
return {"comment_id": comment["comment_id"], "actor": comment.get("author"),
|
| 109 |
+
"role": role, "start": start, "end": end, "quote": body[start:end]}
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def classify(target, member=None):
|
| 113 |
+
c, old = target["comment"], target["baseline_record"]
|
| 114 |
+
body, cid = c["body"], c["comment_id"]
|
| 115 |
+
masked = prose_mask(body)
|
| 116 |
+
ancestors = target.get("ancestors", [])
|
| 117 |
+
out = {"rule_version": VERSION, "community": old["community"], "post_id": old["post_id"],
|
| 118 |
+
"target_comment_id": cid, "baseline_route": old["route"], "route": U,
|
| 119 |
+
"subtype": "description_or_unresolved_relation", "body_sha256": c["body_sha256"],
|
| 120 |
+
"body": body, "author": c.get("author"), "is_op": c.get("is_op", False),
|
| 121 |
+
"relations": [], "operations": [], "context_used": [], "flags": [],
|
| 122 |
+
"training_eligibility": "not_evaluated", "grounding_status": "unverified",
|
| 123 |
+
"review_provenance": "deterministic_rules_not_human_gold"}
|
| 124 |
+
|
| 125 |
+
def stop(kind, route=U):
|
| 126 |
+
out.update(subtype=kind, route=route)
|
| 127 |
+
return out
|
| 128 |
+
|
| 129 |
+
if c.get("source_completeness") != "full_snapshot":
|
| 130 |
+
return stop("source_unavailable")
|
| 131 |
+
if old.get("dependency_status") == "unresolved":
|
| 132 |
+
return stop("unresolved_dependency")
|
| 133 |
+
if old.get("task_type") != "image_geolocation":
|
| 134 |
+
return stop("task_scope_unresolved")
|
| 135 |
+
if EXTERNAL.search(body):
|
| 136 |
+
return stop("external_generated_explanation")
|
| 137 |
+
if EXTERNAL_PERSON.search(masked):
|
| 138 |
+
return stop("external_personal_source")
|
| 139 |
+
if WITHDRAWAL.search(masked):
|
| 140 |
+
return stop("withdrawn_answer")
|
| 141 |
+
if META.search(masked):
|
| 142 |
+
return stop("game_meta_or_general_discussion", S4)
|
| 143 |
+
actual_action = ACTION.search(masked)
|
| 144 |
+
if INSTRUCTIONS.search(masked) and not actual_action:
|
| 145 |
+
return stop("instruction_or_intended_strategy", S4 if c.get("is_op") else U)
|
| 146 |
+
if c.get("is_op") and not OP_SOLVE.search(masked):
|
| 147 |
+
if HINT_HEADER.search(masked) or re.match(r"\s*(?:yup|yes|correct|nope|well done|good job)\b", masked, re.I):
|
| 148 |
+
return stop("op_hint_confirmation", S4)
|
| 149 |
+
return stop("op_observation_without_solve_report")
|
| 150 |
+
if is_explanation_request(masked) and not actual_action:
|
| 151 |
+
return stop("explanation_request", S4)
|
| 152 |
+
|
| 153 |
+
# Explicit semantic patterns: bind premise and conclusion independently.
|
| 154 |
+
rules = [
|
| 155 |
+
("CLUE_GAVE_AWAY_LOCATION", r"(?P<premise>[^.!?\n]{3,220}?)\s+(?:gave (?:it |that )?away(?: as)?|gave away(?: it)?|gave me the impression|made me think|told me|led me to (?:think|guess))\s+(?P<conclusion>[^.!?\n]{3,160})"),
|
| 156 |
+
("GOING_BY_CLUE", r"(?:going by|based on|judging (?:by|from))\s+(?P<premise>[^.!?\n]{3,160}?)\s+(?:it(?:['’]s| is)|I (?:would )?(?:guess|think)|this (?:is|must))\s+(?P<conclusion>[^.!?\n]{3,160})"),
|
| 157 |
+
("LOCATION_FROM_CLUE", r"(?:I\s+(?:guessed|identified|figured|thought|think)|I['’]m guessing)\s+(?P<conclusion>[^.!?\n]{3,120}?)\s+(?:from|by|because of)\s+(?P<premise>[^.!?\n]{3,180})"),
|
| 158 |
+
("CLUE_EXCLUDES_CANDIDATE", r"(?P<conclusion>(?:this |it )?(?:can['’]?t|cannot|couldn['’]?t|isn['’]?t|is not)\s+(?:be |in )?[^.!?\n,]{3,80})[,.:\s]+(?P<premise>[^.!?]{4,240}(?:doesn['’]?t match|not common|different|no such|not like)[^.!?]{0,140})"),
|
| 159 |
+
("CLUE_POINTS_TO_PLACE", r"(?P<premise>[^.!?\n]{3,180}?)\s+(?:points? to|suggests?|indicates?|means|gave it away as)\s+(?P<conclusion>[^.!?\n]{3,150})"),
|
| 160 |
+
("OBSERVATION_THEN_INFERENCE", r"(?P<premise>[^.!?\n]{3,200}?)\s+(?:and (?:I )?figured|so (?:I (?:thought|guessed)|it (?:must|could) be))\s+(?P<conclusion>[^.!?\n]{3,150})"),
|
| 161 |
+
]
|
| 162 |
+
|
| 163 |
+
def add_relation(a, b, kind, support=None):
|
| 164 |
+
if not a["quote"].strip() or not b["quote"].strip():
|
| 165 |
+
return
|
| 166 |
+
edge = {"premise": a, "conclusion": b, "kind": kind, "support": support or [a,b]}
|
| 167 |
+
if not any(x["premise"] == a and x["conclusion"] == b for x in out["relations"]):
|
| 168 |
+
out["relations"].append(edge)
|
| 169 |
+
|
| 170 |
+
for rule, pattern in rules:
|
| 171 |
+
for m in re.finditer(pattern, masked, re.I):
|
| 172 |
+
p, q = m.group("premise"), m.group("conclusion")
|
| 173 |
+
identity_clue = rule == "CLUE_GAVE_AWAY_LOCATION" and re.search(r"\b(?:flag|sign|text|writing|logo)\b", p, re.I)
|
| 174 |
+
if not (meaningful_clue(p) or identity_clue) or not conclusion(q):
|
| 175 |
+
continue
|
| 176 |
+
if not (specific_clue(p) or FEATURE.search(p) or identity_clue):
|
| 177 |
+
# Road/architecture alone is too generic; retain for review.
|
| 178 |
+
out["flags"].append("generic_clue_relation")
|
| 179 |
+
continue
|
| 180 |
+
if re.search(r"\b(?:I['’]ll|you (?:can|should)|hint:|if you)\b", m.group(), re.I):
|
| 181 |
+
continue
|
| 182 |
+
add_relation(evidence_span(c, *m.span("premise"), "image_clue_asserted"),
|
| 183 |
+
evidence_span(c, *m.span("conclusion"), "inference"), rule)
|
| 184 |
+
|
| 185 |
+
parts = list(clauses(masked))
|
| 186 |
+
for start, end, text in parts:
|
| 187 |
+
action = ACTION.search(text)
|
| 188 |
+
# Retrospective solve reports often omit "I" in later ordered steps.
|
| 189 |
+
# Admit this form only when the same clause reports a concrete result.
|
| 190 |
+
if not action:
|
| 191 |
+
ordered_search = re.search(
|
| 192 |
+
r"\b(?:then|next|after that|finally)\s+(?:search(?:ed)?|look(?:ed)? up)\s+"
|
| 193 |
+
r"(?P<object>[^.!?\n]{3,180})", text, re.I
|
| 194 |
+
)
|
| 195 |
+
if ordered_search and RESULT.search(text, ordered_search.start("object")):
|
| 196 |
+
action = ordered_search
|
| 197 |
+
|
| 198 |
+
passive = re.search(
|
| 199 |
+
r"\b(?P<query>(?:when\s+)?[^.!?\n]{3,140}?)\s+is\s+searched\s*,?\s*"
|
| 200 |
+
r"(?P<result>[^.!?\n]{2,180}?)\s+(?:shows? up|comes? up|appears?)(?:\s+"
|
| 201 |
+
r"(?:with|as)\s+(?P<detail>[^.!?\n]{2,120}))?", text, re.I
|
| 202 |
+
)
|
| 203 |
+
if passive:
|
| 204 |
+
query_text = re.sub(r"^\s*when\s+", "", passive.group("query"), flags=re.I)
|
| 205 |
+
query_words = [w.lower() for w in re.findall(r"[A-Za-zÀ-ÿ0-9]+", query_text)
|
| 206 |
+
if w.lower() not in {"when", "the", "a", "an", "is", "was", "be", "search", "searched"}]
|
| 207 |
+
if meaningful_clue(query_text) or len(set(query_words)) >= 3:
|
| 208 |
+
premise = evidence_span(c, start+passive.start("query"), start+passive.end("query"), "reported_query")
|
| 209 |
+
result_end = passive.end("detail") if passive.group("detail") else passive.end("result")
|
| 210 |
+
result_span = evidence_span(c, start+passive.start("result"), start+result_end, "retrieval_result_report")
|
| 211 |
+
add_relation(premise, result_span, "PASSIVE_SEARCH_RESULT")
|
| 212 |
+
# Recognize terse query reports only with a bounded quoted query or an
|
| 213 |
+
# explicit result construction; never use URL slug words as a premise.
|
| 214 |
+
terse = re.search(r"(?:`(?P<query>[^`]{4,140})`|[\"'](?P<quoted>[^\"']{4,140})[\"'])\s+(?P<result>found|got|brought up)\b", text, re.I)
|
| 215 |
+
natural_terse = re.search(r"(?P<query>^\s*[A-Za-z][^.!?\n]{6,100}?)\s+got me\s+(?P<result>here|this|to)\b", text, re.I)
|
| 216 |
+
match = terse or natural_terse
|
| 217 |
+
if match and meaningful_clue(match.group("query") or (match.groupdict().get("quoted") or "")):
|
| 218 |
+
qgroup = "query" if match.group("query") is not None else "quoted"
|
| 219 |
+
q = evidence_span(c, start+match.start(qgroup), start+match.end(qgroup), "reported_query")
|
| 220 |
+
result = evidence_span(c, start+match.start("result"), end, "retrieval_result_report")
|
| 221 |
+
add_relation(q, result, "TERSE_QUERY_RESULT")
|
| 222 |
+
if action:
|
| 223 |
+
op = evidence_span(c, start+action.start(), end, "executed_action_report")
|
| 224 |
+
# Planned/negated actions are not execution reports.
|
| 225 |
+
if not re.search(r"\b(?:never|did not|didn['’]?t|will|would|should|can)\b", text[:action.end()], re.I):
|
| 226 |
+
out["operations"].append(op)
|
| 227 |
+
if re.match(r"\s*so\s+I\b", text, re.I):
|
| 228 |
+
prior = masked[max(0,start-420):start].strip()
|
| 229 |
+
if meaningful_clue(prior) and FEATURE.search(prior) and meaningful_clue(text):
|
| 230 |
+
a = max(0,start-420)
|
| 231 |
+
add_relation(evidence_span(c,a,start,"image_clue_asserted"),op,"IMAGE_CONSTRAINT_TO_SEARCH")
|
| 232 |
+
result = RESULT.search(text, action.start())
|
| 233 |
+
if result and not FAILURE.search(text[result.start():]):
|
| 234 |
+
query_end = start+result.start()
|
| 235 |
+
query = evidence_span(c, start+action.start(), query_end, "reported_query")
|
| 236 |
+
if meaningful_clue(query["quote"]) or re.search(r"[`\"']|reverse|image search", query["quote"], re.I):
|
| 237 |
+
add_relation(query, evidence_span(c, start+result.start(), end, "retrieval_result_report"), "EXECUTED_QUERY_RESULT")
|
| 238 |
+
# Verification is a fragment even after an answer, not a fabricated
|
| 239 |
+
# generation step; requires an explicit concrete matching feature.
|
| 240 |
+
if VERIFY.search(text) and CLUE.search(text) and FEATURE.search(text):
|
| 241 |
+
if not re.search(r"\b(?:not|don['’]?t|doesn['’]?t|didn['’]?t|no)\b.{0,30}\b(?:match|check)", text, re.I):
|
| 242 |
+
m = VERIFY.search(text)
|
| 243 |
+
if meaningful_clue(text[:m.start()]):
|
| 244 |
+
add_relation(evidence_span(c, start, start+m.start(), "comparison_feature"),
|
| 245 |
+
evidence_span(c, start+m.start(), end, "match_report"), "CONCRETE_FEATURE_VERIFICATION")
|
| 246 |
+
elif meaningful_clue(text[m.end():]) and re.search(r"\b(?:to|with|against)\b.*\b(?:Maps|image|photo|picture|streetview)\b",text[m.end():],re.I):
|
| 247 |
+
add_relation(evidence_span(c,start+m.end(),end,"comparison_feature"),
|
| 248 |
+
evidence_span(c,start+m.start(),start+m.end(),"match_report"),"CONCRETE_FEATURE_VERIFICATION")
|
| 249 |
+
|
| 250 |
+
# A hypothesis followed by a bullet list is a source-explicit justification
|
| 251 |
+
# structure. Preserve tentative wording and never invent a second step.
|
| 252 |
+
if re.search(r"(?:^|\n)\s*[-*\d]+[.)]?\s+", masked):
|
| 253 |
+
intro = re.search(r"\bI (?:think|guess|suspect)\b[^\n]{5,160}", masked, re.I)
|
| 254 |
+
if intro and conclusion(intro.group()):
|
| 255 |
+
for m in re.finditer(r"(?:^|\n)\s*[-*\d]+[.)]?\s+(?P<clue>[^\n]{4,180})", masked):
|
| 256 |
+
if m.start() >= intro.end() and meaningful_clue(m.group("clue")) and FEATURE.search(m.group("clue")):
|
| 257 |
+
add_relation(evidence_span(c, *m.span("clue"), "image_clue_asserted"),
|
| 258 |
+
evidence_span(c, *intro.span(), "tentative_hypothesis"), "HYPOTHESIS_JUSTIFICATION_LIST")
|
| 259 |
+
|
| 260 |
+
# Context helps resolve omitted conclusions only when it is the SAME
|
| 261 |
+
# known author on the real ancestor chain. No cross-speaker attribution.
|
| 262 |
+
if not out["relations"] and ancestors and re.search(
|
| 263 |
+
r"\b(?:gave (?:it|that) away|what really did it|were what.*did it)\b", masked, re.I
|
| 264 |
+
) and meaningful_clue(masked) and FEATURE.search(masked):
|
| 265 |
+
for parent in ancestors[:4]:
|
| 266 |
+
if (c.get("author") and c["author"] != "[deleted]" and parent.get("author") == c["author"]
|
| 267 |
+
and parent.get("source_completeness") == "full_snapshot"):
|
| 268 |
+
text = prose_mask(parent["body"])
|
| 269 |
+
if conclusion(text) and not is_explanation_request(text) and not re.search(r"\?", text):
|
| 270 |
+
# Pure map URL has no textual conclusion and is not used.
|
| 271 |
+
candidate = re.search(r"[A-Za-zÀ-ÿ][^\n]{3,180}", text)
|
| 272 |
+
if candidate:
|
| 273 |
+
add_relation(evidence_span(c, 0, len(body), "image_clue_asserted"),
|
| 274 |
+
evidence_span(parent, *candidate.span(), "same_author_prior_answer"), "SAME_AUTHOR_EXPLANATION")
|
| 275 |
+
out["context_used"].append(parent["comment_id"])
|
| 276 |
+
break
|
| 277 |
+
|
| 278 |
+
if TENTATIVE.search(masked):
|
| 279 |
+
out["flags"].append("tentative_or_intermediate_claim")
|
| 280 |
+
if FAILURE.search(masked):
|
| 281 |
+
out["flags"].append("unsuccessful_search_reported")
|
| 282 |
+
# A negative OP response remains a review flag rather than evidence about
|
| 283 |
+
# whether the reasoning text exists. Retain the trace but block release.
|
| 284 |
+
for reply in target.get("direct_replies", []):
|
| 285 |
+
if reply.get("is_op") and re.match(r"\s*(?:no[,.!]|nope|wrong|incorrect|not quite|close\b|almost\b)", reply["body"], re.I):
|
| 286 |
+
out["flags"].append("op_conflict_or_partial_answer")
|
| 287 |
+
if old.get("answer_alignment") in {"contradicted", "suspected_conflict"}:
|
| 288 |
+
out["flags"].append("baseline_answer_conflict")
|
| 289 |
+
|
| 290 |
+
if out["relations"]:
|
| 291 |
+
vague_targets = {"the city", "the country", "the region", "the location", "the place", "here", "there", "this", "it"}
|
| 292 |
+
weak = [r for r in out["relations"] if r["conclusion"]["quote"].strip(" .,!?:;\n").casefold() in vague_targets]
|
| 293 |
+
if weak:
|
| 294 |
+
out["flags"].append("conclusion_location_not_named")
|
| 295 |
+
return stop("location_inference_not_specific_enough")
|
| 296 |
+
if any(x in out["flags"] for x in ("op_conflict_or_partial_answer", "baseline_answer_conflict")):
|
| 297 |
+
return stop("reasoning_present_answer_conflict")
|
| 298 |
+
out.update(route=S2, subtype="source_bound_reasoning_fragment")
|
| 299 |
+
# Distinct searches do not prove a connected chain. Require an
|
| 300 |
+
# explicitly reused named query/result and independent verification.
|
| 301 |
+
queries = [r for r in out["relations"] if r["kind"] in {"EXECUTED_QUERY_RESULT", "TERSE_QUERY_RESULT"}]
|
| 302 |
+
checks = [r for r in out["relations"] if r["kind"] == "CONCRETE_FEATURE_VERIFICATION"]
|
| 303 |
+
for a, b in zip(queries, queries[1:]):
|
| 304 |
+
left = set(re.findall(r"\b[A-Z][a-z]{3,}\b", a["conclusion"]["quote"])) - {"Google", "Maps", "Street", "Found", "Then", "This", "That"}
|
| 305 |
+
right = set(re.findall(r"\b[A-Z][a-z]{3,}\b", b["premise"]["quote"]))
|
| 306 |
+
if left & right and checks and b["premise"]["start"] >= a["conclusion"]["start"]:
|
| 307 |
+
out.update(route=S1, subtype="connected_query_chain_candidate")
|
| 308 |
+
out["chain_join_entities"] = sorted(left & right)
|
| 309 |
+
break
|
| 310 |
+
return out
|
| 311 |
+
if out["operations"]:
|
| 312 |
+
return stop("executed_process_without_proven_relation", S3)
|
| 313 |
+
if MEMORY.search(masked):
|
| 314 |
+
return stop("personal_memory_or_background")
|
| 315 |
+
if body.lstrip().startswith(">") and not masked.strip():
|
| 316 |
+
return stop("quotation_only", S4)
|
| 317 |
+
if re.search(r"\b(?:erected|inaugurated|designed by|was built|is named after|typical .* used to)\b", masked, re.I):
|
| 318 |
+
return stop("background_or_answer_description")
|
| 319 |
+
if re.search(r"\b(?:road|street|drive|lane|avenue)\b", masked, re.I) and not CLUE.search(re.sub(r"\b(?:road|street|drive|lane|avenue)\b", "", masked, flags=re.I)):
|
| 320 |
+
out["flags"].append("address_words_not_visual_evidence")
|
| 321 |
+
if out["flags"] and "generic_clue_relation" in out["flags"]:
|
| 322 |
+
return stop("generic_relation_needs_semantic_review")
|
| 323 |
+
if ancestors:
|
| 324 |
+
return stop("context_present_but_no_source_bound_relation")
|
| 325 |
+
return out
|
| 326 |
+
|
| 327 |
+
|
| 328 |
+
def validate(result, target):
|
| 329 |
+
"""Independent source binding and attribution checks for each output."""
|
| 330 |
+
by_id = {c["comment_id"]: c for c in [target["comment"], *target.get("ancestors", [])]}
|
| 331 |
+
cid = target["comment"]["comment_id"]
|
| 332 |
+
for relation in result["relations"]:
|
| 333 |
+
assert relation["kind"]
|
| 334 |
+
for span in [relation["premise"], relation["conclusion"], *relation["support"]]:
|
| 335 |
+
c = by_id[span["comment_id"]]
|
| 336 |
+
assert 0 <= span["start"] < span["end"] <= len(c["body"])
|
| 337 |
+
assert c["body"][span["start"]:span["end"]] == span["quote"]
|
| 338 |
+
assert c.get("author") == span["actor"]
|
| 339 |
+
if span["comment_id"] != cid:
|
| 340 |
+
assert result["author"] == c.get("author") and result["author"] not in {None,"[deleted]"}
|
| 341 |
+
for op in result["operations"]:
|
| 342 |
+
assert op["comment_id"] == cid
|
| 343 |
+
assert result["body"][op["start"]:op["end"]] == op["quote"]
|
| 344 |
+
if result["route"] in {S1,S2}:
|
| 345 |
+
assert result["relations"]
|
| 346 |
+
assert "op_conflict_or_partial_answer" not in result["flags"]
|
| 347 |
+
if result["route"] == S3:
|
| 348 |
+
assert result["operations"]
|
| 349 |
+
assert result["training_eligibility"] == "not_evaluated"
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/source_recovery_statistics.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index": {
|
| 3 |
+
"input": {
|
| 4 |
+
"path": "D:\\GeoAgent\\Geo-CoT dataset\\reddit数据清洗\\gpt5.6 full\\题图映射清理_20261025\\A_normal_candidate_20261025.jsonl",
|
| 5 |
+
"sha256": "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae",
|
| 6 |
+
"bytes": 417403253,
|
| 7 |
+
"rows": 72170
|
| 8 |
+
},
|
| 9 |
+
"counts": {
|
| 10 |
+
"input_rows": 72170,
|
| 11 |
+
"existing_candidate_marker": 31905,
|
| 12 |
+
"source_posts_found": 72170,
|
| 13 |
+
"source_posts_missing": 0,
|
| 14 |
+
"conflicting_source_posts": 0
|
| 15 |
+
},
|
| 16 |
+
"upstream": {
|
| 17 |
+
"GeoPuzzle": {
|
| 18 |
+
"path": "D:\\GeoAgent\\Geo-CoT dataset\\外网图像地理定位数据收集\\reddit_posts\\solved_communities\\GeoPuzzle\\posts_with_comments.jsonl",
|
| 19 |
+
"wanted": 3003,
|
| 20 |
+
"found": 3003,
|
| 21 |
+
"invalid_json_lines": 0,
|
| 22 |
+
"source_lines": 3567,
|
| 23 |
+
"duplicate_member_lines": 0,
|
| 24 |
+
"status": "indexed",
|
| 25 |
+
"sha256": "f1cc5854d2ec425b3d4ce313f9ac4527f030777de2136dd7293b45342fdff12f",
|
| 26 |
+
"bytes": 88737394
|
| 27 |
+
},
|
| 28 |
+
"whereisthis": {
|
| 29 |
+
"path": "D:\\GeoAgent\\Geo-CoT dataset\\外网图像地理定位数据收集\\reddit_posts\\solved_communities\\whereisthis\\posts_with_comments.jsonl",
|
| 30 |
+
"wanted": 6929,
|
| 31 |
+
"found": 6929,
|
| 32 |
+
"invalid_json_lines": 0,
|
| 33 |
+
"source_lines": 9873,
|
| 34 |
+
"duplicate_member_lines": 0,
|
| 35 |
+
"status": "indexed",
|
| 36 |
+
"sha256": "c3ab67f6e4b4bc0dbd4cb7eab2d1f8fd4f3c9126c63fb5d96fa2e104287fad44",
|
| 37 |
+
"bytes": 152668261
|
| 38 |
+
},
|
| 39 |
+
"PictureGame": {
|
| 40 |
+
"path": "D:\\GeoAgent\\Geo-CoT dataset\\外网图像地理定位数据收集\\reddit_posts\\solved_communities\\PictureGame\\posts_with_comments.jsonl",
|
| 41 |
+
"wanted": 62238,
|
| 42 |
+
"found": 62238,
|
| 43 |
+
"invalid_json_lines": 0,
|
| 44 |
+
"source_lines": 127490,
|
| 45 |
+
"duplicate_member_lines": 0,
|
| 46 |
+
"status": "indexed",
|
| 47 |
+
"sha256": "73f410b73568e0cf29424f532619fdabea69fdae040cc29403d36502924ac420",
|
| 48 |
+
"bytes": 2642968944
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"classification": {
|
| 53 |
+
"local_snapshot": 72170,
|
| 54 |
+
"comments_read": 942881,
|
| 55 |
+
"preview_comments_recovered": 578596,
|
| 56 |
+
"preview_shorter_than_full": 203915,
|
| 57 |
+
"new_target_not_in_preview": 2719,
|
| 58 |
+
"target_not_in_old_cot_ids": 1201,
|
| 59 |
+
"explanation_reply_targets": 5328
|
| 60 |
+
}
|
| 61 |
+
}
|
reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/v9_v10_transition_matrix.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"all_posts": {
|
| 3 |
+
"S1_reasoning_candidate": {
|
| 4 |
+
"S1_reasoning_candidate": 0,
|
| 5 |
+
"S2_reasoning_fragment": 53,
|
| 6 |
+
"S3_process_only": 39,
|
| 7 |
+
"S4_offline_excluded": 447,
|
| 8 |
+
"U_review_or_source_pending": 705
|
| 9 |
+
},
|
| 10 |
+
"S2_reasoning_fragment": {
|
| 11 |
+
"S1_reasoning_candidate": 2,
|
| 12 |
+
"S2_reasoning_fragment": 80,
|
| 13 |
+
"S3_process_only": 79,
|
| 14 |
+
"S4_offline_excluded": 3168,
|
| 15 |
+
"U_review_or_source_pending": 2451
|
| 16 |
+
},
|
| 17 |
+
"S3_process_only": {
|
| 18 |
+
"S1_reasoning_candidate": 0,
|
| 19 |
+
"S2_reasoning_fragment": 5,
|
| 20 |
+
"S3_process_only": 52,
|
| 21 |
+
"S4_offline_excluded": 386,
|
| 22 |
+
"U_review_or_source_pending": 805
|
| 23 |
+
},
|
| 24 |
+
"S4_offline_excluded": {
|
| 25 |
+
"S1_reasoning_candidate": 73,
|
| 26 |
+
"S2_reasoning_fragment": 1877,
|
| 27 |
+
"S3_process_only": 4813,
|
| 28 |
+
"S4_offline_excluded": 36028,
|
| 29 |
+
"U_review_or_source_pending": 21107
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"marked_candidate_subgroup": {
|
| 33 |
+
"S4_offline_excluded": {
|
| 34 |
+
"S1_reasoning_candidate": 73,
|
| 35 |
+
"S2_reasoning_fragment": 1815,
|
| 36 |
+
"S3_process_only": 4661,
|
| 37 |
+
"S4_offline_excluded": 12291,
|
| 38 |
+
"U_review_or_source_pending": 13065
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
}
|
reddit/cleaned/A_pool/latest.json
CHANGED
|
@@ -1,12 +1,27 @@
|
|
| 1 |
-
{
|
| 2 |
-
"version": "
|
| 3 |
-
"directory": "reddit/cleaned/A_pool/
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "20261029/offline_cot_filter_v10_4_2",
|
| 3 |
+
"directory": "reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2",
|
| 4 |
+
"rule_version": "offline-cot-full-source.v10.4.1",
|
| 5 |
+
"status": "offline_repartitioned_pending_human_review",
|
| 6 |
+
"input_rows": 72170,
|
| 7 |
+
"post_tiers": {
|
| 8 |
+
"S1_reasoning_candidate": 75,
|
| 9 |
+
"S2_reasoning_fragment": 2015,
|
| 10 |
+
"S3_process_only": 4983,
|
| 11 |
+
"S4_offline_excluded": 40029,
|
| 12 |
+
"U_review_or_source_pending": 25068
|
| 13 |
+
},
|
| 14 |
+
"comment_routes": {
|
| 15 |
+
"S4_offline_excluded": 887879,
|
| 16 |
+
"S2_reasoning_fragment": 2135,
|
| 17 |
+
"U_review_or_source_pending": 47641,
|
| 18 |
+
"S3_process_only": 5150,
|
| 19 |
+
"S1_reasoning_candidate": 76
|
| 20 |
+
},
|
| 21 |
+
"diagnostic_s3_followup": "reddit/cleaned/A_pool/20261029/offline_cot_filter_v10_4_2/diagnostics/s3_followup_v2",
|
| 22 |
+
"production_tiers_changed_by_s3_followup": false,
|
| 23 |
+
"human_precision": "not_measured",
|
| 24 |
+
"human_recall": "not_measured",
|
| 25 |
+
"model_calls": 0,
|
| 26 |
+
"input_sha256": "2878f3bf9cc3a4acb2072ffcacc55604f8e70c4bad34039cc8aad1778528caae"
|
| 27 |
+
}
|