docs(adr): specify Promptfoo grading output contract - #1649
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
a4bdd4b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5442eaab.agentv.pages.dev |
| Branch Preview URL: | https://promptfoo-output-contract-ad.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.
Summary
The Promptfoo alignment docs now separate authored YAML compatibility from AgentV's canonical result artifacts. ADR 0017 specifies the major-version public
grading.jsoncontract as aggregatepass/score/reasonplus always-presentgraders[]and nestedchecks[], while explicitly rejecting legacy public aliases such asassertion_results,assertions,passed-only, top-levelchecks, and dynamic single-grader shapes.This also records why Promptfoo's export/internal result format is inspiration rather than AgentV's artifact contract: AgentV borrows the clean aggregate grading vocabulary and component-breakdown idea, then keeps the filesystem/Git-native split run bundle as the source of truth. Summary and index guidance now prefers
pass_rate,pass_count,sample_count, andpassed/pass_any, reservingpass_at_kfor true sampling metrics with a realk.The older restructure plan is marked as historical for the stale grading/pass@k sections, and the review-summary plan now states that Beads are the implementation source of truth while PRs and plans summarize them for review.
Scope
av-kfik.28.2throughav-kfik.28.7open for the sequenced implementation work.Validation
bun installto hydrate the worktree dependencies; no lockfile changes.bun run lint.git diff --check.lychee-action, and nolycheebinary is installed in this worktree.Post-Deploy Monitoring & Validation
No additional operational monitoring required. This is a docs/ADR/spec-only change and has no runtime, deploy, API, CLI, artifact-writer, or Dashboard behavior.
Related
Related:
av-kfik.28.1.