{
  "tool_id": "art-473-interquartile-benchmark",
  "note": "Synthetic comparable-ratio arrays, not real comparable-company data. Vector 2 exercises the above_range verdict. Vector 3 is the empty-input finite gate.",
  "vectors": [
    {
      "name": "seven-comparables-within-range",
      "policy_parameters": {
        "comparable_ratios": [
          0.02,
          0.03,
          0.035,
          0.04,
          0.045,
          0.05,
          0.06
        ],
        "tested_party_ratio": 0.038,
        "financials": {
          "revenue": 1000,
          "total_cost": 900,
          "operating_profit": 100,
          "gross_profit": 400,
          "operating_expenses": 250
        }
      },
      "output_payload": {
        "comparable_count": 7,
        "sorted_comparable_ratios": [
          0.02,
          0.03,
          0.035,
          0.04,
          0.045,
          0.05,
          0.06
        ],
        "q1": 0.03,
        "median": 0.04,
        "q3": 0.05,
        "iqr": 0.020000000000000004,
        "tested_party_ratio": 0.038,
        "range_verdict": "within_range",
        "ratio_suite": {
          "tnmm_net_cost_plus_margin": 0.1111111111111111,
          "tnmm_operating_margin": 0.1,
          "berry_ratio": 1.6
        },
        "missing_inputs": [],
        "not_a_comparable_selector": "Arithmetic only. Comparable-set selection, functional/DEMPE analysis, and PLI choice are caller judgment and are never performed or validated by this kernel."
      },
      "golden_hash": "27f6fcb2b3b684192f2dcb399c0184d4783502fb76cc9608ea92fe209f5c8c2e"
    },
    {
      "name": "three-comparables-above-range",
      "policy_parameters": {
        "comparable_ratios": [
          0.01,
          0.015,
          0.02
        ],
        "tested_party_ratio": 0.09
      },
      "output_payload": {
        "comparable_count": 3,
        "sorted_comparable_ratios": [
          0.01,
          0.015,
          0.02
        ],
        "q1": 0.01,
        "median": 0.015,
        "q3": 0.02,
        "iqr": 0.01,
        "tested_party_ratio": 0.09,
        "range_verdict": "above_range",
        "ratio_suite": {
          "tnmm_net_cost_plus_margin": null,
          "tnmm_operating_margin": null,
          "berry_ratio": null
        },
        "missing_inputs": [],
        "not_a_comparable_selector": "Arithmetic only. Comparable-set selection, functional/DEMPE analysis, and PLI choice are caller judgment and are never performed or validated by this kernel."
      },
      "golden_hash": "86fe56215158cb8eba75927f52351968504bde7ab3c01d9bd8eb2e7e09aa0fb8"
    },
    {
      "name": "empty-input-finite-gate",
      "policy_parameters": {},
      "output_payload": {
        "comparable_count": 0,
        "sorted_comparable_ratios": [],
        "q1": null,
        "median": null,
        "q3": null,
        "iqr": null,
        "tested_party_ratio": null,
        "range_verdict": "insufficient_data",
        "ratio_suite": {
          "tnmm_net_cost_plus_margin": null,
          "tnmm_operating_margin": null,
          "berry_ratio": null
        },
        "missing_inputs": [
          "comparable_ratios: no comparables declared -- range cannot be computed",
          "tested_party_ratio: not declared -- no range verdict computed"
        ],
        "not_a_comparable_selector": "Arithmetic only. Comparable-set selection, functional/DEMPE analysis, and PLI choice are caller judgment and are never performed or validated by this kernel."
      },
      "golden_hash": "b7250a2a6b7b837d50ef97d79a41b4132ca9f346b17dc5cf4629f1cec7d1906f"
    }
  ]
}
