Skip to content

refactor: rename dataset to suite across codebase#944

Merged
christso merged 4 commits intomainfrom
refactor/943-dataset-to-suite
Apr 5, 2026
Merged

refactor: rename dataset to suite across codebase#944
christso merged 4 commits intomainfrom
refactor/943-dataset-to-suite

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 5, 2026

Summary

  • Renames datasetsuite in core types (EvalTest.suite, EvaluationResult.suite), wire format (JSONL suite field), CLI flags (--group-by suite, --suite), Studio UI (routes /suite/, labels "Suites", API /suites), OTel attributes, example baselines, docs, and plugin skill files
  • Hard deprecation — no backward-compat aliases for dataset
  • Also fixes pre-existing cross-platform path issue in pi-coding-agent tests

103 files changed across packages/core/, apps/cli/, apps/studio/, apps/web/, examples/, and plugins/.

Closes #943

Test plan

  • bun run build — passes
  • bun run typecheck — passes (core)
  • bun run lint — passes
  • bun run test — 1745 tests pass (1363 core + 382 CLI), 0 fail
  • bun run validate:examples — 53/53 valid
  • Pre-push hooks all pass

🤖 Generated with Claude Code

christso and others added 3 commits April 5, 2026 09:33
An eval file is a test suite (lifecycle hooks, workspace setup/teardown,
execution config), not a dataset (passive input/output pairs). This
renames the `dataset` field to `suite` everywhere:

- Core types: EvalTest.suite, EvaluationResult.suite
- Wire format: JSONL results write `suite` field
- CLI: --group-by suite, --suite flag, trace/trend/pipeline commands
- Studio UI: routes /suite/, labels "Suites", API endpoints /suites
- OTel: agentv.suite attribute
- Example baseline JSONL files updated
- Documentation and plugin skill files updated

Hard deprecation — no backward-compat aliases for `dataset`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The tests used hardcoded Windows backslash paths which fail on Linux.
Use path.join and path.sep for cross-platform compatibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Explains the suite concept as requested in #943 comment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 5, 2026

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 649edf6
Status: ✅  Deploy successful!
Preview URL: https://0cc6458a.agentv.pages.dev
Branch Preview URL: https://refactor-943-dataset-to-suit.agentv.pages.dev

View logs

- Fix missed verbose log "JSONL Dataset:" → "JSONL Suite:" in jsonl-parser
- Clean up stale "legacy" comment in discover.ts
- Rename internal datasetFile/datasetFilePath vars in check-eval-baselines script

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@christso christso merged commit 312cee3 into main Apr 5, 2026
4 checks passed
@christso christso deleted the refactor/943-dataset-to-suite branch April 5, 2026 09:59
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.

refactor: rename dataset to suite across codebase

1 participant