{
  "scenario_id": "P01",
  "auto_pass": true,
  "auto_score": 4.0,
  "checks": [
    {
      "name": "non_empty_response",
      "passed": true,
      "weight": 0.25,
      "critical": true,
      "detail": "回答不得为空"
    },
    {
      "name": "python_code_extracted",
      "passed": true,
      "weight": 0.75,
      "critical": true,
      "detail": "需包含可导入的 settle_order"
    },
    {
      "name": "isolated_execution",
      "passed": true,
      "weight": 1.0,
      "critical": true,
      "detail": "函数已在临时目录执行"
    },
    {
      "name": "public_financial_conservation",
      "passed": true,
      "weight": 1.0,
      "critical": true,
      "detail": "{'public_order': {'passed': True, 'actual': \"{'order_id': 'SO-20261117-001', 'subtotal_cents': 4500, 'shipping_cents': 200, 'payable_cents': 4599, 'lines': [{'sku': 'CFG-COFFEE-01', 'gross_cents': 2000, 'discount_cents': 45, 'net_cents': 1955}, {'sku': 'FILTER-02', 'gross_cents': 1000, 'discount_cents': 22, 'net_cents': 978}, {'sku': 'CUP-03', 'gross_cents': 1500, 'discount_cents': 34, 'net_cents': 1466}]}\", 'input_unchanged': True}}"
    },
    {
      "name": "largest_remainder_and_stable_tie",
      "passed": true,
      "weight": 0.75,
      "critical": true,
      "detail": "{'equal_remainder_tie': {'passed': True, 'actual': \"{'order_id': 'SO-20261117-002', 'subtotal_cents': 300, 'shipping_cents': 0, 'payable_cents': 298, 'lines': [{'sku': 'TEA-A', 'gross_cents': 100, 'discount_cents': 1, 'net_cents': 99}, {'sku': 'TEA-B', 'gross_cents': 100, 'discount_cents': 1, 'net_cents': 99}, {'sku': 'TEA-C', 'gross_cents': 100, 'discount_cents': 0, 'net_cents': 100}]}\", 'input_unchanged': True}, 'single_cent_stable_tie': {'passed': True, 'actual': \"{'order_id': 'SO-20261117-003', 'subtotal_cents': 300, 'shipping_cents': 0, 'payable_cents': 299, 'lines': [{'sku': 'TEA-A', 'gross_cents': 100, 'discount_cents': 1, 'net_cents': 99}, {'sku': 'TEA-B', 'gross_cents': 100, 'discount_cents': 0, 'net_cents': 100}, {'sku': 'TEA-C', 'gross_cents': 100, 'discount_cents': 0, 'net_cents': 100}]}\", 'input_unchanged': True}}"
    },
    {
      "name": "zero_and_large_integer_edges",
      "passed": true,
      "weight": 0.75,
      "critical": true,
      "detail": "{'all_zero_with_shipping': {'passed': True, 'actual': \"{'order_id': 'ZERO', 'subtotal_cents': 0, 'shipping_cents': 50, 'payable_cents': 50, 'lines': [{'sku': 'GIFT', 'gross_cents': 0, 'discount_cents': 0, 'net_cents': 0}]}\", 'input_unchanged': True}, 'zero_line_and_large_integer': {'passed': True, 'actual': \"{'order_id': 'BIG', 'subtotal_cents': 1000000000003, 'shipping_cents': 0, 'payable_cents': 1000000000002, 'lines': [{'sku': 'FREE', 'gross_cents': 0, 'discount_cents': 0, 'net_cents': 0}, {'sku': 'BULK', 'gross_cents': 1000000000000, 'discount_cents': 1, 'net_cents': 999999999999}, {'sku': 'SMALL', 'gross_cents': 3, 'discount_cents': 0, 'net_cents': 3}]}\", 'input_unchanged': True}}"
    },
    {
      "name": "validation_and_immutability",
      "passed": true,
      "weight": 0.5,
      "critical": true,
      "detail": "{'invalid_discount': {'passed': True, 'detail': 'ValueError: discount_cents must be between 0 and subtotal_cents'}, 'invalid_boolean_quantity': {'passed': True, 'detail': 'ValueError: qty must be a positive integer'}, 'invalid_shipping': {'passed': True, 'detail': 'ValueError: shipping_cents must be a non-negative integer'}}"
    }
  ],
  "response_chars": 3151,
  "error": null
}
