feat: 清理调用链顺序异常和重复节点 - #82
Open
ii76 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
本 PR 完成 Issue #5,实现对
data/entries.jsonl中调用链顺序异常和重复节点的检测与清理。主要变更:
scripts/fix_trace.py--input、--output、--log、--report和--mode参数check和fix两种模式,默认使用保守的check模式{file, line, code}完全相同检测 trace 内部重复节点desc不同时标记need_manual_review=true"start-end"区间行号README_trace_fix.md说明运行方式、处理策略和当前限制输出文件
outputs/entries.trace_fixed.jsonloutputs/trace_fix_log.csvoutputs/trace_fix_report.json验证结果
check模式输出与原始data/entries.jsonl一致data/entries.jsonl未被修改重点样本
已单独统计并验证:
entry-00103entry-00320entry-00511entry-00185测试方式