{
 "product": "VeriCoding (Z3)",
 "slug": "vericoding",
 "base": "https://cainstudio.online",
 "page": "https://cainstudio.online/top25-vericoding.html",
 "claims": [
  {
   "id": "C01",
   "kind": "attack",
   "claim": "Sample: A discount that can make the price negative -> Z3 proves the contract or returns a concrete counterexample.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check",
     "body": {
      "sample_id": "discount-negative"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    false
   ]
  },
  {
   "id": "C02",
   "kind": "attack",
   "claim": "Sample: max3 returns c instead of the true maximum -> Z3 proves the contract or returns a concrete counterexample.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check",
     "body": {
      "sample_id": "max3-underflow"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    false
   ]
  },
  {
   "id": "C03",
   "kind": "attack",
   "claim": "Sample: A clamp that returns lo + 1 for low inputs -> Z3 proves the contract or returns a concrete counterexample.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check",
     "body": {
      "sample_id": "clamp-off-by-one"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    false
   ]
  },
  {
   "id": "C04",
   "kind": "attack",
   "claim": "Sample: An absolute value that returns x - 1 for non-negative x -> Z3 proves the contract or returns a concrete counterexample.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check",
     "body": {
      "sample_id": "abs-wrong-sign"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    false
   ]
  },
  {
   "id": "C05",
   "kind": "control",
   "claim": "Sample: A correct clamp (Z3 proves the contract already holds) -> Z3 proves the contract or returns a concrete counterexample.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check",
     "body": {
      "sample_id": "clean-clamp"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    true
   ]
  },
  {
   "id": "C06",
   "kind": "attack",
   "claim": "Your function: division that can divide by zero -> Undefined behaviour is never PROVED (the 2026-11-02 fuzzer found this case).",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check-source",
     "body": {
      "source": "def ratio(a: int, b: int) -> int:\n    return a // b\n",
      "precondition": "True",
      "postcondition": "result * b <= a"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    false
   ]
  },
  {
   "id": "C07",
   "kind": "control",
   "claim": "Your function: honest max -> A correct function proves.",
   "requests": [
    {
     "method": "POST",
     "url": "/vericoding-keystone/check-source",
     "body": {
      "source": "def mx(a: int, b: int) -> int:\n    return a if a >= b else b\n",
      "precondition": "True",
      "postcondition": "result >= a and result >= b"
     }
    }
   ],
   "path": "contract_holds",
   "expect": [
    true
   ]
  }
 ]
}