Repository navigation
Add benchmark harness with ClawBench, Kernel MCP, and site-config - #1
Merged
Merged
Conversation
…ier configurator, clearer README
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
Sets up
kernel/benchmarks, a home for benchmarks of everyday web tasks across agents, browser tools, and browser configurations. It uses Harbor as the runtime and Harbor's Kernel environment for browsers.The pieces:
TIGER-AI-Lab/ClawBenchcommit.kernel-mcp-local, which buildskernel/kernel-mcp-serverat any ref.codex-kernel-mcp,codex-kernel-mcp-site-config,claude-kernel-mcp.site-config.kernel-mcp-clawbench, runnable withgh workflow run kernel-mcp-clawbench.yml.How it works
bench rungenerates tasks with the suite, then for each arm copies them, resolves browser settings, and applies the toolset. It then runsharbor runfor every arm in parallel.jobs/run-<id>.jsonis written before Harbor starts and updated as each arm finishes. It records each arm's job directory, exit status, and per-task browser settings, steering, and provenance. A run that hits GitHub's six-hour limit still gets a report.environment/kernel-config.json.harness.environment:KernelTaskEnvironmentpasses them to the Kernel provider asbrowser_create_overrides.kernel/harbor@5e85bc1a, which adds full create params and overrides to the Kernel provider.kernel-mcp-localchanges three things:/run/kernel-mcp/session-id.kernel_mcp_valid.report/is the TypeScript summary and Braintrust publisher moved fromkernel-mcp-server. The candidate/baseline comparison and the browser-lifecycle span were removed.Validation
ruff check,ruff format --check, andpytest(6 tests) pass. The report suite passesbun test(19),tsc, and prettier.codex, 2 tasks × 2 arms, real Kernel browsers): 4/4 trials graded, 0 infrastructure errors,kernel_mcp_valid= 1 on all four, and no browsers left over.v2-1134(Red Cross): both arms passed. The registry has no recommendation for that site, so the configurator kept the stealth default.v2-091(Indeed): the stealth-only arm was stopped by Cloudflare's "Additional Verification Required" page. Thesite-configarm used a US ISP proxy plus the registry's guidance, reached the application, and stopped at phone verification.v2-1134on both codex arms: 2/2 reward 1.0,kernel_mcp_valid1.0, no exceptions.