Show readable formula examples and distinguish fallback failures from formalization
Browse files
README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
---
|
| 2 |
configs:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
- config_name: paired_spans
|
| 4 |
default: true
|
| 5 |
data_files:
|
|
@@ -33,6 +37,41 @@ configs:
|
|
| 33 |
|
| 34 |
# Paired US Code conversions, diagnostic census and deferred repair goals
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
New observations use three linked tables. Historical files remain available;
|
| 37 |
no original observations or goal packets are removed by this migration.
|
| 38 |
|
|
@@ -149,8 +188,8 @@ new 16 MiB omission); their identities and reasons remain explicit.
|
|
| 149 |
| Paired smoke 2 | 8 | 8 | [gzip JSON](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/45acc122f3f9c11da46c039e057a38ab5054a699/autoformal/uscode/reports/v1/reports/5fe4185488765685d8b4449f2bfbc1fab8d56f853ef333d0bab3ef06a98e812e.json.gz) | [hashes and inventory](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/45acc122f3f9c11da46c039e057a38ab5054a699/autoformal/uscode/reports/v1/manifests/93d2f5a4779f6888bdf8938607e5a8990dbf019f00cf003faa704fc2d56d40f9.json) |
|
| 150 |
| Paired smoke 3 | 8 | 8 | [gzip JSON](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/f1ff72b4b171fca4ac63a44e4f263982e9129f03/autoformal/uscode/reports/v1/reports/fae864238b8c34e19aecaada1aa650fe7d5c7828c7eb5869c1ec40ae066366f9.json.gz) | [hashes and inventory](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/f1ff72b4b171fca4ac63a44e4f263982e9129f03/autoformal/uscode/reports/v1/manifests/141c0182a532d30d0beb1886dcaa7071fd65aa5441a8ee9da92e85264630b0ea.json) |
|
| 151 |
|
| 152 |
-
The new paired sample contains 24 spans, 15 guided
|
| 153 |
-
|
| 154 |
either path and do not count as agreement. Twenty-three source-bound compiler
|
| 155 |
repair goals were retained. A remote import smoke validated seven goals from
|
| 156 |
one bundle in plan-only mode; nothing was enqueued or executed.
|
|
|
|
| 1 |
---
|
| 2 |
configs:
|
| 3 |
+
- config_name: formal_logic_text
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: autoformal/uscode/formula-text/v1/*/formulas.parquet
|
| 7 |
- config_name: paired_spans
|
| 8 |
default: true
|
| 9 |
data_files:
|
|
|
|
| 37 |
|
| 38 |
# Paired US Code conversions, diagnostic census and deferred repair goals
|
| 39 |
|
| 40 |
+
## Read the actual formula strings
|
| 41 |
+
|
| 42 |
+
Select **[formal_logic_text](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/viewer/formal_logic_text/train)** for source text
|
| 43 |
+
and emitted formula text as the first columns, or read the **[annotated examples](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/bf95253007ce123fb44a551806f4e29e9a30834b/autoformal/uscode/formula-text/v1/1c3c60623f70fc1466fbe65bd57d0b5fca95670ea0c67c3e33c7c93784d8005c/EXAMPLES.md)**.
|
| 44 |
+
This is a fixed audit of the four archived reports below, not a live count of the
|
| 45 |
+
whole corpus. [JSONL](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/bf95253007ce123fb44a551806f4e29e9a30834b/autoformal/uscode/formula-text/v1/1c3c60623f70fc1466fbe65bd57d0b5fca95670ea0c67c3e33c7c93784d8005c/formulas.jsonl),
|
| 46 |
+
[Parquet](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/bf95253007ce123fb44a551806f4e29e9a30834b/autoformal/uscode/formula-text/v1/1c3c60623f70fc1466fbe65bd57d0b5fca95670ea0c67c3e33c7c93784d8005c/formulas.parquet), and
|
| 47 |
+
[manifest](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/bf95253007ce123fb44a551806f4e29e9a30834b/autoformal/uscode/formula-text/v1/1c3c60623f70fc1466fbe65bd57d0b5fca95670ea0c67c3e33c7c93784d8005c/manifest.json) are pinned to an immutable commit.
|
| 48 |
+
|
| 49 |
+
For source `116–283, §1847(d)(1)(D)(i), redesignated pars.`, the stored strings include:
|
| 50 |
+
|
| 51 |
+
```text
|
| 52 |
+
Lifecycle(N1847, RedesignatedPars)
|
| 53 |
+
LifecycleState(sym_1847(), redesignated_pars())
|
| 54 |
+
O(redesignated_pars(n_1847))
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
These disagree: the last expression introduces an obligation into an amendment-history
|
| 58 |
+
fragment. Another source, `L.`, produces `O(l(actor))`; that is a conversion failure,
|
| 59 |
+
even though the producer's syntax flag is true. The operative 10 U.S.C. 4873 example
|
| 60 |
+
in the linked audit has an omitted condition and canonical `action="to"`.
|
| 61 |
+
|
| 62 |
+
The 56-span audit has **372 formula occurrences** from 45 available documents,
|
| 63 |
+
with repeats preserved. **41 of 45 TDFOL records use the text fallback**; eleven
|
| 64 |
+
documents are unavailable. These counts are not successful formalizations.
|
| 65 |
+
The formula rows retain exact strings, JSON pointers, source-report revisions,
|
| 66 |
+
fallback provenance and reported validation/omission/blocker evidence. Unknown
|
| 67 |
+
fallback status is null, not a claim that the output avoided fallback.
|
| 68 |
+
|
| 69 |
+
These are source compiler/bridge outputs. The legacy autoencoder has **no learned
|
| 70 |
+
formula decoder**; the guided compiler path emits ASTs. None of this sample has
|
| 71 |
+
Lake admission or qualification as a correct/gold semantic training target.
|
| 72 |
+
Failed outputs remain useful diagnostic evidence and potential repair-training
|
| 73 |
+
examples. The readable view supplements the full reports and linked paired data.
|
| 74 |
+
|
| 75 |
New observations use three linked tables. Historical files remain available;
|
| 76 |
no original observations or goal packets are removed by this migration.
|
| 77 |
|
|
|
|
| 188 |
| Paired smoke 2 | 8 | 8 | [gzip JSON](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/45acc122f3f9c11da46c039e057a38ab5054a699/autoformal/uscode/reports/v1/reports/5fe4185488765685d8b4449f2bfbc1fab8d56f853ef333d0bab3ef06a98e812e.json.gz) | [hashes and inventory](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/45acc122f3f9c11da46c039e057a38ab5054a699/autoformal/uscode/reports/v1/manifests/93d2f5a4779f6888bdf8938607e5a8990dbf019f00cf003faa704fc2d56d40f9.json) |
|
| 189 |
| Paired smoke 3 | 8 | 8 | [gzip JSON](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/resolve/f1ff72b4b171fca4ac63a44e4f263982e9129f03/autoformal/uscode/reports/v1/reports/fae864238b8c34e19aecaada1aa650fe7d5c7828c7eb5869c1ec40ae066366f9.json.gz) | [hashes and inventory](https://huggingface.co/datasets/justicedao/uscode-autoformal-span-cache/blob/f1ff72b4b171fca4ac63a44e4f263982e9129f03/autoformal/uscode/reports/v1/manifests/141c0182a532d30d0beb1886dcaa7071fd65aa5441a8ee9da92e85264630b0ea.json) |
|
| 190 |
|
| 191 |
+
The new paired sample contains 24 spans, 15 guided modal ASTs and 15 direct
|
| 192 |
+
modal ASTs. Nine rows have diagnostic AST agreement; 15 have no formulas from
|
| 193 |
either path and do not count as agreement. Twenty-three source-bound compiler
|
| 194 |
repair goals were retained. A remote import smoke validated seven goals from
|
| 195 |
one bundle in plan-only mode; nothing was enqueued or executed.
|