Surface XGEN equivalence diagnostics - #47
Closed
SonAIengine wants to merge 1 commit into
Closed
Conversation
Owner
Author
|
Closing this internal stacked PR as superseded by the current main branch. The branch is preserved for history. |
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
target_equivalence_groupsandtarget_equivalence_group_countin XGEN deterministic target selector diagnosticsWhy
PR #46 exposes product-neutral tool equivalence evidence. This PR wires that evidence into the XGEN-style benchmark artifacts so adapter/UI/SSE work can consume it from the same target selector diagnostics path instead of recomputing it.
Candidate selection behavior is unchanged. The new fields are diagnostic/evidence only.
Evidence
Built-in deterministic suite:
poetry run python -m benchmarks.xgen_tool_graph.run --suite all --json > /tmp/gtc-xgen-equivalence-diagnostics.jsonObserved top-level summary:
avg_target_equivalence_group_count:0.333333target_equivalence_group_case_count:5Validation
poetry run pytest tests/test_xgen_tool_graph_benchmark.py tests/test_xgen_api_scale_benchmark.py -qpoetry run ruff check .poetry run ruff format --check .poetry run pytest tests/ -q(957 passed, 3 skipped)