{
  "footer": "Verified: 2/2 counts checked against source · 0 estimated · 0 unverified counts",
  "confidence": "Counts verified against the published assessment export. Country completion review and unresolved legal/source checks are recorded separately; these counts do not certify legal completeness.",
  "source": "bic/data/assessment.json",
  "sha256": "3ad534be895524499786a577d2854abc1537554c4aea7bbae8a1635712661daf",
  "dedup": "Requirement IDs; exact nonempty source URL strings.",
  "claims": [
    {
      "claim": "The export contains 665 rows with 665 unique nonempty IDs, distributed as 284 MX, 314 BR and 67 PE, counting each market by its country prefix.",
      "expected": {
        "total_rows": 665,
        "unique_ids": 665,
        "by_market": {
          "MX": 284,
          "BR": 314,
          "PE": 67
        }
      },
      "actual": {
        "total_rows": 665,
        "unique_ids": 665,
        "by_market": {
          "BR": 314,
          "MX": 284,
          "PE": 67
        }
      },
      "query": "import json\nfrom collections import Counter\nsource = '/Users/naomiehalioua/market-access/bic-completion-2026-11-05/out/export.json'\nwith open(source, encoding='utf-8') as f:\n    rows = json.load(f)['rows']\nassert isinstance(rows, list)\nids = [row.get('id') for row in rows]\nmissing_or_invalid_ids = sum(not isinstance(id, str) or not id.strip() for id in ids)\nvalid_ids = [id for id in ids if isinstance(id, str) and id.strip()]\nid_counts = Counter(valid_ids)\nduplicate_ids = {id: count for id, count in id_counts.items() if count > 1}\nby_market = dict(sorted(Counter(str(row.get('market', '')).split('-', 1)[0] for row in rows).items()))\nactual = {'total_rows': len(rows), 'unique_ids': len(id_counts), 'by_market': by_market}\ndedup = {'key': 'rows[].id', 'method': 'Counter over nonempty string identifiers; compare raw row count with distinct identifiers; no rows discarded', 'duplicate_ids': duplicate_ids, 'missing_or_invalid_ids': missing_or_invalid_ids}\nprint(json.dumps({'actual': actual, 'dedup': dedup}, ensure_ascii=False, sort_keys=True))\n",
      "dedup": {
        "key": "rows[].id",
        "method": "Counter over nonempty string identifiers; compare raw row count with distinct identifiers; no rows discarded",
        "duplicate_ids": {},
        "missing_or_invalid_ids": 0
      },
      "confidence": "verified: direct independent Python enumeration of export.json rows; embedded stats/assertions are not used. This verifies counts and ID uniqueness, not legal completeness.",
      "verdict": "pass"
    },
    {
      "claim": "Distinct nonempty official_url values across every row of the final out/export.json",
      "expected": 509,
      "query": "import json\nfrom pathlib import Path\nsource = Path(\"/Users/naomiehalioua/market-access/bic-completion-2026-11-05/out/export.json\")\nrows = json.loads(source.read_bytes())[\"rows\"]\nurls = [row.get(\"official_url\").strip() for row in rows\n        if isinstance(row.get(\"official_url\"), str) and row.get(\"official_url\").strip()]\nactual = len(set(urls))\nraw_counts = {\n    \"export_rows\": len(rows),\n    \"rows_with_nonempty_official_url\": len(urls),\n    \"rows_missing_null_empty_or_nonstring_official_url\": len(rows) - len(urls),\n    \"distinct_nonempty_official_urls\": actual,\n    \"duplicate_url_occurrences_removed\": len(urls) - actual\n}\n",
      "actual": 509,
      "verdict": "pass",
      "raw_counts": {
        "export_rows": 665,
        "rows_with_nonempty_official_url": 665,
        "rows_missing_null_empty_or_nonstring_official_url": 0,
        "distinct_nonempty_official_urls": 509,
        "duplicate_url_occurrences_removed": 156
      },
      "deduplication": {
        "field": "rows[*].official_url",
        "population": "All export rows, without market/product/status/applies/source-verification filters",
        "exclusions": "Missing, null, non-string and empty/whitespace-only values",
        "normalization": "Strip leading/trailing whitespace only; no URL canonicalisation or redirect/fragment/query consolidation",
        "method": "Python set on the remaining exact URL strings",
        "removed_occurrences": 156
      },
      "confidence": {
        "level": "high",
        "type": "verified against the actual local export snapshot",
        "estimated": false,
        "scope": "Exact URL-string count; this does not certify distinct legal instruments or source reachability/quotation validity"
      },
      "source": "/Users/naomiehalioua/market-access/bic-completion-2026-11-05/out/export.json",
      "source_sha256": "4e9ae9add13cae1b928d1a415372c6bc110003f665344c3c5b649c1239b722da",
      "source_bytes": 2815074,
      "checked_at": "2026-11-05T12:15:22.061398+00:00",
      "checks": {
        "actual_equals_expected": true,
        "export_rows_equal_requested_665": true,
        "raw_partition_consistent": true,
        "dedup_partition_consistent": true
      }
    }
  ],
  "completionReview": "bic/data/completion-review.json",
  "artifacts": {
    "map": "8602fb79cf449dcd4fb8e24e810a81bfe6d959cdcc1ada3af92fcf3255e8d3bd",
    "report": "b71ee2f43e56296198a1966b9c880ea5b3d65578dafaf89872c0e912098ca3fe",
    "workbook": "2c0072b7f4d77b310524833e7c79e233e0db76b95e907749c3f9d500b2487d8d"
  }
}
