{"data":{"kind":"file","path":"README.md","version_id":"nw1gnk50mqm6cudm45g8j2r0","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":9297,"modified_at":"2026-12-02T02:28:36.844000","content_hash":"52325022ed242338352ff29681e8d70ad6b4b00e8182214411942d976098303b"},"entries":[],"content":"# `adsbench` (`v1.3.0` — Prime Intellect `verifiers` v1 Environment)\n\nMIT-licensed `verifiers` v1 environment for **AdsBench (`v1.3.0`) — The Open Benchmark for Google Ads AI Agents** by [Parallel AI Research](https://www.withparallel.ai/research/google-ads-ai-agent-benchmark-2027).\n\n> **How to read AdsBench (in plain English)**\n> - **Two clean splits: `test` (`v1.3.0`, default) and `dev` (`v1.2.0`).** The default `test` split (`T01`–`T25`) contains 25 brand-new agency-scale Google Ads tasks covering **5,226 rows** of synthetic exports and **155 strictly typed answers** across five real-world domains. The original `v1.2.0` suite (`B01`–`B25`, 5,995 rows, 131 fields) stays intact as `split=\"dev\"`.\n> - **All-or-nothing scoring (`pass@1`, `pass@3`, `pass^3`).** Every task runs 3 independent attempts (`75` rollouts per model). Each task checks ~6 figures or structured verdicts; one miscalculated dollar amount, wrong Google Ads rule, or malformed field fails the entire attempt. **`pass@1`** measures first-try accuracy, **`pass@3`** measures solved at least once, and **`pass^3`** measures whether a system got all 3 tries right in a row (production reliability).\n> - **Core vs. Recent Changes (`currency`).** **`Core`** (`T01`–`T20`) tests evergreen Google Ads economics, bidding, Shopping feeds, auctions, and agency safety rules. **`Recent Changes` (`currency`, `T21`–`T25`)** tests late-2026 platform and API `v26` / `v26.1` / `v26.2` changes — `\"currency\"` means how current a model's knowledge is, not account money.\n> - **What the Prime Hub leaderboard measures.** Models run strictly offline in an isolated Python container with pre-staged CSV/JSON inputs (`workspace_files` mode, network egress blocked) — no web access, no live Google Ads account. Standalone raw frontier model evaluations on Prime Hub live directly alongside Parallel AI's pre-registered, blind end-state production harness results (`withparallel.ai`, commit `7f1122028`) in the [benchmark repository](https://github.com/parallel-ai-inc/google-ads-ai-agent-benchmark) and [research study](https://www.withparallel.ai/research/google-ads-ai-agent-benchmark-2027).\n> - **Live Leaderboard & Full Traces:** [app.primeintellect.ai/dashboard/environments/parallel-ai/adsbench/evals](https://app.primeintellect.ai/dashboard/environments/parallel-ai/adsbench/evals)\n\n## What `v1.3.0` (`test` Split, `T01`–`T25`) Tests\n\nEvery task models real agency Google Ads knowledge work where a subtle rule error or messy export silently costs budget or breaks production mutations:\n\n| Track Slug | Tasks | Category | Detail Rows | What Practitioners & Agents Must Get Right |\n| --- | --- | --- | ---: | --- |\n| `smart-bidding-and-budgets` | `T01`–`T05` | `core` | 1,416 | Portfolio Target CPA/ROAS CPC clamps, mid-month shared-budget 30.4x/2x daily limits, Conversion Value Rules (`SET`/`ADD`/`MULTIPLY` + Customer Match precedence), Seasonality vs. Data Exclusion & Smart Bidding Learning triggers, and click-date multi-touch attribution windows |\n| `shopping-and-retail` | `T06`–`T10` | `core` | 1,445 | Standard Shopping vs. PMax auction priority & Ad Rank tie-breakers, cart-level net-revenue margin & break-even ROAS with resalable returns, Shopping online-only local inventory opt-out & Merchant Center diagnostics, Search vs. PMax text-ad brand controls (Search, AI Overviews, AI Mode, Lens), and Shopping product-group partition tree resolution |\n| `auctions-geo-and-experiments` | `T11`–`T15` | `core` | 1,421 | Multi-dimension bid modifiers (`-100%` opt-out, `[0.10, 10]` caps, Smart Bidding overrides), auction clearing CPC & Impression Share `< 10%` / `> 90%` reconciliation, calibrated A/B experiment pooled z-test & abstention (`null` on missing LTV), geo-location presence vs. interest leak & radius exclusions, and display/video content-suitability & change-history replay |\n| `agency-safety-and-governance` | `T16`–`T20` | `core` | 736 | Search-term prompt-injection hygiene (ignoring untrusted instruction text inside user query rows), irreversible vs. reversible Google Ads mutations (e.g., `EnablePMaxBrandGuidelines`, asset-library permanence), `BatchJobService` limits (`10,000` hard ops / `1,000` recommended ops / `41.94 MB` request / `10.48 MB` op / `1M` job cap), Customer Match Gmail normalization & Offline Click Conversion eligibility, and multi-account MCC read-only/currency/scope guardrails |\n| `recent-changes-currency` | `T21`–`T25` | `currency` | 208 | API sunset & minimum `google-ads-python` versions (`v23`–`v26.2`), `v26` breaking field removals & output-only mutations, `v26.1` `budget_network_settings` allowlist & milli-percent caps, Demand Gen budget floors & August 2026 default-on local inventory ads, and `v26.1`/`v26.2` minor-release features + 2026 Data Manager API migration deadlines |\n\n## Grading & Isolation Invariants\n\n- **Exact `Decimal` grading:** Zero loose cent tolerance (off-grid decimals like `29363.364` vs. `29363.36` fail), extreme-exponent DoS/overflow guards (`abs(adjusted()) > 30`), strict ordering on sorted arrays, exact string/enum matching, genuine `null` abstention checks (`5` fields across `T08`, `T13`, `T14`, `T19`, `T23` where supplied data cannot establish an unmeasured metric), and **169 mechanical trap signatures** (`trap_signature` vs. `heuristic_fallback` provenance).\n- **Evaluator-side gold isolation:** Ground truth (`gold-v1.3.json`, `gold-v1.json`) is loaded strictly evaluator-side and never written into the agent workspace.\n- **Offline isolation:** `enforce_offline=True` (default) attaches `NetworkPolicyConfig(allow=[])` on Docker and Prime Sandbox runtimes so models cannot query the web or fetch public answers.\n- **Blind pre-registration (`v1.3.0`):** Parallel AI's live production commit (`7f1122028`, `lib/ai` tree `aca2d55f4c2e...`, `lib/google-ads` tree `ae66ed747cc2...`) was pushed and promoted to `withparallel.ai` *before* any `T01`–`T25` task was authored, and stayed untouched throughout evaluation.\n\n## Modes, Splits & Configuration\n\n| Option | Values | Default | Notes |\n| --- | --- | --- | --- |\n| `split` | `test`, `dev` | `test` | `test` loads `v1.3.0` (`T01`–`T25`, 20 Core + 5 Currency, 155 fields). `dev` loads frozen `v1.2.0` (`B01`–`B25`, 23 Core + 2 Currency, 131 fields). |\n| `mode` | `workspace_files`, `workspace_inline`, `chat_only` | `workspace_files` | `workspace_files` stages `inputs/<file>` on disk and strips large inline CSV/JSON blocks from prompts. **`chat_only` MUST be paired with `--env.agent.harness.id null` and `--env.agent.max-turns 1`** (see `configs/chat-only.toml`) so no shell or file tools are exposed. |\n| `categories` | `[\"core\"]`, `[\"currency\"]`, or `None` | `None` (all 25) | Filter evergreen Google Ads rules (`core`) vs. late-2026 platform/API changes (`currency`). Every trace logs `is_core` and `is_currency` indicators. |\n| `tracks` | Any subset of track slugs for the chosen split | `None` (all 5) | `test`: `smart-bidding-and-budgets`, `shopping-and-retail`, `auctions-geo-and-experiments`, `agency-safety-and-governance`, `recent-changes-currency`. `dev`: `budget-pacing`, `negative-collisions`, `conversion-reconciliation`, `waste-and-roas`, `api-v26-and-exports`. |\n| `task.scoring_mode` | `strict`, `recoverable`, `field_accuracy` | `strict` | `strict` requires one clean raw JSON object; `recoverable` allows one uniquely recoverable fenced/prose JSON object; `field_accuracy` returns `fields_passed / fields_total` when schema-clean. |\n| `task.strip_thinking_tags` | `bool` | `False` | Strips closed `<think>...</think>` blocks before JSON extraction for open-weights reasoning models that emit inline CoT tags. |\n\n## Quickstart: Local Validation & Prime Hosted Evaluations\n\n```bash\n# Install from Prime Intellect Hub\nprime env install parallel-ai/adsbench\n\n# Run local unit, sync, lifecycle, and adversarial grader tests (both splits, 50 tasks)\npytest -v\n\n# Validate the default v1.3.0 blind test split locally\nvf-validate adsbench --runtime.type subprocess --taskset.enforce-offline false\n\n# Run hosted Prime Intellect evaluation on v1.3.0 test split (3 attempts x 25 tasks = 75 rollouts)\nprime eval run parallel-ai/adsbench@1.3.0 \\\n  -m anthropic/claude-sonnet-5.5 -n 25 -r 3 --hosted\n\n# Reproduce the frozen v1.2.0 dev split\nvf-run parallel-ai/adsbench@1.3.0 @ configs/workspace-files-v12-dev.toml \\\n  -m anthropic/claude-sonnet-5.5\n\n# Zero-tool chat-only baseline (enforces harness=\"null\" and max_turns=1)\nvf-run parallel-ai/adsbench@1.3.0 @ configs/chat-only.toml \\\n  -m openai/gpt-6-luna\n```\n\n## Cryptographic Integrity Hashes\n\n- **`v1.3.0` (`test` split, `T01`–`T25`, default):**\n  - `benchmark-v1.3.json` SHA-256: `703c7e23752eabbc0f0807dab9f295e796785fb1101aa19fb21fd3e02dcaa49d`\n  - `gold-v1.3.json` SHA-256: `f13fcc4bc341c119e026a348694d79d6c262d8941641708363c0b0f922762298`\n  - Canary string: `parallel-ai-ads-benchmark:v1.3.0:4c8e2a7d-6b19-4f53-9a04-d71e8c3f5b29`\n- **`v1.2.0` (`dev` split, `B01`–`B25`, preserved unchanged):**\n  - `benchmark-v1.json` SHA-256: `0cd74c831f2f786d6d59887a91896580656b0512f1c8ec07ec0e50d177a96b0e`\n  - `gold-v1.json` SHA-256: `854cc76305878cebedba2700c1d121b5dc4d133031cdc4a274e7267b1506b26c`\n  - Canary string: `parallel-ai-ads-benchmark:v1.2.0:7c9e4b2a-91d8-4f3a-b6e1-2a8d5f4c9012`\n","encoding":"utf-8","truncated":false,"total_bytes":9297},"status":null}