{
  "fictional": true,
  "unit": "fictional monetary units per fixed eligible outlet period; not a benchmark",
  "rows": [
    {
      "pair": "P1",
      "outlet": "T1",
      "condition": "treatment",
      "baseline": 100,
      "post": 120
    },
    {
      "pair": "P1",
      "outlet": "C1",
      "condition": "comparison",
      "baseline": 110,
      "post": 121
    },
    {
      "pair": "P2",
      "outlet": "T2",
      "condition": "treatment",
      "baseline": 200,
      "post": 240
    },
    {
      "pair": "P2",
      "outlet": "C2",
      "condition": "comparison",
      "baseline": 220,
      "post": 242
    }
  ],
  "design": {
    "assignmentUnit": "outlet",
    "pairs": 2,
    "oneTreatmentPerPair": true,
    "allocationAssumption": "independent fair choice within each pair",
    "randomizationNull": "sharp no-effect null, fixed observed outlet changes",
    "primaryEstimator": "equal-pair mean additive change contrast"
  },
  "expected": {
    "treatmentBaseline": 300,
    "treatmentPost": 360,
    "comparisonBaseline": 330,
    "comparisonPost": 363,
    "treatmentChange": 60,
    "comparisonChange": 33,
    "pairContrasts": [
      9,
      18
    ],
    "meanAdditive": 13.5,
    "sumAdditive": 27,
    "treatmentGrowth": 0.2,
    "comparisonGrowth": 0.1,
    "growthDifferencePercentagePoints": 10,
    "multiplicativeCounterfactual": 330,
    "multiplicativeGap": 30,
    "randomizationMeanContrasts": [
      -13.5,
      4.5,
      -4.5,
      13.5
    ],
    "oneSidedUpperTailFraction": 0.25,
    "twoSidedAbsoluteTailFraction": 0.5
  },
  "scenarios": [
    {
      "change": "T1 post becomes110",
      "pairContrasts": [
        -1,
        18
      ],
      "meanAdditive": 8.5,
      "sumAdditive": 17,
      "multiplicativeGap": 20
    },
    {
      "change": "C2 post missing",
      "expected": "block planned full-design result; do not coerce blank to zero"
    },
    {
      "change": "T1 baseline0",
      "expected": "T1 percentage growth undefined; additive contrast still calculable, design eligibility requires review"
    },
    {
      "change": "duplicate outlet or two treatment outlets in same pair",
      "expected": "reject input"
    }
  ],
  "sources": [
    {
      "url": "https://www.itl.nist.gov/div898/handbook/pri/section3/pri332.htm",
      "claim": "Blocking and within-block allocation; not restaurant standards or support for invented amounts"
    },
    {
      "url": "https://www.itl.nist.gov/div898/handbook/pri/section5/pri55.htm",
      "claim": "Unit structure and restricted randomization affect appropriate analysis"
    }
  ]
}