{
  "analysis_id": "diag_108c3507db7c171b256d2b24",
  "claims": {
    "customer_result_claimed": false,
    "external_benchmark_claimed": false,
    "savings_claimed": false
  },
  "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
  "coverage": {
    "billing_rows_received": 2,
    "canonical_billing_rows": 2,
    "canonical_usage_rows": 5,
    "input_file_sha256": [
      "56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2",
      "64a9c726554f8375b87694b44a1d0f9174de1d786a43d6b11559991d7649db0e",
      "9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d",
      "a3d1244bcb8ab0d83c82cc5c144f8ddb385a4fa97a2b019379ba18485503881f"
    ],
    "providers": [
      "anthropic",
      "openai"
    ],
    "usage_rows_received": 6
  },
  "findings": {
    "concentration": {
      "detected": true,
      "heuristic_threshold_percent": "70.000000",
      "interpretation": "Descriptive 70% concentration heuristic; not an external benchmark.",
      "reason": null,
      "status": "SUPPORTED",
      "top_model_share_percent": "83.333333",
      "top_provider_share_percent": "83.333333"
    },
    "context_growth_by_provider": [
      {
        "provider": "anthropic",
        "reason": "conversation_id, sequence_number, and input_tokens are not present in every usage source",
        "status": "N/A"
      },
      {
        "conversations_analyzed": 1,
        "conversations_with_positive_input_token_growth": 1,
        "growth_detected": true,
        "interpretation": "Sequential input-token growth observed; this does not by itself prove inefficiency.",
        "maximum_observed_growth_tokens": 16000,
        "provider": "openai",
        "status": "SUPPORTED"
      }
    ],
    "exact_duplicate_billing_rows": 0,
    "exact_duplicate_usage_rows": 1,
    "retries_by_provider": [
      {
        "provider": "anthropic",
        "reason": "retry_group_id and attempt_number are not present in every usage source",
        "status": "N/A"
      },
      {
        "groups_observed": 1,
        "groups_with_multiple_attempts": 1,
        "interpretation": "Observed retry metadata only; no waste or savings claim is made.",
        "provider": "openai",
        "retry_attempt_cost_usd": "10.000000",
        "retry_attempt_rows": 1,
        "status": "SUPPORTED"
      }
    ],
    "unmapped_dimension_exceptions": 1
  },
  "prioritized_actions": [
    {
      "action": "Verify the anthropic billing-to-usage variance against the supplied source records.",
      "basis": "Observed billing-minus-usage variance: -1.000000 USD.",
      "claim_type": "OBSERVED_DATA",
      "estimated_savings_usd": null,
      "evidence_refs": [
        "sha256:56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2:row:1",
        "sha256:56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2:row:2",
        "sha256:64a9c726554f8375b87694b44a1d0f9174de1d786a43d6b11559991d7649db0e:row:2"
      ],
      "priority": 1
    },
    {
      "action": "Verify the openai billing-to-usage variance against the supplied source records.",
      "basis": "Observed billing-minus-usage variance: 5.000000 USD.",
      "claim_type": "OBSERVED_DATA",
      "estimated_savings_usd": null,
      "evidence_refs": [
        "sha256:9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d:row:2",
        "sha256:9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d:row:3",
        "sha256:9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d:row:4",
        "sha256:a3d1244bcb8ab0d83c82cc5c144f8ddb385a4fa97a2b019379ba18485503881f:row:1"
      ],
      "priority": 2
    },
    {
      "action": "Confirm whether the source can be exported or mapped with project_id grouping.",
      "basis": "2 canonical usage record(s) have no project_id value",
      "claim_type": "OBSERVED_DATA",
      "estimated_savings_usd": null,
      "evidence_refs": [
        "sha256:56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2:row:1",
        "sha256:56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2:row:2"
      ],
      "priority": 3
    },
    {
      "action": "Remove exact duplicate export rows before using usage totals downstream.",
      "basis": "1 exact duplicate row(s) were excluded from reconciliation.",
      "claim_type": "OBSERVED_DATA",
      "estimated_savings_usd": null,
      "evidence_refs": [
        "sha256:9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d:row:5"
      ],
      "priority": 4
    },
    {
      "action": "Review observed openai retry attempts and confirm whether each retry was necessary.",
      "basis": "1 row(s) identify an attempt number greater than one.",
      "claim_type": "OBSERVED_DATA",
      "estimated_savings_usd": null,
      "evidence_refs": [
        "sha256:9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d:row:4"
      ],
      "priority": 5
    }
  ],
  "provider_reconciliation": [
    {
      "billed_amount_usd": "24.000000",
      "provider": "anthropic",
      "status": "VARIANCE",
      "usage_amount_usd": "25.000000",
      "variance_amount_usd": "-1.000000"
    },
    {
      "billed_amount_usd": "130.000000",
      "provider": "openai",
      "status": "VARIANCE",
      "usage_amount_usd": "125.000000",
      "variance_amount_usd": "5.000000"
    }
  ],
  "schema_version": "llm-spend-diagnostic-v2"
}
