Searching 207,591 Korean statute articles: Recall@10 from 27.7% to 80.4%, and why our subsample said 88.7%
Part 1 of the ThakiEdu series. Korean version: /tech-blog/ko/research/thakiedu-embedding-korean-statute-retrieval/ (ko).
TL;DR
- We fine-tuned
BAAI/bge-m3for one narrow job: given a Korean legal question plus its passage, find the one statute article that answers it. Over the full 207,591-article corpus, Recall@10 goes from 0.277 (original bge-m3) and 0.304 (our previous checkpoint, r2) to 0.804 (r3, released seed 29). The gain over bge-m3 is +0.526, 95% CI [0.483, 0.572], paired bootstrap over 458 queries. - The research message is about measurement, not the model. Our training-time evaluation used a 12,000-article subsample and reported 0.887. The same checkpoint and the same 458 queries give 0.804 on the full corpus, about 8 points lower. R@1 drops from 0.596 to 0.373. The subsample flattered both our models, the old one as well as the new one.
- Across three training seeds, R@10 is stable (0.799 to 0.804; see the note in Section 7.3) but R@1 is not (0.373 to 0.465). The released seed (29) was picked by a rule fixed before we looked at full-corpus results, and it happens to have the lowest R@1.
- Evaluation queries come from the same dev pool as the training queries (question and answer overlap removed; statute and writing-style distribution shared). This is not a sealed holdout and not a claim about general Korean retrieval. On administrative-document QA the model ties bge-m3, because that task is already saturated.
- We ship PyTorch weights and an FP32 ONNX export. We did not ship INT8: recall held, but mean top-10 overlap with FP32 was 0.904 (minimum 0.80), and we could not show rank equivalence.

1. Problem
A large part of Korean education and public-service work involves questions whose answers are statute articles. A teacher asks about school-violence procedure, a civil servant asks which enforcement decree governs a subsidy, a student writes about the scope of a tax exemption. A downstream model (a tutor, a document assistant, a law-citation selector) needs the right article in its context. If retrieval misses, nothing later in the pipeline can recover it.
The retrieval unit is a single article (“제N조”), not a whole law. Korea’s statute book, in the Legalize-KR snapshot of National Law Information Center texts we use, has about 1,874 laws and 173,569 articles in our first corpus build (v1) and 207,591 articles in the current build (v2). Neighboring articles of the same law share vocabulary, defined terms and structure. The hard part is therefore not “is this about the Income Tax Act” but “which of the Act’s articles is it”. A general embedding model handles the first and mostly fails the second.
We frame the task as dense retrieval:
- Query: the question, a newline, then the first 1,000 characters of the passage the question is about. This format is fixed in both training and evaluation. Bare short questions were not evaluated.
- Document: one statute article, truncated to 384 tokens in training and 512 at inference.
- Gold: exactly one article per query.
- Metric: Recall@k (is the gold article in the top k), nDCG@10, MRR.
2. Related work
We build on well-known pieces, and nothing here is new as a method.
- bge-m3 (Chen et al., 2024, “BGE M3-Embedding”) is a multilingual XLM-RoBERTa-based embedding model with dense, sparse and multi-vector modes. We use only its dense CLS output.
- InfoNCE (van den Oord et al., 2018) is the contrastive loss we optimize. Dense passage retrieval with in-batch negatives and BM25 hard negatives is the DPR recipe (Karpukhin et al., 2020). Mining negatives with the model being trained, or its predecessor, follows the line of work around ANCE (Xiong et al., 2021).
- Reciprocal Rank Fusion (Cormack et al., 2009) merges our BM25 and dense rankings when mining negatives.
We did not compare against other Korean legal retrievers, and we make no claim about where this model stands among them.
3. Data
All training and evaluation questions come from the 금융 법률 문서 기계독해 (71610) dataset on AI 허브(AI-Hub). A preservation check uses the 행정 문서 대상 기계독해 (569) dataset on AI 허브(AI-Hub). Both are used only inside our domestic environment by the applicant. 데이터 재배포 불가, 신청자 본인 내부 이용. No raw or reprocessed AI Hub data, no evaluation items and no corpus samples are published with the model. Every example in this post is a sentence we wrote ourselves.
Statute text comes from the National Law Information Center (a public work) through the Legalize-KR repository, current (HEAD) versions.
Evaluation set. From the law-citation dev split of our sealed benchmark, items are sorted by a hash of their id and the first 600 are taken. 458 of them are resolvable: the gold string (“…법 제N조”) can be mapped to a specific article in the corpus. Many gold answers say only “법 제N조” with the law named in the passage, so resolving them needs the passage’s law. Getting this key right took us several rounds (Section 8).
Training set. Dev items after the first 600. The job checks in code that item ids, query strings and gold articles do not overlap with the evaluation set, and exits if they do. It also drops every training item whose gold article is any evaluation gold article: 377 items removed, 364 training items remain. That is a small set, and we come back to that.
The rest of the dev pool had been used before for diagnostics. So the evaluation questions are disjoint from training at the item and gold-article level, but they share laws, topics and writing style with it. That is why we call the result a dev evaluation.
4. Training algorithm
4.1 History: r1 → r2 → r3
| Round | Data | What happened |
|---|---|---|
| r1 | 2,812 pairs from 569 only | In-house dev pool MRR 0.934 → 0.978. The pool was saturated (base r@1 already 0.957 on the small pool). |
| r2 | 8,527 pairs, 569 + 71610 | Larger dev pool r@1 0.729 → 0.810. Looked good. On the full statute corpus it reaches R@10 0.304, barely above bge-m3’s 0.277. |
| r3 | 364 law items, same-statute hard negatives | Full corpus R@10 0.804. |
r1 and r2 were trained with negatives that were too easy: other documents, mostly about different topics. They learned to tell documents apart, not articles of the same law. The pre-registered r3 hypothesis was exactly this: contrastive training whose hard negatives are other articles of the same statute will improve article discrimination by at least +0.05 R@10 while preserving general QA retrieval. The registration also states the single change: same evaluation set, corpus, code, query construction and quantization settings as the r2 evaluation; only the training differs.
4.2 Hard-negative mining
For a training query $q$ with gold article $g$, let $\mathcal{A}(q)$ be all articles of the law(s) identified in $q$’s passage. The candidate pool is
\[\mathcal{C}(q) = \{\, a \in \mathcal{A}(q) \;:\; a \neq g,\; \text{text}(a) \neq \text{text}(g),\; a \notin G_{\text{eval}},\; s_{r2}(q,a) \le 0.95\, s_{r2}(q,g) \,\}\]where $G_{\text{eval}}$ is the set of all evaluation gold articles and $s_{r2}$ is cosine similarity under the r2 model. The last condition removes likely false negatives: an article that r2 scores almost as high as the gold may also answer the question.
Candidates are ranked twice, by character-bigram BM25 (the query keeps its top-100 IDF bigrams) and by r2 dense cosine, then fused with RRF:
\[\text{RRF}(a) = \sum_{r \in \{\text{bm25},\, \text{dense}\}} \frac{1}{k + \text{rank}_r(a)}, \qquad k = 60 .\]The top 8 form $N(q)$. Items with fewer than 4 same-law negatives are dropped. We never fill with articles from other laws.
4.3 Loss
| Queries and articles share one encoder $f$: CLS hidden state, L2-normalized. For a batch of $B$ queries, the document set $D$ contains each query’s positive plus 2 negatives sampled from its $N(q_i)$, so $ | D | = 3B$. With $s(q,d) = f(q)^\top f(d)$ and temperature $\tau = 0.05$: |
$M_i$ masks any document in the batch whose article is also a gold article of $q_i$, other than $d_i^+$ itself. Without the mask, two queries in a batch that share a gold article would push each other’s positives away.
4.4 Pseudocode
# r3 training (one seed)
model ← load(r2 checkpoint) # XLM-RoBERTa-24, CLS pooling
for q in train_items:
pool ← articles of the law(s) in q.passage
cand ← { a ∈ pool : a ∉ gold(q), text(a) ∉ text(gold(q)),
a ∉ eval_gold, cos_r2(q,a) ≤ 0.95·cos_r2(q,gold) }
N[q] ← top8( RRF(rank_bm25(q,cand), rank_dense_r2(q,cand), k=60) )
drop q if |N[q]| < 4
for epoch in 1..3:
for batch of 32 queries:
docs ← ∪_i { pos(q_i) } ∪ sample(N[q_i], 2)
Q ← normalize(CLS(encode(q, max_len=512)))
Dm ← normalize(CLS(encode(docs, max_len=384)))
logits ← Q·Dmᵀ / 0.05
logits[i, j] ← −∞ if docs[j] is a gold article of q_i and j ≠ pos_index(i)
loss ← cross_entropy(logits, pos_index)
AdamW step (lr 1e-5, linear warmup 10%, wd 0.01, grad clip 1.0)
Hyperparameters (fixed in the pre-registration): AdamW, lr 1e-5, 3 epochs, batch 32, 2 hard negatives per query, warmup 10%, weight decay 0.01, bf16 autocast with an fp32 master copy, query length 512, document length 384, gradient clip 1.0. Seeds 20261128, 20261129 and 20261130 (we write them as s28, s29, s30). The seed controls training, batch order and negative sampling only. The evaluation sample seed is fixed separately.
5. Architecture
Nothing structural changes from bge-m3: XLM-RoBERTa, 24 layers, 1024-dimensional CLS output, L2 normalization, no instruction prefix, max length 512. The released repository ships Sentence Transformers configuration (CLS pooling + Normalize modules), so SentenceTransformer(...) loads it directly.
6. Experimental design
- Pre-registered gates (before any GPU job). Per seed: G1 law R@10 ≥ 0.467 (r2 0.417 + 0.05, measured on the 12,000-article subsample), G2 QA R@10 ≥ 0.978 (r2 0.988 − 0.01). All three seeds had to pass. Picking the best seed or averaging to rescue a failure was ruled out. INT8 overlap was report-only.
- Gate outcome. R3_PASS: law R@10 0.8908 / 0.8865 / 0.8865, QA R@10 0.9862 / 0.9850 / 0.9838 on the subsample.
- The registration itself warned us. It said the subsample makes absolute recall optimistic, and that no absolute recall claim should be made before a full-corpus check. We ran that check before writing the model card.
- Full-corpus evaluation. A separate job re-used the training job’s query and gold builders. Before scoring anything new, it re-ran the old subsample setup and reproduced the ledger numbers: r3 s29 subsample R@10 0.8865, r2 0.4148 against a ledger value of 0.417, QA identical. Only then did it score the full corpus.
- Released checkpoint. Fixed before the full-corpus run: the seed with the median subsample law R@10, with ties broken by QA R@10. That gives seed 29.
7. Results
7.1 Main table: law retrieval, 458 queries
| Model | Corpus | R@1 | R@5 | R@10 | R@50 | nDCG@10 | MRR |
|---|---|---|---|---|---|---|---|
| r3 s29 (released) | v2 full, 207,591 | 0.373 | 0.723 | 0.804 | 0.871 | 0.595 | 0.532 |
| r3 s29 | v1 full, 173,569 | 0.382 | 0.729 | 0.804 | 0.878 | 0.599 | 0.538 |
| r3 s29 | 12,000 subsample | 0.596 | 0.871 | 0.887 | 0.915 | 0.756 | 0.714 |
| r3 s28 / s30 | v2 full | 0.465 / 0.441 | 0.727 / 0.738 | 0.804 / 0.799 | 0.873 / 0.869 | 0.631 / 0.620 | 0.580 / 0.566 |
| r2 | v2 full | 0.076 | 0.256 | 0.304 | 0.393 | 0.189 | 0.158 |
| BAAI/bge-m3 | v2 full | 0.074 | 0.236 | 0.277 | 0.384 | 0.179 | 0.153 |
Paired differences on R@10 (bootstrap over queries, n = 458): r3 s29 − bge-m3 = +0.526 [0.483, 0.572], r3 s29 − r2 = +0.500 [0.452, 0.548].
7.2 The subsample was about 8 points optimistic

Same checkpoint, same 458 queries, only the corpus differs. R@10 drops 8.3 points, from 0.887 to 0.804. The drop grows toward the top of the ranking: R@5 −14.8, MRR −18.2, R@1 −22.3. With 12,000 articles, many same-law neighbors of the gold article are simply missing, so the model never has to beat them. The full corpus puts them back.
The old model shows the same pattern. r2 scored 0.417 on the subsample and 0.304 on the full corpus. The subsample did not reverse the ranking between r2 and r3, so the gate decision still holds, but every absolute number from it was too high. That is why the model card uses full-corpus numbers.
Going from v1 (173,569) to v2 (207,591) barely matters: R@10 is 0.804 on both, and R@1 is 0.382 against 0.373. All 458 gold keys exist in v2. The extra 34,022 articles are mostly not same-law neighbors of our gold articles. A corpus 15× larger than the subsample costs 8 points, while one 1.2× larger again costs almost nothing. Our reading is that the subsample’s missing neighbors caused the optimism, not its raw size. We did not test this directly.
7.3 Seeds: R@10 is stable, R@1 is not

R@10 is 0.804, 0.804 and 0.799 for s28, s29 and s30 (note: the ledger’s summary line 19 states the range as 0.799 to 0.806, which does not match its own per-seed table in line 13, whose maximum is 0.804; we use the table values, 0.799 to 0.804). R@1 is 0.465, 0.373 and 0.441. The released seed has the lowest R@1 of the three. We keep it, because the selection rule was fixed before these numbers existed. Changing it now would be the kind of selection we pre-registered against. If you need a top-1 number, use the range 0.373 to 0.465, not a single value.
7.4 General QA: no gain, no loss

On administrative-document QA (569, 800 queries over 1,500 documents) R@10 is 0.985 for r3, 0.988 for r2 and 0.981 for bge-m3. The differences are r3 − r2 = −0.0025 [−0.006, 0.000] and r3 − bge-m3 = +0.004 [−0.003, +0.010]. The task is saturated. All we can say is that the statute training did not damage it. This is not a general-purpose embedding upgrade.
8. Ablations
What we varied, and what we did not:
| Factor | Variants | Result (R@10 unless noted) |
|---|---|---|
| Training negatives | r2 (easy, other documents) → r3 (same-statute hard negatives), everything else fixed | 0.304 → 0.804 full corpus |
| Corpus | 12,000 subsample / v1 173,569 / v2 207,591 | 0.887 / 0.804 / 0.804 |
| Seed | s28 / s29 / s30 | 0.804 / 0.804 / 0.799; R@1 0.465 / 0.373 / 0.441 |
| Export | PyTorch FP32 / ONNX FP32 / ONNX INT8 | ONNX FP32 identical ranks; INT8 reorders the top 10 (Section 13) |
| Search scope | within the passage’s law (~236 articles) vs. whole corpus | Within-law dense @8: r2 0.680 / 0.749 → r3 0.846 / 0.851 (two dev fragments of 175 resolvable queries each); @1 0.080 / 0.120 → 0.491 / 0.514 |
Not ablated: τ, the number of hard negatives, BM25-only versus dense-only mining, the 0.95 false-negative threshold, and in-batch-only training without hard negatives. The r2→r3 comparison changes the negatives, but it also moves training toward law-citation items, so “hard negatives caused it” is the pre-registered hypothesis that the result is consistent with. We did not isolate it with a component ablation.
The within-law scope numbers come from a separate combined-pipeline job (one run, Legalize-KR v2, statute pool from the passage) and are not comparable to the 458-query table. Part 2 (/tech-blog/en/research/thakiedu-reranker-korean-legal-rag/) covers that pipeline. In short, adding r3 under our r5 reranker improves the final @8 only by +0.01 to +0.02, with the CI including 0. And r3’s dense @1 inside the pool (0.49 to 0.51) is higher than r3 + reranker @1 (0.38 to 0.43).
9. Experiments that failed or misled us
- Saturated dev pools (r1, r2). r1 reported MRR 0.978 and r2 reported r@1 0.810 on in-house pools. Neither number said anything about statute-article retrieval: r2 reaches 0.304 R@10 on the full corpus, about the same as untrained bge-m3. The pools contained easy negatives.
- Retrieval over the whole corpus with no law filter (law v4, R4 arm). Dense retrieval over 173,569 articles followed by our r4 reranker reached recall@8 0.256 on 156 resolvable dev items, against 0.718 when restricted to the passage’s law. That was with the r2 embedding, before r3.
- A scoring-key bug that looked like a coverage problem (law v3). Our first full-corpus retrieval run reported recall@8 0.055 and “gold in corpus 0.07”. A key-cause count showed that most gold answers are written as “법 제N조”, with the law named only in the passage. Resolving the law from the passage raised in-corpus coverage to 148 of 200, and the same retrieval code then measured 0.718 (v4). The failure verdict of v3 stands. The lesson for us: audit the gold key before blaming the retriever.
- The 12,000-article subsample (r3 gate run). Not a failure of the model, but a failure of the number. 0.887 would have gone on the model card if the pre-registration had not required a full-corpus check first.
- INT8 (Section 13).
10. Reproducibility
- Pre-registration was committed before GPU submission, with SHA-256 hashes of 8 code files. Each job compares the hashes at start and exits on mismatch. The full-corpus evaluation also matched all 8 hashes.
- The full-corpus harness reproduced the old subsample numbers before producing new ones (Section 6).
- Seeds, data split rule, mining rule and gates are fixed in the registration, and result-dependent changes were ruled out. The gate passed 3 of 3 seeds.
- Leakage check on the s28 split: item id, query and gold-article overlap 0; 377 overlapping-gold training items removed.
- The released checkpoint is one of three seeds. Treat the three-seed range as the reproducibility statement, and seed 29’s numbers as what you get from the file you download.
11. Limitations
- Dev-pool evaluation, not a sealed holdout. Questions are disjoint from training at the item and gold-article level, but the pool was used repeatedly for diagnostics and shares laws and style with training. No SOTA or generalization claim follows.
- Fixed query format. “Question + newline + first 1,000 passage characters”. A user who types only a short question is outside what we measured.
- Current statute versions. The corpus is the current version. A passage written under an older version may cite an article number that has since moved.
- Small training set (364 items). The effect is large, but the variety of laws it covers is bounded by that set.
- Length mismatch. Articles were truncated at 384 tokens in training and 512 at inference.
- Outside statutes, retrieval quality was not measured.
- R@1 varies by seed (0.373 to 0.465).
12. Inference code
Synthetic text only. The model ID is the public repository.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ThakiCloud/ThakiEdu-Embedding-KO-v0.1") # CLS pooling + Normalize, no prefix
# Query format used in training and evaluation: question + "\n" + first ≤1000 chars of the passage.
question = "학교 안에서 학생 사이에 다툼이 생기면 학교는 누구에게 먼저 알려야 하나요?"
passage = "어느 중학교에서 쉬는 시간에 학생 두 명이 말다툼을 하다가 한 학생이 다쳤다. 담임교사는 이 사실을 알게 되었다."
query = question + "\n" + passage[:1000]
articles = [
"제1조(목적) 이 법은 학생의 안전한 학교생활을 보장하기 위하여 필요한 사항을 정함을 목적으로 한다.",
"제5조(신고 의무) 학교 안의 다툼을 알게 된 교직원은 지체 없이 학교의 장에게 알려야 한다.",
"제9조(벌칙) 이 법을 위반한 자에게는 과태료를 부과한다.",
]
q = model.encode([query], normalize_embeddings=True)
d = model.encode(articles, normalize_embeddings=True)
scores = (q @ d.T)[0]
for s, a in sorted(zip(scores, articles), reverse=True):
print(f"{s:.3f} {a[:40]}")
The articles above are invented for illustration and are not real statute text.
FP32 ONNX on CPU with onnxruntime. The graph outputs the CLS hidden state. Normalize it yourself.
import numpy as np
import onnxruntime as ort
from huggingface_hub import hf_hub_download
from transformers import AutoTokenizer
repo = "ThakiCloud/ThakiEdu-Embedding-KO-v0.1"
onnx_path = hf_hub_download(repo, "onnx/model_fp32.onnx")
hf_hub_download(repo, "onnx/model_fp32.onnx_data") # external weights; must sit next to the .onnx file
tok = AutoTokenizer.from_pretrained(repo)
sess = ort.InferenceSession(onnx_path, providers=["CPUExecutionProvider"])
def embed(texts):
enc = tok(texts, truncation=True, max_length=512, padding=True, return_tensors="np")
out = sess.run(None, {"input_ids": enc["input_ids"].astype(np.int64),
"attention_mask": enc["attention_mask"].astype(np.int64)})[0]
cls = out if out.ndim == 2 else out[:, 0] # CLS hidden state
return cls / np.linalg.norm(cls, axis=1, keepdims=True)
q = embed(["학교 안 다툼은 누구에게 알려야 하나요?\n쉬는 시간에 학생 두 명이 다투었다."])
d = embed(["제5조(신고 의무) 학교 안의 다툼을 알게 된 교직원은 지체 없이 학교의 장에게 알려야 한다."])
print(float(q @ d.T))
13. Deployment
What has been verified so far:
-
ONNX FP32 versus PyTorch: cosine minimum 1.0, max Δ 4e-6, top-10 overlap 1.0 (50 queries × 500 documents from the subsample setup). Sentence Transformers versus raw PyTorch on 12 fixed sentences: cosine minimum 1.0. Earlier, on r2, ONNX FP32 also matched PyTorch exactly on both evaluation sets (overlap@10 1.0, identical R@10). - CPU latency (onnxruntime FP32, 8 threads): batch 1 at 128 tokens p50 115 ms, at 512 tokens p50 496 ms.
- HF release: public repository with LFS SHA-256 and sizes matched against our release manifest, with zero mismatches. No data files, samples or evaluation items in the repository.

Why no INT8. On r2 we measured dynamic INT8 against FP32. Recall was preserved (law R@10 0.419 against 0.417, QA 0.986 against 0.988) and throughput doubled (CPU ONNX 15.3 against 7.5 texts/s). But the pre-registered rank gate (top-10 overlap ≥ 0.9) failed: 0.823 on law and 0.833 on QA, with Kendall τ 0.67 to 0.73. A synthetic 6-query check had shown cosine ≥ 0.971 and top-1 agreement of 1.0, so it would not have caught this. For r3, INT8 overlap was 0.852 to 0.864 on law and 0.845 to 0.850 on QA across seeds (report-only). For the release package it was mean 0.904, minimum 0.80, cosine minimum 0.957. A 0.904 mean with a 0.80 floor does not establish rank equivalence, so the release ships FP32 only. The bars in the figure use different query sets and are not directly comparable to one another. The policy from the r2 decision remains: INT8 is acceptable only behind a reranker, and standalone retrieval uses FP32 ONNX.
Clean-environment check. After release we downloaded the public repository without credentials or a local cache and ran it with Sentence Transformers on a short synthetic Korean pair. The output was 1,024-dimensional with norm 1.0, and the similarity was 0.532 for the related article and 0.068 for an unrelated one. LFS file hashes and sizes match the release manifest. The public ONNX file also ran under ONNX Runtime from the downloaded repository and matched Sentence Transformers (cosine 1.0).
14. Series and links
- Model: https://huggingface.co/ThakiCloud/ThakiEdu-Embedding-KO-v0.1
- Collection: https://huggingface.co/collections/ThakiCloud/thakiedu-korean-education-and-statute-search-6b0d09302cbcb3cea9d70fc5
- Part 2, does a reranker always help retrieval: /tech-blog/en/research/thakiedu-reranker-korean-legal-rag/
- Part 3, a 568M safety classifier: /tech-blog/en/research/thakiedu-safety-568m-education-guardrail/
- Part 4, structured distillation from 27B to 1.7B: /tech-blog/en/research/thakiedu-1p7b-structured-distillation/
- Part 5, the ThakiEdu architecture: /tech-blog/en/research/building-thakiedu-model-ecosystem/
Attribution. Training and evaluation questions: 금융 법률 문서 기계독해 (71610), AI 허브(AI-Hub); preservation check: 행정 문서 대상 기계독해 (569), AI 허브(AI-Hub). 데이터 재배포 불가, 신청자 본인 내부 이용. Statute text: National Law Information Center (public work) via Legalize-KR. Base model: BAAI/bge-m3 (MIT).
Evidence
Every number in this post comes from these ledger files:
data/ledgers/release/result-embed-full-corpus-1130.md: full-corpus table, seeds, paired CIs, QA, harness reproduction, limitationsdata/ledgers/sdk/result-embed-r3-1129.md: r3 gate run (subsample), 3 seeds, leakage check, INT8 overlap per seeddata/ledgers/sdk/prereg-embed-r3-1129.json: hypothesis, mining rule, loss, hyperparameters, gates, code hashesdata/ledgers/sdk/result-embed-retrieval-1129.mdandprereg-embed-retrieval-1129.json: r2 subsample baseline, ONNX/INT8 retention, throughputrelease/cards/ThakiEdu-Embedding-KO-v0.1.md: released model cardRELEASE_STATUS.md: Embedding block (corpus v1/v2, seed-selection rule, ONNX checks, latency, INT8 release-pack check, HF manifest match)data/ledgers/train-v1b/train-v1b-1127.mdanddata/ledgers/p1/p1-r1-1127.md: r1 and r2 historydata/ledgers/law-diag/result-law-v3-retrieve-1128.mdandresult-law-v4-retrieve-1128.md: scoring-key failure, whole-corpus R4 armdata/ledgers/release/result-law-combined-1130.md: within-law dense @1/@8 and combined pipeline