SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.25655 · 2026

Reconstructing the Right Episode: Evaluating Interleaved Conversational Memory Beyond Long Context

Ruiyi Zhang, Pengtao Xie, Yongbo Yang, Zhexi Feng

arXiv · PDF

Code that ran

14 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 7 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.25655.json · badge: /api/ran/2608.25655.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
LordTARN1SHED/SCALE-QA canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
FunctionStatusWhere it lives
build_prompt Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/run_eval.py
pointer only (licence: NOASSERTION) · get_code("ef22962a80a1e411")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cl_hit Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/metrics.py
pointer only (licence: NOASSERTION) · get_code("0c632620dbe495b8")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

estimate_text_tokens Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/build_eval_dataset.py
pointer only (licence: NOASSERTION) · get_code("a2810d630885becf")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

estimate_text_tokens Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/supplementary/noise_assets/noise_io.py
pointer only (licence: NOASSERTION) · get_code("969bbf94c12581f2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

estimate_turn_tokens Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/build_eval_dataset.py
pointer only (licence: NOASSERTION) · get_code("430e6a49b0c7baab")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

estimate_turn_tokens Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/supplementary/noise_assets/noise_io.py
pointer only (licence: NOASSERTION) · get_code("3946309bd0ac04e3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exact_accuracy Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/metrics.py
pointer only (licence: NOASSERTION) · get_code("bad94cfaa824e71a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

list_runtime_dirs Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/original_main_runner.py
pointer only (licence: NOASSERTION) · get_code("38d20c09b4f5a462")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_turns Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/supplementary/noise_assets/split_dialogue.py
pointer only (licence: NOASSERTION) · get_code("5c12f8f2ce1cf45a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_answer Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/metrics.py
pointer only (licence: NOASSERTION) · get_code("e22500cf37ccce0d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_budget Ran
ran, honoured the contract we drafted
LordTARN1SHED/SCALE-QA/build_eval_dataset.py
pointer only (licence: NOASSERTION) · get_code("33a252cca9329eff")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_json Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/original_main_runner.py
pointer only (licence: NOASSERTION) · get_code("2e822b681e022e86")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sha256_file Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/supplementary/noise_assets/noise_io.py
pointer only (licence: NOASSERTION) · get_code("f103025411f50529")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

short_name Ran
ran; our contract draft was wrong, not the code
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/original_main_runner.py
pointer only (licence: NOASSERTION) · get_code("777d786163bf337b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

call_backend Not yet run
unverified (harvested, no recorded run)
LordTARN1SHED/SCALE-QA/tsim_reference/src/eval/run_eval.py
pointer only (licence: NOASSERTION) · get_code("1516464c0c157034")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate Not yet run
unverified (harvested, no recorded run)
LordTARN1SHED/SCALE-QA/tsim_reference/src/backends/gemma_local.py
pointer only (licence: NOASSERTION) · get_code("e33f0b44b595a82a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate Not yet run
unverified (harvested, no recorded run)
LordTARN1SHED/SCALE-QA/tsim_reference/src/backends/openai_compat.py
pointer only (licence: NOASSERTION) · get_code("fa8e815443de2ec5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, LordTARN1SHED/SCALE-QA (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Conversations with chat assistants increasingly span many topics in a single long-running thread, challenging memory systems. Existing long-context and memory benchmarks often expose session or topic boundaries, or probe direct personal-memory questions. These settings understate a harder assistant-memory regime: a flat mixed-topic thread where the system must infer which earlier episode makes a later task decision valid. We introduce SCALE-QA, a constraint-grounded task QA benchmark for flat unsegmented threads targeting episode integrity failure. The dataset contains 3,000 audited questions across 10 domains, uses deterministic four-way multiple-choice grading, and includes a deterministic runtime builder; experiments use all 3,000 questions through 128k and a stratified 400-question diagnostic at 1M. SCALE-QA questions are ordinary task-oriented requests whose correct answer depends on causally related evidence introduced earlier in the conversation. We also propose Temporal-Semantic Interleaved Memory Reconstruction (TSIM), which segments the turn stream into coherent episodes and indexes them through a hierarchical multi-view memory stack with deterministic episode-level summary and cluster-routing views. Experiments show that SCALE-QA challenges strong RAG baselines and long-context LLMs alike; across three open-source and proprietary LLM backends, TSIM achieves the highest accuracy in every backend setting, gaining 5.6-17.6 accuracy points over the strongest corresponding baseline.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.25655")
get_code_for_paper("2608.25655")
have("2608.25655")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.25655.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.25655.svg)](https://syntology.ai/paper/2608.25655)

Connect an agent — have() is free.