{
  "version": "1.0.0",
  "published": "2026-11-11",
  "publisher": "Kymata Labs LLC",
  "scope": "Fixed synthetic arithmetic examples; generic units. No live prices, tax rates, private inputs or personalized advice. The absolute starting value is used for signed relative change.",
  "review": {
    "numerical": "Hand-derived expected fixtures checked by automated tests; no external certification.",
    "external": "not-verified",
    "nativeLanguage": "not-verified"
  },
  "cases": [
    {
      "id": "of",
      "operation": "of",
      "inputs": {
        "a": 20,
        "b": 200
      },
      "expected": {
        "value": 40
      },
      "formula": "(20 / 100) × 200 = 40",
      "scope": "synthetic",
      "guide": "what-is-percentage",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "zero-percent",
      "operation": "of",
      "inputs": {
        "a": 0,
        "b": 200
      },
      "expected": {
        "value": 0
      },
      "formula": "(0 / 100) × 200 = 0",
      "scope": "synthetic",
      "guide": "what-is-percentage",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "ratio",
      "operation": "is_what",
      "inputs": {
        "a": 30,
        "b": 200
      },
      "expected": {
        "value": 15
      },
      "formula": "(30 / 200) × 100 = 15%",
      "scope": "synthetic",
      "guide": "what-is-percentage",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "change",
      "operation": "change",
      "inputs": {
        "a": 40,
        "b": 52
      },
      "expected": {
        "value": 30
      },
      "formula": "((52 − 40) / 40) × 100 = 30%",
      "scope": "synthetic",
      "guide": "percentage-change-formula",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "negative-base",
      "operation": "change",
      "inputs": {
        "a": -100,
        "b": -50
      },
      "expected": {
        "value": 50
      },
      "formula": "((−50 − (−100)) / |−100|) × 100 = 50%",
      "scope": "negative",
      "guide": "percentage-change-formula",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "zero-base",
      "operation": "change",
      "inputs": {
        "a": 0,
        "b": 7
      },
      "expected": {
        "error": "zero"
      },
      "formula": "((7 − 0) / |0|) × 100",
      "scope": "zero",
      "guide": "percentage-change-formula",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "reverse",
      "operation": "reverse",
      "inputs": {
        "a": 30,
        "b": 20
      },
      "expected": {
        "value": 150
      },
      "formula": "30 / (20 / 100) = 150",
      "scope": "synthetic",
      "guide": "what-is-percentage",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "zero-reverse",
      "operation": "reverse",
      "inputs": {
        "a": 30,
        "b": 0
      },
      "expected": {
        "error": "zero"
      },
      "formula": "30 / (0 / 100)",
      "scope": "zero",
      "guide": "what-is-percentage",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "increase",
      "operation": "adjust",
      "inputs": {
        "a": 100,
        "b": 20,
        "increase": true
      },
      "expected": {
        "value": 120
      },
      "formula": "100 × (1 + 20 / 100) = 120",
      "scope": "synthetic",
      "guide": "percentage-increase-decrease",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "decrease",
      "operation": "adjust",
      "inputs": {
        "a": 100,
        "b": 20,
        "increase": false
      },
      "expected": {
        "value": 80
      },
      "formula": "100 × (1 − 20 / 100) = 80",
      "scope": "synthetic",
      "guide": "percentage-increase-decrease",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "points",
      "operation": "compare_rates",
      "inputs": {
        "from": 5,
        "to": 7
      },
      "expected": {
        "points": 2,
        "relative": 40
      },
      "formula": "7 − 5 = 2; ((7 − 5) / |5|) × 100 = 40%",
      "scope": "synthetic",
      "guide": "percentage-change-formula",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "reverse-discount",
      "operation": "reverse_discount",
      "inputs": {
        "paid": 80,
        "discount": 20
      },
      "expected": {
        "value": 100
      },
      "formula": "80 / (1 − 20 / 100) = 100",
      "scope": "synthetic",
      "guide": "reverse-percentage-original-price",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "full-discount",
      "operation": "reverse_discount",
      "inputs": {
        "paid": 0,
        "discount": 100
      },
      "expected": {
        "error": "indeterminate"
      },
      "formula": "0 = original × (1 − 100 / 100)",
      "scope": "reverse",
      "guide": "reverse-percentage-original-price",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "stacked-discounts",
      "operation": "successive_changes",
      "inputs": {
        "amount": 200,
        "steps": [
          {
            "direction": "decrease",
            "rate": 30
          },
          {
            "direction": "decrease",
            "rate": 20
          }
        ]
      },
      "expected": {
        "first": 140,
        "final": 112,
        "change": -44
      },
      "formula": "200 × 0.70 = 140; 140 × 0.80 = 112; (112 / 200 − 1) × 100 = −44%",
      "scope": "synthetic",
      "guide": "everyday-percentage-tips",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "increase-then-decrease",
      "operation": "successive_changes",
      "inputs": {
        "amount": 100,
        "steps": [
          {
            "direction": "increase",
            "rate": 20
          },
          {
            "direction": "decrease",
            "rate": 20
          }
        ]
      },
      "expected": {
        "first": 120,
        "final": 96,
        "change": -4
      },
      "formula": "100 × 1.20 = 120; 120 × 0.80 = 96; (96 / 100 − 1) × 100 = −4%",
      "scope": "synthetic",
      "guide": "percentage-increase-decrease",
      "displayDecimals": 4,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    },
    {
      "id": "rounding",
      "operation": "successive_changes",
      "inputs": {
        "amount": 0.05,
        "steps": [
          {
            "direction": "decrease",
            "rate": 10
          },
          {
            "direction": "decrease",
            "rate": 10
          }
        ]
      },
      "expected": {
        "first": 0.045,
        "final": 0.0405,
        "change": -19
      },
      "formula": "0.05 × 0.90 × 0.90 = 0.0405 → 0.04",
      "scope": "rounding",
      "guide": "everyday-percentage-tips",
      "displayDecimals": 2,
      "source": "https://openstax.org/books/prealgebra-2e/pages/6-2-solve-general-applications-of-percent"
    }
  ],
  "scopeLimits": {
    "synthetic": "Hypothetical generic units; no current prices, tax rates or advice.",
    "negative": "Signed relative change divides by the absolute starting value.",
    "zero": "Relative change or division from a zero base is undefined.",
    "reverse": "A 100% discount does not uniquely identify an original price.",
    "rounding": "Displayed to two decimals; intermediate values are not rounded. Retailer rounding may differ."
  }
}
