schema_version: tipoc.internet_platform.profile.v1
identity:
  testcase_id: internet-platform-baseline-10g
  suite_id: internet-platform-baseline
  title: Internet platform baseline profile at local 10G scale
  status: scenario_contract_not_evidence
  pass_warning: This file is scenario metadata only. A formal pass requires fresh live target execution, complete attempt evidence, and guard success.
support_truth:
  prepare: supported_now
  run: supported_now
  live_target_execution: not_proven
  formal_pressure_pass: not_proven
  boundary: supported_now means selectable non-live implementation paths for internet prepare and run; this file is not live E2E, benchmark, measured throughput, or pressure-pass evidence.
scenario:
  industry: internet
  model: platform
  scale:
    target_size: 10G
  catalog_lanes:
    - identity
    - marketplace
    - order
    - money
    - growth
    - operations
    - analytics
    - state_evolution
  required_table_groups:
    - account
    - provider
    - merchant
    - platform_order
    - payment_authorization
    - wallet_ledger_entry
    - settlement_batch
    - promotion
    - campaign_event
    - support_case
    - retention_event
prepare_profile:
  source_kind: generated_internet_platform
  source_format: csv
  import_executor: tidb_import_into_file
  unsupported_source_policy: fail_closed_no_side_effect
  import_mode: import
  ops:
    - generate
    - import
    - add-index
    - backup
  csv_object_target_bytes: 536870912
  load_unit_size: 1000
  global_sort_workspace: executor_derived_from_base_workspace
  final_index_policy: prepare_end
pressure_profile:
  duration_seconds: 180
  warmup_seconds: 60
  cooldown_seconds: 30
  progress_interval_secs: 30
  concurrency: 128
  workload_mix: internet_platform
  workload_profile:
    name: canonical-platform
    hotspot: false
  transaction_weight_targets:
    account_session: 0.10
    provider_availability_update: 0.08
    merchant_catalog_search: 0.12
    order_placement: 0.16
    matching_dispatch: 0.12
    order_status_lookup: 0.08
    payment_authorization: 0.10
    wallet_movement: 0.06
    settlement_batch: 0.04
    promotion_redemption: 0.05
    campaign_analytics: 0.04
    support_case: 0.03
    retention_cleanup: 0.01
    operational_health_read: 0.01
  nodes:
    - local-1
    - local-2
  node_specs:
    - node_id: local-1
      pressure_capacity_units: 1
      pressure_sql_pool_size: 64
      pressure_worker_limit: 128
    - node_id: local-2
      pressure_capacity_units: 1
      pressure_sql_pool_size: 64
      pressure_worker_limit: 128
reporting_contract:
  result_status: observed_or_blocked_only
  output_dir_pattern: runs/internet-platform-baseline-10g/<attempt_id>
  required_fields:
    - testcase_id
    - target_size
    - catalog_table_count
    - source_object_count
    - restore_policy
    - warmup_seconds
    - measurement_seconds
    - concurrency
    - pressure_worker_count
    - sql_pool_size
    - workload_profile
    - observed_distribution_summary
    - executed_statement_count
    - statement_qps
    - stable_statement_qps
    - blocked_statement_count
    - report_parity.pressure_shape
    - report_parity.sql_type_statement_qps
    - report_parity.latency
    - report_parity.resource_evidence_paths
    - report_parity.bottleneck_interpretation_status
    - bottleneck_interpretation
  formal_pass_requires:
    - committed_source_verification
    - complete init prepare run cleanup attempt evidence
    - live target execution evidence
    - run receipt and global closeout evidence
    - zero blocked runtime statements
    - guard success from the attempt root
cleanup:
  policy: preserve_evidence
  preserve_evidence: true
notes:
  - The profile binds neutral platform lanes and transaction families only.
  - The profile does not claim live pressure throughput or capacity evidence.
  - supported_now in this profile does not replace live execution evidence.
