Trim columns to 12 and rename problems to stressors
Browse files
README.md
CHANGED
|
@@ -50,7 +50,7 @@ LongListBench measures this failure mode in insurance and commercial trucking PD
|
|
| 50 |
|
| 51 |
## Complexity Stressors
|
| 52 |
|
| 53 |
-
Each PDF records its extraction stressors under `
|
| 54 |
|
| 55 |
| Tag | Meaning |
|
| 56 |
|---|---|
|
|
@@ -69,7 +69,7 @@ Each PDF records its extraction stressors under `problems`:
|
|
| 69 |
| `repeated_keys` | Common keys such as states or jurisdictions repeat across sections or returns, so the key alone is insufficient for matching. |
|
| 70 |
| `heterogeneous_record_list` | A target list contains several record schemas, especially in policy packets. |
|
| 71 |
|
| 72 |
-
These 14 tags are canonical. The
|
| 73 |
|
| 74 |
The following families make the tags easy to inspect in the PDFs:
|
| 75 |
|
|
@@ -104,17 +104,13 @@ print(ds) # each row is one PDF document
|
|
| 104 |
| Column | Type | Description |
|
| 105 |
|---|---|---|
|
| 106 |
| `document_id` | string | Stable sample identifier, e.g. `ifta_mileage_by_vehicle_001` or `multihop_bop_012_001`. |
|
| 107 |
-
| `domain` | string | `commercial_insurance_operations`, `claims`, or `policy_review`. |
|
| 108 |
| `complexity_regime` | string | Document family, such as `ifta_mileage_by_vehicle`, `loss_run_external`, `claim_crosspage_multihop`, or `policy_multi_hop`. |
|
| 109 |
| `evaluation_role` | string | Preassigned interpretation role: `scale_control` or `structural_challenge`. |
|
| 110 |
-
| `difficulty` | string | Historical field retained for compatibility; in this release it stores the template or multi-hop regime. |
|
| 111 |
-
| `document_format` | string | Rendered layout family, currently `production_like_pdf` or `crosspage`. |
|
| 112 |
| `num_pages` | int32 | Page count recorded by the generator. |
|
| 113 |
| `target_field` | string | Name of the top-level list to extract: `incidents` for claim multi-hop rows, `records` for operations, external loss-run, and policy rows. |
|
| 114 |
| `target_record_type` | string | Primary schema family, such as `vehicle_state_mileage_row`, `driver_record`, `loss_run_claim_row`, or `policy_packet_item`. |
|
| 115 |
| `target_count` | int32 | Number of target records in `ground_truth`. |
|
| 116 |
-
| `
|
| 117 |
-
| `transcript_conditions` | list[string] | Available transcript conditions. The released rows include `ocr`. |
|
| 118 |
| `pdf` | Pdf | Embedded source PDF bytes. |
|
| 119 |
| `ground_truth` | string | JSON string containing the expected records under `target_field`. |
|
| 120 |
| `metadata` | string | JSON string with manifest metadata, file hashes, evidence maps, generation details, and source artifact paths. |
|
|
@@ -122,6 +118,8 @@ print(ds) # each row is one PDF document
|
|
| 122 |
|
| 123 |
`ground_truth` is the complete schema-shaped object for the extraction target. Claim multi-hop rows use `{"incidents": [...]}`; all other list families use `{"records": [...]}`.
|
| 124 |
|
|
|
|
|
|
|
| 125 |
## Usage
|
| 126 |
|
| 127 |
```python
|
|
|
|
| 50 |
|
| 51 |
## Complexity Stressors
|
| 52 |
|
| 53 |
+
Each PDF records its extraction stressors under `stressors`:
|
| 54 |
|
| 55 |
| Tag | Meaning |
|
| 56 |
|---|---|
|
|
|
|
| 69 |
| `repeated_keys` | Common keys such as states or jurisdictions repeat across sections or returns, so the key alone is insufficient for matching. |
|
| 70 |
| `heterogeneous_record_list` | A target list contains several record schemas, especially in policy packets. |
|
| 71 |
|
| 72 |
+
These 14 tags are canonical. The release also retains finer audit tags, for 45 distinct `stressors` tokens in total. Labels are metadata, not text printed inside the PDFs.
|
| 73 |
|
| 74 |
The following families make the tags easy to inspect in the PDFs:
|
| 75 |
|
|
|
|
| 104 |
| Column | Type | Description |
|
| 105 |
|---|---|---|
|
| 106 |
| `document_id` | string | Stable sample identifier, e.g. `ifta_mileage_by_vehicle_001` or `multihop_bop_012_001`. |
|
|
|
|
| 107 |
| `complexity_regime` | string | Document family, such as `ifta_mileage_by_vehicle`, `loss_run_external`, `claim_crosspage_multihop`, or `policy_multi_hop`. |
|
| 108 |
| `evaluation_role` | string | Preassigned interpretation role: `scale_control` or `structural_challenge`. |
|
|
|
|
|
|
|
| 109 |
| `num_pages` | int32 | Page count recorded by the generator. |
|
| 110 |
| `target_field` | string | Name of the top-level list to extract: `incidents` for claim multi-hop rows, `records` for operations, external loss-run, and policy rows. |
|
| 111 |
| `target_record_type` | string | Primary schema family, such as `vehicle_state_mileage_row`, `driver_record`, `loss_run_claim_row`, or `policy_packet_item`. |
|
| 112 |
| `target_count` | int32 | Number of target records in `ground_truth`. |
|
| 113 |
+
| `stressors` | list[string] | Stressor tags for the document, e.g. `high_density_long_list`, `production_like_layout`, or `long_range_evidence`. |
|
|
|
|
| 114 |
| `pdf` | Pdf | Embedded source PDF bytes. |
|
| 115 |
| `ground_truth` | string | JSON string containing the expected records under `target_field`. |
|
| 116 |
| `metadata` | string | JSON string with manifest metadata, file hashes, evidence maps, generation details, and source artifact paths. |
|
|
|
|
| 118 |
|
| 119 |
`ground_truth` is the complete schema-shaped object for the extraction target. Claim multi-hop rows use `{"incidents": [...]}`; all other list families use `{"records": [...]}`.
|
| 120 |
|
| 121 |
+
Manifest fields not exposed as columns, such as the domain, rendered layout format, and available transcript conditions, remain available under `metadata.manifest_instance`. The `stressors` column is stored as `problems` in the manifest.
|
| 122 |
+
|
| 123 |
## Usage
|
| 124 |
|
| 125 |
```python
|
data/claim_multihop/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab2c0a1d36e16c7b29a7c40e8ebe61f3ba7604160c3ee8ea39bde381d0b69d32
|
| 3 |
+
size 4019469
|
data/core_operations/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e50c846ad0f7b75b9beff974a399cd864a0e55af533355185591eef1cdf307e8
|
| 3 |
+
size 30116617
|
data/policy_packets/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23ca4cc9724ff25e1a47afe4d31de10a8c07ae6cdd6e5c774a8d17c7881bdd85
|
| 3 |
+
size 3479950
|