AA-LCR_Dataset.csv CHANGED
The diff for this file is too large to render. See raw diff
 
extracted_text/AA-LCR_extracted-text.zip → AA-LCR_extracted-text.zip RENAMED
File without changes
README.md CHANGED
@@ -1,37 +1,14 @@
1
  ---
2
  license: apache-2.0
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: test
7
- path: "AA-LCR_Dataset.csv"
8
  ---
9
 
10
  # Artificial Analysis Long Context Reasoning (AA-LCR) Dataset
11
 
12
  AA-LCR includes 100 hard text-based questions that require reasoning across multiple real-world documents, with each document set averaging ~100k input tokens. Questions are designed such that answers cannot be directly retrieved from documents and must instead be reasoned from multiple information sources.
13
 
14
- ## New in Version 1.1 (September 2026)
15
-
16
- - **Sixteen corrected answer keys.** Each one was re-verified against the question's own source documents. Most were values stored as a decimal fraction where the question asked for a percentage (question 28, `0.658`, is now `65.8%`), or a date stored as a spreadsheet serial number (question 40, `45444`, is now `June 2024`). Four were corrections to the answer itself rather than its notation: questions 10, 25, 30 and 67.
17
- - **A judge system prompt.** The equality checker previously ran with no system prompt, which left it to improvise on unit conversion, notation and multi-value answers one call at a time. See Scoring Approach below.
18
-
19
- The questions and the document sets are unchanged. Scores measured on version 1.0.0 are not directly comparable with scores measured on version 1.1.
20
-
21
- Version 1.0.0 remains available at revision [`bdae010`](https://huggingface.co/datasets/ArtificialAnalysis/AA-LCR/tree/bdae010bbce259820c0e34c1d7cce210d966fb75), so earlier results stay reproducible:
22
-
23
- ```python
24
- csv_path = hf_hub_download(
25
- repo_id="ArtificialAnalysis/AA-LCR",
26
- filename="AA-LCR_Dataset.csv",
27
- repo_type="dataset",
28
- revision="bdae010bbce259820c0e34c1d7cce210d966fb75",
29
- )
30
- ```
31
-
32
  ## Dataset Development
33
 
34
- AA-LCR was created through a rigorous multi-phase process involving several members of the Artificial Analysis research team and more than a dozen undergraduate students who were engaged on a short-term contract basis to write and/or validate questions.
35
 
36
  **Document Curation**: We selected diverse document sets (company reports, government consultations, legal documents, academic papers) averaging ~100,000 tokens each, representing real materials knowledge workers analyze.
37
 
@@ -49,9 +26,9 @@ This approach validates that AA-LCR tests genuine reasoning capabilities rather
49
 
50
  ## Technical Details
51
 
52
- AA-LCR comprises 100 questions across 7 types of text-only documents (i.e. Company Reports, Industry Reports, Government Consultations, Academia, Legal, Marketing Materials and Survey Reports). Multiple independent documents, forming a Document Set with a total length of ~100k tokens are passed as context for each question. For instance, the Company Documents topic includes separate document sets containing 2023 and 2024 company reports, respectively.
53
 
54
- Each question requires using the Document Set and applying general and mathematical reasoning.
55
 
56
  <div class="overflow-x-auto my-6">
57
  <table class="min-w-full border border-gray-300 bg-white">
@@ -136,11 +113,11 @@ Each question requires using the Document Set and applying general and mathemati
136
 
137
  **Sample Question:**
138
 
139
- ```json
140
  For the company and quarter where the company reported a 13.5% decline on the prior quarters operating income. What was their adjusted EBITDA? List the company name and adjusted EBITDA
141
 
142
  Answer: Equinix, $901 million
143
- ```
144
 
145
  Examples of other types of questions include:
146
 
@@ -174,129 +151,23 @@ END QUESTION
174
 
175
  Reported token counts per question are based on the completed prompt, using the `cl100k_base` tokenizer from `tiktoken`.
176
 
177
- The order in which documents are loaded in matters - they should be added to the prompt template in the order of the filenames in `data_source_filenames`. Below are code snippets showing how we read the questions and extracted text files from disk.
178
-
179
- ```
180
- def load_questions(self) -> list[dict]:
181
- """Load LCR questions from HuggingFace dataset"""
182
- csv_path = hf_hub_download(
183
- repo_id="ArtificialAnalysis/AA-LCR",
184
- filename="AA-LCR_Dataset.csv",
185
- repo_type="dataset",
186
- )
187
-
188
- questions = []
189
- with open(csv_path, encoding="utf-8") as f:
190
- reader = csv.DictReader(f)
191
- for row in reader:
192
- # Parse data_source_filenames as ordered list
193
- if "data_source_filenames" in row and isinstance(row["data_source_filenames"], str):
194
- row["data_source_filenames"] = row["data_source_filenames"].split(";")
195
-
196
- # Parse answer as list (semicolon-separated criteria)
197
- if "answer" in row and isinstance(row["answer"], str):
198
- row["answer"] = row["answer"].split(";")
199
- questions.append(row)
200
-
201
- return questions
202
-
203
- def get_document_set(
204
- self, dataset_folder: str, document_category: str, document_set_id: str, data_source_filenames: list[str]
205
- ) -> list[str]:
206
- """Get document set for a question in the order specified by data_source_filenames"""
207
-
208
- # Documents are extracted to lcr/lcr/{category}/{set_id}/ from the HuggingFace zip
209
- document_set_path = os.path.join(dataset_folder, document_category, document_set_id)
210
-
211
- document_texts = []
212
- for filename in data_source_filenames:
213
- document_path = os.path.join(document_set_path, filename)
214
- with open(document_path, encoding="utf-8") as f:
215
- document_texts.append(f.read())
216
- return document_texts
217
- ```
218
-
219
  ## Scoring Approach
220
 
221
- We use an LLM-based equality checker to evaluate responses. The checker receives a system prompt and a user prompt.
222
-
223
- System prompt:
224
-
225
- ```
226
- Decide whether the CANDIDATE ANSWER is correct or incorrect against the OFFICIAL ANSWER.
227
- Note the following points when assessing correctness:
228
-
229
- - Numbers should still match when they are the same value written differently, e.g., a
230
- percentage, a count of percentage points, and the equivalent decimal fraction are the same
231
- value: 0.675, "67.5%" and "67.5 percentage points" all match. So do different scales
232
- (thousand, million, bn) and different notations (thousands separators, currency symbols,
233
- LaTeX markup, and numbers written as words).
234
- - Where the question asks for a particular format (e.g., a percentage, a number of decimal
235
- places, a unit, a rounding, or an ordering) the CANDIDATE ANSWER must meet it. If the
236
- question asks for no particular format, accept any equivalent form.
237
- - In cases where the question asks for an ordered list, a title, honorific or article added
238
- to an entry in the CANDIDATE ANSWER can change where that entry sorts. Accept the ordering
239
- if it is correct either with those additions or without them.
240
- - Grade the value the CANDIDATE ANSWER finally commits to, and it must commit to one. Values
241
- reached while working, and alternatives it considers and sets aside, do not count. If it
242
- offers several values without selecting one, it is incorrect even if one of them is right.
243
- Hedging is fine as long as one clearly definitive answer is given.
244
- ```
245
-
246
- User prompt:
247
-
248
- ```
249
- Assess whether the following CANDIDATE ANSWER is CORRECT or INCORRECT.
250
- For the CANDIDATE ANSWER to be correct, it must be consistent with the OFFICIAL ANSWER.
251
-
252
- The question, for reference only: START QUESTION {question}
253
-
254
- END QUESTION
255
-
256
- The OFFICIAL ANSWER: {official_answer}
257
-
258
- END OFFICIAL ANSWER
259
-
260
- BEGIN CANDIDATE ANSWER TO ASSESS
261
-
262
- {candidate_answer}
263
-
264
- END CANDIDATE ANSWER TO ASSESS
265
-
266
- Reply as JSON, with a verdict of CORRECT or INCORRECT.
267
- ```
268
 
269
- GPT-5.6 Luna (medium) is used as the equality checker model.
270
-
271
- The prompts above are those used from version 1.1 onwards.
272
-
273
- <details>
274
- <summary>Version 1.0.0 scoring prompt</summary>
275
-
276
- Version 1.0.0 runs without a system prompt, and with the following user prompt:
277
-
278
- ```
279
  Assess whether the following CANDIDATE ANSWER is CORRECT or INCORRECT.
280
  For the CANDIDATE ANSWER to be correct, it must be consistent with the OFFICIAL ANSWER.
281
 
282
- The question, for reference only: START QUESTION {question}
283
-
284
- END QUESTION
285
-
286
  The OFFICIAL ANSWER: {official_answer}
287
-
288
- END OFFICIAL ANSWER
289
-
290
- BEGIN CANDIDATE ANSWER TO ASSESS
291
-
292
- {candidate_answer}
293
-
294
- END CANDIDATE ANSWER TO ASSESS
295
 
296
  Reply only with CORRECT or INCORRECT.
297
- ```
298
 
299
- </details>
 
 
300
 
301
  ## Access and Citation
302
 
@@ -304,17 +175,11 @@ The AA-LCR dataset is available at [https://huggingface.co/datasets/ArtificialAn
304
 
305
  If you use AA-LCR in your research, please cite:
306
 
307
- ```json
308
  @dataset{artificialanalysis2025lcr,
309
  title={Artificial Analysis Long Context Reasoning Benchmark(LCR)},
310
  author={Artificial Analysis Team},
311
  year={2025},
312
  publisher={Artificial Analysis, Inc.}
313
  }
314
- ```
315
-
316
- ## License
317
-
318
- **Question set**: Licensed under the Apache License 2.0
319
-
320
- **Document set**: Provided as a text representation of documents publicly available at time of dataset creation. We do not claim copyright or place any license over this data.
 
1
  ---
2
  license: apache-2.0
 
 
 
 
 
3
  ---
4
 
5
  # Artificial Analysis Long Context Reasoning (AA-LCR) Dataset
6
 
7
  AA-LCR includes 100 hard text-based questions that require reasoning across multiple real-world documents, with each document set averaging ~100k input tokens. Questions are designed such that answers cannot be directly retrieved from documents and must instead be reasoned from multiple information sources.
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ## Dataset Development
10
 
11
+ AA-LCR was created through a rigorous multi-phase process involving several members of the Artificial Analysis research team and more than a dozen undergraduate students who were engaged on a short-term contract basis to write and/or validate questions.
12
 
13
  **Document Curation**: We selected diverse document sets (company reports, government consultations, legal documents, academic papers) averaging ~100,000 tokens each, representing real materials knowledge workers analyze.
14
 
 
26
 
27
  ## Technical Details
28
 
29
+ AA-LCR comprises 100 questions across 7 types of text-only documents (i.e. Company Reports, Industry Reports, Government Consultations, Academia, Legal, Marketing Materials and Survey Reports). Multiple independent documents, forming a Document Set with a total length of ~100k tokens are passed as context for each question. For instance, the Company Documents topic includes separate document sets containing 2023 and 2024 company reports, respectively.
30
 
31
+ Each question requires using the Document Set and applying general and mathematical reasoning.
32
 
33
  <div class="overflow-x-auto my-6">
34
  <table class="min-w-full border border-gray-300 bg-white">
 
113
 
114
  **Sample Question:**
115
 
116
+ \`\`\`json
117
  For the company and quarter where the company reported a 13.5% decline on the prior quarters operating income. What was their adjusted EBITDA? List the company name and adjusted EBITDA
118
 
119
  Answer: Equinix, $901 million
120
+ \`\`\`
121
 
122
  Examples of other types of questions include:
123
 
 
151
 
152
  Reported token counts per question are based on the completed prompt, using the `cl100k_base` tokenizer from `tiktoken`.
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  ## Scoring Approach
155
 
156
+ We use an LLM-based equality checker to evaluate responses:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
+ \`\`\`
 
 
 
 
 
 
 
 
 
159
  Assess whether the following CANDIDATE ANSWER is CORRECT or INCORRECT.
160
  For the CANDIDATE ANSWER to be correct, it must be consistent with the OFFICIAL ANSWER.
161
 
162
+ The question, for reference only: {question}
 
 
 
163
  The OFFICIAL ANSWER: {official_answer}
164
+ CANDIDATE ANSWER TO ASSESS: {candidate_answer}
 
 
 
 
 
 
 
165
 
166
  Reply only with CORRECT or INCORRECT.
 
167
 
168
+ \`\`\`
169
+
170
+ Qwen3 235B A22B 2507 Non-reasoning is used as the equality checker model.
171
 
172
  ## Access and Citation
173
 
 
175
 
176
  If you use AA-LCR in your research, please cite:
177
 
178
+ \`\`\`json
179
  @dataset{artificialanalysis2025lcr,
180
  title={Artificial Analysis Long Context Reasoning Benchmark(LCR)},
181
  author={Artificial Analysis Team},
182
  year={2025},
183
  publisher={Artificial Analysis, Inc.}
184
  }
185
+ \`\`\`