feat(M92): Test Suite Generation from Divergent Samples#199
Open
hlin99 wants to merge 2 commits into
Open
Conversation
hlin99-Review-Bot
previously requested changes
Apr 6, 2026
hlin99-Review-Bot
left a comment
There was a problem hiding this comment.
CI lint job is failing — isort found incorrectly sorted imports in two files:
src/xpyd_acc/cli/__init__.pytests/test_test_suite_gen.py
Please run isort src tests and push the fix. All other checks (tests on 3.10/3.11/3.12) pass ✅
Member
Author
|
Fixed in |
- generate_suite() extracts divergent samples from batch reports into reusable JSONL datasets - SuiteEntry and GenerateSuiteConfig dataclasses for structured suite generation - Filters: --classification, --min-logprob-gap, --max-samples, --include-expected - write_suite() outputs JSONL compatible with batch-compare --dataset - format_suite_summary() for human-readable generation summary - CLI: xpyd-acc generate-suite --report <path> --output <path> - 18 tests covering generation, filtering, round-trip, file I/O, formatting - Updated ROADMAP.md: M91 ✅, added M92
00d4ed8 to
a50102a
Compare
Member
Author
|
Fixed: Rebased onto latest main (was 2 commits behind). isort check passes. Ready for review. |
isort issues fixed in commit 00d4ed8
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.
Closes #198
M92: Test Suite Generation from Divergent Samples
Generate reusable test datasets from divergent samples in batch reports.
Changes
test_suite_gen.py:generate_suite(),write_suite(),format_suite_summary(),SuiteEntry,GenerateSuiteConfigxpyd-acc generate-suite --report <path> --output <path>--classification,--min-logprob-gap,--max-samples,--include-expectedbatch-compare --datasetTesting