spec: local eval runner & vendor-neutral adapter layer#5
Open
sunilgattupalle wants to merge 2 commits into
Open
spec: local eval runner & vendor-neutral adapter layer#5sunilgattupalle wants to merge 2 commits into
sunilgattupalle wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> AI-Session-Id: 5f382a59-4928-47f9-bc96-a1159c13c50e AI-Tool: claude-code AI-Model: unknown
- Add _TARGETS, _METRICS, _BASELINE_STORES registries to plugins.py - Add register_target, register_metric, register_baseline_store decorators - Add target/metric/baseline columns to adapter registry table - Define Golden.input serialisation contract in PromptTarget (json.dumps for non-str) - Define gate_against_baseline() contract (BaselineRegressionError, CLI exit code) - Specify datasets.py → datasets/ migration must be atomic with back-compat re-exports - Clarify "zero-dependency" as zero external account; LLM metrics need [llm] extra Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> AI-Session-Id: 5f382a59-4928-47f9-bc96-a1159c13c50e AI-Tool: claude-code AI-Model: unknown
|
|
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.
Summary
specs/2026-06-16-local-eval-runner-design.md— full design spec for the local eval runner, source adapters, targets, importers, config runner, and CLIedit prompt → harness-evals run my-eval.yaml → diff scores against baselineKey design decisions
BaseDatasetSource,BasePromptSource,BaseEvalCaseSource,BaseEvalConfigSource) +BaseTarget— all vendor-neutral_TARGETS,_METRICS,_BASELINE_STORESso third parties can extend every layer without forkingResourceRef+ dual-syntaxresolve()(URI shorthand or typed block)MissingAdapterErrorat config-load time (not a crypticImportErrorat execution)HttpTargetv1: bearer/api_key/basic auth; OAuth/mTLS deferreddatasets.py→datasets/package migration must be atomic with back-compat re-exportsGolden.inputserialisation contract:json.dumpsfor non-string inputs inPromptTargetgate_against_baseline()raisesBaselineRegressionError; CLI exits non-zeroReviewed by
Test plan
specs/2026-06-16-local-eval-runner-design.md🤖 Generated with Claude Code