Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 281, in _generate_tables
                  examples = [ujson_loads(line) for line in batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

questionId
string
conversationId
string
category
string
question
string
asOf
string
goldAnswers
list
recall
dict
answer
string
judge
unknown
score
float64
1_abstention_0
1
abstention
How did the user feedback influence the UI/UX improvements I made before the public launch?
2024-04-25T12:00:00.000187Z
[ "Based on the provided chat, there is no information related to how user feedback influenced UI/UX improvements." ]
{ "asOf": "2024-04-25T12:00:00.000187Z", "usedEvidenceTokens": 7906, "results": [ { "rank": 1, "occurredAt": "2024-04-25T12:00:00.000152Z", "content": "Craig Baker: I'm trying to improve the user experience of my dashboard by implementing a dark mode toggle and a collapsible sidebar, similar...
Based on the provided chat, there is no information related to how the user feedback influenced the UI/UX improvements you made before the public launch.
{ "method": "rubric", "items": [ { "rubricItem": "Based on the provided chat, there is no information related to how user feedback influenced UI/UX improvements", "rawScore": 1, "score": 1, "reason": "The response directly and completely aligns with the rubric criterion by stating that t...
1
1_abstention_1
1
abstention
Can you tell me about my background and previous development projects?
2024-04-25T12:00:00.000187Z
[ "Based on the provided chat, there is no information related to your background or previous development projects." ]
{ "asOf": "2024-04-25T12:00:00.000187Z", "usedEvidenceTokens": 7625, "results": [ { "rank": 1, "occurredAt": "2024-03-15T12:00:00.000001Z", "content": "Assistant: Certainly! To create an effective schedule leading up to the March 15, 2024, deadline, we'll need to break down your project into...
Based on the provided chat, there is no information related to your background and previous development projects.
{ "method": "rubric", "items": [ { "rubricItem": "Based on the provided chat, there is no information related to your background or previous development projects", "rawScore": 1, "score": 1, "reason": "The LLM response directly and completely matches the required rubric criterion by stat...
1
1_contradiction_resolution_0
1
contradiction_resolution
Have I worked with Flask routes and handled HTTP requests in this project?
2024-04-25T12:00:00.000187Z
[ "I notice you've mentioned contradictory information about this. You said you have never written any Flask routes or handled HTTP requests in this project, but you also mentioned implementing a basic homepage route with Flask. Could you clarify which is correct?" ]
{ "asOf": "2024-04-25T12:00:00.000187Z", "usedEvidenceTokens": 7636, "results": [ { "rank": 1, "occurredAt": "2024-03-15T12:00:00.000058Z", "content": "Craig Baker: I've never written any Flask routes or handled HTTP requests in this project, so I'm starting from scratch. I need to implement...
The conversation contains contradictory statements about working with Flask routes and handling HTTP requests: - **One claim**: "I've never written any Flask routes or handled HTTP requests in this project before" (stated on both 2024-03-15 and 2024-04-05). - **Another claim**: "I've implemented the basic homepage rou...
{ "method": "rubric", "items": [ { "rubricItem": "LLM response should state: there is contradictory information", "rawScore": 1, "score": 1, "reason": "The response clearly states that the information is contradictory by listing the conflicting claims about writing Flask routes and handl...
0.75
1_contradiction_resolution_1
1
contradiction_resolution
Have I integrated Flask-Login for session management in my project?
2024-04-25T12:00:00.000187Z
[ "I notice you've mentioned contradictory information about this. You said you have never integrated Flask-Login or managed user sessions in this project, but you also mentioned that Flask-Login v0.6.2 was integrated for session management replacing manual session handling. Could you clarify which is correct?" ]
{ "asOf": "2024-04-25T12:00:00.000187Z", "usedEvidenceTokens": 7768, "results": [ { "rank": 1, "occurredAt": "2024-04-05T12:00:00.000067Z", "content": "Assistant: Absolutely, let's integrate Flask-Login into your Flask application to handle user sessions securely. We'll also add proper passw...
Based on the retrieved context, there are contradictory statements regarding whether you have integrated Flask-Login for session management in your project: - **Statement 1 (Integrated):** On 2024-04-05, you stated you were "trying to integrate Flask-Login v0.6.2 for session management" and provided a code structure t...
{ "method": "rubric", "items": [ { "rubricItem": "LLM response should state: there is contradictory information", "rawScore": 1, "score": 1, "reason": "The response directly states that 'contradictory statements' and 'contradictory claims exist' regarding the integration of Flask-Login, ...
0.75
1_event_ordering_0
1
event_ordering
"Can you list the order in which I brought up different aspects of developing my personal budget tra(...TRUNCATED)
2024-04-25T12:00:00.000187Z
["You mentioned aspects of your personal budget tracker in this order: 1) Setting up the core functi(...TRUNCATED)
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7489,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
1. Core functionality 2. Transaction error handling 3. Security and deployment
{"method":"event_ordering","reference":["1st: Core functionality","2nd: Transaction error handling",(...TRUNCATED)
1
1_event_ordering_1
1
event_ordering
"Can you walk me through the order in which I brought up different aspects of my app development and(...TRUNCATED)
2024-04-25T12:00:00.000187Z
["You mentioned the aspects in this order: 1) Setting up the initial project with database schema an(...TRUNCATED)
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7799,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
"1. Initial project setup\n2. Transaction CRUD implementation\n3. Deployment configuration\n4. Integ(...TRUNCATED)
{"method":"event_ordering","reference":["1st: Initial project setup","2nd: Transaction CRUD implemen(...TRUNCATED)
1
1_information_extraction_0
1
information_extraction
When does my first sprint end?
2024-04-25T12:00:00.000187Z
[ "My first sprint ends on March 29." ]
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7977,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
Based on the conversation, your first sprint ends on **March 29**.
{"method":"rubric","items":[{"rubricItem":"LLM response should state: March 29","rawScore":1.0,"scor(...TRUNCATED)
1
1_information_extraction_1
1
information_extraction
"How did I organize the tasks over the course of the sprint to ensure both backend and frontend aspe(...TRUNCATED)
2024-04-25T12:00:00.000187Z
["You organized the sprint by scheduling backend-related tasks such as setting up the environment, d(...TRUNCATED)
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7833,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
"Based on the sprint plan created on March 15, you organized the tasks by dedicating the first week (...TRUNCATED)
{"method":"rubric","items":[{"rubricItem":"LLM response should state: You organized the sprint by sc(...TRUNCATED)
1
1_instruction_following_0
1
instruction_following
Could you show me how to implement a login feature?
2024-04-25T12:00:00.000187Z
[ "Response should include code examples formatted with syntax highlighting." ]
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7963,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
"Here's how to implement a login feature in Flask, based on the code found in the conversation histo(...TRUNCATED)
{"method":"rubric","items":[{"rubricItem":"LLM response should contain: code blocks with syntax high(...TRUNCATED)
1
1_instruction_following_1
1
instruction_following
Which libraries are used in this project?
2024-04-25T12:00:00.000187Z
[ "Response should include the names of the libraries along with their specific version numbers." ]
{"asOf":"2024-04-25T12:00:00.000187Z","usedEvidenceTokens":7755,"results":[{"rank":1,"occurredAt":"2(...TRUNCATED)
"The project uses the following libraries with their versions:\n\n- **Flask**: 2.3.1\n- **Flask-Logi(...TRUNCATED)
{"method":"rubric","items":[{"rubricItem":"LLM response should contain: explicit version details for(...TRUNCATED)
1
End of preview.

BEAM against funes

BEAM is a long-conversation memory benchmark: ten abilities asked over conversations that run to millions of tokens. past.dev published their numbers on it, and their whole harness with them. This repository runs the same benchmark against funes.

The point of the comparison is that only the memory differs. The dataset, the answer prompt, the rubrics and the evidence budget all come from past.dev's harness, vendored unchanged under vendor/pastdev-beam/, and that harness's answer and judge prompts are ExaBase's published BEAM prompts with a SHA-256 that verify.py --prompts checks against the source. What this repository adds is the one call that fetches the evidence, and one reader and judge over both arms.

Results

BEAM 100K, 400 questions, 20 conversations. Dataset revision 3205395e. Answer and judge model deepseek-ai/DeepSeek-V4-Pro on the Hugging Face router, 8,000 evidence tokens per question in every arm. funes 1.6.0+dev.

category funes funes + rerank past.dev
abstention 1.000 1.000 1.000
contradiction_resolution 0.675 0.650 0.694
event_ordering 0.617 0.563 0.635
information_extraction 0.724 0.638 0.759
instruction_following 0.850 0.906 0.900
knowledge_update 0.719 0.669 0.713
multi_session_reasoning 0.522 0.563 0.493
preference_following 0.894 0.919 0.906
summarization 0.641 0.665 0.622
temporal_reasoning 0.887 0.863 0.875
micro average 0.7529 0.7436 0.7597

Per question, funes against past.dev: 74 better, 245 equal, 81 worse.

past.dev's column is not their published number. They answered and judged with openai/gpt-5.6-luna, which the Hugging Face router does not serve. The column above is their published evidence, per question, read and judged by the same model that reads funes's (replay_pastdev.py). Under their own model the same evidence scores 0.9208. The 16-point difference is the reader, not the memory, so 0.7597 is the figure funes's 0.7529 is measured against and 0.9208 is not.

Reranking. funes reranks the fused pool only when it is at least four times the hits asked for. The second column turns that on: -k 30 --candidates 120. It changes 61% of the passages that reach the reader, costs about 9.5s per question against 0.2s, and scores 0.9 points lower. Per question it is better on 73 and worse on 78. These stores hold a few hundred chunks each.

Results are under results/: one row per question with the evidence, the answer and the judge's verdicts, and a summary.json per arm.

Where the arms meet

run.py:answer_question() in the vendored harness does:

project.recall(question, as_of, identity) → json.dumps(...) → answer_prompt(...) → the reader

run_funes.py does the same with funes recall in place of project.recall. Everything after that call is byte-for-byte the harness's.

The evidence budget is matched, not the hit count. past.dev asks for up to 100 results within 8,000 tokens and their saved runs fill it to within a few tokens of the cap. funes is given the same 8,000-token budget and its passages are cut at the budget. Both arms pay the same for context, which is the control the comparison needs — a memory that returns more text would otherwise score better by spending more.

The two arms fill that budget with different things. past.dev returns extracted observations with source excerpts; funes returns the passages themselves. That difference is the subject of the comparison, not a confound in it.

The hit count is not matched, and should not be. past.dev's limit of 100 is their API's cap on observations. funes is asked for 30 passages, which is enough that on 399 of the 400 questions the budget runs out before the passages do — so the 8,000 tokens, not a hit count, decide what the reader sees. The one question that reached 30 passages did so at 7,988 evidence tokens, within 12 of the cap.

Both arms end up just under the budget, and funes hands the reader slightly less to read:

evidence tokens whole envelope items
past.dev 7,989 10,884 25
funes 7,846 10,470 23
funes + rerank 7,810 10,476 24

Medians over the 400 questions. The envelope is what the answer prompt carries, counted in o200k_base: past.dev's is larger because each observation nests its sources and excerpts.

The two asymmetries, and where they stand

An earlier look at this comparison found two ways the setup could flatter funes.

Recency weighting is no longer one. funes weighted hits by age against the wall clock, which would have been meaningless against conversations dated 2024. That weighting has since been removed from funes, so there is no knob to pick a favourable value for. This needs funes 1.6.0 or newer.

The asked-at moment is handled by --until, with a measured residue. Nine of BEAM's ten categories are asked at the end of the conversation, where nothing follows the question. knowledge_update is asked as of the update the dataset marks, so the memory must be held to that moment. funes recall --until cuts by day, and BEAM places a whole session on one day, so turns that follow the update within its own session stay visible.

beam_leak.py measures what that leaves, and whether it matters:

BEAM 100k: 40 knowledge_update questions, 5732 turns over 20 conversations

  turns after the asked-at moment, with no cutoff   median 150  (52.6% of the conversation)
  turns left by a day-granular cutoff                median 5  (2.4% of the conversation)

  questions whose leaked turns carry the gold answer better
  than anything before the cutoff                     2/40

So the cutoff removes almost all of the exposure, and on 38 of 40 questions what it leaves carries the answer less well than the evidence already available before the cutoff. Two questions are exposed. Report them; they are 2 of the split's 400.

Holding the memory to the exact turn would mean a store per question over a truncated conversation, or a sub-day cutoff in funes. Neither is worth 2 questions in 400, and a benchmark is not a reason to grow the product's surface.

Running it

Needs Python 3.11+, a funes 1.6.0+ binary, and a Hugging Face token (HF_TOKEN, or huggingface-cli login) for the reader and judge. FUNES_BEAM_MODEL picks the model.

uv venv .venv && uv pip install --python .venv/bin/python -r requirements.txt

# one store per conversation, each in its own FUNES_HOME
.venv/bin/python beam_store.py --split 100k --funes /path/to/funes

# recall, answer, judge
.venv/bin/python run_funes.py --split 100k --funes /path/to/funes

# the same, with the cross-encoder reranking the pool
.venv/bin/python run_funes.py --split 100k --funes /path/to/funes -k 30 --candidates 120

# everything except the model calls: free, and no key needed
.venv/bin/python run_funes.py --split 100k --funes /path/to/funes --dry-run

# past.dev's published evidence, read and judged by this run's model
.venv/bin/python replay_pastdev.py --split 100k

# what a day-granular cutoff leaves exposed
.venv/bin/python beam_leak.py --split 100k

# what two recall configurations put in front of the reader
.venv/bin/python compare_recall.py results/<a>/results.jsonl results/<b>/results.jsonl

beam_store.py writes each conversation as .funes.jsonl turns and indexes them into work/<split>/<conversation>/funes-home. Each turn keeps BEAM's own identity — session_id is the BEAM session, turn_uuid its message id — and its own timestamp, noon UTC on the session's day plus one microsecond per turn, so ordering within a day survives into the store. A turn's text is prefixed with its author, since funes indexes text and has nowhere else to carry who spoke; past.dev sends the same name as turn metadata.

The stores are never the real memory: every call sets FUNES_HOME to the conversation's own store.

past.dev's arm

vendor/pastdev-beam/results/100k/ holds their published run: the recall payload, the answer and the judge's verdicts for all 400 questions. Because the payload is there, their memory's output can be read and judged here by the model that reads funes's, which is what replay_pastdev.py does. No past.dev account is needed, and the arms then differ in nothing but the memory.

Attribution

This repository's own code — beam_store.py, funes_recall.py, run_funes.py, replay_pastdev.py, beam_leak.py, compare_recall.py and hf_llm.py — is Apache 2.0; see LICENSE. The licences below cover everything else, and neither is replaced by it.

vendor/pastdev-beam/ is past.dev's harness, MIT, unchanged, including the published results under vendor/pastdev-beam/results/. Its answer and judge prompts are ExaBase's work and are excluded from that licence; see vendor/pastdev-beam/NOTICE.md.

The BEAM dataset is by Mohammad Taghavi et al., "Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMs", published as Mohammadta/BEAM under CC BY-SA 4.0. The dataset itself is not redistributed here — the harness downloads it and records the revision — but the files under results/ include questions, reference answers and conversation excerpts taken from it, next to model answers and judge verdicts. That dataset-derived content keeps its CC BY-SA 4.0 terms.

Downloads last month
51

Paper for dacorvo/funes-beam-benchmark