{
  "schemaVersion": 1,
  "kind": "calculator-acceptance-report",
  "locale": "ru",
  "phase": "after",
  "calculation": {
    "cases": [
      {
        "quantity": 9,
        "expected": 900,
        "actual": 900,
        "passed": true
      },
      {
        "quantity": 10,
        "expected": 900,
        "actual": 900,
        "passed": true
      },
      {
        "quantity": 11,
        "expected": 990,
        "actual": 990,
        "passed": true
      }
    ],
    "rejected": [
      {
        "quantity": 0,
        "rejected": true
      },
      {
        "quantity": -1,
        "rejected": true
      },
      {
        "quantity": 1.5,
        "rejected": true
      },
      {
        "quantity": 1001,
        "rejected": true
      }
    ],
    "passed": 3,
    "failed": 0
  },
  "htmlAudit": {
    "schemaVersion": 1,
    "kind": "html-audit",
    "url": "https://example.org/ru/calculator",
    "metadata": {
      "title": "Учебный калькулятор заказа",
      "description": "Проверка границы скидки в учебной формуле.",
      "robots": null,
      "canonicals": [
        "https://example.org/ru/calculator"
      ],
      "hreflangs": [],
      "hasMain": true
    },
    "headings": [
      {
        "level": 1,
        "text": "Учебный калькулятор заказа"
      }
    ],
    "summary": {
      "errors": 0,
      "warnings": 0,
      "info": 0,
      "headingsCount": 1
    },
    "strengths": [
      {
        "code": "self-canonical-valid",
        "message": "Single self-referencing canonical matches the supplied URL."
      },
      {
        "code": "single-h1",
        "message": "Document contains exactly one H1 heading."
      }
    ],
    "findings": [],
    "limitations": [
      "Parses supplied HTML statically without executing client-side JavaScript or fetching external URLs.",
      "Hreflang reciprocity against target pages requires checking those target HTML documents separately."
    ],
    "inputEncoding": {
      "requested": "utf-8",
      "selected": "utf-8",
      "source": "meta",
      "bom": null,
      "headerCharset": null,
      "metaCharset": "utf-8",
      "metaInspection": "bounded-dom",
      "fallbackUsed": false,
      "byteLength": 2265,
      "decodedUtf8Bytes": 2265,
      "declarationScanBytes": 1024,
      "scope": "Bounded HTML declaration inspection; not a complete browser encoding detector."
    }
  },
  "scope": "Business-rule tests were run independently. Reproleaf html-audit checks HTML, not calculation correctness."
}