Skip to content

refactor: complete vocabulary renames — BenchmarkSpec→EvalSpec, TestRunner→EvalRunner (#166)#222

Merged
spboyer merged 3 commits into
mainfrom
squad/166-vocabulary-renames
Apr 22, 2026
Merged

refactor: complete vocabulary renames — BenchmarkSpec→EvalSpec, TestRunner→EvalRunner (#166)#222
spboyer merged 3 commits into
mainfrom
squad/166-vocabulary-renames

Conversation

@spboyer
Copy link
Copy Markdown
Member

@spboyer spboyer commented Apr 22, 2026

Closes #166

Summary

Completes the vocabulary rename from Benchmark/Test terminology to Eval/Task terminology across the Go codebase.

Renames performed

Old Name New Name File
BenchmarkSpec EvalSpec internal/models/spec.go
LoadBenchmarkSpec LoadEvalSpec internal/models/spec.go
BenchmarkConfig EvalConfig internal/config/config.go
NewBenchmarkConfig NewEvalConfig internal/config/config.go
TestRunner EvalRunner internal/orchestration/runner.go
TestStimulus TaskStimulus internal/models/testcase.go
TestExpectation TaskExpectation internal/models/testcase.go

Backward compatibility

  • Type aliases (type BenchmarkSpec = EvalSpec, etc.) provided for all renamed exports
  • Wrapper functions (LoadBenchmarkSpec, NewBenchmarkConfig, NewTestRunner) delegate to new names
  • YAML tags unchanged — eval YAML files remain fully compatible
  • JSON tags unchanged — results JSON remains fully compatible
  • TestCase intentionally NOT renamed (Go convention, deeply embedded)

Verification

  • go build ./...
  • go test ./... ✅ (all 48 packages pass)
  • go vet ./...
  • README.md and AGENTS.md updated

35 files changed across cmd/, internal/, docs.

…unner→EvalRunner (#166)

Rename Go identifiers to align with eval/task vocabulary:
- BenchmarkSpec → EvalSpec (models/spec.go)
- LoadBenchmarkSpec → LoadEvalSpec (models/spec.go)
- BenchmarkConfig → EvalConfig (config/config.go)
- NewBenchmarkConfig → NewEvalConfig (config/config.go)
- TestRunner → EvalRunner (orchestration/runner.go)
- TestStimulus → TaskStimulus (models/testcase.go)
- TestExpectation → TaskExpectation (models/testcase.go)

All YAML and JSON struct tags are unchanged for backward compatibility.
Type aliases and wrapper functions provided for all renamed exports.
TestCase intentionally NOT renamed (Go convention, too deeply embedded).
Updates README.md and AGENTS.md to reflect new names.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot enabled auto-merge (squash) April 22, 2026 21:16
Copilot AI added 2 commits April 22, 2026 17:16
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@spboyer spboyer merged commit 5c2ee8f into main Apr 22, 2026
6 checks passed
@spboyer spboyer deleted the squad/166-vocabulary-renames branch April 22, 2026 21:24
github-actions Bot pushed a commit that referenced this pull request Apr 28, 2026
- Add .agent.md coverage to quick-start.mdx, getting-started.mdx,
  docs/GETTING-STARTED.md, docs/GUIDE.md, docs/TUTORIAL.md for #226
- Add custom-agent, required-skills-demo, rubrics to examples/README.md
- Update mock engine description in docs/INTEGRATION-TESTING.md and
  eval-yaml.mdx to reflect #228 file content echo behavior
- No stale BenchmarkSpec/TestRunner refs found (#222 rename was thorough)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

chore: Redo vocabulary renames (Benchmark/Test to Eval/Run) from fresh main

2 participants