Repository navigation
Automate local source preparation and bounded near-match repairs - #135
Merged
Merged
Conversation
Try unused scalar locals, local and parameter storage, and adjacent declaration order through shared ROM/imported deterministic repairs. Preserve source lines, opaque comments and shared headers. Prioritize storage families for stack diffs. Rotate two cached debug/optimization flag probes per pass on close ROM misses, require exact evidence and respect manual compiler approval. Existing compile/time budgets and exact judges remain in place.
…permuter # Conflicts: # src/decompnet/app/repair_ranking.py
…permuter # Conflicts: # ROADMAP.md # tests/test_repair_feedback.py
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.
Summary
Add a free preparation → deterministic repair → random permutation pipeline for unmatched functions, using the existing exact judges throughout.
Local source preparation
Better bounded free search
/api/permuterstart/stop and/api/source-preparationconfiguration/job endpoints.Verification
uv run ruff check src tests projectsandgit diff --check.uv run pytest --lf -q: 4 passed). The fixes preserve branch-repair priority, include baseline compiles in the trial budget, and retain default-weight random batches.Usage and limits
See Local source preparation. Users still need correct reference mappings and retail declarations/macros; source from a different version does not guarantee a match. Accepted source/declarations become normal project work and therefore appear in saved/exported projects, while reference paths and configuration stay local. Whole-image verification remains a separate gate.