Repository navigation
feat: Phase G G4 active-learning strategy comparison report - #768
Merged
Merged
Conversation
…ts one-selector bias
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.
Change
Add active-learning strategy comparison report (
openamp-foundry bench strategy-compare) that compares 5 selection strategies (exploitation, exploration, diversity, combined, random) on the same synthetic pool with identical hidden active candidates.Why
Prevents one-selector bias by making strategy performance transparent. Until now, only the combined production selector was benchmarked against random. This report lets reviewers see whether simpler strategies (pure exploitation, pure exploration, pure diversity) outperform or underperform the production selector on the same recovery task.
What
src/openamp_foundry/active_learning/strategy_comparison.py—run_strategy_comparison()generates synthetic pool, runs 5 strategies, produces structured comparison report with per-strategy metrics, ranking by recall, and production selector vs pure-strategy comparisons.schemas/active_learning_strategy_comparison.schema.json— JSON Schema Draft 2020-12.openamp-foundry bench strategy-comparewith flags for pool size, hidden actives, batch size, rounds, and JSON/Markdown output.make bench-strategy-compareMakefile target.Evidence
make agent-checkpassesSafety impact
None. This is a computational comparison report using synthetic data. No biological claims, no release changes, no policy changes.
Proof level
N/A — no scientific claims. Informational comparison of algorithm variants.
Limitations
Human review needed
No — informational infrastructure only.