Repository navigation
Revert returndup to default-off — decbench re-run showed it regressed aggregate GED (~976 fewer perfect) - #136
Merged
Merged
Conversation
…howed it regressed aggregate GED The decbench re-run on the newest kuna measured returndup default-on REGRESSING the aggregate GED perfect-structure count by ~976 (it fired 21768x across 550 binaries; early-return recovery diverges from the source's merged short-circuit form on the majority, where the source did not use early returns — the exact runtime-choice risk). Revert to the #124 opt-in state (default-off, byte-identical to upstream): - architecture.rs: duplicate_shared_returns default false; stages.toml default off + use_when reframed as a per-function RUNTIME CHOICE; stage_catalog.json regenerated. - Removed the now-redundant per-test opt-outs: 16 datatests + 8 stage tests (<com>option returndup off</com>) and 4 golden Rust byte-tests (the arch. duplicate_shared_returns=false render pins) — default-off already matches upstream, so the corpus stays byte-identical without them. - DIV-18 marked REVERTED (rationale preserved). ghangr-returndup.xml (the two-pass feature test) unchanged. returndup stays agent-flippable (--option returndup on). Gates: make test 675/675 PARITY OK, make test-stages 254/254 PARITY OK. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_018DV2MXxQAAWK7xLPBmsq9J
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.
The decbench re-run on the newest kuna measured
returndupdefault-on regressing the aggregate GED perfect-structure count by ~976 — it fired 21,768× across 550 binaries, and early-return recovery diverges from the source's merged short-circuit form on the majority (where the source did not use early returns). That's the exact runtime-choice risk we flagged; the benchmark confirmed it costs more than it earns on aggregate.Revert (back to the #124 opt-in state — byte-identical to upstream)
duplicate_shared_returnsdefault → false;stages.tomldefault → off,use_whenreframed as a per-function runtime choice;stage_catalog.jsonregenerated.option returndup off) and 4 golden byte-tests (thearch.duplicate_shared_returns = falserender pins) — default-off already matches upstream, so the corpus stays byte-identical without them.ghangr-returndup.xmltwo-pass feature test is unchanged.returndupstays fully agent-flippable (--option returndup on) for functions where the early-return form matches the source.Gates
make test675/675 PARITY OK (byte-identical to upstream),make test-stages254/254 PARITY OK,make rust-testgreen.🤖 Generated with Claude Code
https://claude.ai/code/session_018DV2MXxQAAWK7xLPBmsq9J