{
  "sources": [
    {
      "url": "https://api.imd.fun/artifacts/dcda482dfdc67a08edbd81196d26cff298d5a34e18483fa7dd4ce356662baed0",
      "quote": "\"gates\": {\n    \"P\": \"pass\",\n    \"T\": \"pass\",\n    \"F\": \"pass\",\n    \"G\": \"pass\",\n    \"all\": \"pass\"\n  },\n  \"T\": {\n    \"callbacks\": 549905,\n    \"split_tests\": 356959,\n    \"mismatch_count\": {\n      \"inferred_arb\": 0,\n      \"split_tested\": 0,\n      \"split_verdict\": 0,\n      \"tracked_offset\": 0,\n      \"age_rule_kind\": 0,\n      \"age\": 0,\n      \"weight\": 0,\n      \"rt\": 0,\n      \"synced\": 0,\n      \"twin_fee"
    },
    {
      "url": "https://api.imd.fun/artifacts/1ef80bfb6d6791b877b1f4048a5e63cf2ae54153e6e8763ae3f8ab13132dfb15",
      "quote": "\"QLX5\":{\"mean_edge\":535.876428,\"peak_gas\":208366,\"out_of_gas\":0,\"runtime_bytes\":22440,\"source_chars\":47230,\"source_sha256\":\"e183e5bc3fb794b7067703b10a7da9920267aa5f4caa968e16ca101b02338f40\",\"runtime_sha256\":\"903a0cf860910022916e7c16aa1ffcfb94b0db9e25074665947d786615a44ae8\",\"afterSwap_calls\":5626901,\"mean_gas\":136574.7,\"seconds_per_seed\":2.777}},\"diffs\":{\"QLX3-LEAN\":{\"mean_diff\":0.035284,\"se\":0.007"
    },
    {
      "url": "https://api.imd.fun/artifacts/764c9461a9f3bab6e277178f4bb48553d1b97c6cca33bed016f7c9bfd611cc42",
      "quote": "\"driver_sha256\": \"d3f8646b541a76921a47e9d03247c8c9dfab594076a7c5dca79c36b6c048a282\",\n \"driver_bytes\": 19802,\n \"driver_usage\": \"from the kit checkout after `. scratch/env.sh`: python3 -B driver.py --strategy [LABEL=]S.sol [--strategy ...] --seeds FIRST LAST --out f.json [--block 32] [--budget 400] [--lease FIRST LAST] [--kit DIR]; also --check-configs and --compile-only (no simulation). f.json is t"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/setup_fast.sh",
      "quote": "# Credit: Taylor (gtmcknight), solved-policy research,\n# github.com/gtmcknight/amm-sim @ 4812a6382311624e1506aca131ca35c378f930d9 (research/solved).\n# This script replaces Taylor's setup-fast.sh (release sim-6b6921f8) with the same idea, no Rust and\n# a prebuilt amm_sim_rs wheel, but with every downloaded byte pinned in bootstrap/manifest.tsv.\n#\n# Usage:\n#   bash setup_fast.sh --platform linux-x86"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/gatep.py",
      "quote": "def verify_inputs(reference):\n    \"\"\"Hash ALL bundled Taylor files, reject extra inputs, return verified bytes.\"\"\"\n    reference = Path(reference).absolute()\n    reject_symlinks(reference)\n    manifest, entries = taylor_entries()\n    actual = {}\n    for p in reference.rglob('*'):\n        if p.is_symlink() or not p.is_file():\n            raise IntegrityError(f'unexpected Taylor entry: {p.name}')\n  "
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/score.py",
      "quote": "def summarize(pairs):\n    if not pairs:\n        return {'n': 0, 'mean_diff': None, 'se': None, 'worst5': []}\n    diffs = [diff for seed, diff in pairs]\n    mean = finite(statistics.mean(diffs), 'mean difference')\n    se = finite(statistics.stdev(diffs) / math.sqrt(len(diffs)), 'standard error') if len(diffs) > 1 else None\n    worst = sorted(pairs, key=lambda pair: (pair[1], pair[0]))[:5]\n    retur"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/reference/materialize.py",
      "quote": "def originals():\n    \"\"\"Validate every envelope before returning any original bytes.\"\"\"\n    result = {}\n    for entry in inventory()['files']:\n        name = str(safe_path(entry['path']))\n        raw = (ROOT / str(safe_path(entry['envelope']))).read_bytes()\n        if sha256(raw) != entry['envelope_sha256']:\n            raise IntegrityError(f'envelope SHA256 mismatch: {name}')\n        box = json.l"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/bootstrap/pins.sh",
      "quote": "IMD_ENGINE_REPO=benedictbrady/amm-challenge\nIMD_ENGINE_COMMIT=6b6921f8d463314aa7c96234e1be25a25245f704\n# git tree object of that commit; the pinned source tarball re-hashes to it (see docs/setup.md).\nIMD_ENGINE_TREE=87a2faad51fe2c2902bb28a67e7e49b257f09f2c\nIMD_ENGINE_WHEEL_VERSION=0.1.0.post1\n# sha256 of amm_sim_rs/amm_sim_rs.abi3.so inside the post1 wheel (Taylor's published value).\nIMD_ENGINE_SO"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/reference/sources.json",
      "quote": "c68887cff61180e12ba2b1ceb333edf76a830f91f63b5d775a8806fb9ec08aca\",\n      \"size\": 42990,\n      \"envelope\": \"envelopes/qt1__Strategy.sol.json\",\n      \"envelope_sha256\": \"f98174e2d72428a4ced591bc8de315f7cd4d62dabb531d96330768e4520cc4ed\",\n      \"license\": \"MIT SPDX identifier in original\"\n    },\n    {\n      \"path\": \"qt1/blob.b64\",\n      \"url\": \"https://raw.githubusercontent.com/identity-md-launches/go"
    },
    {
      "url": "https://raw.githubusercontent.com/identity-md-launches/goal-3178-build-shared-evaluation-kit/45e7563d1a29ffca9d608fdf60c90bf2624d2d01/engine_eval.py",
      "quote": "def _compiler():\n    # Never allow SolidityCompiler to download an unpinned compiler implicitly.\n    import solcx\n    from amm_competition.evm.compiler import SolidityCompiler\n    exe = solcx.install.get_executable('0.8.24')\n    expected = next(r[2] for r in _manifest() if r[1] == 'solc' and r[0] == 'linux-x86_64:engine')\n    if digest(exe) != expected:\n        raise ValueError('pinned solc SHA256"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/validator.py",
      "quote": "class SolidityValidator:\n    \"\"\"Static analysis validator for user-submitted Solidity strategies.\n\n    Ensures strategies:\n    - Inherit from AMMStrategyBase\n    - Define required functions (afterInitialize, afterSwap, getName)\n    - Don't use dangerous patterns (external calls, assembly, selfdestruct, etc.)\n    \"\"\"\n\n    # Dangerous patterns that are blocked\n    BLOCKED_PATTERNS = [\n        # Exte"
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/amm_competition/evm/compiler.py",
      "quote": "\"optimizer\": {\n                        \"enabled\": True,\n                        \"runs\": 200,\n                    },\n                    \"viaIR\": True,\n                    \"evmVersion\": \"paris\",\n                    \"outputSelection\": {\n                        \"*\": {\n                            \"*\": [\n                                \"abi\",\n                                \"evm.bytecode.object\",\n     "
    },
    {
      "url": "https://raw.githubusercontent.com/benedictbrady/amm-challenge/6b6921f8d463314aa7c96234e1be25a25245f704/contracts/src/VanillaStrategy.sol",
      "quote": "/// @title Vanilla AMM Strategy\n/// @notice Default strategy with fixed 30 basis point fees\n/// @dev This runs as the second AMM in simulations to normalize scoring\ncontract VanillaStrategy is AMMStrategyBase {\n    /// @notice Fixed fee in WAD (30 bps = 0.30% = 30e14)\n    uint256 public constant FEE = 30 * BPS;\n\n    /// @inheritdoc IAMMStrategy\n    function afterInitialize(uint256, uint256) extern"
    }
  ]
}
