evals: benchmark matrix (model × harness × tool_surface) + Braintrust routing + STAGEHAND_V4_SDK_PATH#2390
Draft
shriyatheunicorn wants to merge 1 commit into
Conversation
|
shriyatheunicorn
changed the base branch from
shriyalolabattu/stg-2671-v4-harness
to
shriyalolabattu/stg-2671-artifact-grounded-grading
July 23, 2026 22:21
shriyatheunicorn
force-pushed
the
shriyalolabattu/stg-2671-benchmark-matrix-braintrust
branch
from
July 23, 2026 23:07
0f4bc03 to
0aee132
Compare
… routing + STAGEHAND_V4_SDK_PATH Encodes the nondeterministic-suite cadence as data and wires attribution end to end; makes the v4 SDK location explicit configuration. - benchmarks/: manifest schema and expansion with validity rules (invalid combinations reported with reasons, never dropped silently); v4-vs-playwright manifest; GENERAL_HARNESS design doc; grading- decision README (v3-carried rubric verifier kept deliberately) - framework/runner.ts: project routing - deterministic --sdk runs land in stagehand-v4-deterministic, external-harness and benchmark-matrix runs in stagehand-v4; experiment names and metadata carry the full (benchmark, harness, toolSurface) triple; sdk metadata inferred from the tool surface; v4Sha resolved from the configured checkout - v4SdkLoader.ts: STAGEHAND_V4_SDK_PATH is the sole source of the v4 SDK at runtime. The former link:../../v4-spike dependency (and its lockfile entry) is removed: it broke pnpm install on every fresh clone and CI runner lacking the nested checkout - .v4-sdk-types/: generated SDK declarations are committed so typecheck works without any v4 checkout; regenerated against the SDK's logger- injection (onLog) surface; regenerate when the checkout moves (#16) - initV4.ts: anthropic browser-CORS header via model config (no SDK patch needed); pure buildV4InitParams for browserless unit coverage; systemPrompt passthrough; SDK logs bridged into the eval logger via onLog so they land in Braintrust rows (feature-detected against the loaded SDK's schema - older checkouts without onLog keep working) Part of STG-2671
shriyatheunicorn
force-pushed
the
shriyalolabattu/stg-2671-benchmark-matrix-braintrust
branch
from
July 23, 2026 23:33
0aee132 to
301f858
Compare
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.
Part of STG-2671 (cadence: model × harness × tool_surface; STAGEHAND_V4_SDK_PATH; report to Braintrust).
Encodes the benchmark cadence as data and wires attribution end to end.
What's inside
benchmarks/— manifest schema + expansion with validity rules (invalid combinations reported with reasons, never silently dropped);v4-vs-playwrightmanifest;GENERAL_HARNESS.mddesign doc; grading-decision README (v3-carried rubric verifier kept deliberately — grading only, never driving)framework/runner.ts— project routing: deterministic--sdkruns →stagehand-v4-deterministic, external-harness & benchmark-matrix runs →stagehand-v4; experiment names/metadata carry the (benchmark, harness, toolSurface) triple;sdkmetadata inferred from the tool surfacev4SdkLoader.ts—STAGEHAND_V4_SDK_PATH: dynamic import of the v4 SDK entry from a configured checkout (package link fallback, loud on misconfiguration)initV4.ts— anthropic browser-CORS header via model config (no SDK patch required); purebuildV4InitParamsfor browserless unit coverage; systemPrompt passthroughVerification
Stacked on
stg-2671-v4-harness.Summary by cubic
Implements the benchmark matrix (model × harness × toolSurface) with end-to-end Braintrust routing/metadata, and makes the v4 SDK a configurable import via
STAGEHAND_V4_SDK_PATHwith committed types. Part of STG-2671.New Features
v4-vs-playwrightexample.{ benchmark, harness, toolSurface, sdk, v4Sha }; external-harness and matrix runs route tostagehand-v4, deterministic--sdkruns tostagehand-v4-deterministic;v4Sharesolved from the configured checkout.STAGEHAND_V4_SDK_PATH(no fallback); removed@browserbasehq/stagehand-v4-spike-sdk-tslink; committed.v4-sdk-types/so typecheck works on fresh clones/CI.buildV4InitParams(unit-testable); Anthropic browser CORS header via model config;systemPromptpassthrough; SDKonLogbridged to the eval logger.Migration
STAGEHAND_V4_SDK_PATHto the v4 SDK entry (e.g. /packages/sdk-ts/src/index.ts). Regenerate and commit.v4-sdk-types/if the SDK entry moves.Written for commit 301f858. Summary will update on new commits.