Skip to content

fix(eval): reject top-level experiment authoring#1728

Merged
christso merged 1 commit into
mainfrom
av-ibec-remove-experiment
Jul 7, 2026
Merged

fix(eval): reject top-level experiment authoring#1728
christso merged 1 commit into
mainfrom
av-ibec-remove-experiment

Conversation

@christso

@christso christso commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Authored eval YAML now hard-rejects top-level experiment instead of treating it as a run label. The supported authoring path is tags.experiment, while CLI --experiment and runtime/result artifact experiment metadata stay intact for run-time grouping and Dashboard comparison.

The schema, validator, YAML parser, config loader, and SDK authoring helper now produce migration guidance that points users to tags.experiment or CLI --experiment. Public docs, AI-facing eval-writing guidance, migration notes, and the generated eval JSON schema were updated to stop teaching top-level experiment.

Validation

  • PASS bun --cwd packages/core test ./test/evaluation/validation/eval-file-schema.test.ts ./test/evaluation/validation/eval-validator.test.ts ./test/evaluation/eval-inline-experiment.test.ts ./test/evaluation/yaml-parser-tags-map.test.ts
  • PASS bun --cwd packages/sdk test ./test/eval-authoring.test.ts
  • PASS bun --cwd apps/cli test ./test/commands/eval/tag-filtering.test.ts ./test/commands/eval/pipeline/input.test.ts
  • PASS bun run validate:eval-schema
  • PASS bun run typecheck
  • PASS bun run lint
  • PASS git diff --check

After fixing the CI lint formatting failure, I also reran:

  • PASS bun --cwd packages/core test ./test/evaluation/validation/eval-file-schema.test.ts

Extra check: bun run validate:examples still fails on examples/showcase/multi-model-benchmark/evals/benchmark.eval.yaml because it uses an object-shaped evaluate_options.repeat; that same file is identical on origin/main, so I left it out of this scoped PR.

Live provider dogfood was not run because this change stays at authored schema/parser/docs validation boundaries. It does not change eval execution, provider runtime, graders, or artifact writing; CLI --experiment coverage is exercised by the focused CLI tests above.

Post-Deploy Monitoring & Validation

No additional operational monitoring required. This is a local validation and authoring-contract change with no service runtime path; CI should verify schema generation, typecheck, lint, and tests on the PR.

Related

Related: Bead av-ibec


Compound Engineering
Codex

@christso christso force-pushed the av-ibec-remove-experiment branch from cd19766 to 24e51d4 Compare July 7, 2026 13:52
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 7, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 24e51d4
Status: ✅  Deploy successful!
Preview URL: https://90198b48.agentv.pages.dev
Branch Preview URL: https://av-ibec-remove-experiment.agentv.pages.dev

View logs

@christso christso merged commit ba7993e into main Jul 7, 2026
9 checks passed
@christso christso deleted the av-ibec-remove-experiment branch July 7, 2026 13:55
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