File size: 2,575 Bytes
4872e0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# CodiEsp Diagnosis Grounding Data

This repository contains the prepared data files needed to reproduce the
CodiEsp-D diagnosis grounding experiments. It is a data artifact only: it does
not include experiment code, Slurm scripts, model outputs, logs, or raw source
archives.

## Directory Layout

```text
data/codiesp/
  facts_test_full_exact.jsonl
  evidence_relocations_full_exact.jsonl
  stats_full_exact.json
  test_docs_full_exact.txt
  spotcheck_50_full_exact.tsv

index/icd10cm_fy2018/
  icd10cm_fy2018_retrieval.jsonl
  code_metadata.jsonl
  inventory_manifest.json
  self_retrieval_probe.json

schema/icd10cm/
  normalization_map.json
  vocab_family.json
  vocab_role.json
  vocab_qualifier.json
  vocab_scope.json
  vocab_temporal.json
  vocab_temporal_raw.json
```

## Main Evaluation File

```text
data/codiesp/facts_test_full_exact.jsonl
```

This is the prepared CodiEsp-D test set used by the second-domain experiments.
It contains the exact-English-relocation slice of the official CodiEsp test
split.

Summary from `data/codiesp/stats_full_exact.json`:

- Source documents: 250
- Target facts: 3,144
- Unique gold diagnosis codes: 958
- Exact relocation parse rate: 1.0
- Exact substring rate: 1.0

Each JSONL row contains the clinical mention, English context fields, document
identifier, one gold diagnosis code, and relocation metadata.

## Relocation Files

```text
data/codiesp/evidence_relocations_full_exact.jsonl
data/codiesp/spotcheck_50_full_exact.tsv
```

These files document how Spanish CodiEsp diagnosis spans were relocated into
the English context used for retrieval. The evaluation JSONL keeps only facts
with exact English substring relocation.

## Retrieval Inventory

```text
index/icd10cm_fy2018/icd10cm_fy2018_retrieval.jsonl
```

This is the candidate label inventory used by retrieval. It contains 71,344
candidate diagnosis-code entries. Each entry contains a code identifier,
canonical English label, retrieval/documentation text, and structural metadata.

Inventory construction metadata is in:

```text
index/icd10cm_fy2018/inventory_manifest.json
```

## Schema Files

```text
schema/icd10cm/
```

This directory contains the controlled vocabularies and normalization map used
by the CodiEsp structured grounding schema.

## Not Included

The following are intentionally excluded:

- Experiment code and Slurm scripts.
- Model outputs and intermediate run files.
- Slurm logs.
- Raw downloaded CodiEsp or diagnosis-code archives.
- Python bytecode caches.

`MANIFEST.tsv` lists the files in this data artifact with byte sizes.