You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
agent find: the struct_field eval scenario reports gap line 10 twice on main #14713
On current main (d7d14e3), cargo xtask agent-eval reports the struct_field scenario's agent-format find output with the same gap line twice: reported_gap_lines: [10,10], gaps_header: 2, extra_gaps: 1. The scenario keys one gap at line 10. The checked-in benchmarks/agent_eval/baseline.json (generated at 84e04b2) still records [10] with gaps_header: 1, so this appeared between that commit and current main.
Evidence
A ripr binary built from origin/main d7d14e3, run through cargo xtask agent-eval --ripr <main binary> --scenario struct_field --skip-cargo, reports [10,10]. The find step grew from 277 to 370 est. tokens against the old baseline.
One gap row per distinct gap line, as for the other scenarios, or two rows only when they name distinct seams an agent must act on separately. Worth checking which seam kinds the two rows carry before folding them.
Separate from #14701 (the struct_field reference test not closing the loop), which stays as it is.
For the existing #14713 claimant: #14726 has the current reconciliation handoff. The #14706 closeout reports a passing focused changed-field case, but the subsequent whole-scenario replay still reports struct_field closure false with two line-10 rows. Please keep one investigation: identify each row by seam identity and compare the actual post-reference rows using the same pinned binary, route and fixture as the focused result. Keep the sibling-only assertion as the negative control. No baseline refresh or second repair branch is implied.
Cause. The two line-10 rows were two different seams over one changed initializer, verbose: flag == "-v" || flag == "--verbose",:
a field_construction row (probe:…:field_construction), whose missing value is the whole initializer;
a predicate row over flag == "-v" || flag == "--verbose".
Both were weakly exposed with the same related test and the same stages. The only difference was the test's miss= wording (missing_exact_assertion vs observation_unconfirmed), which is why the #14338 identical-row fold left them apart.
Fix. The agent renderer folds the predicate row into the field row only when all of these hold:
the field expression is exactly one <field>: <value> initializer and the predicate is <value>;
class, FILE:LINE, strongest test (file, line, name, oracle kind, oracle) and stages= all match;
the predicate names no missing value of its own;
every missing line the predicate carries is also on the field row, so predicate-only advice such as the boundary-input line keeps its row.
The folded row counts under folded_gaps=. JSON and verify= still count both findings.
Measured on the merged head (6e8f239).cargo xtask agent-eval reports struct_fieldreported_gap_lines [10] (was [10,10]), extra_gaps 0 (was 1), and 278 find tokens (was 370).
Still open, and not addressed here.reference_test_closes_loop stays false. After the reference test (assert!(options_from_flag("--verbose").verbose); assert!(!options_from_flag("-q").verbose);), the rows look like this, from the same binary and fixture:
the field row becomes exposed;
the predicate row stays weakly_exposed, with its test eval_reference relational_check and missing=Check unconfirmed: no supported assertion that distinguishes the changed behavio….
So the remaining row after the reference is the predicate seam, a classifier question about bool-field truthiness assertions. That stays with the #14726 / #14701 owners. Closing this issue for the duplicate-row acceptance.
Activity
EffortlessSteven commentedon Nov 14, 2026
Claiming this: the thread that filed it (from #14708) will investigate which seam kinds the two line-10 rows carry and open a fix PR.
Generated by Claude Code
EffortlessSteven commentedon Nov 15, 2026
For the existing #14713 claimant: #14726 has the current reconciliation handoff. The #14706 closeout reports a passing focused changed-field case, but the subsequent whole-scenario replay still reports
struct_fieldclosure false with two line-10 rows. Please keep one investigation: identify each row by seam identity and compare the actual post-reference rows using the same pinned binary, route and fixture as the focused result. Keep the sibling-only assertion as the negative control. No baseline refresh or second repair branch is implied.bench(agent-eval): refresh baseline after merging main (#14713)
EffortlessSteven commentedon Nov 17, 2026
Landed in #14949 (squash 3a14d2f on main).
Cause. The two line-10 rows were two different seams over one changed initializer,
verbose: flag == "-v" || flag == "--verbose",:field_constructionrow (probe:…:field_construction), whose missing value is the whole initializer;predicaterow overflag == "-v" || flag == "--verbose".Both were weakly exposed with the same related test and the same stages. The only difference was the test's
miss=wording (missing_exact_assertionvsobservation_unconfirmed), which is why the #14338 identical-row fold left them apart.Fix. The agent renderer folds the predicate row into the field row only when all of these hold:
<field>: <value>initializer and the predicate is<value>;FILE:LINE, strongest test (file, line, name, oracle kind, oracle) andstages=all match;missingline the predicate carries is also on the field row, so predicate-only advice such as the boundary-input line keeps its row.The folded row counts under
folded_gaps=. JSON andverify=still count both findings.Measured on the merged head (6e8f239).
cargo xtask agent-evalreportsstruct_fieldreported_gap_lines[10] (was [10,10]),extra_gaps0 (was 1), and 278 find tokens (was 370).Still open, and not addressed here.
reference_test_closes_loopstaysfalse. After the reference test (assert!(options_from_flag("--verbose").verbose); assert!(!options_from_flag("-q").verbose);), the rows look like this, from the same binary and fixture:exposed;weakly_exposed, with its testeval_reference relational_checkandmissing=Check unconfirmed: no supported assertion that distinguishes the changed behavio….So the remaining row after the reference is the predicate seam, a classifier question about bool-field truthiness assertions. That stays with the #14726 / #14701 owners. Closing this issue for the duplicate-row acceptance.
Generated by Claude Code