{
  "edition": "uk-financial-advice-firm-selection-2026",
  "method_version": "fa-firm-selection-method-0.1",
  "status": "frozen",
  "capture_protocol_version": "fa3-capture-protocol-1.0",
  "corpus_version": "fa-queries-0.3",
  "corpus_file": "fa_queries_0_3.json",
  "identity_cohort_version": "uk-financial-advice-market-panel-2026-07-30",
  "eligibility_registry_version": "fa-eligibility-0.3-frozen",
  "semantic_codebook_version": "fa3-semantic-codebook-0.1",
  "semantic_decision_schema_version": "fa3-semantic-decision-0.1",
  "repetitions": 3,
  "weights": {
    "engine": "equal",
    "repetitions": "average_within_question_and_engine",
    "national_family": {
      "core": 0.25,
      "wealth": 0.25,
      "pensions": 0.25,
      "life_events": 0.25
    },
    "shortlist_answer_mass": 1.0,
    "local_enters_national_summary": false
  },
  "providers": [
    "openai",
    "gemini",
    "perplexity"
  ],
  "provider_settings": {
    "openai": {
      "model": "gpt-5.4-2026-03-05",
      "tool_surface": "responses.web_search",
      "tool_type": "web_search",
      "user_location": {
        "type": "approximate",
        "country": "GB"
      },
      "max_output_tokens": 1500,
      "store": false,
      "reserve_usd_per_attempt": 0.25
    },
    "gemini": {
      "model": "gemini-3-flash-preview",
      "tool_surface": "interactions.google_search.auto.system_instruction",
      "api_surface": "interactions",
      "tool_choice": "auto",
      "provider_instruction_version": "gemini-grounding-0.4",
      "system_instruction": "Use Google Search before answering every user query. Base the answer on the sources returned by Google Search. If Google Search is unavailable, do not answer from memory.",
      "api_revision": "2026-05-20",
      "background_execution": true,
      "server_storage_required": true,
      "background_poll_interval_seconds": 5,
      "background_poll_timeout_seconds": 300,
      "request_timeout_seconds": 30,
      "max_output_tokens": 4096,
      "jurisdiction_setting": "No supported GB location field is transmitted on the frozen Interactions Google Search surface; every prompt carries explicit UK wording.",
      "reserve_usd_per_attempt": 0.20
    },
    "perplexity": {
      "model": "sonar-pro",
      "tool_surface": "v1.sonar.web_search",
      "language_preference": "en",
      "web_search_options": {
        "search_mode": "web",
        "enable_search_classifier": false,
        "search_language_filter": [
          "en"
        ],
        "user_location": {
          "country": "GB"
        }
      },
      "max_tokens": 1500,
      "reserve_usd_per_attempt": 0.25
    }
  },
  "retry_policy": {
    "max_attempts": 3,
    "retryable_categories": [
      "timeout",
      "transport_error",
      "rate_limited",
      "provider_5xx",
      "provider_error",
      "provider_failed",
      "provider_cancelled",
      "provider_incomplete",
      "provider_or_transport_error",
      "missing_answer",
      "missing_grounding",
      "missing_sources"
    ],
    "default_delay_seconds": [
      15,
      60
    ],
    "delay_seconds_by_category": {
      "rate_limited": [
        30,
        90
      ],
      "provider_incomplete": [
        60,
        180
      ],
      "missing_answer": [
        60,
        180
      ],
      "missing_grounding": [
        60,
        180
      ],
      "missing_sources": [
        60,
        180
      ]
    },
    "valid_zero_candidate_answer_is_retryable": false
  },
  "cost_control": {
    "cost_policy_version": "fa3-cost-1.0",
    "status": "approved_frozen",
    "cumulative_cap_gbp": 65.0,
    "historical_spend_gbp_upper_bound": 37.788389,
    "remaining_before_fa3_gbp": 27.211611,
    "projected_new_program_gbp_upper_bound": 22.573164,
    "projection_basis": "Two fresh 225-observation grids using the sealed prior 225-observation actual £9.405485, with 20% contingency applied to each grid.",
    "gbp_per_usd": 0.746046,
    "exchange_rate_source": "HM Revenue & Customs monthly exchange rates",
    "exchange_rate_period": "July 2026",
    "published_rate": "1 GBP = 1.3404 USD",
    "legacy_ledger_v1": "../runs/sector/cost_ledger.json",
    "legacy_ledger_v2": "../runs/sector/cost_ledger_v2.json",
    "ledger_path": "../runs/fa3/cost_ledger_v3.json",
    "contingency_rate": 0.2
  },
  "capture_rules": {
    "pilot_phase": "discarded_pilot",
    "formal_phase": "formal_capture",
    "pilot_observations": 225,
    "formal_observations": 225,
    "fresh_stateless_requests": true,
    "reuse_pilot_in_formal": false,
    "formal_composite_requires_valid": 225,
    "local_questions_enter_national_summary": false
  }
}
