sileod commited on
Commit
3aa4f3c
·
verified ·
1 Parent(s): 95be0b8

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -553
README.md CHANGED
@@ -14,601 +14,94 @@ tags:
14
  - procedural
15
  - synthetic
16
  configs:
17
- - config_name: business_document_extraction
18
  data_files:
19
  - split: train
20
- path: business_document_extraction/train-*
21
  - split: validation
22
- path: business_document_extraction/validation-*
23
  - split: test
24
- path: business_document_extraction/test-*
25
- - config_name: conditional_list_extraction
26
  data_files:
27
  - split: train
28
- path: conditional_list_extraction/train-*
29
  - split: validation
30
- path: conditional_list_extraction/validation-*
31
  - split: test
32
- path: conditional_list_extraction/test-*
33
- - config_name: date_range_extraction
34
  data_files:
35
  - split: train
36
- path: date_range_extraction/train-*
37
  - split: validation
38
- path: date_range_extraction/validation-*
39
  - split: test
40
- path: date_range_extraction/test-*
41
- - config_name: html_extraction
42
  data_files:
43
  - split: train
44
- path: html_extraction/train-*
45
  - split: validation
46
- path: html_extraction/validation-*
47
  - split: test
48
- path: html_extraction/test-*
49
- - config_name: log_query_extraction
50
  data_files:
51
  - split: train
52
- path: log_query_extraction/train-*
53
  - split: validation
54
- path: log_query_extraction/validation-*
55
  - split: test
56
- path: log_query_extraction/test-*
57
- - config_name: lookalike_field_extraction
58
  data_files:
59
  - split: train
60
- path: lookalike_field_extraction/train-*
61
  - split: validation
62
- path: lookalike_field_extraction/validation-*
63
  - split: test
64
- path: lookalike_field_extraction/test-*
65
  - config_name: nested_structure_extraction
66
  data_files:
67
  - split: train
68
- path: nested_structure_extraction/train-*
69
  - split: validation
70
- path: nested_structure_extraction/validation-*
71
  - split: test
72
- path: nested_structure_extraction/test-*
73
- - config_name: record_field_extraction
74
  data_files:
75
  - split: train
76
- path: record_field_extraction/train-*
77
  - split: validation
78
- path: record_field_extraction/validation-*
79
  - split: test
80
- path: record_field_extraction/test-*
81
- - config_name: spec_match_extraction
82
  data_files:
83
  - split: train
84
- path: spec_match_extraction/train-*
85
  - split: validation
86
- path: spec_match_extraction/validation-*
87
  - split: test
88
- path: spec_match_extraction/test-*
89
- - config_name: state_update_extraction
90
  data_files:
91
  - split: train
92
- path: state_update_extraction/train-*
93
  - split: validation
94
- path: state_update_extraction/validation-*
95
  - split: test
96
- path: state_update_extraction/test-*
97
- - config_name: typed_mention_extraction
98
  data_files:
99
  - split: train
100
- path: typed_mention_extraction/train-*
101
  - split: validation
102
- path: typed_mention_extraction/validation-*
103
  - split: test
104
- path: typed_mention_extraction/test-*
105
- dataset_info:
106
- - config_name: business_document_extraction
107
- features:
108
- - name: id
109
- dtype: string
110
- - name: source
111
- dtype: string
112
- - name: split
113
- dtype: string
114
- - name: state
115
- dtype: string
116
- - name: fields
117
- list:
118
- - name: name
119
- dtype: string
120
- - name: type
121
- dtype: string
122
- - name: instruction
123
- dtype: string
124
- - name: answers
125
- list:
126
- - name: 'null'
127
- dtype: bool
128
- - name: values
129
- list:
130
- - name: text
131
- dtype: string
132
- - name: start
133
- dtype: int32
134
- - name: end
135
- dtype: int32
136
- - name: metadata
137
- dtype: string
138
- - name: level
139
- dtype: int32
140
- splits:
141
- - name: train
142
- num_bytes: 15280623
143
- num_examples: 10000
144
- - name: validation
145
- num_bytes: 763391
146
- num_examples: 500
147
- - name: test
148
- num_bytes: 761976
149
- num_examples: 500
150
- download_size: 7359887
151
- dataset_size: 16805990
152
- - config_name: conditional_list_extraction
153
- features:
154
- - name: id
155
- dtype: string
156
- - name: source
157
- dtype: string
158
- - name: split
159
- dtype: string
160
- - name: state
161
- dtype: string
162
- - name: fields
163
- list:
164
- - name: name
165
- dtype: string
166
- - name: type
167
- dtype: string
168
- - name: instruction
169
- dtype: string
170
- - name: answers
171
- list:
172
- - name: 'null'
173
- dtype: bool
174
- - name: values
175
- list:
176
- - name: text
177
- dtype: string
178
- - name: start
179
- dtype: int32
180
- - name: end
181
- dtype: int32
182
- - name: metadata
183
- dtype: string
184
- - name: level
185
- dtype: int32
186
- splits:
187
- - name: train
188
- num_bytes: 13499820
189
- num_examples: 10000
190
- - name: validation
191
- num_bytes: 668985
192
- num_examples: 500
193
- - name: test
194
- num_bytes: 688874
195
- num_examples: 500
196
- download_size: 7759770
197
- dataset_size: 14857679
198
- - config_name: date_range_extraction
199
- features:
200
- - name: id
201
- dtype: string
202
- - name: source
203
- dtype: string
204
- - name: split
205
- dtype: string
206
- - name: state
207
- dtype: string
208
- - name: fields
209
- list:
210
- - name: name
211
- dtype: string
212
- - name: type
213
- dtype: string
214
- - name: instruction
215
- dtype: string
216
- - name: answers
217
- list:
218
- - name: 'null'
219
- dtype: bool
220
- - name: values
221
- list:
222
- - name: text
223
- dtype: string
224
- - name: start
225
- dtype: int32
226
- - name: end
227
- dtype: int32
228
- - name: metadata
229
- dtype: string
230
- - name: level
231
- dtype: int32
232
- splits:
233
- - name: train
234
- num_bytes: 18538139
235
- num_examples: 10000
236
- - name: validation
237
- num_bytes: 952046
238
- num_examples: 500
239
- - name: test
240
- num_bytes: 918981
241
- num_examples: 500
242
- download_size: 9822763
243
- dataset_size: 20409166
244
- - config_name: html_extraction
245
- features:
246
- - name: id
247
- dtype: string
248
- - name: source
249
- dtype: string
250
- - name: split
251
- dtype: string
252
- - name: state
253
- dtype: string
254
- - name: fields
255
- list:
256
- - name: name
257
- dtype: string
258
- - name: type
259
- dtype: string
260
- - name: instruction
261
- dtype: string
262
- - name: answers
263
- list:
264
- - name: 'null'
265
- dtype: bool
266
- - name: values
267
- list:
268
- - name: text
269
- dtype: string
270
- - name: start
271
- dtype: int32
272
- - name: end
273
- dtype: int32
274
- - name: metadata
275
- dtype: string
276
- - name: level
277
- dtype: int32
278
- splits:
279
- - name: train
280
- num_bytes: 25944175
281
- num_examples: 10000
282
- - name: validation
283
- num_bytes: 1300906
284
- num_examples: 500
285
- - name: test
286
- num_bytes: 1276293
287
- num_examples: 500
288
- download_size: 15178233
289
- dataset_size: 28521374
290
- - config_name: log_query_extraction
291
- features:
292
- - name: id
293
- dtype: string
294
- - name: source
295
- dtype: string
296
- - name: split
297
- dtype: string
298
- - name: state
299
- dtype: string
300
- - name: fields
301
- list:
302
- - name: name
303
- dtype: string
304
- - name: type
305
- dtype: string
306
- - name: instruction
307
- dtype: string
308
- - name: answers
309
- list:
310
- - name: 'null'
311
- dtype: bool
312
- - name: values
313
- list:
314
- - name: text
315
- dtype: string
316
- - name: start
317
- dtype: int32
318
- - name: end
319
- dtype: int32
320
- - name: metadata
321
- dtype: string
322
- - name: level
323
- dtype: int32
324
- splits:
325
- - name: train
326
- num_bytes: 19672746
327
- num_examples: 10000
328
- - name: validation
329
- num_bytes: 970744
330
- num_examples: 500
331
- - name: test
332
- num_bytes: 984359
333
- num_examples: 500
334
- download_size: 10270020
335
- dataset_size: 21627849
336
- - config_name: lookalike_field_extraction
337
- features:
338
- - name: id
339
- dtype: string
340
- - name: source
341
- dtype: string
342
- - name: split
343
- dtype: string
344
- - name: state
345
- dtype: string
346
- - name: fields
347
- list:
348
- - name: name
349
- dtype: string
350
- - name: type
351
- dtype: string
352
- - name: instruction
353
- dtype: string
354
- - name: answers
355
- list:
356
- - name: 'null'
357
- dtype: bool
358
- - name: values
359
- list:
360
- - name: text
361
- dtype: string
362
- - name: start
363
- dtype: int32
364
- - name: end
365
- dtype: int32
366
- - name: metadata
367
- dtype: string
368
- - name: level
369
- dtype: int32
370
- splits:
371
- - name: train
372
- num_bytes: 9838104
373
- num_examples: 10000
374
- - name: validation
375
- num_bytes: 498158
376
- num_examples: 500
377
- - name: test
378
- num_bytes: 479647
379
- num_examples: 500
380
- download_size: 6026175
381
- dataset_size: 10815909
382
- - config_name: nested_structure_extraction
383
- features:
384
- - name: id
385
- dtype: string
386
- - name: source
387
- dtype: string
388
- - name: split
389
- dtype: string
390
- - name: state
391
- dtype: string
392
- - name: fields
393
- list:
394
- - name: name
395
- dtype: string
396
- - name: type
397
- dtype: string
398
- - name: instruction
399
- dtype: string
400
- - name: answers
401
- list:
402
- - name: 'null'
403
- dtype: bool
404
- - name: values
405
- list:
406
- - name: text
407
- dtype: string
408
- - name: start
409
- dtype: int32
410
- - name: end
411
- dtype: int32
412
- - name: metadata
413
- dtype: string
414
- - name: level
415
- dtype: int32
416
- splits:
417
- - name: train
418
- num_bytes: 24283302
419
- num_examples: 10000
420
- - name: validation
421
- num_bytes: 1206511
422
- num_examples: 500
423
- - name: test
424
- num_bytes: 1244639
425
- num_examples: 500
426
- download_size: 12703477
427
- dataset_size: 26734452
428
- - config_name: record_field_extraction
429
- features:
430
- - name: id
431
- dtype: string
432
- - name: source
433
- dtype: string
434
- - name: split
435
- dtype: string
436
- - name: state
437
- dtype: string
438
- - name: fields
439
- list:
440
- - name: name
441
- dtype: string
442
- - name: type
443
- dtype: string
444
- - name: instruction
445
- dtype: string
446
- - name: answers
447
- list:
448
- - name: 'null'
449
- dtype: bool
450
- - name: values
451
- list:
452
- - name: text
453
- dtype: string
454
- - name: start
455
- dtype: int32
456
- - name: end
457
- dtype: int32
458
- - name: metadata
459
- dtype: string
460
- - name: level
461
- dtype: int32
462
- splits:
463
- - name: train
464
- num_bytes: 9572177
465
- num_examples: 10000
466
- - name: validation
467
- num_bytes: 498310
468
- num_examples: 500
469
- - name: test
470
- num_bytes: 480353
471
- num_examples: 500
472
- download_size: 5400923
473
- dataset_size: 10550840
474
- - config_name: spec_match_extraction
475
- features:
476
- - name: id
477
- dtype: string
478
- - name: source
479
- dtype: string
480
- - name: split
481
- dtype: string
482
- - name: state
483
- dtype: string
484
- - name: fields
485
- list:
486
- - name: name
487
- dtype: string
488
- - name: type
489
- dtype: string
490
- - name: instruction
491
- dtype: string
492
- - name: answers
493
- list:
494
- - name: 'null'
495
- dtype: bool
496
- - name: values
497
- list:
498
- - name: text
499
- dtype: string
500
- - name: start
501
- dtype: int32
502
- - name: end
503
- dtype: int32
504
- - name: metadata
505
- dtype: string
506
- - name: level
507
- dtype: int32
508
- splits:
509
- - name: train
510
- num_bytes: 29666535
511
- num_examples: 10000
512
- - name: validation
513
- num_bytes: 1499917
514
- num_examples: 500
515
- - name: test
516
- num_bytes: 1465228
517
- num_examples: 500
518
- download_size: 15276721
519
- dataset_size: 32631680
520
- - config_name: state_update_extraction
521
- features:
522
- - name: id
523
- dtype: string
524
- - name: source
525
- dtype: string
526
- - name: split
527
- dtype: string
528
- - name: state
529
- dtype: string
530
- - name: fields
531
- list:
532
- - name: name
533
- dtype: string
534
- - name: type
535
- dtype: string
536
- - name: instruction
537
- dtype: string
538
- - name: answers
539
- list:
540
- - name: 'null'
541
- dtype: bool
542
- - name: values
543
- list:
544
- - name: text
545
- dtype: string
546
- - name: start
547
- dtype: int32
548
- - name: end
549
- dtype: int32
550
- - name: metadata
551
- dtype: string
552
- - name: level
553
- dtype: int32
554
- splits:
555
- - name: train
556
- num_bytes: 12818851
557
- num_examples: 10000
558
- - name: validation
559
- num_bytes: 622506
560
- num_examples: 500
561
- - name: test
562
- num_bytes: 640339
563
- num_examples: 500
564
- download_size: 7026141
565
- dataset_size: 14081696
566
- - config_name: typed_mention_extraction
567
- features:
568
- - name: id
569
- dtype: string
570
- - name: source
571
- dtype: string
572
- - name: split
573
- dtype: string
574
- - name: state
575
- dtype: string
576
- - name: fields
577
- list:
578
- - name: name
579
- dtype: string
580
- - name: type
581
- dtype: string
582
- - name: instruction
583
- dtype: string
584
- - name: answers
585
- list:
586
- - name: 'null'
587
- dtype: bool
588
- - name: values
589
- list:
590
- - name: text
591
- dtype: string
592
- - name: start
593
- dtype: int32
594
- - name: end
595
- dtype: int32
596
- - name: metadata
597
- dtype: string
598
- - name: level
599
- dtype: int32
600
- splits:
601
- - name: train
602
- num_bytes: 10860980
603
- num_examples: 10000
604
- - name: validation
605
- num_bytes: 549483
606
- num_examples: 500
607
- - name: test
608
- num_bytes: 553416
609
- num_examples: 500
610
- download_size: 7535368
611
- dataset_size: 11963879
612
  ---
613
 
614
  # procedural-extraction
@@ -620,7 +113,7 @@ so spans are exact and labels noise-free (each generator samples a latent struct
620
  a merged configuration tree or a DOM, and a solver computes the answer; independent readers of the rendered
621
  texts recompute every answer in reasoning-core's tests); nulls are earned (the text mentions a negated, proposed, former or
622
  other entity's value, not nothing). The tasks are generated by
623
- [reasoning-core](https://github.com/sileod/reasoning-core) (commit `8676e4e`, see
624
  [provenance.json](provenance.json)) and are a procedural component of the `extraction` config of
625
  [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
626
 
@@ -631,11 +124,12 @@ other entity's value, not nothing). The tasks are generated by
631
  | `conditional_list_extraction` | Every order id or product meeting conjunctive, negated or numeric conditions after later updates, or the heaviest such order; prose, bullets or a table |
632
  | `log_query_extraction` | Every request id or user of log lines matching filters on level, exact service (auth vs auth-proxy), status, latency and user, or the latest/slowest match; plain, logfmt or JSON lines |
633
  | `typed_mention_extraction` | Named-entity style: every mention of each requested type, where one name (Jordan) is a person, place, organization or product by context; companies by a defined current role among former and unrelated relations; codes by a stated format among near-miss strings |
634
- | `business_document_extraction` | The value in force on a date in an invoice, purchase order, contract or insurance policy: numbered amendments override printed values and each other, dated windows, schedule references that chain, near-miss keys (subtotal vs total) |
635
  | `nested_structure_extraction` | Path, any-depth and predicate-filter queries on a JSON, YAML or XML configuration whose override layers deep-merge or replace whole blocks |
636
  | `html_extraction` | Fields of the main item in raw HTML: scope (nested and related item cards), visibility (hidden, template, struck prices), dt/dd, label-for, attributes and spec tables with rowspan/colspan |
637
  | `date_range_extraction` | Every invoice, shipment, contract or ticket whose date of one role (issued vs due) falls in a range, before/after a date, in a month or on a weekday, or the earliest/latest; dates ISO, worded, day/month or month/day numeric under a stated section convention, year-less under a stated year, or relative to another record |
638
  | `spec_match_extraction` | Every laptop, e-bike or monitor meeting conjunctive spec requirements, or the best such one; specs and thresholds in mixed exact units (g/kg, GB/TB, min/h, Wh/kWh, in/cm) and a stated number convention (1.234,5), near-miss products failing one requirement, unstated specs not qualifying |
 
639
 
640
  Levels 0 to 4 are drawn uniformly; `level` is a column. Mean per-field score by level (0 / 1 / 2 / 3 / 4):
641
 
@@ -646,11 +140,12 @@ Levels 0 to 4 are drawn uniformly; `level` is a column. Mean per-field score by
646
  | `conditional_list_extraction` | 10,000 | 500 | 500 | 0.88 / 0.79 / 0.70 / 0.64 / 0.52 | 0.29 / 0.17 / 0.12 / 0.05 / 0.10 |
647
  | `log_query_extraction` | 10,000 | 500 | 500 | 0.86 / 0.76 / 0.68 / 0.63 / 0.59 | 0.31 / 0.16 / 0.09 / 0.24 / 0.15 |
648
  | `typed_mention_extraction` | 10,000 | 500 | 500 | 0.85 / 0.80 / 0.79 / 0.69 / 0.66 | 0.40 / 0.42 / 0.49 / 0.34 / 0.39 |
649
- | `business_document_extraction` | 10,000 | 500 | 500 | 0.90 / 0.91 / 0.90 / 0.84 / 0.80 | 0.82 / 0.53 / 0.56 / 0.44 / 0.43 |
650
  | `nested_structure_extraction` | 10,000 | 500 | 500 | 0.93 / 0.88 / 0.94 / 0.86 / 0.86 | 0.18 / 0.20 / 0.20 / 0.20 / 0.18 |
651
  | `html_extraction` | 10,000 | 500 | 500 | 0.98 / 0.96 / 0.94 / 0.98 / 0.90 | 0.35 / 0.31 / 0.30 / 0.27 / 0.39 |
652
  | `date_range_extraction` | 10,000 | 500 | 500 | 0.75 / 0.62 / 0.60 / 0.44 / 0.44 | 0.16 / 0.03 / 0.03 / 0.00 / 0.02 |
653
  | `spec_match_extraction` | 10,000 | 500 | 500 | 0.81 / 0.53 / 0.27 / 0.25 / 0.17 | 0.11 / 0.08 / 0.04 / 0.03 / 0.04 |
 
654
 
655
  ## Schema
656
 
 
14
  - procedural
15
  - synthetic
16
  configs:
17
+ - config_name: record_field_extraction
18
  data_files:
19
  - split: train
20
+ path: record_field_extraction/train-*.parquet
21
  - split: validation
22
+ path: record_field_extraction/validation-*.parquet
23
  - split: test
24
+ path: record_field_extraction/test-*.parquet
25
+ - config_name: state_update_extraction
26
  data_files:
27
  - split: train
28
+ path: state_update_extraction/train-*.parquet
29
  - split: validation
30
+ path: state_update_extraction/validation-*.parquet
31
  - split: test
32
+ path: state_update_extraction/test-*.parquet
33
+ - config_name: conditional_list_extraction
34
  data_files:
35
  - split: train
36
+ path: conditional_list_extraction/train-*.parquet
37
  - split: validation
38
+ path: conditional_list_extraction/validation-*.parquet
39
  - split: test
40
+ path: conditional_list_extraction/test-*.parquet
41
+ - config_name: log_query_extraction
42
  data_files:
43
  - split: train
44
+ path: log_query_extraction/train-*.parquet
45
  - split: validation
46
+ path: log_query_extraction/validation-*.parquet
47
  - split: test
48
+ path: log_query_extraction/test-*.parquet
49
+ - config_name: typed_mention_extraction
50
  data_files:
51
  - split: train
52
+ path: typed_mention_extraction/train-*.parquet
53
  - split: validation
54
+ path: typed_mention_extraction/validation-*.parquet
55
  - split: test
56
+ path: typed_mention_extraction/test-*.parquet
57
+ - config_name: business_document_extraction
58
  data_files:
59
  - split: train
60
+ path: business_document_extraction/train-*.parquet
61
  - split: validation
62
+ path: business_document_extraction/validation-*.parquet
63
  - split: test
64
+ path: business_document_extraction/test-*.parquet
65
  - config_name: nested_structure_extraction
66
  data_files:
67
  - split: train
68
+ path: nested_structure_extraction/train-*.parquet
69
  - split: validation
70
+ path: nested_structure_extraction/validation-*.parquet
71
  - split: test
72
+ path: nested_structure_extraction/test-*.parquet
73
+ - config_name: html_extraction
74
  data_files:
75
  - split: train
76
+ path: html_extraction/train-*.parquet
77
  - split: validation
78
+ path: html_extraction/validation-*.parquet
79
  - split: test
80
+ path: html_extraction/test-*.parquet
81
+ - config_name: date_range_extraction
82
  data_files:
83
  - split: train
84
+ path: date_range_extraction/train-*.parquet
85
  - split: validation
86
+ path: date_range_extraction/validation-*.parquet
87
  - split: test
88
+ path: date_range_extraction/test-*.parquet
89
+ - config_name: spec_match_extraction
90
  data_files:
91
  - split: train
92
+ path: spec_match_extraction/train-*.parquet
93
  - split: validation
94
+ path: spec_match_extraction/validation-*.parquet
95
  - split: test
96
+ path: spec_match_extraction/test-*.parquet
97
+ - config_name: lookalike_field_extraction
98
  data_files:
99
  - split: train
100
+ path: lookalike_field_extraction/train-*.parquet
101
  - split: validation
102
+ path: lookalike_field_extraction/validation-*.parquet
103
  - split: test
104
+ path: lookalike_field_extraction/test-*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  ---
106
 
107
  # procedural-extraction
 
113
  a merged configuration tree or a DOM, and a solver computes the answer; independent readers of the rendered
114
  texts recompute every answer in reasoning-core's tests); nulls are earned (the text mentions a negated, proposed, former or
115
  other entity's value, not nothing). The tasks are generated by
116
+ [reasoning-core](https://github.com/sileod/reasoning-core) (commit `7f68689`, see
117
  [provenance.json](provenance.json)) and are a procedural component of the `extraction` config of
118
  [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
119
 
 
124
  | `conditional_list_extraction` | Every order id or product meeting conjunctive, negated or numeric conditions after later updates, or the heaviest such order; prose, bullets or a table |
125
  | `log_query_extraction` | Every request id or user of log lines matching filters on level, exact service (auth vs auth-proxy), status, latency and user, or the latest/slowest match; plain, logfmt or JSON lines |
126
  | `typed_mention_extraction` | Named-entity style: every mention of each requested type, where one name (Jordan) is a person, place, organization or product by context; companies by a defined current role among former and unrelated relations; codes by a stated format among near-miss strings |
127
+ | `business_document_extraction` | The value in force on a date in an invoice, purchase order, contract or insurance policy: numbered amendments override printed values and each other, dated windows, schedule references that chain, asked keys left out while their near-miss key is stated (subtotal vs total) |
128
  | `nested_structure_extraction` | Path, any-depth and predicate-filter queries on a JSON, YAML or XML configuration whose override layers deep-merge or replace whole blocks |
129
  | `html_extraction` | Fields of the main item in raw HTML: scope (nested and related item cards), visibility (hidden, template, struck prices), dt/dd, label-for, attributes and spec tables with rowspan/colspan |
130
  | `date_range_extraction` | Every invoice, shipment, contract or ticket whose date of one role (issued vs due) falls in a range, before/after a date, in a month or on a weekday, or the earliest/latest; dates ISO, worded, day/month or month/day numeric under a stated section convention, year-less under a stated year, or relative to another record |
131
  | `spec_match_extraction` | Every laptop, e-bike or monitor meeting conjunctive spec requirements, or the best such one; specs and thresholds in mixed exact units (g/kg, GB/TB, min/h, Wh/kWh, in/cm) and a stated number convention (1.234,5), near-miss products failing one requirement, unstated specs not qualifying |
132
+ | `lookalike_field_extraction` | Fields asked by role (issue vs delivery date, subtotal vs tax, sender vs approver, order vs tracking number, billing vs return address, phones, weights, durations) from a form, sections, table, prose, email, log or YAML-like record; an asked role that is not stated is null although same-typed values of other roles are, or shows a placeholder (pending, N/A) |
133
 
134
  Levels 0 to 4 are drawn uniformly; `level` is a column. Mean per-field score by level (0 / 1 / 2 / 3 / 4):
135
 
 
140
  | `conditional_list_extraction` | 10,000 | 500 | 500 | 0.88 / 0.79 / 0.70 / 0.64 / 0.52 | 0.29 / 0.17 / 0.12 / 0.05 / 0.10 |
141
  | `log_query_extraction` | 10,000 | 500 | 500 | 0.86 / 0.76 / 0.68 / 0.63 / 0.59 | 0.31 / 0.16 / 0.09 / 0.24 / 0.15 |
142
  | `typed_mention_extraction` | 10,000 | 500 | 500 | 0.85 / 0.80 / 0.79 / 0.69 / 0.66 | 0.40 / 0.42 / 0.49 / 0.34 / 0.39 |
143
+ | `business_document_extraction` | 10,000 | 500 | 500 | 0.70 / 0.77 / 0.76 / 0.81 / 0.75 | 0.53 / 0.49 / 0.45 / 0.40 / 0.30 |
144
  | `nested_structure_extraction` | 10,000 | 500 | 500 | 0.93 / 0.88 / 0.94 / 0.86 / 0.86 | 0.18 / 0.20 / 0.20 / 0.20 / 0.18 |
145
  | `html_extraction` | 10,000 | 500 | 500 | 0.98 / 0.96 / 0.94 / 0.98 / 0.90 | 0.35 / 0.31 / 0.30 / 0.27 / 0.39 |
146
  | `date_range_extraction` | 10,000 | 500 | 500 | 0.75 / 0.62 / 0.60 / 0.44 / 0.44 | 0.16 / 0.03 / 0.03 / 0.00 / 0.02 |
147
  | `spec_match_extraction` | 10,000 | 500 | 500 | 0.81 / 0.53 / 0.27 / 0.25 / 0.17 | 0.11 / 0.08 / 0.04 / 0.03 / 0.04 |
148
+ | `lookalike_field_extraction` | 10,000 | 500 | 500 | 0.95 / 0.92 / 0.93 / 0.91 / 0.86 | 0.25 / 0.28 / 0.23 / 0.25 / 0.23 |
149
 
150
  ## Schema
151