{
  "schemaVersion": 1,
  "task": {
    "name": "ibragim-badertdinov/astral-sh__ruff-25414",
    "displayName": "ruff-25414",
    "source": "halv-local",
    "immutableRef": "sha256:4a58ab2186fc1f85eb0a154053535d41b280d58f369b57eea29b765429b4a0d3",
    "checksum": "7f46c8ac8239246bba8debc3465be91b6dd9e3622be83d6155994a772cc6956f"
  },
  "selection": {
    "resultsLine": 405,
    "resultsLineSha256": "e0d837f1f2a39562bb4f94734d199275e4afc7ddb33397e5d4c289ea5ece1482",
    "experiment": "rebench-luna-medium-fast-sequential-clean",
    "arm": "halv",
    "attempt": 1,
    "planFingerprint": "8078d7393056247c25cb0e3b8f117272b4ee18082af79950c6ce14d0227499a1",
    "trialId": "4a77a350-4473-4407-ade0-90732ee670ee",
    "trialName": "astral-sh__ruff-25414__Hq3AQNY"
  },
  "environment": {
    "model": "openai/gpt-5.6-luna",
    "reasoningEffort": "medium",
    "serviceTier": "priority",
    "codexVersion": "0.152.0",
    "recordedHalvSourceCommit": null
  },
  "outcome": {
    "completed": true,
    "reward": 1,
    "inputTokens": 4313284,
    "cachedInputTokens": 4207360,
    "outputTokens": 9019,
    "totalTokens": 4322303,
    "costUsd": 0.11615479999999996,
    "wallSeconds": 1493.938717750134
  },
  "proxy": {
    "requests": 78,
    "inputTokens": 4324273,
    "outputTokens": 9019,
    "savedTokens": 2537,
    "savingsByLayer": {
      "compression": {
        "all_layers_tokens": 2537,
        "description": "Tokens removed by Headroom proxy compression.",
        "proxy_tokens": 2537,
        "tokens": 2537
      },
      "output_shaping": {
        "available": false,
        "description": "OUTPUT tokens the model didn't emit because the shaper steered verbosity / routed effort down. Counterfactual — shown as an estimate (vs a learned baseline) or measured (A/B holdout), always with a confidence band."
      },
      "prefix_cache": {
        "description": "Cost discount from provider prefix caching. Headroom's CacheAligner improves hit rates; baseline caching is provider-native.",
        "discount_usd": 0.4207
      },
      "tool_search": {
        "description": "Tool-definition tokens kept out of the model's context by deferring heavy tool schemas until they're searched for. Counted only when Headroom performed the deferral — not when the client (e.g. Claude Code / Codex) already had tool search enabled. Aggregated over the recent request window.",
        "requests": 0,
        "tokens": 0,
        "tokens_saved": 0,
        "window": 78
      }
    }
  },
  "crux": {
    "activation": "auto",
    "gatePassed": true,
    "indexBytes": 96795351,
    "cacheHit": true,
    "prebuilt": true
  },
  "tools": {
    "crux": {
      "filename": "crux-x86_64-unknown-linux-musl-v0.9.0",
      "sha256": "1596c78d66c46c826b8493499a36f3e21770006c2cad43f19f77979acb01eb4b",
      "bytes": 2050008
    },
    "rtk": {
      "filename": "rtk-x86_64-unknown-linux-musl",
      "sha256": "1d8bf5f1861f5ce33236400b1d93b967aec30b6a456e9a0b43b1584c5200119a",
      "bytes": 10047104
    }
  },
  "artifacts": {
    "trajectory": {
      "path": "pairs/ruff-25414/halv/trajectory.json",
      "sourceSha256": "21525468622d6c8f17288c2b55bfc37fe8b1ef59a60f90d7e391c9e273ceaf76",
      "publishedSha256": "c66924129368fee530be90d17e29bd090cce91b82f15914f4e9f3f015348cf9d",
      "bytes": 334666,
      "sanitized": true
    },
    "harborResult": {
      "path": "pairs/ruff-25414/halv/harbor-result.json",
      "sourceSha256": "705721e6d02766d93284e58da210b78a28b6e73319d2f9e27da7c05291db3535",
      "publishedSha256": "94bd098bf69cdaf90d76425637db8245587e36cb2e504d7aa5fb38b9ce269ba4",
      "bytes": 5435,
      "sanitized": true
    },
    "trialConfig": {
      "path": "pairs/ruff-25414/halv/trial-config.json",
      "sourceSha256": "fe98a2a182ab7828fb2ff35d749c61b73f5d350c5332591d055bcd078ff3bdc3",
      "publishedSha256": "0f34497242f2f4bdaf39141d1320c482eb8cc47cd4436263ec0588137bbeb725",
      "bytes": 2343,
      "sanitized": true
    },
    "jobConfig": {
      "path": "pairs/ruff-25414/halv/job-config.json",
      "sourceSha256": "cccfd1232def4e172e8e226ec7c8433579d0177bb112adf058f5ee8fcda153e1",
      "publishedSha256": "d1ca555f3dcb4f7bddb97a96e0077a5a225792a249f4419848b74e7634f8f985",
      "bytes": 2401,
      "sanitized": true
    },
    "verifierReport": {
      "path": "pairs/ruff-25414/halv/verifier-report.json",
      "sourceSha256": "d0d5376a186806f590808680569c1bd7d3bc1c258b247814d123d40c36be99e2",
      "publishedSha256": "122dc341dd91a60fb56a7cda3bf9335ff7a670c912e74b1cc0ec41a0af1589b5",
      "bytes": 1455,
      "sanitized": true
    },
    "verifierOutput": {
      "path": "pairs/ruff-25414/halv/verifier-output.txt",
      "sourceSha256": "44ff29ad5843ccc96153f9b2e103e30074bafd541eadab935bd3b7e429134f79",
      "publishedSha256": "44ff29ad5843ccc96153f9b2e103e30074bafd541eadab935bd3b7e429134f79",
      "bytes": 1785,
      "sanitized": false
    },
    "reward": {
      "path": "pairs/ruff-25414/halv/reward.txt",
      "sourceSha256": "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865",
      "publishedSha256": "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865",
      "bytes": 2,
      "sanitized": false
    },
    "cruxGate": {
      "path": "pairs/ruff-25414/halv/crux-gate.json",
      "sourceSha256": "87d593afcdeefe8852142f9f5763246cdb32ebb34bd26ddfdfa6f031a7be30f6",
      "publishedSha256": "399cdf2a4b20309343ef5daf70a421e1c9d93ee347829c5a54b4cfd3c64ace61",
      "bytes": 1438,
      "sanitized": true
    }
  }
}
