{
 "blocked": null,
 "rs2": {
  "sha256": "f24b6ca198b744c380842c3a17964a6dc21f311bb04984b26733afa3fee8eaf2",
  "contract_name": "censored_10",
  "mean_edge_900000_32": 542.3652,
  "mean_edge_901000_256": 533.7352,
  "gas_256": {
   "afterSwap_max_ok": 202386,
   "afterInitialize_max_ok": 243099,
   "oog": 0
  },
  "gas_32": {
   "afterSwap_max_ok": 197184,
   "oog": 0
  }
 },
 "files": [
  {
   "owner": "0xniki",
   "repository": "github.com/0xniki/amm-challenge",
   "default_branch": "master",
   "commit": "56ca9d16f1099b42ee498e3af7651187b1971819",
   "path": "my_strategy.sol",
   "raw_url": "https://raw.githubusercontent.com/0xniki/amm-challenge/56ca9d16f1099b42ee498e3af7651187b1971819/my_strategy.sol",
   "contract_name": "L9",
   "sha256": "74229c6535524db0bccc1116edd36e0952eb1ddb2acb4a25ec3da3f15e4806d9",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -3.5853,
    "se": 0.3438,
    "mean_edge": 538.7799
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 137388,
    "afterInitialize_max_ok": 185532,
    "revert": 0,
    "other_halt": 0
   }
  },
  {
   "owner": "lumen-dev-a11y",
   "repository": "github.com/lumen-dev-a11y/amm-challenge-lab",
   "default_branch": "main",
   "commit": "4eae7bd93693b415d06adabb66d8db1e1975ab0b",
   "path": "amm-challenge/my_strategy.sol",
   "raw_url": "https://raw.githubusercontent.com/lumen-dev-a11y/amm-challenge-lab/4eae7bd93693b415d06adabb66d8db1e1975ab0b/amm-challenge/my_strategy.sol",
   "contract_name": "night_7",
   "sha256": "cc30bc7bceaf5afff5371f81bb4bcac1a8e50706a19eccd21ffff94642f1fcde",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -2.8737,
    "se": 0.2412,
    "mean_edge": 539.4915
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 137461,
    "afterInitialize_max_ok": 185532,
    "revert": 0,
    "other_halt": 0
   }
  },
  {
   "owner": "ylintern",
   "repository": "github.com/ylintern/ammchallenge",
   "default_branch": "main",
   "commit": "52875e202d743b54049844c5833f97f27b3f2330",
   "path": "Strategy.sol",
   "raw_url": "https://raw.githubusercontent.com/ylintern/ammchallenge/52875e202d743b54049844c5833f97f27b3f2330/Strategy.sol",
   "contract_name": "taMole_Reverso_milli",
   "sha256": "d6e7ab50ede8f5b8aadbfd69a8f966fb6a7bc50dbb57194c081a3233488d1ae7",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -2.8631,
    "se": 0.2407,
    "mean_edge": 539.5021
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 127842,
    "afterInitialize_max_ok": 185532,
    "revert": 0,
    "other_halt": 0
   }
  },
  {
   "owner": "happybigmtn",
   "repository": "github.com/happybigmtn/ammchallenge-lab",
   "default_branch": "main",
   "commit": "d354d0f32f3ec06ec926ae07165e363996eb37bf",
   "path": "amm_submissions/Strategy.sol",
   "raw_url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/d354d0f32f3ec06ec926ae07165e363996eb37bf/amm_submissions/Strategy.sol",
   "contract_name": "PHatSkewPostSpotToxOnlyV4",
   "sha256": "536d17d72770abfc256708571d34c44919f19215916c0f4a21865c1df7e7011b",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -20.1372,
    "se": 1.4384,
    "mean_edge": 522.2279
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 65587,
    "afterInitialize_max_ok": 112855,
    "revert": 0,
    "other_halt": 0
   }
  },
  {
   "owner": "happybigmtn",
   "repository": "github.com/happybigmtn/ammchallenge-lab",
   "default_branch": "main",
   "commit": "d354d0f32f3ec06ec926ae07165e363996eb37bf",
   "path": "amm_submissions/Strategy_best_494.sol",
   "raw_url": "https://raw.githubusercontent.com/happybigmtn/ammchallenge-lab/d354d0f32f3ec06ec926ae07165e363996eb37bf/amm_submissions/Strategy_best_494.sol",
   "contract_name": "PHatSkewBandInvFracV1",
   "sha256": "3336170920c2b452df304e76fb945421c77bd72e4c406fb14cbb4d590f61da17",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -32.8513,
    "se": 1.8702,
    "mean_edge": 509.5139
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 85580,
    "afterInitialize_max_ok": 112748,
    "revert": 0,
    "other_halt": 0
   }
  },
  {
   "owner": "dipankar",
   "repository": "github.com/dipankar/amm-challenge",
   "default_branch": "main",
   "commit": "c588ae6c47fc9af2063c9bb1f2efbeb0dd276dab",
   "path": "contracts/src/SigmaAdaptiveStrategy.sol",
   "raw_url": "https://raw.githubusercontent.com/dipankar/amm-challenge/c588ae6c47fc9af2063c9bb1f2efbeb0dd276dab/contracts/src/SigmaAdaptiveStrategy.sol",
   "contract_name": "SigmaAdaptive",
   "sha256": "84da373d4ecc47b5ecaa96adfcc432ad62825a0c608e7529404fa8a0184cdf90",
   "valid": true,
   "licence": {
    "repository_license_file": null,
    "github_api_license": null,
    "spdx": "MIT"
   },
   "d32": {
    "seeds": "900000..900031",
    "n": 32,
    "mean_diff": -8.0164,
    "se": 0.5159,
    "mean_edge": 534.3487
   },
   "oog": 0,
   "gas32": {
    "afterSwap_max_ok": 148213,
    "afterInitialize_max_ok": 176674,
    "revert": 0,
    "other_halt": 0
   }
  }
 ],
 "top3": [
  {
   "owner": "ylintern",
   "path": "Strategy.sol",
   "commit": "52875e202d743b54049844c5833f97f27b3f2330",
   "sha256": "d6e7ab50ede8f5b8aadbfd69a8f966fb6a7bc50dbb57194c081a3233488d1ae7",
   "seeds": "901000..901255",
   "paired": {
    "n": 256,
    "mean_diff": -2.7568,
    "se": 0.0784,
    "worst": [
     {
      "seed": 901156,
      "d": -9.4599
     },
     {
      "seed": 901180,
      "d": -8.1577
     },
     {
      "seed": 901133,
      "d": -5.5586
     },
     {
      "seed": 901048,
      "d": -5.5253
     },
     {
      "seed": 901033,
      "d": -5.2855
     }
    ]
   },
   "retail_edge_delta": {
    "mean": -1.703,
    "se": 0.0896
   },
   "arb_edge_delta": {
    "mean": -1.0538,
    "se": 0.046
   },
   "mean_edge": 530.9784,
   "gas": {
    "max_ok": 146978,
    "max_ok_afterInitialize": 185532,
    "oog": 0
   },
   "mechanism": "Almost identical to lumen's night_7 (the same RS2-ancestor fee family without RS2's posterior, silence-band inference, flow re-estimate and 30/36 bps side caps), differing only in a few constants (TOX_DECAY 0.895, PHAT_ALPHA 0.265, cubic tox 13300 bps, trade boost 2500 bps, stale shift 6850 bps). It also has no sigma-regime base-fee switch (a fixed 3 bps base) and stays within 0.04 of lumen on 256 seeds."
  },
  {
   "owner": "lumen-dev-a11y",
   "path": "amm-challenge/my_strategy.sol",
   "commit": "4eae7bd93693b415d06adabb66d8db1e1975ab0b",
   "sha256": "cc30bc7bceaf5afff5371f81bb4bcac1a8e50706a19eccd21ffff94642f1fcde",
   "seeds": "901000..901255",
   "paired": {
    "n": 256,
    "mean_diff": -2.7202,
    "se": 0.0758,
    "worst": [
     {
      "seed": 901156,
      "d": -8.9177
     },
     {
      "seed": 901180,
      "d": -8.3801
     },
     {
      "seed": 901048,
      "d": -5.7338
     },
     {
      "seed": 901033,
      "d": -5.4147
     },
     {
      "seed": 901034,
      "d": -5.3153
     }
    ]
   },
   "retail_edge_delta": {
    "mean": -0.8756,
    "se": 0.0842
   },
   "arb_edge_delta": {
    "mean": -1.8446,
    "se": 0.0431
   },
   "mean_edge": 531.015,
   "gas": {
    "max_ok": 151967,
    "max_ok_afterInitialize": 185532,
    "oog": 0
   },
   "mechanism": "Same base fee formula as RS2 (sigma/lambda/flow-size/toxicity/activity mid fee, directional skew, stale-price shift, trade-aligned boost, asymmetric tail compression), but it has none of RS2's censored assumed-density posterior (fastHat/uncertainty), no inferred no-trade band centre after silent steps, no flow-rate re-estimate weighted by arb probability, and none of RS2's 30/36 bps caps on the cheaper side. It adds a cubic toxicity term (13662 bps) and switches the base fee between 1 and 3 bps on a sigma threshold, and its constants differ (e.g. tail knee 500 vs 600 bps, attract slope 0.955 vs 0.85, gate 10x vs 7.2x sigma, RET_CAP 10% vs 1/35)."
  },
  {
   "owner": "0xniki",
   "path": "my_strategy.sol",
   "commit": "56ca9d16f1099b42ee498e3af7651187b1971819",
   "sha256": "74229c6535524db0bccc1116edd36e0952eb1ddb2acb4a25ec3da3f15e4806d9",
   "seeds": "901000..901255",
   "paired": {
    "n": 256,
    "mean_diff": -3.2224,
    "se": 0.1017,
    "worst": [
     {
      "seed": 901180,
      "d": -12.6506
     },
     {
      "seed": 901133,
      "d": -10.1525
     },
     {
      "seed": 901156,
      "d": -9.4002
     },
     {
      "seed": 901112,
      "d": -8.1857
     },
     {
      "seed": 901064,
      "d": -8.0487
     }
    ]
   },
   "retail_edge_delta": {
    "mean": -4.8607,
    "se": 0.1276
   },
   "arb_edge_delta": {
    "mean": 1.6384,
    "se": 0.0628
   },
   "mean_edge": 530.5128,
   "gas": {
    "max_ok": 147040,
    "max_ok_afterInitialize": 185532,
    "oog": 0
   },
   "mechanism": "The same ancestor fee family as lumen (pHat/sigma/lambda/size/toxicity EMAs, quadratic plus cubic toxicity, directional skew, stale shift, trade boost, tail compression) with retuned constants (cubic tox 15000 bps, stale 7000 bps, gate floor 0.025, decays 0.72 to 0.83) and none of RS2's posterior or side-cap machinery. It loses about 4.9 more than RS2 on retail edge but about 1.6 less to arbitrage, so it has higher fees overall."
  }
 ],
 "notes": [
  "Setup ran as given: amm-challenge at 6b6921f8d463314aa7c96234e1be25a25245f704, the wheel matched its sha256, and amm-match validate on StarterStrategy passed. The goal-level CH 0..999 calibration check was not part of this item and was not run.",
  "Each file was taken byte for byte from a shallow clone of its repository's default branch at the commit listed, and its sha256 is of those bytes. RS2 and the harness came from the named api.imd.fun artifacts, and the RS2 code sha256 matched f24b6ca1...eaf2. Nothing else from the source repositories was run.",
  "Licences: none of the five repositories has a LICENSE or COPYING file (searched up to 3 levels deep), and GitHub's API reports license null for all five. Every file has the line '// SPDX-License-Identifier: MIT'.",
  "Method: harness_source run() and compare() were used unchanged. Each strategy ran alone against VanillaStrategy with run_batch(...,8) in 20-seed chunks, and gas_stats() was read per chunk. mean_diff = candidate edge minus RS2 edge on the same seeds. retail and arb deltas use the harness decomposition (arb edge is negative; a positive arb delta means less lost to arbitrage). Reconciliation was within 1e-8.",
  "All six files validated, and none had OOG, revert, other_halt, tx_error or bad_return calls on either block. gas max_ok is the Submission afterSwap maximum; afterInitialize is reported separately (RS2's is 243099, under the 250000 limit, which applies to afterSwap).",
  "d32 ranking vs RS2: ylintern -2.863, lumen -2.874, niki -3.585, dipankar -8.016, happybigmtn Strategy.sol -20.137, Strategy_best_494.sol -32.851. The top three (ylintern, lumen, niki) were run on 901000..901255, and all three are significantly worse than RS2 (-2.76, -2.72, -3.22, each with se about 0.1).",
  "ylintern/Strategy.sol and lumen my_strategy.sol are near-copies of one fee family that RS2 itself extends. RS2 is ahead of them by about 2.7 to 3.2 edge, and as a candidate none of these public files beats RS2. The happybigmtn and dipankar files are separate, simpler designs and lose 8 to 33.",
  "The seed blocks 900000..900031 and 901000..901255 are the ones the brief named. No confirmation block from 5000000 up was used."
 ]
}