Repository navigation
feat(benchmarks): explicit agent pin on benchmark datasets; scaffold generates the decoupled layout #2724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat(benchmarks): explicit agent pin on benchmark datasets; scaffold generates the decoupled layout #2724
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6cd704c
feat(benchmarks): explicit agent pin on benchmark datasets; scaffold …
adil-a e84a7b7
fix(eval): prepare_benchmark discovers RS-declared benchmark datasets
adil-a 3560c49
fix(data): exclude the agent pin from metrics-sidecar dataset dumps
adil-a 830ccf1
docs(benchmarks): agent pin is an escape hatch for ambiguous configs,…
adil-a 40e08c3
chore(scaffold): stop emitting the agent pin on scaffolded benchmark …
adil-a 151f1ed
fix(benchmarks): share one dataset->agent resolver across discovery, …
adil-a File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider this configuration:
Discovery honors the pin and selects
agent_b. Collation then emits only:{"task_source": "shared_rs"}At rollout time,
resolve_task_sources()asks which agents referenceshared_rs. It finds bothagent_aandagent_b, no longer has the pin, and rejects the row as ambiguous.We should propagate the pin into the runtime routing, equivalent to:
along with the discovery -> collate -> rollout test for this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed and fixed in fcce242. Rather than materializing an implicit
agent_map,resolve_task_sources()now resolves through the same shared resolver, reading theagent:pin back off the declaring instance in the merged config — so this config routes toagent_bend to end (an explicit+agent_mapstill overrides). Conflicting pins across one instance's datasets are a hard error, since rows carry onlytask_source. Discovery → collate → rollout test added:test_pin_survives_discovery_collate_and_rollout(real collate stamping, real dispatch resolution).