{
  "experiment": "Native JSON integer round trips; fixed synthetic fixtures",
  "runDate": "2026-10-30",
  "environment": {
    "python": "3.12.14",
    "system": "Darwin",
    "macOS": "27.0.1",
    "machine": "arm64",
    "node": "v22.23.1"
  },
  "cases": [
    {
      "originalInteger": "0",
      "pythonParsedType": "int",
      "input": "{\"id\":0}",
      "numberText": "0",
      "representedInteger": "0",
      "isInteger": true,
      "isSafeInteger": true,
      "numericOutput": "{\"id\":0}",
      "stringValue": "0",
      "stringOutput": "{\"id\":\"0\"}",
      "numericReturnInteger": "0",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "f0d9dc55adf56c34697a435bff3e62db6d2b6c7714793b4a497c640db382fef7"
    },
    {
      "originalInteger": "42",
      "pythonParsedType": "int",
      "input": "{\"id\":42}",
      "numberText": "42",
      "representedInteger": "42",
      "isInteger": true,
      "isSafeInteger": true,
      "numericOutput": "{\"id\":42}",
      "stringValue": "42",
      "stringOutput": "{\"id\":\"42\"}",
      "numericReturnInteger": "42",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "17b4db064e17f4878e391177e6ca623b798911f34014bc9e78920993d7dd27ad"
    },
    {
      "originalInteger": "9007199254740991",
      "pythonParsedType": "int",
      "input": "{\"id\":9007199254740991}",
      "numberText": "9007199254740991",
      "representedInteger": "9007199254740991",
      "isInteger": true,
      "isSafeInteger": true,
      "numericOutput": "{\"id\":9007199254740991}",
      "stringValue": "9007199254740991",
      "stringOutput": "{\"id\":\"9007199254740991\"}",
      "numericReturnInteger": "9007199254740991",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "4fa44a93030f3903ae3f5dcbff22d5be56a98533d62079b5aaeb9d603ec92ad0"
    },
    {
      "originalInteger": "9007199254740992",
      "pythonParsedType": "int",
      "input": "{\"id\":9007199254740992}",
      "numberText": "9007199254740992",
      "representedInteger": "9007199254740992",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":9007199254740992}",
      "stringValue": "9007199254740992",
      "stringOutput": "{\"id\":\"9007199254740992\"}",
      "numericReturnInteger": "9007199254740992",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "24bb430971eb50f964e63784a7ad4f3411bc7cdb1659188e371150793e872da1"
    },
    {
      "originalInteger": "9007199254740993",
      "pythonParsedType": "int",
      "input": "{\"id\":9007199254740993}",
      "numberText": "9007199254740992",
      "representedInteger": "9007199254740992",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":9007199254740992}",
      "stringValue": "9007199254740993",
      "stringOutput": "{\"id\":\"9007199254740993\"}",
      "numericReturnInteger": "9007199254740992",
      "parsePreservedInteger": false,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "2185812179ffd2b19c8154d2d409599d231fb75ef4968df59b7f02b435c094fa"
    },
    {
      "originalInteger": "9007199254740994",
      "pythonParsedType": "int",
      "input": "{\"id\":9007199254740994}",
      "numberText": "9007199254740994",
      "representedInteger": "9007199254740994",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":9007199254740994}",
      "stringValue": "9007199254740994",
      "stringOutput": "{\"id\":\"9007199254740994\"}",
      "numericReturnInteger": "9007199254740994",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "0687128d35092c11eee1ec4cade44aac1afc96ce1b12154ff36be5377e4b3781"
    },
    {
      "originalInteger": "9007199254740995",
      "pythonParsedType": "int",
      "input": "{\"id\":9007199254740995}",
      "numberText": "9007199254740996",
      "representedInteger": "9007199254740996",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":9007199254740996}",
      "stringValue": "9007199254740995",
      "stringOutput": "{\"id\":\"9007199254740995\"}",
      "numericReturnInteger": "9007199254740996",
      "parsePreservedInteger": false,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "7be48778b9190acb9d25d2aa97967397fccbe3d1b8d3d585dffcd3b66d05c5a6"
    },
    {
      "originalInteger": "-9007199254740993",
      "pythonParsedType": "int",
      "input": "{\"id\":-9007199254740993}",
      "numberText": "-9007199254740992",
      "representedInteger": "-9007199254740992",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":-9007199254740992}",
      "stringValue": "-9007199254740993",
      "stringOutput": "{\"id\":\"-9007199254740993\"}",
      "numericReturnInteger": "-9007199254740992",
      "parsePreservedInteger": false,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "7d827b21f29c0ad79c8ed4f230231a560b28b25c335785ca186c32a2288431bd"
    },
    {
      "originalInteger": "9223372036854775807",
      "pythonParsedType": "int",
      "input": "{\"id\":9223372036854775807}",
      "numberText": "9223372036854776000",
      "representedInteger": "9223372036854775808",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":9223372036854776000}",
      "stringValue": "9223372036854775807",
      "stringOutput": "{\"id\":\"9223372036854775807\"}",
      "numericReturnInteger": "9223372036854776000",
      "parsePreservedInteger": false,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "3b9e4a30459721a1304bceb93df89c7fcd2b3b7545b95cbc5603326614140c64"
    },
    {
      "originalInteger": "-9223372036854775808",
      "pythonParsedType": "int",
      "input": "{\"id\":-9223372036854775808}",
      "numberText": "-9223372036854776000",
      "representedInteger": "-9223372036854775808",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":-9223372036854776000}",
      "stringValue": "-9223372036854775808",
      "stringOutput": "{\"id\":\"-9223372036854775808\"}",
      "numericReturnInteger": "-9223372036854776000",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "807d1fe014a73c0a019b92e612ff2e07b8cbbdcc1cfdeef8cc8011ebd6fa669f"
    },
    {
      "originalInteger": "18446744073709551615",
      "pythonParsedType": "int",
      "input": "{\"id\":18446744073709551615}",
      "numberText": "18446744073709552000",
      "representedInteger": "18446744073709551616",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":18446744073709552000}",
      "stringValue": "18446744073709551615",
      "stringOutput": "{\"id\":\"18446744073709551615\"}",
      "numericReturnInteger": "18446744073709552000",
      "parsePreservedInteger": false,
      "numericRoundTripPreserved": false,
      "stringRoundTripPreserved": true,
      "inputSha256": "d25f135bb764d37653b7b3198c41427a9a4dbf4a18d615a92121fea7ea99bb1b"
    },
    {
      "originalInteger": "1000000000000000000",
      "pythonParsedType": "int",
      "input": "{\"id\":1000000000000000000}",
      "numberText": "1000000000000000000",
      "representedInteger": "1000000000000000000",
      "isInteger": true,
      "isSafeInteger": false,
      "numericOutput": "{\"id\":1000000000000000000}",
      "stringValue": "1000000000000000000",
      "stringOutput": "{\"id\":\"1000000000000000000\"}",
      "numericReturnInteger": "1000000000000000000",
      "parsePreservedInteger": true,
      "numericRoundTripPreserved": true,
      "stringRoundTripPreserved": true,
      "inputSha256": "9b025444362ecb99c8c3364ec9ecface2ab25156163112ce03096f79451dc955"
    }
  ],
  "collision": {
    "inputs": [
      "9007199254740992",
      "9007199254740993"
    ],
    "numericMapSize": 1,
    "numericMapEntries": [
      [
        "9007199254740992",
        "9007199254740993"
      ]
    ],
    "stringMapSize": 2,
    "stringMapEntries": [
      [
        "9007199254740992",
        "9007199254740992"
      ],
      [
        "9007199254740993",
        "9007199254740993"
      ]
    ]
  },
  "reviver": {
    "input": "{\"id\":9223372036854775807}",
    "unsafeLiteralEquality": true,
    "lateBigInt": "9223372036854775808",
    "contextSource": "9223372036854775807",
    "sourceBigInt": "9223372036854775807",
    "defaultBigIntSerialization": "TypeError",
    "explicitBigIntOutput": "{\"id\":\"9223372036854775807\"}"
  },
  "exponent": {
    "input": "{\"id\":9.007199254740993e15}",
    "representedInteger": "9007199254740992",
    "sourceBigIntError": "SyntaxError",
    "pythonParsedType": "float",
    "pythonRepresentedInteger": "9007199254740992"
  },
  "fractional": {
    "input": "{\"id\":1.0000000000000001}",
    "representedInteger": "1",
    "isSafeInteger": true
  },
  "validation": [
    {
      "input": "0",
      "accepted": true,
      "output": "0",
      "errorName": null
    },
    {
      "input": "42",
      "accepted": true,
      "output": "42",
      "errorName": null
    },
    {
      "input": "9007199254740993",
      "accepted": true,
      "output": "9007199254740993",
      "errorName": null
    },
    {
      "input": "9223372036854775807",
      "accepted": true,
      "output": "9223372036854775807",
      "errorName": null
    },
    {
      "input": 42,
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": null,
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "01",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "-1",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "+1",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "1e3",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": " 42",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "42\n",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "9223372036854775808",
      "accepted": false,
      "output": null,
      "errorName": "RangeError"
    },
    {
      "input": "18446744073709551615",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": false,
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    },
    {
      "input": "４２",
      "accepted": false,
      "output": null,
      "errorName": "TypeError"
    }
  ],
  "checks": {
    "numericCases": 12,
    "numericParseChanged": 5,
    "numericRoundTripChanged": 6,
    "stringRoundTripsPreserved": 12,
    "validationAccepted": 4,
    "validationRejected": 13,
    "allAssertionsPassed": true
  },
  "limits": [
    "Fixed offline teaching fixtures; no HTTP, database, SDK or browser integration was tested.",
    "Node uses native JSON.parse/JSON.stringify and no patched BigInt.prototype.",
    "context.source conversion is tested for a plain integer token; exponent notation is rejected by BigInt.",
    "readId is a sample contract: canonical nonnegative decimal strings <= 9223372036854775807.",
    "Large integers in this report are strings to avoid damaging the evidence in another JSON reader."
  ]
}
