Skip to content

fix: clean up trace order anomalies and duplicate nodes #5 - #66

Open
Dametime-0 wants to merge 1 commit into
Tencent:mainfrom
Dametime-0:fix/trace-cleanup
Open

Dametime-0 wants to merge 1 commit into
Tencent:mainfrom
Dametime-0:fix/trace-cleanup

Conversation

@Dametime-0

Copy link
Copy Markdown
  • Add trace_fixer.py: detect & fix trace structural issues

    • Fix 4 order anomalies in verify=0 entries
    • Fix 7 internal duplicates across all entries
    • Output detailed fix log and report

    新增内容

    • 新增 tools/trace_fixer.py:自动检测并清理 trace 调用链的顺序异常和重复节点
    • 新增 tools/README_trace_fixer.md:工具使用说明
    • 生成修复后数据 data/entries.trace_fixed.jsonl

    修复结果

    内部重复节点(已移除):7
    顺序异常(已移除,仅 verify=0):4
    顺序异常(保留,人工已确认):351
    跨字段重复(保留,不一定是错误):563

    修复后数据通过 SCHEMA.md 全部 9 条不变量验证

    Closes 【2026犀牛鸟】清理 VulnGym 调用链顺序异常和重复节点 #5

@Dametime-0 Dametime-0 changed the title fix: clean up trace order anomalies and duplicate nodes (#5) fix: clean up trace order anomalies and duplicate nodes Jul 23, 2026
@Dametime-0 Dametime-0 changed the title fix: clean up trace order anomalies and duplicate nodes fix: clean up trace order anomalies and duplicate nodes #5 Jul 23, 2026
  - Add trace_fixer.py: detect & fix trace structural issues
  - Fix 4 order anomalies in verify=0 entries
  - Fix 7 internal duplicates across all entries
  - Output detailed fix log and report

  Closes Tencent#5

  Co-Authored-By: Claude <noreply@anthropic.com>
@Dametime-0 Dametime-0 closed this Jul 23, 2026
@Dametime-0
Dametime-0 deleted the fix/trace-cleanup branch July 23, 2026 10:20
@Dametime-0
Dametime-0 restored the fix/trace-cleanup branch July 23, 2026 10:20
@Dametime-0 Dametime-0 reopened this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

【2026犀牛鸟】清理 VulnGym 调用链顺序异常和重复节点

2 participants