{
  "schema_version": 1,
  "suite_id": "internet-service-area-hotspot",
  "title": "Internet Ride, Food, and Mart service-area 20/80 hotspot",
  "status": "scenario_contract_not_evidence",
  "issue": "https://github.com/tidbcloud/TiPoC/issues/198",
  "purpose": "Exercise the same deterministic service-area hotspot independently for any selected Internet business subset while retaining real domain root builders and bounded distribution receipts.",
  "pass_warning": "This file is a runnable case contract, not live E2E evidence. Physical TiKV Region concentration requires an additional service-area key-to-Region proof.",
  "workload_profile": {
    "name": "internet-service-area-20-80",
    "hot_dimensions": ["service_area"],
    "hot_set_size": 0,
    "skew_percent": 80,
    "skew_function": "hotset_uniform",
    "lineage_seed": 198,
    "hot_range_percent": 20,
    "hot_range_placement": "middle",
    "hot_range_segments": [],
    "hot_density_ratio_target": 16,
    "derived_hot_pressure_percent": 80
  },
  "selection_contract": "Use the existing ordered pressure.selected_businesses subset. Hotspot selection changes the shared consumer/service-area before every selected domain invokes its production root builder.",
  "scenarios": [
    {"testcase_id": "internet-hotspot-ride", "selected_businesses": ["ride"], "expected_receipt_businesses": ["ride"]},
    {"testcase_id": "internet-hotspot-food", "selected_businesses": ["food"], "expected_receipt_businesses": ["food"]},
    {"testcase_id": "internet-hotspot-mart", "selected_businesses": ["mart"], "expected_receipt_businesses": ["mart"]},
    {"testcase_id": "internet-hotspot-ride-food", "selected_businesses": ["ride", "food"], "expected_receipt_businesses": ["ride", "food"]},
    {"testcase_id": "internet-hotspot-ride-mart", "selected_businesses": ["ride", "mart"], "expected_receipt_businesses": ["ride", "mart"]},
    {"testcase_id": "internet-hotspot-food-mart", "selected_businesses": ["food", "mart"], "expected_receipt_businesses": ["food", "mart"]},
    {"testcase_id": "internet-hotspot-all-domains", "selected_businesses": ["ride", "food", "mart"], "expected_receipt_businesses": ["ride", "food", "mart"]}
  ],
  "required_report_fields": [
    "compiled_scenario.hotspot.profile_name",
    "compiled_scenario.hotspot.dimension",
    "compiled_scenario.hotspot.hot_key_percent",
    "compiled_scenario.hotspot.hot_traffic_percent",
    "compiled_scenario.hotspot.lineage_seed",
    "compiled_scenario.hotspot.algorithm_id",
    "business_order_plan.hotspot.total_service_area_count",
    "business_order_plan.hotspot.target_service_area_count",
    "business_order_plan.hotspot.target_first_service_area_id",
    "business_order_plan.hotspot.target_last_service_area_id",
    "business_order_plan.hotspot.target_digest",
    "domain_run_receipt.hotspot.domains[].business",
    "domain_run_receipt.hotspot.domains[].eligible_root_count",
    "domain_run_receipt.hotspot.domains[].hot_target_root_count",
    "domain_run_receipt.hotspot.domains[].non_hot_root_count",
    "domain_run_receipt.hotspot.domains[].configured_hot_percent",
    "domain_run_receipt.hotspot.domains[].observed_hot_basis_points",
    "e2e.service_area_key_to_region_mapping",
    "e2e.region_request_distribution"
  ]
}
