fix(evaluator): 支持区间行号匹配#44
Open
Qiyuanqiii wants to merge 1 commit into
Open
Conversation
Qiyuanqiii
marked this pull request as ready for review
July 14, 2026 13:45
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.
问题是什么?
SCHEMA.md从 v0.1.2 起允许节点行号使用正整数或"start-end"区间,但examples/evaluate.py仍通过int(line)读取行号。只要 ground truth 的entry_point或critical_operation使用区间,匹配就会直接失败。当前
data/entries.jsonl中:"112-119"。如何修复?
"start-end"的统一行号解析。|line_F - line_E|。line_zero_policy和skipped_entries_line_zero字段,并增加区间匹配策略信息。兼容性
本 PR 不改变路径、仓库、commit、entry point / critical operation 方向或默认容差规则。现有纯整数 finding 的匹配结果保持不变。
验证命令
验证结果:
验证截图