{
 "schema": "cain42.top25.vericoding.evolution.v1",
 "date": "2026-11-02",
 "who": "FIRME AI CORPORATION (self-run, NOT independent)",
 "live_status": "in the repository and tested; the public /vericoding-keystone routes serve it after the next gateway deploy",
 "fuzz": {
  "method": "random functions in the supported subset (1-2 int params, + - * // %, abs/min/max, if/else, conditional expressions) and random pre/postconditions; every verdict checked by running the Python on every input in [-5, 5]^n",
  "before_seed1": {
   "COUNTEREXAMPLE_OK": 605,
   "CRASH_COUNTEREXAMPLE": 645,
   "PROVED_BUT_CRASHES": 70,
   "PROVED_OK": 180
  },
  "after_seed1": {
   "RAISES_COUNTEREXAMPLE_OK": 1103,
   "COUNTEREXAMPLE_OK": 251,
   "PROVED_OK": 146
  },
  "after_seed7": {
   "RAISES_COUNTEREXAMPLE_OK": 1075,
   "PROVED_OK": 135,
   "COUNTEREXAMPLE_OK": 290
  },
  "before_examples": {
   "CRASH_COUNTEREXAMPLE": [
    {
     "source": "def f(x: int) -> int:\n    t = ((x // (3 % x)) if (3 + -2) == (x * x) else ((1 - x) + abs(x)))\n    return ((t - (x if x < t else -1)) - x)\n",
     "pre": "True",
     "post": "((2 if -2 >= x else result) * (2 if result < x else x)) > result",
     "at": {
      "x": 1
     }
    },
    {
     "source": "def f(x: int, y: int) -> int:\n    if (((y % -2) if x != x else (x // -2)) >= (y * (y - 3))) and ((-1 if 3 != x else y) <= x):\n        return y\n    else:\n        return ((3 + max(x, 1)) if (x + y) <= (-3 if y <= x else x) else ((y % -3) * (1 + -2)))\n",
     "pre": "x <= ((0 % y) + y)",
     "post": "(result > ((result + 1) * 3)) and ((result + -3) == abs(-2))",
     "at": {
      "x": 0,
      "y": 0
     }
    }
   ],
   "PROVED_BUT_CRASHES": [
    {
     "source": "def f(x: int, y: int) -> int:\n    t = 1\n    return x\n",
     "pre": "(max(-3, y) - (x if -3 <= x else y)) == ((1 - x) if y != 3 else x)",
     "post": "(abs(y) == ((0 * -3) // x)) or ((abs(result) >= y) or (1 <= y))",
     "at": {
      "x": 0,
      "y": 1
     }
    },
    {
     "source": "def f(x: int, y: int) -> int:\n    t = min((x if y != x else y), ((y if y <= 1 else y) - -1))\n    if (min(t, (x - x)) <= ((t if 1 >= y else y) // (-2 * x))) or (((0 // t) == x) or (t == t)):\n        return ((min(t, -2) % -3) if x != (x if t != t else t) else 0)\n    else:\n        return ((x // (y if t != t else t)) + ((2 + 0) - y))\n",
     "pre": "True",
     "post": "x <= max((x % y), (x + 2))",
     "at": {
      "x": -5,
      "y": 0
     }
    }
   ]
  }
 },
 "probes": [
  {
   "case": "module-level abs = lambda v: -1, contract result >= 0",
   "before": "PROVED (false: returns -1)",
   "after": "REFUSED"
  },
  {
   "case": "parameter named abs",
   "before": "PROVED (false: TypeError)",
   "after": "REFUSED"
  },
  {
   "case": "local max = 3",
   "before": "PROVED (false: TypeError)",
   "after": "REFUSED"
  },
  {
   "case": "@staticmethod decorator",
   "before": "accepted (decorators ignored)",
   "after": "REFUSED"
  },
  {
   "case": "return 10 // x, any postcondition",
   "before": "PROVED for all inputs (false: raises at x=0)",
   "after": "counterexample x=0, function_raises"
  },
  {
   "case": "postcondition result // x == 1 or x == 0",
   "before": "PROVED (false: raises at x=0)",
   "after": "counterexample x=0, postcondition_raises"
  },
  {
   "case": "precondition 10 // x > 0",
   "before": "PROVED",
   "after": "counterexample x=0, precondition_raises"
  },
  {
   "case": "x == 0 or result // x == 1 (short-circuit)",
   "before": "PROVED",
   "after": "PROVED (correct)"
  },
  {
   "case": "if x: on an int",
   "before": "engine exception (HTTP 500)",
   "after": "REFUSED: mixes int and bool"
  },
  {
   "case": "function with a docstring",
   "before": "REFUSED (unsupported statement)",
   "after": "PROVED; certificate re-checks offline"
  }
 ],
 "tests": "tests/test_vericoding_soundness_2026_11_02.py 18 + test_vericoding_keystone_routes/scan 19 passed; vericoding-gate/test_vericoding_gate.py 9 passed"
}