Skip to content

fix(metadata): guess outputs from parent only for undeclared benchmarks - #267

Draft
KartikP wants to merge 2 commits into
unified-model-interface-v2from
test/audit3-checks-test-the-rule
Draft

KartikP wants to merge 2 commits into
unified-model-interface-v2from
test/audit3-checks-test-the-rule

Conversation

@KartikP

@KartikP KartikP commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

requested_output_channels_for_score guessed the requested outputs from the parent text also for a benchmark that declares its channels (for example an empty output declaration, or inputs with no outputs). Rule 5.6: a declaration is read, never guessed. The guess now stays only for a benchmark that declares no channels (a legacy benchmark), with the same test as mark_legacy_benchmark.

A new test failed first on the tip ({'behavior'} == set()) and passes now. Only the requested_outputs stamp of a declaring benchmark with no declared outputs changes; no score value moves; legacy benchmarks keep their stamp.

A benchmark that declares its channels is stamped with its declaration;
the parent text guess stays only for legacy benchmarks (rule 5.6).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant