Add Harbor tasks using the published ExtractBench coding-agent prompt

#2
by xujustinj - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. README.md +33 -0
  3. harbor-manifest.json +0 -0
  4. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/Dockerfile +7 -0
  5. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/document.pdf +3 -0
  6. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/schema.json +246 -0
  7. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/instruction.md +16 -0
  8. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/solution/expected.json +143 -0
  9. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/solution/solve.sh +3 -0
  10. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/task.toml +30 -0
  11. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/Dockerfile +5 -0
  12. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/reference.test.json +1 -0
  13. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/test.sh +3 -0
  14. tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/verifier.py +134 -0
  15. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/Dockerfile +7 -0
  16. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/document.pdf +3 -0
  17. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/schema.json +202 -0
  18. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/instruction.md +16 -0
  19. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/solution/expected.json +41 -0
  20. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/solution/solve.sh +3 -0
  21. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/task.toml +30 -0
  22. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/Dockerfile +5 -0
  23. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/reference.test.json +1 -0
  24. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/test.sh +3 -0
  25. tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/verifier.py +134 -0
  26. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/Dockerfile +7 -0
  27. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/document.pdf +3 -0
  28. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/schema.json +382 -0
  29. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/instruction.md +16 -0
  30. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/solution/expected.json +130 -0
  31. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/solution/solve.sh +3 -0
  32. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/task.toml +30 -0
  33. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/Dockerfile +5 -0
  34. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/reference.test.json +1 -0
  35. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/test.sh +3 -0
  36. tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/verifier.py +134 -0
  37. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/Dockerfile +7 -0
  38. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/document.pdf +3 -0
  39. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/schema.json +205 -0
  40. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/instruction.md +16 -0
  41. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/solution/expected.json +43 -0
  42. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/solution/solve.sh +3 -0
  43. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/task.toml +30 -0
  44. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/Dockerfile +5 -0
  45. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/reference.test.json +1 -0
  46. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/test.sh +3 -0
  47. tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/verifier.py +134 -0
  48. tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/Dockerfile +7 -0
  49. tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/document.pdf +3 -0
  50. tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/schema.json +112 -0
.gitattributes CHANGED
@@ -246,3 +246,4 @@ docs/long_chart_sheets/wireline_log_01.pdf filter=lfs diff=lfs merge=lfs -text
246
  docs/long_chart_sheets/wireline_log_02.pdf filter=lfs diff=lfs merge=lfs -text
247
  docs/long_chart_sheets/wireline_log_03.pdf filter=lfs diff=lfs merge=lfs -text
248
  house_vocabulary.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
246
  docs/long_chart_sheets/wireline_log_02.pdf filter=lfs diff=lfs merge=lfs -text
247
  docs/long_chart_sheets/wireline_log_03.pdf filter=lfs diff=lfs merge=lfs -text
248
  house_vocabulary.jsonl filter=lfs diff=lfs merge=lfs -text
249
+ tasks/**/document.pdf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -38,6 +38,8 @@ pretty_name: ExtractBench Pro
38
  size_categories:
39
  - n<1K
40
  tags:
 
 
41
  - document-extraction
42
  - structured-extraction
43
  - information-extraction
@@ -213,3 +215,34 @@ All documents are synthetic and contain fictional values. The dataset is release
213
  - **Code:** [run-llama/ExtractBench](https://github.com/run-llama/ExtractBench)
214
  - **ExtractBench:** [llamaindex/ExtractBench](https://huggingface.co/datasets/llamaindex/ExtractBench), real-document extraction
215
  - **ParseBench:** [llamaindex/ParseBench](https://huggingface.co/datasets/llamaindex/ParseBench), a companion benchmark for document parsing
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  size_categories:
39
  - n<1K
40
  tags:
41
+ - rl-environment
42
+ - harbor
43
  - document-extraction
44
  - structured-extraction
45
  - information-extraction
 
215
  - **Code:** [run-llama/ExtractBench](https://github.com/run-llama/ExtractBench)
216
  - **ExtractBench:** [llamaindex/ExtractBench](https://huggingface.co/datasets/llamaindex/ExtractBench), real-document extraction
217
  - **ParseBench:** [llamaindex/ParseBench](https://huggingface.co/datasets/llamaindex/ParseBench), a companion benchmark for document parsing
218
+
219
+ ## Harbor
220
+
221
+ Requires Harbor 0.24.0 or later, Git with Git LFS, and Docker.
222
+ Run `git lfs install` before the first use, then run the tasks directly from this repository:
223
+
224
+ ```bash
225
+ harbor run --repo https://huggingface.co/datasets/llamaindex/ExtractBenchPro -p tasks \
226
+ -a codex -m MODEL --allow-agent-host MODEL_API_HOST
227
+ ```
228
+
229
+ Instructions reproduce the [published coding-agent prompt](https://arxiv.org/html/2607.29677v1#A3.SS1), with a standardized document filename.
230
+ Agents receive only `document.pdf` and `schema.json` and write `output.json`.
231
+ During agent execution, network access is denied except for explicitly allowed
232
+ model API hosts. Set `MODEL_API_HOST` to the hostname of your model endpoint;
233
+ repeat `--allow-agent-host` only for additional required model API hosts.
234
+ Do not allow dataset hosts, public proxies, or broad IP ranges. Setup can download
235
+ agent tools before extraction begins; the separate verifier runs without networking.
236
+ The separate verifier uses the existing ExtractBench evaluator at commit `2f27f100730afc7c395602e26a2a87e07ea66b31`.
237
+ The reward is Value F1 in [0, 1]; `metrics.json` also records perfect-document status.
238
+ `feedback.json` records aligned output/reference cell paths, value outcomes, and
239
+ each matched cell's contribution to the same F1 reward. Paths refer to normalized
240
+ scoring inputs; one-sided cells contribute to the denominator. This feedback does
241
+ not change the reward or assign credit to reasoning steps.
242
+ This prompt does not request citations, so this lane does not measure grounding.
243
+ The agent timeout is 1800 seconds per document.
244
+
245
+ The JSONL files and ordinary Hugging Face dataset configuration are preserved.
246
+ `harbor-manifest.json` records source revisions and hashes for reproducibility.
247
+ For a no-inference packaging smoke test, use `-a oracle -l 1` instead of `-a codex -m MODEL`.
248
+ The oracle copies the reference output; it checks packaging and grading, not extraction ability.
harbor-manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ poppler-utils tesseract-ocr curl git nodejs npm \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
6
+ WORKDIR /app
7
+ COPY document.pdf schema.json /app/
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/document.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf1affe0894e4b83d7227ae0d0e4fcc0abe4ec8d473857b5be446acfae7eb399
3
+ size 4544011
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/environment/schema.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "agency_nurses": {
5
+ "type": "array",
6
+ "description": "One entry per nurse supplied by the agency to the ward in February, in roster order. Count only shifts the agency may charge for under its agreement with the hospital.",
7
+ "items": {
8
+ "type": "object",
9
+ "description": "",
10
+ "properties": {
11
+ "nurse": {
12
+ "type": "string",
13
+ "description": "Name as printed on the roster, surname first, without any marker."
14
+ },
15
+ "chargeable_shifts": {
16
+ "type": "integer",
17
+ "description": "Shifts the agency may charge for."
18
+ },
19
+ "chargeable_hours": {
20
+ "type": "number",
21
+ "description": "Paid hours of those shifts."
22
+ },
23
+ "shift_charges": {
24
+ "type": "number",
25
+ "description": "Hourly charges for those shifts, in pounds."
26
+ },
27
+ "long_run_supplement": {
28
+ "type": "number",
29
+ "description": "Extra charged for shifts late in a long run of shifts, in pounds."
30
+ },
31
+ "call_off_fees": {
32
+ "type": "number",
33
+ "description": "Fees for shifts the ward called off, in pounds."
34
+ },
35
+ "amount_due": {
36
+ "type": "number",
37
+ "description": "Total the hospital owes the agency for this nurse, in pounds."
38
+ },
39
+ "difference_from_invoice": {
40
+ "type": "number",
41
+ "description": "Amount the agency invoiced for this nurse minus the amount due, in pounds."
42
+ }
43
+ },
44
+ "required": [
45
+ "nurse",
46
+ "chargeable_shifts",
47
+ "chargeable_hours",
48
+ "shift_charges",
49
+ "long_run_supplement",
50
+ "call_off_fees",
51
+ "amount_due",
52
+ "difference_from_invoice"
53
+ ]
54
+ }
55
+ },
56
+ "pay_periods": {
57
+ "type": "object",
58
+ "description": "Agency hours and money by agency pay period.",
59
+ "properties": {
60
+ "period_03": {
61
+ "type": "object",
62
+ "description": "Agency pay period 03, as the agency numbers its periods.",
63
+ "properties": {
64
+ "agency_shifts": {
65
+ "type": "integer",
66
+ "description": "Shifts the agency may charge for that fall in this period."
67
+ },
68
+ "agency_hours": {
69
+ "type": "number",
70
+ "description": "Hours of those shifts."
71
+ },
72
+ "amount": {
73
+ "type": "number",
74
+ "description": "Money due to the agency for this period, all charges included, in pounds."
75
+ }
76
+ },
77
+ "required": [
78
+ "agency_shifts",
79
+ "agency_hours",
80
+ "amount"
81
+ ]
82
+ },
83
+ "period_04": {
84
+ "type": "object",
85
+ "description": "Agency pay period 04, as the agency numbers its periods.",
86
+ "properties": {
87
+ "agency_shifts": {
88
+ "type": "integer",
89
+ "description": "Shifts the agency may charge for that fall in this period."
90
+ },
91
+ "agency_hours": {
92
+ "type": "number",
93
+ "description": "Hours of those shifts."
94
+ },
95
+ "amount": {
96
+ "type": "number",
97
+ "description": "Money due to the agency for this period, all charges included, in pounds."
98
+ }
99
+ },
100
+ "required": [
101
+ "agency_shifts",
102
+ "agency_hours",
103
+ "amount"
104
+ ]
105
+ },
106
+ "period_05": {
107
+ "type": "object",
108
+ "description": "Agency pay period 05, as the agency numbers its periods.",
109
+ "properties": {
110
+ "agency_shifts": {
111
+ "type": "integer",
112
+ "description": "Shifts the agency may charge for that fall in this period."
113
+ },
114
+ "agency_hours": {
115
+ "type": "number",
116
+ "description": "Hours of those shifts."
117
+ },
118
+ "amount": {
119
+ "type": "number",
120
+ "description": "Money due to the agency for this period, all charges included, in pounds."
121
+ }
122
+ },
123
+ "required": [
124
+ "agency_shifts",
125
+ "agency_hours",
126
+ "amount"
127
+ ]
128
+ }
129
+ },
130
+ "required": [
131
+ "period_03",
132
+ "period_04",
133
+ "period_05"
134
+ ]
135
+ },
136
+ "roster_weeks": {
137
+ "type": "object",
138
+ "description": "Agency hours by roster week.",
139
+ "properties": {
140
+ "week_1": {
141
+ "type": "object",
142
+ "description": "Roster week 1, Monday 1 to Sunday 7 February.",
143
+ "properties": {
144
+ "agency_shifts": {
145
+ "type": "integer",
146
+ "description": "Shifts the agency may charge for worked in this week."
147
+ },
148
+ "agency_hours": {
149
+ "type": "number",
150
+ "description": "Hours of those shifts."
151
+ }
152
+ },
153
+ "required": [
154
+ "agency_shifts",
155
+ "agency_hours"
156
+ ]
157
+ },
158
+ "week_2": {
159
+ "type": "object",
160
+ "description": "Roster week 2, Monday 8 to Sunday 14 February.",
161
+ "properties": {
162
+ "agency_shifts": {
163
+ "type": "integer",
164
+ "description": "Shifts the agency may charge for worked in this week."
165
+ },
166
+ "agency_hours": {
167
+ "type": "number",
168
+ "description": "Hours of those shifts."
169
+ }
170
+ },
171
+ "required": [
172
+ "agency_shifts",
173
+ "agency_hours"
174
+ ]
175
+ },
176
+ "week_3": {
177
+ "type": "object",
178
+ "description": "Roster week 3, Monday 15 to Sunday 21 February.",
179
+ "properties": {
180
+ "agency_shifts": {
181
+ "type": "integer",
182
+ "description": "Shifts the agency may charge for worked in this week."
183
+ },
184
+ "agency_hours": {
185
+ "type": "number",
186
+ "description": "Hours of those shifts."
187
+ }
188
+ },
189
+ "required": [
190
+ "agency_shifts",
191
+ "agency_hours"
192
+ ]
193
+ },
194
+ "week_4": {
195
+ "type": "object",
196
+ "description": "Roster week 4, Monday 22 to Sunday 28 February.",
197
+ "properties": {
198
+ "agency_shifts": {
199
+ "type": "integer",
200
+ "description": "Shifts the agency may charge for worked in this week."
201
+ },
202
+ "agency_hours": {
203
+ "type": "number",
204
+ "description": "Hours of those shifts."
205
+ }
206
+ },
207
+ "required": [
208
+ "agency_shifts",
209
+ "agency_hours"
210
+ ]
211
+ }
212
+ },
213
+ "required": [
214
+ "week_1",
215
+ "week_2",
216
+ "week_3",
217
+ "week_4"
218
+ ]
219
+ },
220
+ "total_due": {
221
+ "type": "number",
222
+ "description": "Total the hospital owes the agency for February, in pounds."
223
+ },
224
+ "invoice_difference": {
225
+ "type": "number",
226
+ "description": "Invoice total minus the total owed, in pounds."
227
+ },
228
+ "nurses_over_booking_limit": {
229
+ "type": "integer",
230
+ "description": "Agency nurses who worked more long shifts in a row than the agreement allows."
231
+ },
232
+ "withdrawn_bookings": {
233
+ "type": "integer",
234
+ "description": "Agency shifts the ward called off after they were booked."
235
+ }
236
+ },
237
+ "required": [
238
+ "agency_nurses",
239
+ "pay_periods",
240
+ "roster_weeks",
241
+ "total_due",
242
+ "invoice_difference",
243
+ "nurses_over_booking_limit",
244
+ "withdrawn_bookings"
245
+ ]
246
+ }
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Extract structured data from the document file `./document.pdf` in the current directory.
2
+
3
+ Use only local file inspection and shell commands. Do not use web search, network calls, browser tools, or external services. Temporary scratch files inside the current directory are OK.
4
+
5
+ Return a single JSON object conforming to this schema as your final answer:
6
+
7
+ {"type": "object", "properties": {"agency_nurses": {"type": "array", "description": "One entry per nurse supplied by the agency to the ward in February, in roster order. Count only shifts the agency may charge for under its agreement with the hospital.", "items": {"type": "object", "description": "", "properties": {"nurse": {"type": "string", "description": "Name as printed on the roster, surname first, without any marker."}, "chargeable_shifts": {"type": "integer", "description": "Shifts the agency may charge for."}, "chargeable_hours": {"type": "number", "description": "Paid hours of those shifts."}, "shift_charges": {"type": "number", "description": "Hourly charges for those shifts, in pounds."}, "long_run_supplement": {"type": "number", "description": "Extra charged for shifts late in a long run of shifts, in pounds."}, "call_off_fees": {"type": "number", "description": "Fees for shifts the ward called off, in pounds."}, "amount_due": {"type": "number", "description": "Total the hospital owes the agency for this nurse, in pounds."}, "difference_from_invoice": {"type": "number", "description": "Amount the agency invoiced for this nurse minus the amount due, in pounds."}}, "required": ["nurse", "chargeable_shifts", "chargeable_hours", "shift_charges", "long_run_supplement", "call_off_fees", "amount_due", "difference_from_invoice"]}}, "pay_periods": {"type": "object", "description": "Agency hours and money by agency pay period.", "properties": {"period_03": {"type": "object", "description": "Agency pay period 03, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}, "period_04": {"type": "object", "description": "Agency pay period 04, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}, "period_05": {"type": "object", "description": "Agency pay period 05, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}}, "required": ["period_03", "period_04", "period_05"]}, "roster_weeks": {"type": "object", "description": "Agency hours by roster week.", "properties": {"week_1": {"type": "object", "description": "Roster week 1, Monday 1 to Sunday 7 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_2": {"type": "object", "description": "Roster week 2, Monday 8 to Sunday 14 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_3": {"type": "object", "description": "Roster week 3, Monday 15 to Sunday 21 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_4": {"type": "object", "description": "Roster week 4, Monday 22 to Sunday 28 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}}, "required": ["week_1", "week_2", "week_3", "week_4"]}, "total_due": {"type": "number", "description": "Total the hospital owes the agency for February, in pounds."}, "invoice_difference": {"type": "number", "description": "Invoice total minus the total owed, in pounds."}, "nurses_over_booking_limit": {"type": "integer", "description": "Agency nurses who worked more long shifts in a row than the agreement allows."}, "withdrawn_bookings": {"type": "integer", "description": "Agency shifts the ward called off after they were booked."}}, "required": ["agency_nurses", "pay_periods", "roster_weeks", "total_due", "invoice_difference", "nurses_over_booking_limit", "withdrawn_bookings"]}
8
+
9
+ Rules:
10
+
11
+ - Use null for fields not present in the document.
12
+ - For list/array fields, enumerate every relevant row visible in the document; never collapse rows.
13
+ - For large regular tables, prefer writing and running a local script to parse/enumerate rows.
14
+ - For forms, prefer direct field extraction from the document content.
15
+ - Write the resulting JSON object to ./output.json and validate that it is valid JSON before stopping.
16
+ - Do not print the JSON to your assistant output.
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/solution/expected.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "agency_nurses": [
3
+ {
4
+ "nurse": "Eriksen, Hollis",
5
+ "chargeable_shifts": 13,
6
+ "chargeable_hours": 147.5,
7
+ "shift_charges": 6731.03,
8
+ "long_run_supplement": 119.8,
9
+ "call_off_fees": 0.0,
10
+ "amount_due": 6850.83,
11
+ "difference_from_invoice": 74.6
12
+ },
13
+ {
14
+ "nurse": "Grimaldi, Elif",
15
+ "chargeable_shifts": 13,
16
+ "chargeable_hours": 149.5,
17
+ "shift_charges": 7109.53,
18
+ "long_run_supplement": 64.2,
19
+ "call_off_fees": 96.0,
20
+ "amount_due": 7269.73,
21
+ "difference_from_invoice": 577.75
22
+ },
23
+ {
24
+ "nurse": "Holloway, Wren",
25
+ "chargeable_shifts": 14,
26
+ "chargeable_hours": 146.0,
27
+ "shift_charges": 6789.03,
28
+ "long_run_supplement": 42.8,
29
+ "call_off_fees": 0.0,
30
+ "amount_due": 6831.83,
31
+ "difference_from_invoice": 432.4
32
+ },
33
+ {
34
+ "nurse": "Ivanova, Hester",
35
+ "chargeable_shifts": 10,
36
+ "chargeable_hours": 105.0,
37
+ "shift_charges": 5153.73,
38
+ "long_run_supplement": 0.0,
39
+ "call_off_fees": 96.0,
40
+ "amount_due": 5249.73,
41
+ "difference_from_invoice": 692.4
42
+ },
43
+ {
44
+ "nurse": "Kerrigan, Yara",
45
+ "chargeable_shifts": 11,
46
+ "chargeable_hours": 125.5,
47
+ "shift_charges": 6150.31,
48
+ "long_run_supplement": 0.0,
49
+ "call_off_fees": 0.0,
50
+ "amount_due": 6150.31,
51
+ "difference_from_invoice": 695.15
52
+ },
53
+ {
54
+ "nurse": "Marchetti, Vesna",
55
+ "chargeable_shifts": 9,
56
+ "chargeable_hours": 92.5,
57
+ "shift_charges": 4368.61,
58
+ "long_run_supplement": 21.4,
59
+ "call_off_fees": 0.0,
60
+ "amount_due": 4390.01,
61
+ "difference_from_invoice": 812.55
62
+ },
63
+ {
64
+ "nurse": "Nakashima, Tamsin",
65
+ "chargeable_shifts": 13,
66
+ "chargeable_hours": 132.5,
67
+ "shift_charges": 6263.01,
68
+ "long_run_supplement": 64.2,
69
+ "call_off_fees": 0.0,
70
+ "amount_due": 6327.21,
71
+ "difference_from_invoice": 436.5
72
+ },
73
+ {
74
+ "nurse": "Novak, Jasper",
75
+ "chargeable_shifts": 10,
76
+ "chargeable_hours": 95.0,
77
+ "shift_charges": 4381.57,
78
+ "long_run_supplement": 64.2,
79
+ "call_off_fees": 96.0,
80
+ "amount_due": 4541.77,
81
+ "difference_from_invoice": 349.2
82
+ },
83
+ {
84
+ "nurse": "Tregarth, Soren",
85
+ "chargeable_shifts": 13,
86
+ "chargeable_hours": 149.5,
87
+ "shift_charges": 7109.53,
88
+ "long_run_supplement": 77.0,
89
+ "call_off_fees": 96.0,
90
+ "amount_due": 7282.53,
91
+ "difference_from_invoice": 19.0
92
+ },
93
+ {
94
+ "nurse": "Valdivia, Lucan",
95
+ "chargeable_shifts": 12,
96
+ "chargeable_hours": 138.0,
97
+ "shift_charges": 6510.38,
98
+ "long_run_supplement": 21.4,
99
+ "call_off_fees": 96.0,
100
+ "amount_due": 6627.78,
101
+ "difference_from_invoice": -21.4
102
+ }
103
+ ],
104
+ "pay_periods": {
105
+ "period_03": {
106
+ "agency_shifts": 46,
107
+ "agency_hours": 499.5,
108
+ "amount": 22926.59
109
+ },
110
+ "period_04": {
111
+ "agency_shifts": 59,
112
+ "agency_hours": 633.0,
113
+ "amount": 30933.67
114
+ },
115
+ "period_05": {
116
+ "agency_shifts": 13,
117
+ "agency_hours": 148.5,
118
+ "amount": 7661.47
119
+ }
120
+ },
121
+ "roster_weeks": {
122
+ "week_1": {
123
+ "agency_shifts": 36,
124
+ "agency_hours": 384.5
125
+ },
126
+ "week_2": {
127
+ "agency_shifts": 23,
128
+ "agency_hours": 252.5
129
+ },
130
+ "week_3": {
131
+ "agency_shifts": 27,
132
+ "agency_hours": 304.0
133
+ },
134
+ "week_4": {
135
+ "agency_shifts": 32,
136
+ "agency_hours": 340.0
137
+ }
138
+ },
139
+ "total_due": 61521.73,
140
+ "invoice_difference": 4068.15,
141
+ "nurses_over_booking_limit": 8,
142
+ "withdrawn_bookings": 5
143
+ }
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/solution/solve.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ cp /solution/expected.json /app/output.json
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/task.toml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/app/output.json"]
3
+
4
+ [metadata]
5
+ source_repo = "llamaindex/ExtractBenchPro"
6
+ source_revision = "16f6672e06cf77491ec6d18c817d67864b90d845"
7
+ source_case_id = "charts_inside_documents/agency_staffing_invoice_01"
8
+ source_split = "charts_inside_documents"
9
+ scorer_revision = "2f27f100730afc7c395602e26a2a87e07ea66b31"
10
+ prompt_source = "https://arxiv.org/html/2607.29677v1#A3.SS1"
11
+ tags = ["source:synthetic", "challenge:charts_inside_documents", "perception:handwritten", "length:medium", "domain:D6"]
12
+
13
+ [agent]
14
+ timeout_sec = 1800
15
+ network_mode = "allowlist"
16
+ allowed_hosts = []
17
+
18
+ [environment]
19
+ cpus = 2
20
+ memory_mb = 4096
21
+ storage_mb = 10240
22
+
23
+ [verifier]
24
+ environment_mode = "separate"
25
+ timeout_sec = 1800
26
+
27
+ [verifier.environment]
28
+ cpus = 2
29
+ memory_mb = 8192
30
+ network_mode = "no-network"
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
3
+ RUN pip install --no-cache-dir "llama-extract-bench @ git+https://github.com/run-llama/ExtractBench.git@2f27f100730afc7c395602e26a2a87e07ea66b31" "parse-bench==1.0.4"
4
+ WORKDIR /app
5
+ COPY . /tests/
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/reference.test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tags": ["source:synthetic", "challenge:charts_inside_documents", "perception:handwritten", "length:medium", "domain:D6"], "data_schema": {"type": "object", "properties": {"agency_nurses": {"type": "array", "description": "One entry per nurse supplied by the agency to the ward in February, in roster order. Count only shifts the agency may charge for under its agreement with the hospital.", "items": {"type": "object", "description": "", "properties": {"nurse": {"type": "string", "description": "Name as printed on the roster, surname first, without any marker."}, "chargeable_shifts": {"type": "integer", "description": "Shifts the agency may charge for."}, "chargeable_hours": {"type": "number", "description": "Paid hours of those shifts."}, "shift_charges": {"type": "number", "description": "Hourly charges for those shifts, in pounds."}, "long_run_supplement": {"type": "number", "description": "Extra charged for shifts late in a long run of shifts, in pounds."}, "call_off_fees": {"type": "number", "description": "Fees for shifts the ward called off, in pounds."}, "amount_due": {"type": "number", "description": "Total the hospital owes the agency for this nurse, in pounds."}, "difference_from_invoice": {"type": "number", "description": "Amount the agency invoiced for this nurse minus the amount due, in pounds."}}, "required": ["nurse", "chargeable_shifts", "chargeable_hours", "shift_charges", "long_run_supplement", "call_off_fees", "amount_due", "difference_from_invoice"]}}, "pay_periods": {"type": "object", "description": "Agency hours and money by agency pay period.", "properties": {"period_03": {"type": "object", "description": "Agency pay period 03, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}, "period_04": {"type": "object", "description": "Agency pay period 04, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}, "period_05": {"type": "object", "description": "Agency pay period 05, as the agency numbers its periods.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for that fall in this period."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}, "amount": {"type": "number", "description": "Money due to the agency for this period, all charges included, in pounds."}}, "required": ["agency_shifts", "agency_hours", "amount"]}}, "required": ["period_03", "period_04", "period_05"]}, "roster_weeks": {"type": "object", "description": "Agency hours by roster week.", "properties": {"week_1": {"type": "object", "description": "Roster week 1, Monday 1 to Sunday 7 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_2": {"type": "object", "description": "Roster week 2, Monday 8 to Sunday 14 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_3": {"type": "object", "description": "Roster week 3, Monday 15 to Sunday 21 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}, "week_4": {"type": "object", "description": "Roster week 4, Monday 22 to Sunday 28 February.", "properties": {"agency_shifts": {"type": "integer", "description": "Shifts the agency may charge for worked in this week."}, "agency_hours": {"type": "number", "description": "Hours of those shifts."}}, "required": ["agency_shifts", "agency_hours"]}}, "required": ["week_1", "week_2", "week_3", "week_4"]}, "total_due": {"type": "number", "description": "Total the hospital owes the agency for February, in pounds."}, "invoice_difference": {"type": "number", "description": "Invoice total minus the total owed, in pounds."}, "nurses_over_booking_limit": {"type": "integer", "description": "Agency nurses who worked more long shifts in a row than the agreement allows."}, "withdrawn_bookings": {"type": "integer", "description": "Agency shifts the ward called off after they were booked."}}, "required": ["agency_nurses", "pay_periods", "roster_weeks", "total_due", "invoice_difference", "nurses_over_booking_limit", "withdrawn_bookings"]}, "expected_output": {"agency_nurses": [{"nurse": "Eriksen, Hollis", "chargeable_shifts": 13, "chargeable_hours": 147.5, "shift_charges": 6731.03, "long_run_supplement": 119.8, "call_off_fees": 0.0, "amount_due": 6850.83, "difference_from_invoice": 74.6}, {"nurse": "Grimaldi, Elif", "chargeable_shifts": 13, "chargeable_hours": 149.5, "shift_charges": 7109.53, "long_run_supplement": 64.2, "call_off_fees": 96.0, "amount_due": 7269.73, "difference_from_invoice": 577.75}, {"nurse": "Holloway, Wren", "chargeable_shifts": 14, "chargeable_hours": 146.0, "shift_charges": 6789.03, "long_run_supplement": 42.8, "call_off_fees": 0.0, "amount_due": 6831.83, "difference_from_invoice": 432.4}, {"nurse": "Ivanova, Hester", "chargeable_shifts": 10, "chargeable_hours": 105.0, "shift_charges": 5153.73, "long_run_supplement": 0.0, "call_off_fees": 96.0, "amount_due": 5249.73, "difference_from_invoice": 692.4}, {"nurse": "Kerrigan, Yara", "chargeable_shifts": 11, "chargeable_hours": 125.5, "shift_charges": 6150.31, "long_run_supplement": 0.0, "call_off_fees": 0.0, "amount_due": 6150.31, "difference_from_invoice": 695.15}, {"nurse": "Marchetti, Vesna", "chargeable_shifts": 9, "chargeable_hours": 92.5, "shift_charges": 4368.61, "long_run_supplement": 21.4, "call_off_fees": 0.0, "amount_due": 4390.01, "difference_from_invoice": 812.55}, {"nurse": "Nakashima, Tamsin", "chargeable_shifts": 13, "chargeable_hours": 132.5, "shift_charges": 6263.01, "long_run_supplement": 64.2, "call_off_fees": 0.0, "amount_due": 6327.21, "difference_from_invoice": 436.5}, {"nurse": "Novak, Jasper", "chargeable_shifts": 10, "chargeable_hours": 95.0, "shift_charges": 4381.57, "long_run_supplement": 64.2, "call_off_fees": 96.0, "amount_due": 4541.77, "difference_from_invoice": 349.2}, {"nurse": "Tregarth, Soren", "chargeable_shifts": 13, "chargeable_hours": 149.5, "shift_charges": 7109.53, "long_run_supplement": 77.0, "call_off_fees": 96.0, "amount_due": 7282.53, "difference_from_invoice": 19.0}, {"nurse": "Valdivia, Lucan", "chargeable_shifts": 12, "chargeable_hours": 138.0, "shift_charges": 6510.38, "long_run_supplement": 21.4, "call_off_fees": 96.0, "amount_due": 6627.78, "difference_from_invoice": -21.4}], "pay_periods": {"period_03": {"agency_shifts": 46, "agency_hours": 499.5, "amount": 22926.59}, "period_04": {"agency_shifts": 59, "agency_hours": 633.0, "amount": 30933.67}, "period_05": {"agency_shifts": 13, "agency_hours": 148.5, "amount": 7661.47}}, "roster_weeks": {"week_1": {"agency_shifts": 36, "agency_hours": 384.5}, "week_2": {"agency_shifts": 23, "agency_hours": 252.5}, "week_3": {"agency_shifts": 27, "agency_hours": 304.0}, "week_4": {"agency_shifts": 32, "agency_hours": 340.0}}, "total_due": 61521.73, "invoice_difference": 4068.15, "nurses_over_booking_limit": 8, "withdrawn_bookings": 5}, "_field_rules": {"agency_nurses[0].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.08699, 0.06898, 0.00985], "quote": "Eriksen, Hollis", "value": "Eriksen, Hollis", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[0].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 13}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 147.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6731.03}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 119.8}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6850.83}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[0].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 74.6}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.14026, 0.06188, 0.00985], "quote": "Grimaldi, Elif", "value": "Grimaldi, Elif", "coarse": false}, {"page": 17, "bbox": [0.25483, 0.31408, 0.06188, 0.00985], "quote": "Grimaldi, Elif", "value": "Grimaldi, Elif", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[1].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 13}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 149.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7109.53}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 64.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 96.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7269.73}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[1].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 577.75}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.19353, 0.07568, 0.00985], "quote": "Holloway, Wren", "value": "Holloway, Wren", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[2].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 14}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 146.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6789.03}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 42.8}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6831.83}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[2].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 432.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.24773, 0.07629, 0.00985], "quote": "Ivanova, Hester", "value": "Ivanova, Hester", "coarse": false}, {"page": 17, "bbox": [0.25483, 0.14587, 0.07629, 0.00985], "quote": "Ivanova, Hester", "value": "Ivanova, Hester", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[3].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 10}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 105.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5153.73}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 96.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5249.73}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[3].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 692.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.301, 0.06879, 0.00985], "quote": "Kerrigan, Yara", "value": "Kerrigan, Yara", "coarse": false}, {"page": 17, "bbox": [0.25483, 0.13092, 0.06879, 0.00985], "quote": "Kerrigan, Yara", "value": "Kerrigan, Yara", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[4].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 11}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 125.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6150.31}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6150.31}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[4].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 695.15}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.35427, 0.0816, 0.00985], "quote": "Marchetti, Vesna", "value": "Marchetti, Vesna", "coarse": false}, {"page": 17, "bbox": [0.25483, 0.30006, 0.0816, 0.00985], "quote": "Marchetti, Vesna", "value": "Marchetti, Vesna", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[5].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 9}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 92.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4368.61}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 21.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4390.01}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[5].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 812.55}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.39445, 0.095, 0.00985], "quote": "Nakashima, Tamsin", "value": "Nakashima, Tamsin", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[6].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 13}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 132.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6263.01}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 64.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6327.21}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[6].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 436.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.44772, 0.07042, 0.00985], "quote": "Novak, Jasper", "value": "Novak, Jasper", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[7].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 10}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 95.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4381.57}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 64.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 96.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4541.77}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[7].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 349.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.48884, 0.07489, 0.00985], "quote": "Tregarth, Soren", "value": "Tregarth, Soren", "coarse": false}, {"page": 17, "bbox": [0.25483, 0.22998, 0.07489, 0.00985], "quote": "Tregarth, Soren", "value": "Tregarth, Soren", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[8].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 13}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 149.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7109.53}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 77.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 96.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7282.53}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[8].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 19.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].nurse": {"evidence": [{"page": 2, "bbox": [0.08559, 0.5421, 0.07327, 0.00985], "quote": "Valdivia, Lucan", "value": "Valdivia, Lucan", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "agency_nurses[9].chargeable_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 12}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].chargeable_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 138.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].shift_charges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6510.38}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].long_run_supplement": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 21.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].call_off_fees": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 96.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].amount_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 6627.78}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "agency_nurses[9].difference_from_invoice": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -21.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_03.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 46}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_03.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 499.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_03.amount": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 22926.59}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_04.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 59}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_04.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 633.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_04.amount": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 30933.67}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_05.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 13}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_05.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 148.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "pay_periods.period_05.amount": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7661.47}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_1.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 36}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_1.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 384.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_2.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 23}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_2.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 252.5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_3.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 27}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_3.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 304.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_4.agency_shifts": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 32}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "roster_weeks.week_4.agency_hours": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 340.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "total_due": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 61521.73}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "invoice_difference": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4068.15}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "nurses_over_booking_limit": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 8}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "withdrawn_bookings": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5}], "verified": true, "source_policy": "inferred", "evidence_required": true}}}
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/test.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ python /tests/verifier.py
tasks/charts-inside-documents--agency-staffing-invoice-01-9aebdbb0d3/tests/verifier.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Harbor's file boundary into the existing ExtractBench evaluator."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ from collections.abc import Mapping, Sequence
8
+ from datetime import UTC, datetime
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ from extract_bench.evaluation.evaluators.extract import ExtractEvaluator
13
+ from extract_bench.evaluation.metrics.extract.unified_evidence_metric import ValueCell
14
+ from extract_bench.evaluation.score_case import load_extract_test_case
15
+ from extract_bench.schemas.extract_output import ExtractOutput
16
+ from extract_bench.schemas.pipeline_io import InferenceRequest, InferenceResult
17
+ from extract_bench.schemas.product import ProductType
18
+
19
+
20
+ def _feedback(cells: Sequence[ValueCell], metadata: Mapping[str, Any]) -> dict[str, Any]:
21
+ expected = sum(cell.gt_path is not None for cell in cells)
22
+ predicted = sum(cell.pred_path is not None for cell in cells)
23
+ matched = sum(cell.value_correct for cell in cells)
24
+ if (expected, predicted, matched) != (
25
+ metadata["expected_cells"],
26
+ metadata["predicted_cells"],
27
+ metadata["v_correct"],
28
+ ):
29
+ raise ValueError("Value feedback does not account for the scorer's cell counts")
30
+ denominator = expected + predicted
31
+ entries = []
32
+ for cell in cells:
33
+ if cell.gt_path is None:
34
+ outcome = "prediction_only"
35
+ elif cell.pred_path is None:
36
+ outcome = "reference_only"
37
+ else:
38
+ outcome = "matched" if cell.value_correct else "value_differs"
39
+ entries.append(
40
+ {
41
+ "reference_path": cell.gt_path,
42
+ "output_path": cell.pred_path,
43
+ "outcome": outcome,
44
+ "f1_credit": 2.0 / denominator if cell.value_correct else 0.0,
45
+ }
46
+ )
47
+ return {
48
+ "schema_version": 1,
49
+ "status": "scored",
50
+ "path_space": "normalized_scoring_inputs",
51
+ "counts": {"expected": expected, "predicted": predicted, "matched": matched},
52
+ "value_incomplete": metadata["value_incomplete"],
53
+ "cells": entries,
54
+ }
55
+
56
+
57
+ def score_prediction(test_json: Path, prediction: Any) -> tuple[dict[str, float], dict[str, Any]]:
58
+ """Use exactly the normal evaluator's normalization and metric selection."""
59
+ case = load_extract_test_case(test_json, source_file=Path("/app/document.pdf"))
60
+ now = datetime.now(UTC)
61
+ result = InferenceResult(
62
+ request=InferenceRequest(
63
+ example_id=case.test_id,
64
+ source_file_path=str(case.file_path),
65
+ product_type=ProductType.EXTRACT,
66
+ ),
67
+ pipeline_name="harbor",
68
+ product_type=ProductType.EXTRACT,
69
+ raw_output={},
70
+ output=ExtractOutput(
71
+ example_id=case.test_id,
72
+ pipeline_name="harbor",
73
+ extracted_data=prediction,
74
+ field_citations=[],
75
+ ),
76
+ started_at=now,
77
+ completed_at=now,
78
+ latency_in_ms=0,
79
+ )
80
+ cells: list[ValueCell] = []
81
+ bundle = ExtractEvaluator().compute_metrics(result, case, value_cells=cells)
82
+ metrics = {
83
+ metric.metric_name: metric.value
84
+ for metric in bundle.metrics
85
+ if metric.metric_name.startswith("extract_unified_value_")
86
+ }
87
+ value_f1 = next(metric for metric in bundle.metrics if metric.metric_name == "extract_unified_value_f1")
88
+ return metrics, _feedback(cells, value_f1.metadata)
89
+
90
+
91
+ def verify(test_json: Path, prediction_path: Path, log_dir: Path) -> dict[str, Any]:
92
+ """Bad/missing submissions earn zero; broken grading raises an error.
93
+
94
+ Only submission decoding is caught. A missing reference, loader error or
95
+ scorer failure must fail the verifier instead of becoming a model score.
96
+ """
97
+ log_dir.mkdir(parents=True, exist_ok=True)
98
+ reward_path = log_dir / "reward.txt"
99
+ for name in ("reward.txt", "metrics.json", "feedback.json"):
100
+ (log_dir / name).unlink(missing_ok=True)
101
+ try:
102
+ prediction = json.loads(prediction_path.read_text(encoding="utf-8"))
103
+ except (FileNotFoundError, UnicodeDecodeError, json.JSONDecodeError) as error:
104
+ report: dict[str, Any] = {"status": "invalid_submission", "error": str(error), "value_f1": 0.0}
105
+ else:
106
+ if not isinstance(prediction, dict):
107
+ report = {"status": "invalid_submission", "error": "Expected one JSON object", "value_f1": 0.0}
108
+ else:
109
+ metrics, feedback = score_prediction(test_json, prediction)
110
+ report = {
111
+ "status": "scored",
112
+ "value_f1": metrics["extract_unified_value_f1"],
113
+ "metrics": metrics,
114
+ }
115
+ if report["status"] == "invalid_submission":
116
+ feedback = {"schema_version": 1, "status": "invalid_submission", "error": report["error"], "cells": []}
117
+ report["perfect"] = int(report["value_f1"] == 1.0)
118
+ (log_dir / "metrics.json").write_text(json.dumps(report, indent=2, allow_nan=False) + "\n", encoding="utf-8")
119
+ (log_dir / "feedback.json").write_text(json.dumps(feedback, indent=2, allow_nan=False) + "\n", encoding="utf-8")
120
+ reward_path.write_text(f"{report['value_f1']}\n", encoding="utf-8")
121
+ return report
122
+
123
+
124
+ def main() -> None:
125
+ parser = argparse.ArgumentParser(description=__doc__)
126
+ parser.add_argument("--test-json", type=Path, default=Path("/tests/reference.test.json"))
127
+ parser.add_argument("--prediction", type=Path, default=Path("/app/output.json"))
128
+ parser.add_argument("--log-dir", type=Path, default=Path("/logs/verifier"))
129
+ args = parser.parse_args()
130
+ verify(args.test_json, args.prediction, args.log_dir)
131
+
132
+
133
+ if __name__ == "__main__":
134
+ main()
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ poppler-utils tesseract-ocr curl git nodejs npm \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
6
+ WORKDIR /app
7
+ COPY document.pdf schema.json /app/
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/document.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bd14a1625b6d184e42c03f316f530c2fd4476538296cbdd2343e50ced82ef15
3
+ size 9730520
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/environment/schema.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "lot01SamplesOut": {
5
+ "type": "integer",
6
+ "description": "Lot 1: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
7
+ },
8
+ "lot01PayFactor": {
9
+ "type": "number",
10
+ "description": "Lot 1: pay factor applied to the lot."
11
+ },
12
+ "lot01Adjustment": {
13
+ "type": "number",
14
+ "description": "Lot 1: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
15
+ },
16
+ "lot02SamplesOut": {
17
+ "type": "integer",
18
+ "description": "Lot 2: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
19
+ },
20
+ "lot02PayFactor": {
21
+ "type": "number",
22
+ "description": "Lot 2: pay factor applied to the lot."
23
+ },
24
+ "lot02Adjustment": {
25
+ "type": "number",
26
+ "description": "Lot 2: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
27
+ },
28
+ "lot03SamplesOut": {
29
+ "type": "integer",
30
+ "description": "Lot 3: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
31
+ },
32
+ "lot03PayFactor": {
33
+ "type": "number",
34
+ "description": "Lot 3: pay factor applied to the lot."
35
+ },
36
+ "lot03Adjustment": {
37
+ "type": "number",
38
+ "description": "Lot 3: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
39
+ },
40
+ "lot04SamplesOut": {
41
+ "type": "integer",
42
+ "description": "Lot 4: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
43
+ },
44
+ "lot04PayFactor": {
45
+ "type": "number",
46
+ "description": "Lot 4: pay factor applied to the lot."
47
+ },
48
+ "lot04Adjustment": {
49
+ "type": "number",
50
+ "description": "Lot 4: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
51
+ },
52
+ "lot05SamplesOut": {
53
+ "type": "integer",
54
+ "description": "Lot 5: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
55
+ },
56
+ "lot05PayFactor": {
57
+ "type": "number",
58
+ "description": "Lot 5: pay factor applied to the lot."
59
+ },
60
+ "lot05Adjustment": {
61
+ "type": "number",
62
+ "description": "Lot 5: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
63
+ },
64
+ "lot06SamplesOut": {
65
+ "type": "integer",
66
+ "description": "Lot 6: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
67
+ },
68
+ "lot06PayFactor": {
69
+ "type": "number",
70
+ "description": "Lot 6: pay factor applied to the lot."
71
+ },
72
+ "lot06Adjustment": {
73
+ "type": "number",
74
+ "description": "Lot 6: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
75
+ },
76
+ "lot07SamplesOut": {
77
+ "type": "integer",
78
+ "description": "Lot 7: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
79
+ },
80
+ "lot07PayFactor": {
81
+ "type": "number",
82
+ "description": "Lot 7: pay factor applied to the lot."
83
+ },
84
+ "lot07Adjustment": {
85
+ "type": "number",
86
+ "description": "Lot 7: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
87
+ },
88
+ "lot08SamplesOut": {
89
+ "type": "integer",
90
+ "description": "Lot 8: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
91
+ },
92
+ "lot08PayFactor": {
93
+ "type": "number",
94
+ "description": "Lot 8: pay factor applied to the lot."
95
+ },
96
+ "lot08Adjustment": {
97
+ "type": "number",
98
+ "description": "Lot 8: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
99
+ },
100
+ "lot09SamplesOut": {
101
+ "type": "integer",
102
+ "description": "Lot 9: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
103
+ },
104
+ "lot09PayFactor": {
105
+ "type": "number",
106
+ "description": "Lot 9: pay factor applied to the lot."
107
+ },
108
+ "lot09Adjustment": {
109
+ "type": "number",
110
+ "description": "Lot 9: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
111
+ },
112
+ "lot10SamplesOut": {
113
+ "type": "integer",
114
+ "description": "Lot 10: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
115
+ },
116
+ "lot10PayFactor": {
117
+ "type": "number",
118
+ "description": "Lot 10: pay factor applied to the lot."
119
+ },
120
+ "lot10Adjustment": {
121
+ "type": "number",
122
+ "description": "Lot 10: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
123
+ },
124
+ "lot11SamplesOut": {
125
+ "type": "integer",
126
+ "description": "Lot 11: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
127
+ },
128
+ "lot11PayFactor": {
129
+ "type": "number",
130
+ "description": "Lot 11: pay factor applied to the lot."
131
+ },
132
+ "lot11Adjustment": {
133
+ "type": "number",
134
+ "description": "Lot 11: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
135
+ },
136
+ "lot12SamplesOut": {
137
+ "type": "integer",
138
+ "description": "Lot 12: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."
139
+ },
140
+ "lot12PayFactor": {
141
+ "type": "number",
142
+ "description": "Lot 12: pay factor applied to the lot."
143
+ },
144
+ "lot12Adjustment": {
145
+ "type": "number",
146
+ "description": "Lot 12: pay adjustment in dollars, negative for a deduction, 0 when unreduced."
147
+ },
148
+ "totalAdjustment": {
149
+ "type": "number",
150
+ "description": "Sum of the pay adjustments of all lots, in dollars."
151
+ },
152
+ "lotsAtFullPay": {
153
+ "type": "integer",
154
+ "description": "Number of lots paid without any reduction."
155
+ },
156
+ "tonnageAtReducedPay": {
157
+ "type": "integer",
158
+ "description": "Total tonnage of the lots paid at a factor below 1.00."
159
+ }
160
+ },
161
+ "required": [
162
+ "lot01SamplesOut",
163
+ "lot01PayFactor",
164
+ "lot01Adjustment",
165
+ "lot02SamplesOut",
166
+ "lot02PayFactor",
167
+ "lot02Adjustment",
168
+ "lot03SamplesOut",
169
+ "lot03PayFactor",
170
+ "lot03Adjustment",
171
+ "lot04SamplesOut",
172
+ "lot04PayFactor",
173
+ "lot04Adjustment",
174
+ "lot05SamplesOut",
175
+ "lot05PayFactor",
176
+ "lot05Adjustment",
177
+ "lot06SamplesOut",
178
+ "lot06PayFactor",
179
+ "lot06Adjustment",
180
+ "lot07SamplesOut",
181
+ "lot07PayFactor",
182
+ "lot07Adjustment",
183
+ "lot08SamplesOut",
184
+ "lot08PayFactor",
185
+ "lot08Adjustment",
186
+ "lot09SamplesOut",
187
+ "lot09PayFactor",
188
+ "lot09Adjustment",
189
+ "lot10SamplesOut",
190
+ "lot10PayFactor",
191
+ "lot10Adjustment",
192
+ "lot11SamplesOut",
193
+ "lot11PayFactor",
194
+ "lot11Adjustment",
195
+ "lot12SamplesOut",
196
+ "lot12PayFactor",
197
+ "lot12Adjustment",
198
+ "totalAdjustment",
199
+ "lotsAtFullPay",
200
+ "tonnageAtReducedPay"
201
+ ]
202
+ }
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Extract structured data from the document file `./document.pdf` in the current directory.
2
+
3
+ Use only local file inspection and shell commands. Do not use web search, network calls, browser tools, or external services. Temporary scratch files inside the current directory are OK.
4
+
5
+ Return a single JSON object conforming to this schema as your final answer:
6
+
7
+ {"type": "object", "properties": {"lot01SamplesOut": {"type": "integer", "description": "Lot 1: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot01PayFactor": {"type": "number", "description": "Lot 1: pay factor applied to the lot."}, "lot01Adjustment": {"type": "number", "description": "Lot 1: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot02SamplesOut": {"type": "integer", "description": "Lot 2: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot02PayFactor": {"type": "number", "description": "Lot 2: pay factor applied to the lot."}, "lot02Adjustment": {"type": "number", "description": "Lot 2: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot03SamplesOut": {"type": "integer", "description": "Lot 3: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot03PayFactor": {"type": "number", "description": "Lot 3: pay factor applied to the lot."}, "lot03Adjustment": {"type": "number", "description": "Lot 3: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot04SamplesOut": {"type": "integer", "description": "Lot 4: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot04PayFactor": {"type": "number", "description": "Lot 4: pay factor applied to the lot."}, "lot04Adjustment": {"type": "number", "description": "Lot 4: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot05SamplesOut": {"type": "integer", "description": "Lot 5: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot05PayFactor": {"type": "number", "description": "Lot 5: pay factor applied to the lot."}, "lot05Adjustment": {"type": "number", "description": "Lot 5: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot06SamplesOut": {"type": "integer", "description": "Lot 6: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot06PayFactor": {"type": "number", "description": "Lot 6: pay factor applied to the lot."}, "lot06Adjustment": {"type": "number", "description": "Lot 6: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot07SamplesOut": {"type": "integer", "description": "Lot 7: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot07PayFactor": {"type": "number", "description": "Lot 7: pay factor applied to the lot."}, "lot07Adjustment": {"type": "number", "description": "Lot 7: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot08SamplesOut": {"type": "integer", "description": "Lot 8: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot08PayFactor": {"type": "number", "description": "Lot 8: pay factor applied to the lot."}, "lot08Adjustment": {"type": "number", "description": "Lot 8: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot09SamplesOut": {"type": "integer", "description": "Lot 9: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot09PayFactor": {"type": "number", "description": "Lot 9: pay factor applied to the lot."}, "lot09Adjustment": {"type": "number", "description": "Lot 9: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot10SamplesOut": {"type": "integer", "description": "Lot 10: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot10PayFactor": {"type": "number", "description": "Lot 10: pay factor applied to the lot."}, "lot10Adjustment": {"type": "number", "description": "Lot 10: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot11SamplesOut": {"type": "integer", "description": "Lot 11: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot11PayFactor": {"type": "number", "description": "Lot 11: pay factor applied to the lot."}, "lot11Adjustment": {"type": "number", "description": "Lot 11: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot12SamplesOut": {"type": "integer", "description": "Lot 12: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot12PayFactor": {"type": "number", "description": "Lot 12: pay factor applied to the lot."}, "lot12Adjustment": {"type": "number", "description": "Lot 12: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "totalAdjustment": {"type": "number", "description": "Sum of the pay adjustments of all lots, in dollars."}, "lotsAtFullPay": {"type": "integer", "description": "Number of lots paid without any reduction."}, "tonnageAtReducedPay": {"type": "integer", "description": "Total tonnage of the lots paid at a factor below 1.00."}}, "required": ["lot01SamplesOut", "lot01PayFactor", "lot01Adjustment", "lot02SamplesOut", "lot02PayFactor", "lot02Adjustment", "lot03SamplesOut", "lot03PayFactor", "lot03Adjustment", "lot04SamplesOut", "lot04PayFactor", "lot04Adjustment", "lot05SamplesOut", "lot05PayFactor", "lot05Adjustment", "lot06SamplesOut", "lot06PayFactor", "lot06Adjustment", "lot07SamplesOut", "lot07PayFactor", "lot07Adjustment", "lot08SamplesOut", "lot08PayFactor", "lot08Adjustment", "lot09SamplesOut", "lot09PayFactor", "lot09Adjustment", "lot10SamplesOut", "lot10PayFactor", "lot10Adjustment", "lot11SamplesOut", "lot11PayFactor", "lot11Adjustment", "lot12SamplesOut", "lot12PayFactor", "lot12Adjustment", "totalAdjustment", "lotsAtFullPay", "tonnageAtReducedPay"]}
8
+
9
+ Rules:
10
+
11
+ - Use null for fields not present in the document.
12
+ - For list/array fields, enumerate every relevant row visible in the document; never collapse rows.
13
+ - For large regular tables, prefer writing and running a local script to parse/enumerate rows.
14
+ - For forms, prefer direct field extraction from the document content.
15
+ - Write the resulting JSON object to ./output.json and validate that it is valid JSON before stopping.
16
+ - Do not print the JSON to your assistant output.
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/solution/expected.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "lot01SamplesOut": 3,
3
+ "lot01PayFactor": 0.9,
4
+ "lot01Adjustment": -5671.0,
5
+ "lot02SamplesOut": 3,
6
+ "lot02PayFactor": 0.9,
7
+ "lot02Adjustment": -5392.8,
8
+ "lot03SamplesOut": 3,
9
+ "lot03PayFactor": 0.95,
10
+ "lot03Adjustment": -3809.2,
11
+ "lot04SamplesOut": 4,
12
+ "lot04PayFactor": 0.9,
13
+ "lot04Adjustment": -9244.8,
14
+ "lot05SamplesOut": 2,
15
+ "lot05PayFactor": 0.98,
16
+ "lot05Adjustment": -1527.96,
17
+ "lot06SamplesOut": 4,
18
+ "lot06PayFactor": 0.9,
19
+ "lot06Adjustment": -8324.6,
20
+ "lot07SamplesOut": 2,
21
+ "lot07PayFactor": 0.98,
22
+ "lot07Adjustment": -881.57,
23
+ "lot08SamplesOut": 1,
24
+ "lot08PayFactor": 0.98,
25
+ "lot08Adjustment": -1829.59,
26
+ "lot09SamplesOut": 3,
27
+ "lot09PayFactor": 0.9,
28
+ "lot09Adjustment": -7730.35,
29
+ "lot10SamplesOut": 0,
30
+ "lot10PayFactor": 1.0,
31
+ "lot10Adjustment": 0.0,
32
+ "lot11SamplesOut": 1,
33
+ "lot11PayFactor": 0.98,
34
+ "lot11Adjustment": -1639.1,
35
+ "lot12SamplesOut": 4,
36
+ "lot12PayFactor": 0.95,
37
+ "lot12Adjustment": -4806.55,
38
+ "totalAdjustment": -50857.52,
39
+ "lotsAtFullPay": 1,
40
+ "tonnageAtReducedPay": 38160
41
+ }
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/solution/solve.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ cp /solution/expected.json /app/output.json
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/task.toml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/app/output.json"]
3
+
4
+ [metadata]
5
+ source_repo = "llamaindex/ExtractBenchPro"
6
+ source_revision = "16f6672e06cf77491ec6d18c817d67864b90d845"
7
+ source_case_id = "charts_inside_documents/aggregate_qc_report_01"
8
+ source_split = "charts_inside_documents"
9
+ scorer_revision = "2f27f100730afc7c395602e26a2a87e07ea66b31"
10
+ prompt_source = "https://arxiv.org/html/2607.29677v1#A3.SS1"
11
+ tags = ["source:synthetic", "challenge:charts_inside_documents", "perception:scan", "length:medium", "domain:D3"]
12
+
13
+ [agent]
14
+ timeout_sec = 1800
15
+ network_mode = "allowlist"
16
+ allowed_hosts = []
17
+
18
+ [environment]
19
+ cpus = 2
20
+ memory_mb = 4096
21
+ storage_mb = 10240
22
+
23
+ [verifier]
24
+ environment_mode = "separate"
25
+ timeout_sec = 1800
26
+
27
+ [verifier.environment]
28
+ cpus = 2
29
+ memory_mb = 8192
30
+ network_mode = "no-network"
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
3
+ RUN pip install --no-cache-dir "llama-extract-bench @ git+https://github.com/run-llama/ExtractBench.git@2f27f100730afc7c395602e26a2a87e07ea66b31" "parse-bench==1.0.4"
4
+ WORKDIR /app
5
+ COPY . /tests/
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/reference.test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tags": ["source:synthetic", "challenge:charts_inside_documents", "perception:scan", "length:medium", "domain:D3"], "data_schema": {"type": "object", "properties": {"lot01SamplesOut": {"type": "integer", "description": "Lot 1: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot01PayFactor": {"type": "number", "description": "Lot 1: pay factor applied to the lot."}, "lot01Adjustment": {"type": "number", "description": "Lot 1: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot02SamplesOut": {"type": "integer", "description": "Lot 2: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot02PayFactor": {"type": "number", "description": "Lot 2: pay factor applied to the lot."}, "lot02Adjustment": {"type": "number", "description": "Lot 2: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot03SamplesOut": {"type": "integer", "description": "Lot 3: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot03PayFactor": {"type": "number", "description": "Lot 3: pay factor applied to the lot."}, "lot03Adjustment": {"type": "number", "description": "Lot 3: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot04SamplesOut": {"type": "integer", "description": "Lot 4: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot04PayFactor": {"type": "number", "description": "Lot 4: pay factor applied to the lot."}, "lot04Adjustment": {"type": "number", "description": "Lot 4: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot05SamplesOut": {"type": "integer", "description": "Lot 5: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot05PayFactor": {"type": "number", "description": "Lot 5: pay factor applied to the lot."}, "lot05Adjustment": {"type": "number", "description": "Lot 5: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot06SamplesOut": {"type": "integer", "description": "Lot 6: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot06PayFactor": {"type": "number", "description": "Lot 6: pay factor applied to the lot."}, "lot06Adjustment": {"type": "number", "description": "Lot 6: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot07SamplesOut": {"type": "integer", "description": "Lot 7: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot07PayFactor": {"type": "number", "description": "Lot 7: pay factor applied to the lot."}, "lot07Adjustment": {"type": "number", "description": "Lot 7: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot08SamplesOut": {"type": "integer", "description": "Lot 8: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot08PayFactor": {"type": "number", "description": "Lot 8: pay factor applied to the lot."}, "lot08Adjustment": {"type": "number", "description": "Lot 8: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot09SamplesOut": {"type": "integer", "description": "Lot 9: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot09PayFactor": {"type": "number", "description": "Lot 9: pay factor applied to the lot."}, "lot09Adjustment": {"type": "number", "description": "Lot 9: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot10SamplesOut": {"type": "integer", "description": "Lot 10: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot10PayFactor": {"type": "number", "description": "Lot 10: pay factor applied to the lot."}, "lot10Adjustment": {"type": "number", "description": "Lot 10: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot11SamplesOut": {"type": "integer", "description": "Lot 11: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot11PayFactor": {"type": "number", "description": "Lot 11: pay factor applied to the lot."}, "lot11Adjustment": {"type": "number", "description": "Lot 11: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "lot12SamplesOut": {"type": "integer", "description": "Lot 12: number of the laboratory's own samples of the lot that miss a gradation limit at one or more sieves. Count only samples that stand for the lot."}, "lot12PayFactor": {"type": "number", "description": "Lot 12: pay factor applied to the lot."}, "lot12Adjustment": {"type": "number", "description": "Lot 12: pay adjustment in dollars, negative for a deduction, 0 when unreduced."}, "totalAdjustment": {"type": "number", "description": "Sum of the pay adjustments of all lots, in dollars."}, "lotsAtFullPay": {"type": "integer", "description": "Number of lots paid without any reduction."}, "tonnageAtReducedPay": {"type": "integer", "description": "Total tonnage of the lots paid at a factor below 1.00."}}, "required": ["lot01SamplesOut", "lot01PayFactor", "lot01Adjustment", "lot02SamplesOut", "lot02PayFactor", "lot02Adjustment", "lot03SamplesOut", "lot03PayFactor", "lot03Adjustment", "lot04SamplesOut", "lot04PayFactor", "lot04Adjustment", "lot05SamplesOut", "lot05PayFactor", "lot05Adjustment", "lot06SamplesOut", "lot06PayFactor", "lot06Adjustment", "lot07SamplesOut", "lot07PayFactor", "lot07Adjustment", "lot08SamplesOut", "lot08PayFactor", "lot08Adjustment", "lot09SamplesOut", "lot09PayFactor", "lot09Adjustment", "lot10SamplesOut", "lot10PayFactor", "lot10Adjustment", "lot11SamplesOut", "lot11PayFactor", "lot11Adjustment", "lot12SamplesOut", "lot12PayFactor", "lot12Adjustment", "totalAdjustment", "lotsAtFullPay", "tonnageAtReducedPay"]}, "expected_output": {"lot01SamplesOut": 3, "lot01PayFactor": 0.9, "lot01Adjustment": -5671.0, "lot02SamplesOut": 3, "lot02PayFactor": 0.9, "lot02Adjustment": -5392.8, "lot03SamplesOut": 3, "lot03PayFactor": 0.95, "lot03Adjustment": -3809.2, "lot04SamplesOut": 4, "lot04PayFactor": 0.9, "lot04Adjustment": -9244.8, "lot05SamplesOut": 2, "lot05PayFactor": 0.98, "lot05Adjustment": -1527.96, "lot06SamplesOut": 4, "lot06PayFactor": 0.9, "lot06Adjustment": -8324.6, "lot07SamplesOut": 2, "lot07PayFactor": 0.98, "lot07Adjustment": -881.57, "lot08SamplesOut": 1, "lot08PayFactor": 0.98, "lot08Adjustment": -1829.59, "lot09SamplesOut": 3, "lot09PayFactor": 0.9, "lot09Adjustment": -7730.35, "lot10SamplesOut": 0, "lot10PayFactor": 1.0, "lot10Adjustment": 0.0, "lot11SamplesOut": 1, "lot11PayFactor": 0.98, "lot11Adjustment": -1639.1, "lot12SamplesOut": 4, "lot12PayFactor": 0.95, "lot12Adjustment": -4806.55, "totalAdjustment": -50857.52, "lotsAtFullPay": 1, "tonnageAtReducedPay": 38160}, "_field_rules": {"lot01SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot01PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.9}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot01Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -5671.0}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot02SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot02PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.9}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot02Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -5392.8}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot03SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot03PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.95}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot03Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -3809.2}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot04SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot04PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.9}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot04Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -9244.8}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot05SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot05PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.98}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot05Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -1527.96}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot06SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot06PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.9}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot06Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -8324.6}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot07SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot07PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.98}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot07Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -881.57}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot08SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot08PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.98}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot08Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -1829.59}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot09SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot09PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.9}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot09Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -7730.35}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot10SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot10PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1.0}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot10Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.0}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot11SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot11PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.98}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot11Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -1639.1}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot12SamplesOut": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot12PayFactor": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0.95}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lot12Adjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -4806.55}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "totalAdjustment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": -50857.52}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "lotsAtFullPay": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1}], "source_policy": "inferred", "evidence_required": true, "verified": true}, "tonnageAtReducedPay": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 38160}], "source_policy": "inferred", "evidence_required": true, "verified": true}}}
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/test.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ python /tests/verifier.py
tasks/charts-inside-documents--aggregate-qc-report-01-3bcd23f4aa/tests/verifier.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Harbor's file boundary into the existing ExtractBench evaluator."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ from collections.abc import Mapping, Sequence
8
+ from datetime import UTC, datetime
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ from extract_bench.evaluation.evaluators.extract import ExtractEvaluator
13
+ from extract_bench.evaluation.metrics.extract.unified_evidence_metric import ValueCell
14
+ from extract_bench.evaluation.score_case import load_extract_test_case
15
+ from extract_bench.schemas.extract_output import ExtractOutput
16
+ from extract_bench.schemas.pipeline_io import InferenceRequest, InferenceResult
17
+ from extract_bench.schemas.product import ProductType
18
+
19
+
20
+ def _feedback(cells: Sequence[ValueCell], metadata: Mapping[str, Any]) -> dict[str, Any]:
21
+ expected = sum(cell.gt_path is not None for cell in cells)
22
+ predicted = sum(cell.pred_path is not None for cell in cells)
23
+ matched = sum(cell.value_correct for cell in cells)
24
+ if (expected, predicted, matched) != (
25
+ metadata["expected_cells"],
26
+ metadata["predicted_cells"],
27
+ metadata["v_correct"],
28
+ ):
29
+ raise ValueError("Value feedback does not account for the scorer's cell counts")
30
+ denominator = expected + predicted
31
+ entries = []
32
+ for cell in cells:
33
+ if cell.gt_path is None:
34
+ outcome = "prediction_only"
35
+ elif cell.pred_path is None:
36
+ outcome = "reference_only"
37
+ else:
38
+ outcome = "matched" if cell.value_correct else "value_differs"
39
+ entries.append(
40
+ {
41
+ "reference_path": cell.gt_path,
42
+ "output_path": cell.pred_path,
43
+ "outcome": outcome,
44
+ "f1_credit": 2.0 / denominator if cell.value_correct else 0.0,
45
+ }
46
+ )
47
+ return {
48
+ "schema_version": 1,
49
+ "status": "scored",
50
+ "path_space": "normalized_scoring_inputs",
51
+ "counts": {"expected": expected, "predicted": predicted, "matched": matched},
52
+ "value_incomplete": metadata["value_incomplete"],
53
+ "cells": entries,
54
+ }
55
+
56
+
57
+ def score_prediction(test_json: Path, prediction: Any) -> tuple[dict[str, float], dict[str, Any]]:
58
+ """Use exactly the normal evaluator's normalization and metric selection."""
59
+ case = load_extract_test_case(test_json, source_file=Path("/app/document.pdf"))
60
+ now = datetime.now(UTC)
61
+ result = InferenceResult(
62
+ request=InferenceRequest(
63
+ example_id=case.test_id,
64
+ source_file_path=str(case.file_path),
65
+ product_type=ProductType.EXTRACT,
66
+ ),
67
+ pipeline_name="harbor",
68
+ product_type=ProductType.EXTRACT,
69
+ raw_output={},
70
+ output=ExtractOutput(
71
+ example_id=case.test_id,
72
+ pipeline_name="harbor",
73
+ extracted_data=prediction,
74
+ field_citations=[],
75
+ ),
76
+ started_at=now,
77
+ completed_at=now,
78
+ latency_in_ms=0,
79
+ )
80
+ cells: list[ValueCell] = []
81
+ bundle = ExtractEvaluator().compute_metrics(result, case, value_cells=cells)
82
+ metrics = {
83
+ metric.metric_name: metric.value
84
+ for metric in bundle.metrics
85
+ if metric.metric_name.startswith("extract_unified_value_")
86
+ }
87
+ value_f1 = next(metric for metric in bundle.metrics if metric.metric_name == "extract_unified_value_f1")
88
+ return metrics, _feedback(cells, value_f1.metadata)
89
+
90
+
91
+ def verify(test_json: Path, prediction_path: Path, log_dir: Path) -> dict[str, Any]:
92
+ """Bad/missing submissions earn zero; broken grading raises an error.
93
+
94
+ Only submission decoding is caught. A missing reference, loader error or
95
+ scorer failure must fail the verifier instead of becoming a model score.
96
+ """
97
+ log_dir.mkdir(parents=True, exist_ok=True)
98
+ reward_path = log_dir / "reward.txt"
99
+ for name in ("reward.txt", "metrics.json", "feedback.json"):
100
+ (log_dir / name).unlink(missing_ok=True)
101
+ try:
102
+ prediction = json.loads(prediction_path.read_text(encoding="utf-8"))
103
+ except (FileNotFoundError, UnicodeDecodeError, json.JSONDecodeError) as error:
104
+ report: dict[str, Any] = {"status": "invalid_submission", "error": str(error), "value_f1": 0.0}
105
+ else:
106
+ if not isinstance(prediction, dict):
107
+ report = {"status": "invalid_submission", "error": "Expected one JSON object", "value_f1": 0.0}
108
+ else:
109
+ metrics, feedback = score_prediction(test_json, prediction)
110
+ report = {
111
+ "status": "scored",
112
+ "value_f1": metrics["extract_unified_value_f1"],
113
+ "metrics": metrics,
114
+ }
115
+ if report["status"] == "invalid_submission":
116
+ feedback = {"schema_version": 1, "status": "invalid_submission", "error": report["error"], "cells": []}
117
+ report["perfect"] = int(report["value_f1"] == 1.0)
118
+ (log_dir / "metrics.json").write_text(json.dumps(report, indent=2, allow_nan=False) + "\n", encoding="utf-8")
119
+ (log_dir / "feedback.json").write_text(json.dumps(feedback, indent=2, allow_nan=False) + "\n", encoding="utf-8")
120
+ reward_path.write_text(f"{report['value_f1']}\n", encoding="utf-8")
121
+ return report
122
+
123
+
124
+ def main() -> None:
125
+ parser = argparse.ArgumentParser(description=__doc__)
126
+ parser.add_argument("--test-json", type=Path, default=Path("/tests/reference.test.json"))
127
+ parser.add_argument("--prediction", type=Path, default=Path("/app/output.json"))
128
+ parser.add_argument("--log-dir", type=Path, default=Path("/logs/verifier"))
129
+ args = parser.parse_args()
130
+ verify(args.test_json, args.prediction, args.log_dir)
131
+
132
+
133
+ if __name__ == "__main__":
134
+ main()
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ poppler-utils tesseract-ocr curl git nodejs npm \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
6
+ WORKDIR /app
7
+ COPY document.pdf schema.json /app/
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/document.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea802e7d108e5715ec2f2651fa7deaeac040ce02dc0bc5542022906e08ccb191
3
+ size 16669700
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/environment/schema.json ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "description": "The street assessment as it stands once certified. Count only lots inside the improvement district.",
4
+ "properties": {
5
+ "blocks": {
6
+ "type": "object",
7
+ "properties": {
8
+ "phase2BlockC": {
9
+ "type": "object",
10
+ "description": "Phase 2, Block C.",
11
+ "properties": {
12
+ "parcelsExcused": {
13
+ "type": "integer",
14
+ "description": "Parcels in this block the city releases from paying."
15
+ },
16
+ "dollarsCharged": {
17
+ "type": "number",
18
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
19
+ },
20
+ "drainageLots": {
21
+ "type": "integer",
22
+ "description": "Lots in this block that also pay the flat drainage charge."
23
+ },
24
+ "feetCharged": {
25
+ "type": "number",
26
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
27
+ },
28
+ "lotsCharged": {
29
+ "type": "integer",
30
+ "description": "Lots in this block that pay anything."
31
+ }
32
+ },
33
+ "required": [
34
+ "parcelsExcused",
35
+ "drainageLots",
36
+ "lotsCharged",
37
+ "feetCharged",
38
+ "dollarsCharged"
39
+ ]
40
+ },
41
+ "phase3BlockB": {
42
+ "type": "object",
43
+ "description": "Phase 3, Block B.",
44
+ "properties": {
45
+ "dollarsCharged": {
46
+ "type": "number",
47
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
48
+ },
49
+ "lotsCharged": {
50
+ "type": "integer",
51
+ "description": "Lots in this block that pay anything."
52
+ },
53
+ "feetCharged": {
54
+ "type": "number",
55
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
56
+ },
57
+ "drainageLots": {
58
+ "type": "integer",
59
+ "description": "Lots in this block that also pay the flat drainage charge."
60
+ },
61
+ "parcelsExcused": {
62
+ "type": "integer",
63
+ "description": "Parcels in this block the city releases from paying."
64
+ }
65
+ },
66
+ "required": [
67
+ "parcelsExcused",
68
+ "drainageLots",
69
+ "lotsCharged",
70
+ "feetCharged",
71
+ "dollarsCharged"
72
+ ]
73
+ },
74
+ "phase1BlockB": {
75
+ "type": "object",
76
+ "description": "Phase 1, Block B.",
77
+ "properties": {
78
+ "dollarsCharged": {
79
+ "type": "number",
80
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
81
+ },
82
+ "parcelsExcused": {
83
+ "type": "integer",
84
+ "description": "Parcels in this block the city releases from paying."
85
+ },
86
+ "feetCharged": {
87
+ "type": "number",
88
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
89
+ },
90
+ "lotsCharged": {
91
+ "type": "integer",
92
+ "description": "Lots in this block that pay anything."
93
+ },
94
+ "drainageLots": {
95
+ "type": "integer",
96
+ "description": "Lots in this block that also pay the flat drainage charge."
97
+ }
98
+ },
99
+ "required": [
100
+ "parcelsExcused",
101
+ "drainageLots",
102
+ "lotsCharged",
103
+ "feetCharged",
104
+ "dollarsCharged"
105
+ ]
106
+ },
107
+ "phase1BlockC": {
108
+ "type": "object",
109
+ "description": "Phase 1, Block C.",
110
+ "properties": {
111
+ "drainageLots": {
112
+ "type": "integer",
113
+ "description": "Lots in this block that also pay the flat drainage charge."
114
+ },
115
+ "feetCharged": {
116
+ "type": "number",
117
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
118
+ },
119
+ "lotsCharged": {
120
+ "type": "integer",
121
+ "description": "Lots in this block that pay anything."
122
+ },
123
+ "dollarsCharged": {
124
+ "type": "number",
125
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
126
+ },
127
+ "parcelsExcused": {
128
+ "type": "integer",
129
+ "description": "Parcels in this block the city releases from paying."
130
+ }
131
+ },
132
+ "required": [
133
+ "parcelsExcused",
134
+ "drainageLots",
135
+ "lotsCharged",
136
+ "feetCharged",
137
+ "dollarsCharged"
138
+ ]
139
+ },
140
+ "phase3BlockA": {
141
+ "type": "object",
142
+ "description": "Phase 3, Block A.",
143
+ "properties": {
144
+ "dollarsCharged": {
145
+ "type": "number",
146
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
147
+ },
148
+ "feetCharged": {
149
+ "type": "number",
150
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
151
+ },
152
+ "lotsCharged": {
153
+ "type": "integer",
154
+ "description": "Lots in this block that pay anything."
155
+ },
156
+ "drainageLots": {
157
+ "type": "integer",
158
+ "description": "Lots in this block that also pay the flat drainage charge."
159
+ },
160
+ "parcelsExcused": {
161
+ "type": "integer",
162
+ "description": "Parcels in this block the city releases from paying."
163
+ }
164
+ },
165
+ "required": [
166
+ "parcelsExcused",
167
+ "drainageLots",
168
+ "lotsCharged",
169
+ "feetCharged",
170
+ "dollarsCharged"
171
+ ]
172
+ },
173
+ "phase2BlockA": {
174
+ "type": "object",
175
+ "description": "Phase 2, Block A.",
176
+ "properties": {
177
+ "drainageLots": {
178
+ "type": "integer",
179
+ "description": "Lots in this block that also pay the flat drainage charge."
180
+ },
181
+ "feetCharged": {
182
+ "type": "number",
183
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
184
+ },
185
+ "lotsCharged": {
186
+ "type": "integer",
187
+ "description": "Lots in this block that pay anything."
188
+ },
189
+ "dollarsCharged": {
190
+ "type": "number",
191
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
192
+ },
193
+ "parcelsExcused": {
194
+ "type": "integer",
195
+ "description": "Parcels in this block the city releases from paying."
196
+ }
197
+ },
198
+ "required": [
199
+ "parcelsExcused",
200
+ "drainageLots",
201
+ "lotsCharged",
202
+ "feetCharged",
203
+ "dollarsCharged"
204
+ ]
205
+ },
206
+ "phase3BlockC": {
207
+ "type": "object",
208
+ "description": "Phase 3, Block C.",
209
+ "properties": {
210
+ "dollarsCharged": {
211
+ "type": "number",
212
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
213
+ },
214
+ "parcelsExcused": {
215
+ "type": "integer",
216
+ "description": "Parcels in this block the city releases from paying."
217
+ },
218
+ "lotsCharged": {
219
+ "type": "integer",
220
+ "description": "Lots in this block that pay anything."
221
+ },
222
+ "feetCharged": {
223
+ "type": "number",
224
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
225
+ },
226
+ "drainageLots": {
227
+ "type": "integer",
228
+ "description": "Lots in this block that also pay the flat drainage charge."
229
+ }
230
+ },
231
+ "required": [
232
+ "parcelsExcused",
233
+ "drainageLots",
234
+ "lotsCharged",
235
+ "feetCharged",
236
+ "dollarsCharged"
237
+ ]
238
+ },
239
+ "phase2BlockB": {
240
+ "type": "object",
241
+ "description": "Phase 2, Block B.",
242
+ "properties": {
243
+ "dollarsCharged": {
244
+ "type": "number",
245
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
246
+ },
247
+ "lotsCharged": {
248
+ "type": "integer",
249
+ "description": "Lots in this block that pay anything."
250
+ },
251
+ "parcelsExcused": {
252
+ "type": "integer",
253
+ "description": "Parcels in this block the city releases from paying."
254
+ },
255
+ "drainageLots": {
256
+ "type": "integer",
257
+ "description": "Lots in this block that also pay the flat drainage charge."
258
+ },
259
+ "feetCharged": {
260
+ "type": "number",
261
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
262
+ }
263
+ },
264
+ "required": [
265
+ "parcelsExcused",
266
+ "drainageLots",
267
+ "lotsCharged",
268
+ "feetCharged",
269
+ "dollarsCharged"
270
+ ]
271
+ },
272
+ "phase1BlockA": {
273
+ "type": "object",
274
+ "description": "Phase 1, Block A.",
275
+ "properties": {
276
+ "drainageLots": {
277
+ "type": "integer",
278
+ "description": "Lots in this block that also pay the flat drainage charge."
279
+ },
280
+ "lotsCharged": {
281
+ "type": "integer",
282
+ "description": "Lots in this block that pay anything."
283
+ },
284
+ "parcelsExcused": {
285
+ "type": "integer",
286
+ "description": "Parcels in this block the city releases from paying."
287
+ },
288
+ "feetCharged": {
289
+ "type": "number",
290
+ "description": "Feet paid for by this block's lots, on whichever street they pay."
291
+ },
292
+ "dollarsCharged": {
293
+ "type": "number",
294
+ "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."
295
+ }
296
+ },
297
+ "required": [
298
+ "parcelsExcused",
299
+ "drainageLots",
300
+ "lotsCharged",
301
+ "feetCharged",
302
+ "dollarsCharged"
303
+ ]
304
+ }
305
+ },
306
+ "required": [
307
+ "phase1BlockA",
308
+ "phase1BlockB",
309
+ "phase1BlockC",
310
+ "phase2BlockA",
311
+ "phase2BlockB",
312
+ "phase2BlockC",
313
+ "phase3BlockA",
314
+ "phase3BlockB",
315
+ "phase3BlockC"
316
+ ]
317
+ },
318
+ "totals": {
319
+ "type": "object",
320
+ "properties": {
321
+ "largestAssessmentLot": {
322
+ "type": "string",
323
+ "description": "The lot paying the largest single total, written phase-block-lot, as in 2-B-17."
324
+ },
325
+ "totalAssessment": {
326
+ "type": "number",
327
+ "description": "Dollars the whole improvement district pays: per-foot amounts plus drainage charges."
328
+ },
329
+ "drainageCharges": {
330
+ "type": "number",
331
+ "description": "Dollars of flat drainage charges across the district."
332
+ }
333
+ },
334
+ "required": [
335
+ "totalAssessment",
336
+ "largestAssessmentLot",
337
+ "drainageCharges"
338
+ ]
339
+ },
340
+ "streets": {
341
+ "type": "array",
342
+ "description": "One row per district street on which at least one lot pays, in alphabetical order.",
343
+ "items": {
344
+ "type": "object",
345
+ "properties": {
346
+ "street": {
347
+ "type": "string",
348
+ "description": "Street name as printed."
349
+ },
350
+ "lotsCharged": {
351
+ "type": "integer",
352
+ "description": "Lots that pay on this street."
353
+ },
354
+ "dollarsForFeet": {
355
+ "type": "number",
356
+ "description": "Dollars those feet pay at this street's rate per foot."
357
+ },
358
+ "feetCharged": {
359
+ "type": "number",
360
+ "description": "Feet of street line paid for on this street, to two decimals."
361
+ },
362
+ "largestLotCharge": {
363
+ "type": "number",
364
+ "description": "The largest per-foot amount any one lot pays on this street, in dollars."
365
+ }
366
+ },
367
+ "required": [
368
+ "street",
369
+ "feetCharged",
370
+ "dollarsForFeet",
371
+ "lotsCharged",
372
+ "largestLotCharge"
373
+ ]
374
+ }
375
+ }
376
+ },
377
+ "required": [
378
+ "streets",
379
+ "blocks",
380
+ "totals"
381
+ ]
382
+ }
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Extract structured data from the document file `./document.pdf` in the current directory.
2
+
3
+ Use only local file inspection and shell commands. Do not use web search, network calls, browser tools, or external services. Temporary scratch files inside the current directory are OK.
4
+
5
+ Return a single JSON object conforming to this schema as your final answer:
6
+
7
+ {"type": "object", "description": "The street assessment as it stands once certified. Count only lots inside the improvement district.", "properties": {"blocks": {"type": "object", "properties": {"phase2BlockC": {"type": "object", "description": "Phase 2, Block C.", "properties": {"parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockB": {"type": "object", "description": "Phase 3, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockB": {"type": "object", "description": "Phase 1, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockC": {"type": "object", "description": "Phase 1, Block C.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockA": {"type": "object", "description": "Phase 3, Block A.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase2BlockA": {"type": "object", "description": "Phase 2, Block A.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockC": {"type": "object", "description": "Phase 3, Block C.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase2BlockB": {"type": "object", "description": "Phase 2, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockA": {"type": "object", "description": "Phase 1, Block A.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}}, "required": ["phase1BlockA", "phase1BlockB", "phase1BlockC", "phase2BlockA", "phase2BlockB", "phase2BlockC", "phase3BlockA", "phase3BlockB", "phase3BlockC"]}, "totals": {"type": "object", "properties": {"largestAssessmentLot": {"type": "string", "description": "The lot paying the largest single total, written phase-block-lot, as in 2-B-17."}, "totalAssessment": {"type": "number", "description": "Dollars the whole improvement district pays: per-foot amounts plus drainage charges."}, "drainageCharges": {"type": "number", "description": "Dollars of flat drainage charges across the district."}}, "required": ["totalAssessment", "largestAssessmentLot", "drainageCharges"]}, "streets": {"type": "array", "description": "One row per district street on which at least one lot pays, in alphabetical order.", "items": {"type": "object", "properties": {"street": {"type": "string", "description": "Street name as printed."}, "lotsCharged": {"type": "integer", "description": "Lots that pay on this street."}, "dollarsForFeet": {"type": "number", "description": "Dollars those feet pay at this street's rate per foot."}, "feetCharged": {"type": "number", "description": "Feet of street line paid for on this street, to two decimals."}, "largestLotCharge": {"type": "number", "description": "The largest per-foot amount any one lot pays on this street, in dollars."}}, "required": ["street", "feetCharged", "dollarsForFeet", "lotsCharged", "largestLotCharge"]}}}, "required": ["streets", "blocks", "totals"]}
8
+
9
+ Rules:
10
+
11
+ - Use null for fields not present in the document.
12
+ - For list/array fields, enumerate every relevant row visible in the document; never collapse rows.
13
+ - For large regular tables, prefer writing and running a local script to parse/enumerate rows.
14
+ - For forms, prefer direct field extraction from the document content.
15
+ - Write the resulting JSON object to ./output.json and validate that it is valid JSON before stopping.
16
+ - Do not print the JSON to your assistant output.
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/solution/expected.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "blocks": {
3
+ "phase2BlockC": {
4
+ "parcelsExcused": 0,
5
+ "dollarsCharged": 12203.8,
6
+ "drainageLots": 0,
7
+ "feetCharged": 435.85,
8
+ "lotsCharged": 7
9
+ },
10
+ "phase3BlockB": {
11
+ "dollarsCharged": 75796.32,
12
+ "lotsCharged": 23,
13
+ "feetCharged": 1579.09,
14
+ "drainageLots": 0,
15
+ "parcelsExcused": 3
16
+ },
17
+ "phase1BlockB": {
18
+ "dollarsCharged": 20924.05,
19
+ "parcelsExcused": 0,
20
+ "feetCharged": 597.83,
21
+ "lotsCharged": 9,
22
+ "drainageLots": 0
23
+ },
24
+ "phase1BlockC": {
25
+ "drainageLots": 0,
26
+ "feetCharged": 212.8,
27
+ "lotsCharged": 4,
28
+ "dollarsCharged": 5958.4,
29
+ "parcelsExcused": 0
30
+ },
31
+ "phase3BlockA": {
32
+ "dollarsCharged": 14101.28,
33
+ "feetCharged": 273.26,
34
+ "lotsCharged": 5,
35
+ "drainageLots": 3,
36
+ "parcelsExcused": 1
37
+ },
38
+ "phase2BlockA": {
39
+ "drainageLots": 0,
40
+ "feetCharged": 1768.21,
41
+ "lotsCharged": 26,
42
+ "dollarsCharged": 84874.08,
43
+ "parcelsExcused": 0
44
+ },
45
+ "phase3BlockC": {
46
+ "dollarsCharged": 20582.1,
47
+ "parcelsExcused": 0,
48
+ "lotsCharged": 9,
49
+ "feetCharged": 588.06,
50
+ "drainageLots": 0
51
+ },
52
+ "phase2BlockB": {
53
+ "dollarsCharged": 20767.1,
54
+ "lotsCharged": 7,
55
+ "parcelsExcused": 0,
56
+ "drainageLots": 3,
57
+ "feetCharged": 409.06
58
+ },
59
+ "phase1BlockA": {
60
+ "drainageLots": 3,
61
+ "lotsCharged": 23,
62
+ "parcelsExcused": 0,
63
+ "feetCharged": 1584.54,
64
+ "dollarsCharged": 82003.26
65
+ }
66
+ },
67
+ "totals": {
68
+ "largestAssessmentLot": "1-A-18",
69
+ "totalAssessment": 337210.39,
70
+ "drainageCharges": 19350.0
71
+ },
72
+ "streets": [
73
+ {
74
+ "street": "BLUESTEM WAY",
75
+ "lotsCharged": 10,
76
+ "dollarsForFeet": 22282.75,
77
+ "feetCharged": 636.65,
78
+ "largestLotCharge": 3185.35
79
+ },
80
+ {
81
+ "street": "BRENNAN STREET",
82
+ "lotsCharged": 9,
83
+ "dollarsForFeet": 20582.1,
84
+ "feetCharged": 588.06,
85
+ "largestLotCharge": 3428.95
86
+ },
87
+ {
88
+ "street": "COPPERLEAF DRIVE",
89
+ "lotsCharged": 5,
90
+ "dollarsForFeet": 7651.28,
91
+ "feetCharged": 273.26,
92
+ "largestLotCharge": 2122.4
93
+ },
94
+ {
95
+ "street": "JUNIPER RIDGE ROAD",
96
+ "lotsCharged": 7,
97
+ "dollarsForFeet": 12203.8,
98
+ "feetCharged": 435.85,
99
+ "largestLotCharge": 2568.72
100
+ },
101
+ {
102
+ "street": "KESTREL COURT",
103
+ "lotsCharged": 4,
104
+ "dollarsForFeet": 5958.4,
105
+ "feetCharged": 212.8,
106
+ "largestLotCharge": 1694.28
107
+ },
108
+ {
109
+ "street": "LAUREL LANE",
110
+ "lotsCharged": 48,
111
+ "dollarsForFeet": 159068.64,
112
+ "feetCharged": 3313.93,
113
+ "largestLotCharge": 5178.72
114
+ },
115
+ {
116
+ "street": "PRAIRIE ROSE DRIVE",
117
+ "lotsCharged": 7,
118
+ "dollarsForFeet": 14317.1,
119
+ "feetCharged": 409.06,
120
+ "largestLotCharge": 3077.2
121
+ },
122
+ {
123
+ "street": "WHITCOMB STREET",
124
+ "lotsCharged": 23,
125
+ "dollarsForFeet": 75796.32,
126
+ "feetCharged": 1579.09,
127
+ "largestLotCharge": 4080.48
128
+ }
129
+ ]
130
+ }
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/solution/solve.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ cp /solution/expected.json /app/output.json
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/task.toml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/app/output.json"]
3
+
4
+ [metadata]
5
+ source_repo = "llamaindex/ExtractBenchPro"
6
+ source_revision = "16f6672e06cf77491ec6d18c817d67864b90d845"
7
+ source_case_id = "charts_inside_documents/assessment_billing_run_01"
8
+ source_split = "charts_inside_documents"
9
+ scorer_revision = "2f27f100730afc7c395602e26a2a87e07ea66b31"
10
+ prompt_source = "https://arxiv.org/html/2607.29677v1#A3.SS1"
11
+ tags = ["source:synthetic", "challenge:charts_inside_documents", "perception:scan", "length:medium", "domain:D8"]
12
+
13
+ [agent]
14
+ timeout_sec = 1800
15
+ network_mode = "allowlist"
16
+ allowed_hosts = []
17
+
18
+ [environment]
19
+ cpus = 2
20
+ memory_mb = 4096
21
+ storage_mb = 10240
22
+
23
+ [verifier]
24
+ environment_mode = "separate"
25
+ timeout_sec = 1800
26
+
27
+ [verifier.environment]
28
+ cpus = 2
29
+ memory_mb = 8192
30
+ network_mode = "no-network"
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
3
+ RUN pip install --no-cache-dir "llama-extract-bench @ git+https://github.com/run-llama/ExtractBench.git@2f27f100730afc7c395602e26a2a87e07ea66b31" "parse-bench==1.0.4"
4
+ WORKDIR /app
5
+ COPY . /tests/
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/reference.test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tags": ["source:synthetic", "challenge:charts_inside_documents", "perception:scan", "length:medium", "domain:D8"], "data_schema": {"type": "object", "description": "The street assessment as it stands once certified. Count only lots inside the improvement district.", "properties": {"blocks": {"type": "object", "properties": {"phase2BlockC": {"type": "object", "description": "Phase 2, Block C.", "properties": {"parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockB": {"type": "object", "description": "Phase 3, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockB": {"type": "object", "description": "Phase 1, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockC": {"type": "object", "description": "Phase 1, Block C.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockA": {"type": "object", "description": "Phase 3, Block A.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase2BlockA": {"type": "object", "description": "Phase 2, Block A.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase3BlockC": {"type": "object", "description": "Phase 3, Block C.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase2BlockB": {"type": "object", "description": "Phase 2, Block B.", "properties": {"dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}, "phase1BlockA": {"type": "object", "description": "Phase 1, Block A.", "properties": {"drainageLots": {"type": "integer", "description": "Lots in this block that also pay the flat drainage charge."}, "lotsCharged": {"type": "integer", "description": "Lots in this block that pay anything."}, "parcelsExcused": {"type": "integer", "description": "Parcels in this block the city releases from paying."}, "feetCharged": {"type": "number", "description": "Feet paid for by this block's lots, on whichever street they pay."}, "dollarsCharged": {"type": "number", "description": "Dollars this block's lots pay: per-foot amounts plus drainage charges."}}, "required": ["parcelsExcused", "drainageLots", "lotsCharged", "feetCharged", "dollarsCharged"]}}, "required": ["phase1BlockA", "phase1BlockB", "phase1BlockC", "phase2BlockA", "phase2BlockB", "phase2BlockC", "phase3BlockA", "phase3BlockB", "phase3BlockC"]}, "totals": {"type": "object", "properties": {"largestAssessmentLot": {"type": "string", "description": "The lot paying the largest single total, written phase-block-lot, as in 2-B-17."}, "totalAssessment": {"type": "number", "description": "Dollars the whole improvement district pays: per-foot amounts plus drainage charges."}, "drainageCharges": {"type": "number", "description": "Dollars of flat drainage charges across the district."}}, "required": ["totalAssessment", "largestAssessmentLot", "drainageCharges"]}, "streets": {"type": "array", "description": "One row per district street on which at least one lot pays, in alphabetical order.", "items": {"type": "object", "properties": {"street": {"type": "string", "description": "Street name as printed."}, "lotsCharged": {"type": "integer", "description": "Lots that pay on this street."}, "dollarsForFeet": {"type": "number", "description": "Dollars those feet pay at this street's rate per foot."}, "feetCharged": {"type": "number", "description": "Feet of street line paid for on this street, to two decimals."}, "largestLotCharge": {"type": "number", "description": "The largest per-foot amount any one lot pays on this street, in dollars."}}, "required": ["street", "feetCharged", "dollarsForFeet", "lotsCharged", "largestLotCharge"]}}}, "required": ["streets", "blocks", "totals"]}, "expected_output": {"blocks": {"phase2BlockC": {"parcelsExcused": 0, "dollarsCharged": 12203.8, "drainageLots": 0, "feetCharged": 435.85, "lotsCharged": 7}, "phase3BlockB": {"dollarsCharged": 75796.32, "lotsCharged": 23, "feetCharged": 1579.09, "drainageLots": 0, "parcelsExcused": 3}, "phase1BlockB": {"dollarsCharged": 20924.05, "parcelsExcused": 0, "feetCharged": 597.83, "lotsCharged": 9, "drainageLots": 0}, "phase1BlockC": {"drainageLots": 0, "feetCharged": 212.8, "lotsCharged": 4, "dollarsCharged": 5958.4, "parcelsExcused": 0}, "phase3BlockA": {"dollarsCharged": 14101.28, "feetCharged": 273.26, "lotsCharged": 5, "drainageLots": 3, "parcelsExcused": 1}, "phase2BlockA": {"drainageLots": 0, "feetCharged": 1768.21, "lotsCharged": 26, "dollarsCharged": 84874.08, "parcelsExcused": 0}, "phase3BlockC": {"dollarsCharged": 20582.1, "parcelsExcused": 0, "lotsCharged": 9, "feetCharged": 588.06, "drainageLots": 0}, "phase2BlockB": {"dollarsCharged": 20767.1, "lotsCharged": 7, "parcelsExcused": 0, "drainageLots": 3, "feetCharged": 409.06}, "phase1BlockA": {"drainageLots": 3, "lotsCharged": 23, "parcelsExcused": 0, "feetCharged": 1584.54, "dollarsCharged": 82003.26}}, "totals": {"largestAssessmentLot": "1-A-18", "totalAssessment": 337210.39, "drainageCharges": 19350.0}, "streets": [{"street": "BLUESTEM WAY", "lotsCharged": 10, "dollarsForFeet": 22282.75, "feetCharged": 636.65, "largestLotCharge": 3185.35}, {"street": "BRENNAN STREET", "lotsCharged": 9, "dollarsForFeet": 20582.1, "feetCharged": 588.06, "largestLotCharge": 3428.95}, {"street": "COPPERLEAF DRIVE", "lotsCharged": 5, "dollarsForFeet": 7651.28, "feetCharged": 273.26, "largestLotCharge": 2122.4}, {"street": "JUNIPER RIDGE ROAD", "lotsCharged": 7, "dollarsForFeet": 12203.8, "feetCharged": 435.85, "largestLotCharge": 2568.72}, {"street": "KESTREL COURT", "lotsCharged": 4, "dollarsForFeet": 5958.4, "feetCharged": 212.8, "largestLotCharge": 1694.28}, {"street": "LAUREL LANE", "lotsCharged": 48, "dollarsForFeet": 159068.64, "feetCharged": 3313.93, "largestLotCharge": 5178.72}, {"street": "PRAIRIE ROSE DRIVE", "lotsCharged": 7, "dollarsForFeet": 14317.1, "feetCharged": 409.06, "largestLotCharge": 3077.2}, {"street": "WHITCOMB STREET", "lotsCharged": 23, "dollarsForFeet": 75796.32, "feetCharged": 1579.09, "largestLotCharge": 4080.48}]}, "_field_rules": {"streets[0].street": {"evidence": [{"page": 2, "bbox": [0.814252, 0.814657, 0.091843, 0.010467], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 3, "bbox": [0.820559, 0.101876, 0.092961, 0.011232], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 3, "bbox": [0.389251, 0.611529, 0.092594, 0.01107], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 4, "bbox": [0.819555, 0.208015, 0.092548, 0.011534], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 4, "bbox": [0.811466, 0.514951, 0.092446, 0.01151], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 4, "bbox": [0.382624, 0.814867, 0.092362, 0.011486], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 4, "bbox": [0.803394, 0.821206, 0.092345, 0.011485], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 5, "bbox": [0.393628, 0.098853, 0.092477, 0.010313], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 6, "bbox": [0.381843, 0.097681, 0.092027, 0.011312], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.454741, 0.190356, 0.083314, 0.009906], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.454927, 0.203663, 0.083308, 0.009902], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.455112, 0.216969, 0.083301, 0.009899], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.455285, 0.229319, 0.083296, 0.009896], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.45547, 0.242621, 0.083289, 0.009892], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.455656, 0.25591, 0.083283, 0.009889], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.455841, 0.269208, 0.083277, 0.009886], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.456014, 0.281551, 0.083271, 0.009883], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 9, "bbox": [0.456199, 0.294845, 0.083265, 0.009879], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 11, "bbox": [0.099174, 0.110568, 0.096829, 0.011547], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}, {"page": 31, "bbox": [0.093966, 0.396107, 0.09998, 0.011025], "quote": "BLUESTEM WAY", "value": "BLUESTEM WAY", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[0].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 636.65, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 639.21, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[0].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 22282.75, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 22372.35, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[0].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 10, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[0].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3185.35, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[1].street": {"evidence": [{"page": 1, "bbox": [0.371823, 0.695016, 0.107215, 0.011799], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 2, "bbox": [0.799158, 0.303961, 0.106575, 0.010465], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 3, "bbox": [0.802356, 0.307613, 0.107524, 0.011345], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 3, "bbox": [0.377758, 0.406245, 0.107305, 0.011302], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 4, "bbox": [0.385811, 0.098936, 0.107198, 0.011782], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 4, "bbox": [0.794201, 0.616881, 0.106984, 0.01174], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 4, "bbox": [0.370592, 0.712622, 0.106964, 0.011732], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 5, "bbox": [0.377931, 0.30446, 0.106998, 0.010349], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 8, "bbox": [0.371356, 0.302736, 0.10722, 0.01123], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.456384, 0.308048, 0.09682, 0.009989], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.45657, 0.321328, 0.096813, 0.009986], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.456742, 0.333674, 0.096806, 0.009982], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.456927, 0.34695, 0.096799, 0.009978], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.457113, 0.360234, 0.096792, 0.009975], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.457298, 0.373517, 0.096785, 0.009971], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.45747, 0.385846, 0.096778, 0.009968], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.457655, 0.399124, 0.096771, 0.009964], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 9, "bbox": [0.45784, 0.412391, 0.096764, 0.00996], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 11, "bbox": [0.098956, 0.128466, 0.112622, 0.011684], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}, {"page": 31, "bbox": [0.093893, 0.415943, 0.11629, 0.011033], "quote": "BRENNAN STREET", "value": "BRENNAN STREET", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[1].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 588.06, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 590.58, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[1].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 20582.1, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 20670.3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[1].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 9, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[1].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3428.95, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[2].street": {"evidence": [{"page": 1, "bbox": [0.788947, 0.393113, 0.117681, 0.011778], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 1, "bbox": [0.78229, 0.699204, 0.117677, 0.01196], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 2, "bbox": [0.367519, 0.612355, 0.117968, 0.010496], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 5, "bbox": [0.790238, 0.099392, 0.118007, 0.010377], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 6, "bbox": [0.372288, 0.814194, 0.118045, 0.011939], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 8, "bbox": [0.362465, 0.405105, 0.11818, 0.011355], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458026, 0.425599, 0.106781, 0.010038], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458197, 0.437921, 0.106773, 0.010035], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458383, 0.451192, 0.106765, 0.010031], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458568, 0.464461, 0.106757, 0.010027], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458753, 0.477718, 0.106749, 0.010023], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 9, "bbox": [0.458925, 0.490043, 0.106742, 0.010019], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 11, "bbox": [0.098726, 0.147325, 0.124318, 0.011784], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}, {"page": 31, "bbox": [0.093824, 0.434835, 0.128364, 0.011039], "quote": "COPPERLEAF DRIVE", "value": "COPPERLEAF DRIVE", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[2].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 273.26, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[2].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7651.28, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[2].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[2].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2122.4, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[3].street": {"evidence": [{"page": 1, "bbox": [0.357836, 0.387989, 0.127858, 0.011947], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 2, "bbox": [0.778356, 0.098962, 0.127222, 0.010735], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 3, "bbox": [0.352466, 0.71356, 0.127763, 0.011428], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 3, "bbox": [0.772903, 0.820383, 0.127903, 0.011398], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 5, "bbox": [0.356262, 0.509686, 0.127503, 0.010408], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 6, "bbox": [0.765977, 0.091548, 0.126863, 0.011815], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 7, "bbox": [0.352219, 0.611273, 0.127418, 0.012153], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.45911, 0.503238, 0.115555, 0.010086], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.459295, 0.516499, 0.115546, 0.010082], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.45948, 0.529758, 0.115538, 0.010078], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.459651, 0.542066, 0.11553, 0.010074], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.459836, 0.555322, 0.115521, 0.01007], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.460021, 0.568565, 0.115513, 0.010066], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 9, "bbox": [0.460206, 0.581817, 0.115504, 0.010062], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 11, "bbox": [0.098496, 0.166191, 0.134604, 0.011869], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}, {"page": 31, "bbox": [0.093751, 0.45468, 0.138999, 0.011044], "quote": "JUNIPER RIDGE ROAD", "value": "JUNIPER RIDGE ROAD", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[3].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 435.85, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[3].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 12203.8, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[3].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[3].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2568.72, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[4].street": {"evidence": [{"page": 2, "bbox": [0.807592, 0.201547, 0.098059, 0.010501], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 3, "bbox": [0.389485, 0.200825, 0.098803, 0.011266], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 4, "bbox": [0.381694, 0.610666, 0.098432, 0.0116], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 5, "bbox": [0.385976, 0.407152, 0.098366, 0.010324], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 9, "bbox": [0.460378, 0.594297, 0.088428, 0.009845], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 9, "bbox": [0.460563, 0.607545, 0.088422, 0.009842], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 9, "bbox": [0.460748, 0.620791, 0.088415, 0.009838], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 9, "bbox": [0.460933, 0.634025, 0.088409, 0.009835], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 11, "bbox": [0.098278, 0.184195, 0.103058, 0.011588], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}, {"page": 31, "bbox": [0.093678, 0.47452, 0.106411, 0.011028], "quote": "KESTREL COURT", "value": "KESTREL COURT", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[4].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 212.8, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[4].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5958.4, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[4].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[4].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1694.28, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[5].street": {"evidence": [{"page": 1, "bbox": [0.408265, 0.184082, 0.081859, 0.011165], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 1, "bbox": [0.829573, 0.189514, 0.081507, 0.011143], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 1, "bbox": [0.827354, 0.291556, 0.081506, 0.011185], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 1, "bbox": [0.816256, 0.80171, 0.081501, 0.011394], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.402473, 0.099381, 0.081817, 0.010509], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.403022, 0.304848, 0.081751, 0.010385], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.403297, 0.407453, 0.081718, 0.010324], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.824508, 0.406319, 0.081297, 0.010297], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.403581, 0.509967, 0.081685, 0.010303], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.824613, 0.50856, 0.081265, 0.010275], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 2, "bbox": [0.404119, 0.71466, 0.08162, 0.010393], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 3, "bbox": [0.829577, 0.204994, 0.082133, 0.01107], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 3, "bbox": [0.826022, 0.410681, 0.082053, 0.011013], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 3, "bbox": [0.820702, 0.718479, 0.081934, 0.010929], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 3, "bbox": [0.396872, 0.816368, 0.081772, 0.010892], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.408598, 0.20181, 0.08183, 0.011359], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.406049, 0.304199, 0.081801, 0.011351], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.827585, 0.310567, 0.081785, 0.01135], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.403512, 0.406514, 0.081771, 0.011343], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.824885, 0.412876, 0.081755, 0.011342], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.400967, 0.508763, 0.081741, 0.011335], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 4, "bbox": [0.816805, 0.719364, 0.081666, 0.011318], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 5, "bbox": [0.403835, 0.201743, 0.081692, 0.010282], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 5, "bbox": [0.825089, 0.305034, 0.081621, 0.010276], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 5, "bbox": [0.823601, 0.510235, 0.081548, 0.01027], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 5, "bbox": [0.400535, 0.816976, 0.081473, 0.010265], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 5, "bbox": [0.821398, 0.817333, 0.081439, 0.010262], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.394811, 0.199592, 0.081412, 0.011185], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.814199, 0.193384, 0.081302, 0.011176], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.397088, 0.301645, 0.081472, 0.011215], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.399377, 0.403848, 0.081532, 0.011245], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.401681, 0.506214, 0.081592, 0.011275], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.822006, 0.499775, 0.081483, 0.011265], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.403967, 0.608721, 0.081652, 0.011304], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.406277, 0.711381, 0.081712, 0.011334], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 6, "bbox": [0.827213, 0.704789, 0.081603, 0.011325], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.411363, 0.098622, 0.081989, 0.011632], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.834407, 0.1038, 0.082278, 0.011647], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.408679, 0.20167, 0.081915, 0.011581], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.40601, 0.304522, 0.08184, 0.01153], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.400695, 0.509683, 0.081691, 0.011429], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.822194, 0.515447, 0.081978, 0.011443], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.819167, 0.617892, 0.081903, 0.011393], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.816126, 0.720153, 0.081828, 0.011342], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.392734, 0.816034, 0.081469, 0.011278], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 7, "bbox": [0.8131, 0.822232, 0.081754, 0.011292], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 8, "bbox": [0.814775, 0.093197, 0.081853, 0.010942], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 8, "bbox": [0.816844, 0.195592, 0.081848, 0.010942], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 8, "bbox": [0.818903, 0.297964, 0.081843, 0.010942], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.461105, 0.64644, 0.071552, 0.009701], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.461289, 0.65967, 0.071547, 0.009698], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.461474, 0.672908, 0.071542, 0.009695], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.461659, 0.686145, 0.071536, 0.009692], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.46183, 0.698431, 0.071531, 0.009689], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.462015, 0.711663, 0.071526, 0.009686], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.462199, 0.724884, 0.071521, 0.009683], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.462384, 0.738113, 0.071516, 0.00968], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.462555, 0.750392, 0.071511, 0.009677], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.46274, 0.763617, 0.071505, 0.009674], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.462924, 0.77684, 0.0715, 0.009671], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.463109, 0.790051, 0.071495, 0.009668], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.46328, 0.802333, 0.07149, 0.009665], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.463465, 0.81554, 0.071485, 0.009662], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.463649, 0.828756, 0.071479, 0.009659], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.463833, 0.841969, 0.071474, 0.009656], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464004, 0.854234, 0.071469, 0.009653], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464189, 0.867444, 0.071464, 0.00965], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464373, 0.880642, 0.071459, 0.009647], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464557, 0.893848, 0.071453, 0.009644], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464728, 0.906106, 0.071448, 0.009641], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 9, "bbox": [0.464913, 0.919308, 0.071443, 0.009638], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.462395, 0.090489, 0.071305, 0.009669], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.462288, 0.103684, 0.07131, 0.009668], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.462181, 0.116881, 0.071315, 0.009667], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.462082, 0.129134, 0.071319, 0.009667], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461975, 0.142324, 0.071324, 0.009666], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461867, 0.155526, 0.071328, 0.009665], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.46176, 0.168729, 0.071333, 0.009664], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461661, 0.180988, 0.071337, 0.009664], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461554, 0.194195, 0.071342, 0.009663], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461447, 0.207404, 0.071347, 0.009662], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.46134, 0.220604, 0.071351, 0.009661], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.46124, 0.23287, 0.071356, 0.00966], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461133, 0.246083, 0.07136, 0.00966], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.461026, 0.259299, 0.071365, 0.009659], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460919, 0.272516, 0.071369, 0.009658], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460819, 0.284787, 0.071374, 0.009657], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460712, 0.297998, 0.071378, 0.009657], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460605, 0.31122, 0.071383, 0.009656], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460498, 0.324444, 0.071388, 0.009655], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460398, 0.336721, 0.071392, 0.009654], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460291, 0.349949, 0.071397, 0.009653], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460184, 0.363177, 0.071401, 0.009653], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.460076, 0.376398, 0.071406, 0.009652], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.459977, 0.388682, 0.07141, 0.009651], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.459869, 0.401916, 0.071415, 0.00965], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.459762, 0.415152, 0.07142, 0.009649], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 10, "bbox": [0.459655, 0.428389, 0.071424, 0.009649], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 11, "bbox": [0.098048, 0.203124, 0.083407, 0.011414], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.4407, 0.339592, 0.086177, 0.012176], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.441035, 0.358567, 0.086172, 0.012179], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.441386, 0.378482, 0.086168, 0.012182], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.441738, 0.398405, 0.086164, 0.012185], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.442073, 0.417375, 0.08616, 0.012188], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 28, "bbox": [0.442424, 0.437284, 0.086156, 0.012191], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}, {"page": 31, "bbox": [0.093609, 0.493426, 0.086119, 0.011019], "quote": "LAUREL LANE", "value": "LAUREL LANE", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[5].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3313.93, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 3318.91, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[5].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 159068.64, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 159307.68, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[5].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 48, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[5].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5178.72, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[6].street": {"evidence": [{"page": 1, "bbox": [0.782878, 0.495093, 0.12154, 0.0119], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 2, "bbox": [0.784862, 0.712706, 0.12116, 0.010553], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 3, "bbox": [0.782216, 0.615548, 0.122231, 0.01141], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 4, "bbox": [0.792829, 0.105083, 0.122009, 0.012024], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 5, "bbox": [0.36151, 0.612189, 0.121668, 0.010391], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 5, "bbox": [0.782046, 0.714979, 0.121555, 0.010388], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 8, "bbox": [0.354426, 0.200355, 0.122071, 0.011397], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.459555, 0.440679, 0.110597, 0.009923], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.459448, 0.45391, 0.110605, 0.009921], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.45934, 0.467152, 0.110612, 0.009919], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.459233, 0.480396, 0.110619, 0.009917], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.459133, 0.492693, 0.110626, 0.009915], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.459026, 0.50594, 0.110633, 0.009914], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 10, "bbox": [0.458918, 0.519189, 0.11064, 0.009912], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 11, "bbox": [0.097818, 0.221937, 0.129165, 0.011806], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}, {"page": 31, "bbox": [0.093536, 0.513285, 0.133385, 0.011039], "quote": "PRAIRIE ROSE DRIVE", "value": "PRAIRIE ROSE DRIVE", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[6].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 409.06, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[6].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 14317.1, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[6].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[6].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3077.2, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[7].street": {"evidence": [{"page": 1, "bbox": [0.373596, 0.285906, 0.114293, 0.011683], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 1, "bbox": [0.369168, 0.490423, 0.11429, 0.0118], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 1, "bbox": [0.366954, 0.592669, 0.114289, 0.011859], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 1, "bbox": [0.78839, 0.597224, 0.113798, 0.011836], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 1, "bbox": [0.362527, 0.797157, 0.114286, 0.011977], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 2, "bbox": [0.370265, 0.202104, 0.114256, 0.010605], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 2, "bbox": [0.792462, 0.610674, 0.113479, 0.010451], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 2, "bbox": [0.371988, 0.816883, 0.113981, 0.010612], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 3, "bbox": [0.375345, 0.097741, 0.114546, 0.011492], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 3, "bbox": [0.372229, 0.303461, 0.114436, 0.011421], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 3, "bbox": [0.369119, 0.508786, 0.114325, 0.011349], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 3, "bbox": [0.791736, 0.513036, 0.114504, 0.011358], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 5, "bbox": [0.793406, 0.202235, 0.114061, 0.010366], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 5, "bbox": [0.791955, 0.40761, 0.113959, 0.010365], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 5, "bbox": [0.790507, 0.612628, 0.113858, 0.010364], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 5, "bbox": [0.368712, 0.714604, 0.113861, 0.010367], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 6, "bbox": [0.784569, 0.29536, 0.113578, 0.011689], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 6, "bbox": [0.787144, 0.397487, 0.113662, 0.011725], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 6, "bbox": [0.792306, 0.602206, 0.11383, 0.011796], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 6, "bbox": [0.797483, 0.807524, 0.113999, 0.011868], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 7, "bbox": [0.798818, 0.206489, 0.114715, 0.012194], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 7, "bbox": [0.795795, 0.309489, 0.11461, 0.01213], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 7, "bbox": [0.37098, 0.406687, 0.114121, 0.012051], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 7, "bbox": [0.792776, 0.412304, 0.114505, 0.012066], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 7, "bbox": [0.363102, 0.7136, 0.113811, 0.011861], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 8, "bbox": [0.360101, 0.097951, 0.114305, 0.011308], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458811, 0.53243, 0.103565, 0.009861], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458711, 0.544733, 0.103571, 0.00986], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458604, 0.557987, 0.103578, 0.009858], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458496, 0.571243, 0.103585, 0.009856], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458389, 0.584501, 0.103591, 0.009855], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458289, 0.59681, 0.103598, 0.009853], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458181, 0.610061, 0.103604, 0.009851], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.458074, 0.623324, 0.103611, 0.00985], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457966, 0.636588, 0.103618, 0.009848], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457866, 0.648904, 0.103624, 0.009846], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457759, 0.662171, 0.103631, 0.009845], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457651, 0.675441, 0.103638, 0.009843], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457543, 0.688702, 0.103645, 0.009841], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457444, 0.701024, 0.103651, 0.00984], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457336, 0.714298, 0.103658, 0.009838], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457228, 0.727574, 0.103664, 0.009836], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457121, 0.740852, 0.103671, 0.009835], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.457021, 0.75318, 0.103677, 0.009833], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456913, 0.766452, 0.103684, 0.009831], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456805, 0.779735, 0.103691, 0.00983], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456698, 0.793019, 0.103698, 0.009828], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456597, 0.805354, 0.103704, 0.009826], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.45649, 0.818642, 0.103711, 0.009825], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456382, 0.831932, 0.103718, 0.009823], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456274, 0.845213, 0.103724, 0.009821], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 10, "bbox": [0.456174, 0.857554, 0.103731, 0.00982], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 11, "bbox": [0.097599, 0.239905, 0.120902, 0.011731], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}, {"page": 31, "bbox": [0.093467, 0.532199, 0.124861, 0.011035], "quote": "WHITCOMB STREET", "value": "WHITCOMB STREET", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "streets[7].feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1579.09, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 1581.57, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[7].dollarsForFeet": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 75796.32, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 75915.36, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[7].lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 23, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "streets[7].largestLotCharge": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4080.48, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockA.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockA.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockA.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 23, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockA.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1584.54, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 1587.03, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockA.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 82003.26, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 82122.78, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockB.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockB.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockB.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 9, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockB.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 597.83, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 600.39, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockB.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 20924.05, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 21013.65, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockC.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockC.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockC.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockC.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 212.8, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase1BlockC.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5958.4, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockA.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockA.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockA.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 26, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockA.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1768.21, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 1770.7, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockA.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 84874.08, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 84993.6, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockB.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockB.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockB.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockB.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 409.06, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockB.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 20767.1, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockC.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockC.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockC.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 7, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockC.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 435.85, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase2BlockC.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 12203.8, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockA.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockA.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockA.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockA.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 273.26, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockA.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 14101.28, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockB.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockB.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockB.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 23, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockB.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 1579.09, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 1581.57, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockB.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 75796.32, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 75915.36, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockC.parcelsExcused": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockC.drainageLots": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockC.lotsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 9, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockC.feetCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 588.06, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 590.58, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "blocks.phase3BlockC.dollarsCharged": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 20582.1, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 20670.3, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "totals.totalAssessment": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 337210.39, "coarse": true}, {"page": null, "bbox": null, "quote": null, "value": 337746.27, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "totals.largestAssessmentLot": {"evidence": [{"page": 3, "bbox": [0.87305, 0.37755, 0.03541, 0.01231], "quote": "1-A-18", "value": "1-A-18", "coarse": false}, {"page": 9, "bbox": [0.17155, 0.86812, 0.03184, 0.01127], "quote": "1-A-18", "value": "1-A-18", "coarse": false}], "verified": true, "source_policy": "verbatim", "evidence_required": true}, "totals.drainageCharges": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 19350.0, "coarse": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}}}
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/test.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ python /tests/verifier.py
tasks/charts-inside-documents--assessment-billing-run-01-a758923341/tests/verifier.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Harbor's file boundary into the existing ExtractBench evaluator."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ from collections.abc import Mapping, Sequence
8
+ from datetime import UTC, datetime
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ from extract_bench.evaluation.evaluators.extract import ExtractEvaluator
13
+ from extract_bench.evaluation.metrics.extract.unified_evidence_metric import ValueCell
14
+ from extract_bench.evaluation.score_case import load_extract_test_case
15
+ from extract_bench.schemas.extract_output import ExtractOutput
16
+ from extract_bench.schemas.pipeline_io import InferenceRequest, InferenceResult
17
+ from extract_bench.schemas.product import ProductType
18
+
19
+
20
+ def _feedback(cells: Sequence[ValueCell], metadata: Mapping[str, Any]) -> dict[str, Any]:
21
+ expected = sum(cell.gt_path is not None for cell in cells)
22
+ predicted = sum(cell.pred_path is not None for cell in cells)
23
+ matched = sum(cell.value_correct for cell in cells)
24
+ if (expected, predicted, matched) != (
25
+ metadata["expected_cells"],
26
+ metadata["predicted_cells"],
27
+ metadata["v_correct"],
28
+ ):
29
+ raise ValueError("Value feedback does not account for the scorer's cell counts")
30
+ denominator = expected + predicted
31
+ entries = []
32
+ for cell in cells:
33
+ if cell.gt_path is None:
34
+ outcome = "prediction_only"
35
+ elif cell.pred_path is None:
36
+ outcome = "reference_only"
37
+ else:
38
+ outcome = "matched" if cell.value_correct else "value_differs"
39
+ entries.append(
40
+ {
41
+ "reference_path": cell.gt_path,
42
+ "output_path": cell.pred_path,
43
+ "outcome": outcome,
44
+ "f1_credit": 2.0 / denominator if cell.value_correct else 0.0,
45
+ }
46
+ )
47
+ return {
48
+ "schema_version": 1,
49
+ "status": "scored",
50
+ "path_space": "normalized_scoring_inputs",
51
+ "counts": {"expected": expected, "predicted": predicted, "matched": matched},
52
+ "value_incomplete": metadata["value_incomplete"],
53
+ "cells": entries,
54
+ }
55
+
56
+
57
+ def score_prediction(test_json: Path, prediction: Any) -> tuple[dict[str, float], dict[str, Any]]:
58
+ """Use exactly the normal evaluator's normalization and metric selection."""
59
+ case = load_extract_test_case(test_json, source_file=Path("/app/document.pdf"))
60
+ now = datetime.now(UTC)
61
+ result = InferenceResult(
62
+ request=InferenceRequest(
63
+ example_id=case.test_id,
64
+ source_file_path=str(case.file_path),
65
+ product_type=ProductType.EXTRACT,
66
+ ),
67
+ pipeline_name="harbor",
68
+ product_type=ProductType.EXTRACT,
69
+ raw_output={},
70
+ output=ExtractOutput(
71
+ example_id=case.test_id,
72
+ pipeline_name="harbor",
73
+ extracted_data=prediction,
74
+ field_citations=[],
75
+ ),
76
+ started_at=now,
77
+ completed_at=now,
78
+ latency_in_ms=0,
79
+ )
80
+ cells: list[ValueCell] = []
81
+ bundle = ExtractEvaluator().compute_metrics(result, case, value_cells=cells)
82
+ metrics = {
83
+ metric.metric_name: metric.value
84
+ for metric in bundle.metrics
85
+ if metric.metric_name.startswith("extract_unified_value_")
86
+ }
87
+ value_f1 = next(metric for metric in bundle.metrics if metric.metric_name == "extract_unified_value_f1")
88
+ return metrics, _feedback(cells, value_f1.metadata)
89
+
90
+
91
+ def verify(test_json: Path, prediction_path: Path, log_dir: Path) -> dict[str, Any]:
92
+ """Bad/missing submissions earn zero; broken grading raises an error.
93
+
94
+ Only submission decoding is caught. A missing reference, loader error or
95
+ scorer failure must fail the verifier instead of becoming a model score.
96
+ """
97
+ log_dir.mkdir(parents=True, exist_ok=True)
98
+ reward_path = log_dir / "reward.txt"
99
+ for name in ("reward.txt", "metrics.json", "feedback.json"):
100
+ (log_dir / name).unlink(missing_ok=True)
101
+ try:
102
+ prediction = json.loads(prediction_path.read_text(encoding="utf-8"))
103
+ except (FileNotFoundError, UnicodeDecodeError, json.JSONDecodeError) as error:
104
+ report: dict[str, Any] = {"status": "invalid_submission", "error": str(error), "value_f1": 0.0}
105
+ else:
106
+ if not isinstance(prediction, dict):
107
+ report = {"status": "invalid_submission", "error": "Expected one JSON object", "value_f1": 0.0}
108
+ else:
109
+ metrics, feedback = score_prediction(test_json, prediction)
110
+ report = {
111
+ "status": "scored",
112
+ "value_f1": metrics["extract_unified_value_f1"],
113
+ "metrics": metrics,
114
+ }
115
+ if report["status"] == "invalid_submission":
116
+ feedback = {"schema_version": 1, "status": "invalid_submission", "error": report["error"], "cells": []}
117
+ report["perfect"] = int(report["value_f1"] == 1.0)
118
+ (log_dir / "metrics.json").write_text(json.dumps(report, indent=2, allow_nan=False) + "\n", encoding="utf-8")
119
+ (log_dir / "feedback.json").write_text(json.dumps(feedback, indent=2, allow_nan=False) + "\n", encoding="utf-8")
120
+ reward_path.write_text(f"{report['value_f1']}\n", encoding="utf-8")
121
+ return report
122
+
123
+
124
+ def main() -> None:
125
+ parser = argparse.ArgumentParser(description=__doc__)
126
+ parser.add_argument("--test-json", type=Path, default=Path("/tests/reference.test.json"))
127
+ parser.add_argument("--prediction", type=Path, default=Path("/app/output.json"))
128
+ parser.add_argument("--log-dir", type=Path, default=Path("/logs/verifier"))
129
+ args = parser.parse_args()
130
+ verify(args.test_json, args.prediction, args.log_dir)
131
+
132
+
133
+ if __name__ == "__main__":
134
+ main()
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ poppler-utils tesseract-ocr curl git nodejs npm \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
6
+ WORKDIR /app
7
+ COPY document.pdf schema.json /app/
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/document.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb4e1350573400b802096dfbce273e922aac15fa2e3478482e23acb70ceed14e
3
+ size 4653915
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/environment/schema.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "modules": {
5
+ "type": "object",
6
+ "description": "The tenant's UPS modules, one entry each.",
7
+ "properties": {
8
+ "ups_1": {
9
+ "type": "object",
10
+ "description": "UPS module UPS-1.",
11
+ "properties": {
12
+ "load_kw_before": {
13
+ "type": "number",
14
+ "description": "Tenant load on this module before the change, in kW."
15
+ },
16
+ "load_kw_after": {
17
+ "type": "number",
18
+ "description": "Tenant load on this module after the change, in kW."
19
+ },
20
+ "over_limit_after": {
21
+ "type": "boolean",
22
+ "description": "Whether this module is above the site's loading limit after the change."
23
+ },
24
+ "racks_exposed_after": {
25
+ "type": "integer",
26
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
27
+ }
28
+ },
29
+ "required": [
30
+ "load_kw_before",
31
+ "load_kw_after",
32
+ "over_limit_after",
33
+ "racks_exposed_after"
34
+ ]
35
+ },
36
+ "ups_2": {
37
+ "type": "object",
38
+ "description": "UPS module UPS-2.",
39
+ "properties": {
40
+ "load_kw_before": {
41
+ "type": "number",
42
+ "description": "Tenant load on this module before the change, in kW."
43
+ },
44
+ "load_kw_after": {
45
+ "type": "number",
46
+ "description": "Tenant load on this module after the change, in kW."
47
+ },
48
+ "over_limit_after": {
49
+ "type": "boolean",
50
+ "description": "Whether this module is above the site's loading limit after the change."
51
+ },
52
+ "racks_exposed_after": {
53
+ "type": "integer",
54
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
55
+ }
56
+ },
57
+ "required": [
58
+ "load_kw_before",
59
+ "load_kw_after",
60
+ "over_limit_after",
61
+ "racks_exposed_after"
62
+ ]
63
+ },
64
+ "ups_3": {
65
+ "type": "object",
66
+ "description": "UPS module UPS-3.",
67
+ "properties": {
68
+ "load_kw_before": {
69
+ "type": "number",
70
+ "description": "Tenant load on this module before the change, in kW."
71
+ },
72
+ "load_kw_after": {
73
+ "type": "number",
74
+ "description": "Tenant load on this module after the change, in kW."
75
+ },
76
+ "over_limit_after": {
77
+ "type": "boolean",
78
+ "description": "Whether this module is above the site's loading limit after the change."
79
+ },
80
+ "racks_exposed_after": {
81
+ "type": "integer",
82
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
83
+ }
84
+ },
85
+ "required": [
86
+ "load_kw_before",
87
+ "load_kw_after",
88
+ "over_limit_after",
89
+ "racks_exposed_after"
90
+ ]
91
+ },
92
+ "ups_4": {
93
+ "type": "object",
94
+ "description": "UPS module UPS-4.",
95
+ "properties": {
96
+ "load_kw_before": {
97
+ "type": "number",
98
+ "description": "Tenant load on this module before the change, in kW."
99
+ },
100
+ "load_kw_after": {
101
+ "type": "number",
102
+ "description": "Tenant load on this module after the change, in kW."
103
+ },
104
+ "over_limit_after": {
105
+ "type": "boolean",
106
+ "description": "Whether this module is above the site's loading limit after the change."
107
+ },
108
+ "racks_exposed_after": {
109
+ "type": "integer",
110
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
111
+ }
112
+ },
113
+ "required": [
114
+ "load_kw_before",
115
+ "load_kw_after",
116
+ "over_limit_after",
117
+ "racks_exposed_after"
118
+ ]
119
+ },
120
+ "ups_5": {
121
+ "type": "object",
122
+ "description": "UPS module UPS-5.",
123
+ "properties": {
124
+ "load_kw_before": {
125
+ "type": "number",
126
+ "description": "Tenant load on this module before the change, in kW."
127
+ },
128
+ "load_kw_after": {
129
+ "type": "number",
130
+ "description": "Tenant load on this module after the change, in kW."
131
+ },
132
+ "over_limit_after": {
133
+ "type": "boolean",
134
+ "description": "Whether this module is above the site's loading limit after the change."
135
+ },
136
+ "racks_exposed_after": {
137
+ "type": "integer",
138
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
139
+ }
140
+ },
141
+ "required": [
142
+ "load_kw_before",
143
+ "load_kw_after",
144
+ "over_limit_after",
145
+ "racks_exposed_after"
146
+ ]
147
+ },
148
+ "ups_6": {
149
+ "type": "object",
150
+ "description": "UPS module UPS-6.",
151
+ "properties": {
152
+ "load_kw_before": {
153
+ "type": "number",
154
+ "description": "Tenant load on this module before the change, in kW."
155
+ },
156
+ "load_kw_after": {
157
+ "type": "number",
158
+ "description": "Tenant load on this module after the change, in kW."
159
+ },
160
+ "over_limit_after": {
161
+ "type": "boolean",
162
+ "description": "Whether this module is above the site's loading limit after the change."
163
+ },
164
+ "racks_exposed_after": {
165
+ "type": "integer",
166
+ "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."
167
+ }
168
+ },
169
+ "required": [
170
+ "load_kw_before",
171
+ "load_kw_after",
172
+ "over_limit_after",
173
+ "racks_exposed_after"
174
+ ]
175
+ }
176
+ },
177
+ "required": [
178
+ "ups_1",
179
+ "ups_2",
180
+ "ups_3",
181
+ "ups_4",
182
+ "ups_5",
183
+ "ups_6"
184
+ ]
185
+ },
186
+ "kw_moving_if_module_fails": {
187
+ "type": "number",
188
+ "description": "After the change, the kW that would move onto other modules if UPS-4 failed."
189
+ },
190
+ "racks_on_one_cord_after": {
191
+ "type": "integer",
192
+ "description": "After the change, how many tenant racks have only one live supply cord."
193
+ },
194
+ "tenant_kw_after": {
195
+ "type": "number",
196
+ "description": "Total tenant design load in Data Hall 2 after the change, in kW."
197
+ }
198
+ },
199
+ "required": [
200
+ "modules",
201
+ "kw_moving_if_module_fails",
202
+ "racks_on_one_cord_after",
203
+ "tenant_kw_after"
204
+ ]
205
+ }
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Extract structured data from the document file `./document.pdf` in the current directory.
2
+
3
+ Use only local file inspection and shell commands. Do not use web search, network calls, browser tools, or external services. Temporary scratch files inside the current directory are OK.
4
+
5
+ Return a single JSON object conforming to this schema as your final answer:
6
+
7
+ {"type": "object", "properties": {"modules": {"type": "object", "description": "The tenant's UPS modules, one entry each.", "properties": {"ups_1": {"type": "object", "description": "UPS module UPS-1.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_2": {"type": "object", "description": "UPS module UPS-2.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_3": {"type": "object", "description": "UPS module UPS-3.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_4": {"type": "object", "description": "UPS module UPS-4.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_5": {"type": "object", "description": "UPS module UPS-5.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_6": {"type": "object", "description": "UPS module UPS-6.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}}, "required": ["ups_1", "ups_2", "ups_3", "ups_4", "ups_5", "ups_6"]}, "kw_moving_if_module_fails": {"type": "number", "description": "After the change, the kW that would move onto other modules if UPS-4 failed."}, "racks_on_one_cord_after": {"type": "integer", "description": "After the change, how many tenant racks have only one live supply cord."}, "tenant_kw_after": {"type": "number", "description": "Total tenant design load in Data Hall 2 after the change, in kW."}}, "required": ["modules", "kw_moving_if_module_fails", "racks_on_one_cord_after", "tenant_kw_after"]}
8
+
9
+ Rules:
10
+
11
+ - Use null for fields not present in the document.
12
+ - For list/array fields, enumerate every relevant row visible in the document; never collapse rows.
13
+ - For large regular tables, prefer writing and running a local script to parse/enumerate rows.
14
+ - For forms, prefer direct field extraction from the document content.
15
+ - Write the resulting JSON object to ./output.json and validate that it is valid JSON before stopping.
16
+ - Do not print the JSON to your assistant output.
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/solution/expected.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modules": {
3
+ "ups_1": {
4
+ "load_kw_before": 124.6,
5
+ "load_kw_after": 117.6,
6
+ "over_limit_after": false,
7
+ "racks_exposed_after": 3
8
+ },
9
+ "ups_2": {
10
+ "load_kw_before": 129.2,
11
+ "load_kw_after": 122.2,
12
+ "over_limit_after": true,
13
+ "racks_exposed_after": 3
14
+ },
15
+ "ups_3": {
16
+ "load_kw_before": 92.4,
17
+ "load_kw_after": 80.6,
18
+ "over_limit_after": false,
19
+ "racks_exposed_after": 0
20
+ },
21
+ "ups_4": {
22
+ "load_kw_before": 307.0,
23
+ "load_kw_after": 290.0,
24
+ "over_limit_after": true,
25
+ "racks_exposed_after": 5
26
+ },
27
+ "ups_5": {
28
+ "load_kw_before": 110.2,
29
+ "load_kw_after": 105.4,
30
+ "over_limit_after": false,
31
+ "racks_exposed_after": 2
32
+ },
33
+ "ups_6": {
34
+ "load_kw_before": 273.0,
35
+ "load_kw_after": 256.6,
36
+ "over_limit_after": false,
37
+ "racks_exposed_after": 2
38
+ }
39
+ },
40
+ "kw_moving_if_module_fails": 262.4,
41
+ "racks_on_one_cord_after": 4,
42
+ "tenant_kw_after": 972.4
43
+ }
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/solution/solve.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ cp /solution/expected.json /app/output.json
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/task.toml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ artifacts = ["/app/output.json"]
3
+
4
+ [metadata]
5
+ source_repo = "llamaindex/ExtractBenchPro"
6
+ source_revision = "16f6672e06cf77491ec6d18c817d67864b90d845"
7
+ source_case_id = "charts_inside_documents/capacity_change_pack_01"
8
+ source_split = "charts_inside_documents"
9
+ scorer_revision = "2f27f100730afc7c395602e26a2a87e07ea66b31"
10
+ prompt_source = "https://arxiv.org/html/2607.29677v1#A3.SS1"
11
+ tags = ["source:synthetic", "challenge:charts_inside_documents", "perception:image", "length:medium", "domain:D2"]
12
+
13
+ [agent]
14
+ timeout_sec = 1800
15
+ network_mode = "allowlist"
16
+ allowed_hosts = []
17
+
18
+ [environment]
19
+ cpus = 2
20
+ memory_mb = 4096
21
+ storage_mb = 10240
22
+
23
+ [verifier]
24
+ environment_mode = "separate"
25
+ timeout_sec = 1800
26
+
27
+ [verifier.environment]
28
+ cpus = 2
29
+ memory_mb = 8192
30
+ network_mode = "no-network"
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
3
+ RUN pip install --no-cache-dir "llama-extract-bench @ git+https://github.com/run-llama/ExtractBench.git@2f27f100730afc7c395602e26a2a87e07ea66b31" "parse-bench==1.0.4"
4
+ WORKDIR /app
5
+ COPY . /tests/
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/reference.test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tags": ["source:synthetic", "challenge:charts_inside_documents", "perception:image", "length:medium", "domain:D2"], "data_schema": {"type": "object", "properties": {"modules": {"type": "object", "description": "The tenant's UPS modules, one entry each.", "properties": {"ups_1": {"type": "object", "description": "UPS module UPS-1.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_2": {"type": "object", "description": "UPS module UPS-2.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_3": {"type": "object", "description": "UPS module UPS-3.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_4": {"type": "object", "description": "UPS module UPS-4.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_5": {"type": "object", "description": "UPS module UPS-5.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}, "ups_6": {"type": "object", "description": "UPS module UPS-6.", "properties": {"load_kw_before": {"type": "number", "description": "Tenant load on this module before the change, in kW."}, "load_kw_after": {"type": "number", "description": "Tenant load on this module after the change, in kW."}, "over_limit_after": {"type": "boolean", "description": "Whether this module is above the site's loading limit after the change."}, "racks_exposed_after": {"type": "integer", "description": "After the change, how many racks with a cord on this module could lose power through the failure of one module or one switchboard."}}, "required": ["load_kw_before", "load_kw_after", "over_limit_after", "racks_exposed_after"]}}, "required": ["ups_1", "ups_2", "ups_3", "ups_4", "ups_5", "ups_6"]}, "kw_moving_if_module_fails": {"type": "number", "description": "After the change, the kW that would move onto other modules if UPS-4 failed."}, "racks_on_one_cord_after": {"type": "integer", "description": "After the change, how many tenant racks have only one live supply cord."}, "tenant_kw_after": {"type": "number", "description": "Total tenant design load in Data Hall 2 after the change, in kW."}}, "required": ["modules", "kw_moving_if_module_fails", "racks_on_one_cord_after", "tenant_kw_after"]}, "expected_output": {"modules": {"ups_1": {"load_kw_before": 124.6, "load_kw_after": 117.6, "over_limit_after": false, "racks_exposed_after": 3}, "ups_2": {"load_kw_before": 129.2, "load_kw_after": 122.2, "over_limit_after": true, "racks_exposed_after": 3}, "ups_3": {"load_kw_before": 92.4, "load_kw_after": 80.6, "over_limit_after": false, "racks_exposed_after": 0}, "ups_4": {"load_kw_before": 307.0, "load_kw_after": 290.0, "over_limit_after": true, "racks_exposed_after": 5}, "ups_5": {"load_kw_before": 110.2, "load_kw_after": 105.4, "over_limit_after": false, "racks_exposed_after": 2}, "ups_6": {"load_kw_before": 273.0, "load_kw_after": 256.6, "over_limit_after": false, "racks_exposed_after": 2}}, "kw_moving_if_module_fails": 262.4, "racks_on_one_cord_after": 4, "tenant_kw_after": 972.4}, "_field_rules": {"modules.ups_1.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 124.6}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_1.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 117.6}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_1.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": false}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_1.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_2.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 129.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_2.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 122.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_2.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_2.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 3}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_3.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 92.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_3.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 80.6}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_3.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": false}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_3.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_4.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 307.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_4.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 290.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_4.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": true}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_4.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 5}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_5.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 110.2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_5.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 105.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_5.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": false}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_5.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_6.load_kw_before": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 273.0}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_6.load_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 256.6}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_6.over_limit_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": false}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "modules.ups_6.racks_exposed_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 2}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "kw_moving_if_module_fails": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 262.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "racks_on_one_cord_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 4}], "verified": true, "source_policy": "inferred", "evidence_required": true}, "tenant_kw_after": {"evidence": [{"page": null, "bbox": null, "quote": null, "value": 972.4}], "verified": true, "source_policy": "inferred", "evidence_required": true}}}
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/test.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ python /tests/verifier.py
tasks/charts-inside-documents--capacity-change-pack-01-426d0e3de2/tests/verifier.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Harbor's file boundary into the existing ExtractBench evaluator."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ from collections.abc import Mapping, Sequence
8
+ from datetime import UTC, datetime
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ from extract_bench.evaluation.evaluators.extract import ExtractEvaluator
13
+ from extract_bench.evaluation.metrics.extract.unified_evidence_metric import ValueCell
14
+ from extract_bench.evaluation.score_case import load_extract_test_case
15
+ from extract_bench.schemas.extract_output import ExtractOutput
16
+ from extract_bench.schemas.pipeline_io import InferenceRequest, InferenceResult
17
+ from extract_bench.schemas.product import ProductType
18
+
19
+
20
+ def _feedback(cells: Sequence[ValueCell], metadata: Mapping[str, Any]) -> dict[str, Any]:
21
+ expected = sum(cell.gt_path is not None for cell in cells)
22
+ predicted = sum(cell.pred_path is not None for cell in cells)
23
+ matched = sum(cell.value_correct for cell in cells)
24
+ if (expected, predicted, matched) != (
25
+ metadata["expected_cells"],
26
+ metadata["predicted_cells"],
27
+ metadata["v_correct"],
28
+ ):
29
+ raise ValueError("Value feedback does not account for the scorer's cell counts")
30
+ denominator = expected + predicted
31
+ entries = []
32
+ for cell in cells:
33
+ if cell.gt_path is None:
34
+ outcome = "prediction_only"
35
+ elif cell.pred_path is None:
36
+ outcome = "reference_only"
37
+ else:
38
+ outcome = "matched" if cell.value_correct else "value_differs"
39
+ entries.append(
40
+ {
41
+ "reference_path": cell.gt_path,
42
+ "output_path": cell.pred_path,
43
+ "outcome": outcome,
44
+ "f1_credit": 2.0 / denominator if cell.value_correct else 0.0,
45
+ }
46
+ )
47
+ return {
48
+ "schema_version": 1,
49
+ "status": "scored",
50
+ "path_space": "normalized_scoring_inputs",
51
+ "counts": {"expected": expected, "predicted": predicted, "matched": matched},
52
+ "value_incomplete": metadata["value_incomplete"],
53
+ "cells": entries,
54
+ }
55
+
56
+
57
+ def score_prediction(test_json: Path, prediction: Any) -> tuple[dict[str, float], dict[str, Any]]:
58
+ """Use exactly the normal evaluator's normalization and metric selection."""
59
+ case = load_extract_test_case(test_json, source_file=Path("/app/document.pdf"))
60
+ now = datetime.now(UTC)
61
+ result = InferenceResult(
62
+ request=InferenceRequest(
63
+ example_id=case.test_id,
64
+ source_file_path=str(case.file_path),
65
+ product_type=ProductType.EXTRACT,
66
+ ),
67
+ pipeline_name="harbor",
68
+ product_type=ProductType.EXTRACT,
69
+ raw_output={},
70
+ output=ExtractOutput(
71
+ example_id=case.test_id,
72
+ pipeline_name="harbor",
73
+ extracted_data=prediction,
74
+ field_citations=[],
75
+ ),
76
+ started_at=now,
77
+ completed_at=now,
78
+ latency_in_ms=0,
79
+ )
80
+ cells: list[ValueCell] = []
81
+ bundle = ExtractEvaluator().compute_metrics(result, case, value_cells=cells)
82
+ metrics = {
83
+ metric.metric_name: metric.value
84
+ for metric in bundle.metrics
85
+ if metric.metric_name.startswith("extract_unified_value_")
86
+ }
87
+ value_f1 = next(metric for metric in bundle.metrics if metric.metric_name == "extract_unified_value_f1")
88
+ return metrics, _feedback(cells, value_f1.metadata)
89
+
90
+
91
+ def verify(test_json: Path, prediction_path: Path, log_dir: Path) -> dict[str, Any]:
92
+ """Bad/missing submissions earn zero; broken grading raises an error.
93
+
94
+ Only submission decoding is caught. A missing reference, loader error or
95
+ scorer failure must fail the verifier instead of becoming a model score.
96
+ """
97
+ log_dir.mkdir(parents=True, exist_ok=True)
98
+ reward_path = log_dir / "reward.txt"
99
+ for name in ("reward.txt", "metrics.json", "feedback.json"):
100
+ (log_dir / name).unlink(missing_ok=True)
101
+ try:
102
+ prediction = json.loads(prediction_path.read_text(encoding="utf-8"))
103
+ except (FileNotFoundError, UnicodeDecodeError, json.JSONDecodeError) as error:
104
+ report: dict[str, Any] = {"status": "invalid_submission", "error": str(error), "value_f1": 0.0}
105
+ else:
106
+ if not isinstance(prediction, dict):
107
+ report = {"status": "invalid_submission", "error": "Expected one JSON object", "value_f1": 0.0}
108
+ else:
109
+ metrics, feedback = score_prediction(test_json, prediction)
110
+ report = {
111
+ "status": "scored",
112
+ "value_f1": metrics["extract_unified_value_f1"],
113
+ "metrics": metrics,
114
+ }
115
+ if report["status"] == "invalid_submission":
116
+ feedback = {"schema_version": 1, "status": "invalid_submission", "error": report["error"], "cells": []}
117
+ report["perfect"] = int(report["value_f1"] == 1.0)
118
+ (log_dir / "metrics.json").write_text(json.dumps(report, indent=2, allow_nan=False) + "\n", encoding="utf-8")
119
+ (log_dir / "feedback.json").write_text(json.dumps(feedback, indent=2, allow_nan=False) + "\n", encoding="utf-8")
120
+ reward_path.write_text(f"{report['value_f1']}\n", encoding="utf-8")
121
+ return report
122
+
123
+
124
+ def main() -> None:
125
+ parser = argparse.ArgumentParser(description=__doc__)
126
+ parser.add_argument("--test-json", type=Path, default=Path("/tests/reference.test.json"))
127
+ parser.add_argument("--prediction", type=Path, default=Path("/app/output.json"))
128
+ parser.add_argument("--log-dir", type=Path, default=Path("/logs/verifier"))
129
+ args = parser.parse_args()
130
+ verify(args.test_json, args.prediction, args.log_dir)
131
+
132
+
133
+ if __name__ == "__main__":
134
+ main()
tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim-bookworm
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ poppler-utils tesseract-ocr curl git nodejs npm \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
6
+ WORKDIR /app
7
+ COPY document.pdf schema.json /app/
tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/document.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e075c3b5829c6b3a8c421846fa525ef42a3135d4eb65d1f5d3e3e7988bcccf7
3
+ size 868761
tasks/charts-inside-documents--chemo-verification-01-755808e636/environment/schema.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "description": "Pharmacy verification summary for this patient's course of chemotherapy.",
4
+ "properties": {
5
+ "cycles": {
6
+ "type": "array",
7
+ "description": "One entry per cycle the patient was treated in, in cycle order.",
8
+ "items": {
9
+ "type": "object",
10
+ "properties": {
11
+ "cycle": {
12
+ "type": "integer",
13
+ "description": "Cycle number."
14
+ },
15
+ "cyclophosphamide": {
16
+ "type": "object",
17
+ "description": "Cyclophosphamide over this cycle.",
18
+ "properties": {
19
+ "dose_mg": {
20
+ "type": "number",
21
+ "description": "Amount prepared for the patient over the cycle, in mg."
22
+ },
23
+ "vials_opened": {
24
+ "type": "integer",
25
+ "description": "How many vials were opened for it over the cycle."
26
+ },
27
+ "discarded_mg": {
28
+ "type": "number",
29
+ "description": "Drug thrown away from those vials over the cycle, in mg."
30
+ }
31
+ },
32
+ "required": [
33
+ "dose_mg",
34
+ "vials_opened",
35
+ "discarded_mg"
36
+ ]
37
+ },
38
+ "methotrexate": {
39
+ "type": "object",
40
+ "description": "Methotrexate over this cycle.",
41
+ "properties": {
42
+ "dose_mg": {
43
+ "type": "number",
44
+ "description": "Amount prepared for the patient over the cycle, in mg."
45
+ },
46
+ "vials_opened": {
47
+ "type": "integer",
48
+ "description": "How many vials were opened for it over the cycle."
49
+ },
50
+ "discarded_mg": {
51
+ "type": "number",
52
+ "description": "Drug thrown away from those vials over the cycle, in mg."
53
+ }
54
+ },
55
+ "required": [
56
+ "dose_mg",
57
+ "vials_opened",
58
+ "discarded_mg"
59
+ ]
60
+ },
61
+ "fluorouracil": {
62
+ "type": "object",
63
+ "description": "Fluorouracil over this cycle.",
64
+ "properties": {
65
+ "dose_mg": {
66
+ "type": "number",
67
+ "description": "Amount prepared for the patient over the cycle, in mg."
68
+ },
69
+ "vials_opened": {
70
+ "type": "integer",
71
+ "description": "How many vials were opened for it over the cycle."
72
+ },
73
+ "discarded_mg": {
74
+ "type": "number",
75
+ "description": "Drug thrown away from those vials over the cycle, in mg."
76
+ }
77
+ },
78
+ "required": [
79
+ "dose_mg",
80
+ "vials_opened",
81
+ "discarded_mg"
82
+ ]
83
+ }
84
+ },
85
+ "required": [
86
+ "cycle",
87
+ "cyclophosphamide",
88
+ "methotrexate",
89
+ "fluorouracil"
90
+ ]
91
+ }
92
+ },
93
+ "treatment_days_on_new_surface_area": {
94
+ "type": "integer",
95
+ "description": "How many treatment days after the very first had their doses worked out from a fresh body surface area instead of the first day's."
96
+ },
97
+ "cycles_with_a_second_day_dose_reduced": {
98
+ "type": "integer",
99
+ "description": "How many cycles had at least one drug's second treatment day reduced to keep the cycle within its upper limit."
100
+ },
101
+ "total_discarded_mg": {
102
+ "type": "number",
103
+ "description": "All drug thrown away over the course, every drug together, in mg."
104
+ }
105
+ },
106
+ "required": [
107
+ "cycles",
108
+ "treatment_days_on_new_surface_area",
109
+ "cycles_with_a_second_day_dose_reduced",
110
+ "total_discarded_mg"
111
+ ]
112
+ }