refactor(core): rename Evaluator to Grader across codebase#1111
Draft
refactor(core): rename Evaluator to Grader across codebase#1111
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Deploying agentv with
|
| Latest commit: |
e3416de
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://95c5fa6a.agentv.pages.dev |
| Branch Preview URL: | https://feat-1109-rename-evaluator-g.agentv.pages.dev |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #1109
Summary
This is the hard rename from Evaluator to Grader across the codebase.
Evaluator*/evaluators/toGrader*/graders/defineCodeJudge/CodeJudgeHandler/runCodeJudge-style aliases and related evaluator-era exportsscores[].type,evaluation/, and theevaluate()APIBreaking change
This PR intentionally hard-removes the old TypeScript symbol names and deep import paths. There are no backcompat aliases.
Evaluator(interface)GraderEvaluatorKindGraderKindEVALUATOR_KIND_VALUESGRADER_KIND_VALUESEvaluatorRegistryGraderRegistryFieldAccuracyEvaluatorFieldAccuracyGraderSkillTriggerEvaluatorSkillTriggerGraderCodeEvaluatorCodeGraderLlmGraderEvaluatorLlmGraderToolTrajectoryEvaluatorToolTrajectoryGraderTokenUsageEvaluatorTokenUsageGraderLatencyEvaluatorLatencyGraderCostEvaluatorCostGraderInlineAssertEvaluatorInlineAssertGraderCompositeEvaluatorCompositeGraderExecutionMetricsEvaluatorExecutionMetricsGraderDeterministicAssertionEvaluatorDeterministicAssertionGraderdefineCodeJudge(@agentv/eval)defineCodeGrader@agentv/core/.../evaluators/....../graders/...Verification
bun run buildbun run typecheckbun run lintbun run testbun run validate:examplesexamples/features/execution-metrics/evals/dataset.eval.yaml --test-id simple-thresholds-passconfirmed identicalscores[].typeoutput (["execution-metrics"]) onorigin/mainand this branchLive eval artifacts
/home/christso/.copilot/session-state/264152e9-2410-40ef-9068-b7b31da6998e/files/issue-1109-live-eval/main/index.jsonl/home/christso/.copilot/session-state/264152e9-2410-40ef-9068-b7b31da6998e/files/issue-1109-live-eval/worktree/index.jsonl