SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.06966 · 2026

RealMem: Benchmarking LLMs in Real-World Memory-Driven Interaction

Shaolei Zhang, Zishan Xu, Huacan Wang, Ronghao Chen, Yifu Guo, Sen Hu, Zhiyuan Yao, Haonan Bian, Ziliang Yang, Xueran Han

arXiv · PDF · Open in the Atlas

Code that ran

12 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 5 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/2601.06966.json · badge: /api/ran/2601.06966.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
AvatarMemory/RealMemBench canonical (classifier label)
classifier basis: census
12 ran · 5 no recorded run
FunctionStatusWhere it lives
aggregate_summaries Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/collect_all_llm_metrics.py
code served (permissive licence) · get_code("5778872e085e1b2e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from collections import defaultdict

# Construct valid arguments for aggregate_summaries
ARGS = {
    "results": [
        {
            "summary": {
                "loss": 0.5,
                "accuracy": 0.95,
                "learning_rate": 0.001,
                "metrics": {
                    "precision": 0.92,
                    "recall": 0.88,
                    "f1": 0.90
                }
            }
        },
        {
            "summary": {
                "loss": 0.3,
                "accuracy": 0.97,
                "learning_rate": 0.0008,
                "metrics": {
                    "precision": 0.94,
                    "recall": 0.91,
                    "f1": 0.925
                }
            }
        },
        {
            "summary": {
                "loss": 0.4,
                "accuracy": 0.96,
                "learning_rate": 0.0009,
                "metrics": {
                    "precision": 0.93,
                    "recall": 0.89,
                    "f1": 0.91
                }
            }
        }
    ]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
construct_answer_prompt Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/run_generation.py
code served (permissive licence) · get_code("13a0468455e1a6fc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function: it takes question and evidence_text as strings
# and formats them into a prompt template using f-string formatting

ARGS = {
    "question": "What are my upcoming priorities for this week?",
    "evidence_text": "You completed project X on Monday. You have a meeting scheduled for Wednesday at 2pm. Remember to follow up with the team about deliverables."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
construct_evidence_text Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/compute_llm_metrics_for_realmem.py
code served (permissive licence) · get_code("b465726402015a58")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct ranked_items: a list of dicts with 'res_type', 'content', and optionally 'entity_name'
ranked_items = [
    {
        'res_type': 'chunk',
        'content': 'This is the first chunk of evidence about the topic.',
        'score': 0.95
    },
    {
        'res_type': 'entity',
        'entity_name': 'Albert Einstein',
        'content': 'A famous physicist known for relativity theory.',
        'score': 0.87
    },
    {
        'res_type': 'chunk',
        'content': 'Another relevant chunk containing important information.',
        'score': 0.82
    },
    {
        'res_type': 'entity',
        'entity_name': 'Isaac Newton',
        'content': 'Formulated laws of motion and universal gravitation.',
        'score': 0.78
    },
    {
        'res_type': 'chunk',
        'content': 'A third chunk with more supporting details.',
        'score': 0.71
    },
    {
        'res_type': 'document',
        'content': 'This is a full document that should be filtered out.',
        'score': 0.65
    },
    {
        'res_type': 'chunk',
        'content': 'Fourth chunk of evidence.',
        'score': 0.60
    }
]

ARGS = {
    'ranked_items': ranked_items,
    'evidence_type': 'chunk',
    'top_k': 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_json_from_text Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/compute_llm_metrics_for_realmem.py
code served (permissive licence) · get_code("b649490e72b4f988")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import re

def extract_json_from_text(text):
    try:
        match = re.search('```json\\s*(.*?)\\s*```', text, re.DOTALL)
        if match:
            return json.loads(match.group(1))
        match = re.search('\\{.*\\}', text, re.DOTALL)
        if match:
            return json.loads(match.group(0))
        return json.loads(text)
    except:
        return None


ARGS = {
    "text": '```json\n{"key": "value", "number": 42}\n```'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_metric_files Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/collect_all_llm_metrics.py
code served (permissive licence) · get_code("86740dd36522ebf0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_root = tempfile.mkdtemp()

# Create some subdirectories with files
os.makedirs(os.path.join(temp_root, "subdir1"), exist_ok=True)
os.makedirs(os.path.join(temp_root, "subdir2"), exist_ok=True)
os.makedirs(os.path.join(temp_root, "subdir2", "nested"), exist_ok=True)

# Create some metric files
with open(os.path.join(temp_root, "metrics.json"), "w") as f:
    f.write("{}")

with open(os.path.join(temp_root, "subdir1", "metrics.json"), "w") as f:
    f.write("{}")

with open(os.path.join(temp_root, "subdir2", "nested", "metrics.json"), "w") as f:
    f.write("{}")

# Create some non-metric files
with open(os.path.join(temp_root, "other.txt"), "w") as f:
    f.write("data")

with open(os.path.join(temp_root, "subdir1", "other.txt"), "w") as f:
    f.write("data")

ARGS = {
    "root_dir": temp_root,
    "filename": "metrics.json"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_data Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/run_generation.py
code served (permissive licence) · get_code("afce8e090f94d844")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with sample data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.json")

sample_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "object"}
}

with open(temp_file, 'w', encoding='utf-8') as f:
    json.dump(sample_data, f)

ARGS = {
    "file_path": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_ground_truth Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/compute_llm_metrics_for_realmem.py
code served (permissive licence) · get_code("e78cd2d9a3dd4718")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with the expected structure
temp_dir = tempfile.mkdtemp()
file_path = os.path.join(temp_dir, "dialogues.json")

dialogue_data = {
    "dialogues": [
        {
            "dialogue_turns": [
                {
                    "speaker": "User",
                    "content": "What is the capital of France?"
                },
                {
                    "speaker": "Assistant",
                    "content": "The capital of France is Paris.",
                    "memory_used": [
                        {"content": "France is a country in Europe"},
                        {"content": "Paris is the largest city in France"}
                    ]
                },
                {
                    "speaker": "User",
                    "content": "Tell me about its history."
                },
                {
                    "speaker": "Assistant",
                    "content": "Paris has a rich history spanning over 2000 years.",
                    "memory_used": [
                        {"content": "Paris was founded by Celtic tribes"}
                    ]
                }
            ]
        },
        {
            "dialogues": [
                {
                    "speaker": "User",
                    "content": "How tall is the Eiffel Tower?"
                },
                {
                    "speaker": "Assistant",
                    "content": "The Eiffel Tower is approximately 330 meters tall.",
                    "memory_used": []
                }
            ]
        }
    ]
}

with open(file_path, 'w', encoding='utf-8') as f:
    json.dump(dialogue_data, f)

ARGS = {
    "file_path": file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_summary Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/eval/collect_all_llm_metrics.py
code served (permissive licence) · get_code("b25ce44682b7dde8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with a summary section
temp_dir = tempfile.mkdtemp()
test_file = os.path.join(temp_dir, "test_summary.json")

test_data = {
    "summary": "This is a test summary",
    "other_key": "other_value"
}

with open(test_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "file_path": test_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validate_and_fix_dialogue Ran
ran, honoured the contract we drafted
AvatarMemory/RealMemBench/utils/dialogue_postprocessor.py
code served (permissive licence) · get_code("b2823ee3feecad80")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Dict, List, Any, Optional, Tuple

torch.manual_seed(0)

# Construct a valid dialogue dictionary
dialogue = {
    'dialogue_turns': [
        {
            'speaker': 'User',
            'is_query': True,
            'text': 'What is the capital of France?'
        },
        {
            'speaker': 'Assistant',
            'text': 'The capital of France is Paris.',
            'memory_used': ['fact_1', 'fact_2']
        },
        {
            'speaker': 'User',
            'is_query': True,
            'text': 'Tell me more about it.'
        },
        {
            'speaker': 'Assistant',
            'text': 'Paris is located on the Seine river.',
            'memory_used': []
        },
        {
            'speaker': 'User',
            'is_query': False,
            'text': 'Thank you.'
        }
    ]
}

ARGS = {
    'dialogue': dialogue
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validate_and_fix_file Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/utils/dialogue_postprocessor.py
code served (permissive licence) · get_code("8185c5baa5e654c2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
from pathlib import Path

# Create a temporary directory for test files
temp_dir = Path(tempfile.gettempdir())

# Create a test JSON file with dialogue data
test_data = {
    "dialogues": [
        {
            "session_identifier": "session_1",
            "dialogue_turns": [
                {
                    "speaker": "User",
                    "is_query": True,
                    "text": "What is the capital of France?"
                },
                {
                    "speaker": "Assistant",
                    "text": "The capital of France is Paris.",
                    "memory_used": ["geography"]
                }
            ]
        },
        {
            "session_identifier": "session_2",
            "dialogue_turns": [
                {
                    "speaker": "User",
                    "is_query": True,
                    "text": "Tell me a joke"
                },
                {
                    "speaker": "Assistant",
                    "text": "Why did the chicken cross the road?",
                    "memory_used": []
                }
            ]
        },
        {
            "session_identifier": "session_3",
            "dialogue_turns": [
                {
                    "speaker": "User",
                    "is_query": True,
                    "text": "Hello"
                },
                {
                    "speaker": "Assistant",
                    "text": "Hi there!",
                    "memory_used": None
                }
            ]
        }
    ]
}

# Write test file
test_file_path = temp_dir / "test_dialogue.json"
with open(test_file_path, 'w', encoding='utf-8') as f:
    json.dump(test_data, f, ensure_ascii=False, indent=2)

# Define arguments for validate_and_fix_file
ARGS = {
    "file_path": test_file_path,
    "backup": False,
    "dry_run": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validate_memory_point Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/utils/data_validator.py
code served (permissive licence) · get_code("3eee1783bae76a2a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Dict, Any, Optional

# Define ARGS for the validate_memory_point function
# The function signature is: validate_memory_point(data: Dict[str, Any]) -> tuple[bool, Optional[MemoryPoint], str]

ARGS = {
    'data': {
        'label': 'BodyMetrics',
        'content': 'This is a detailed description of body metrics tracking and measurements'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pydantic, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validate_session_summary Ran
ran; our contract draft was wrong, not the code
AvatarMemory/RealMemBench/utils/data_validator.py
code served (permissive licence) · get_code("53b8ab05810e2490")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import re
from typing import Dict, Any, Optional
from pydantic import BaseModel, Field, validator, ValidationError

class MemoryPoint(BaseModel):
    """Memory point model"""
    label: str = Field(..., description='Memory point label')
    content: str = Field(..., description='Detailed description of memory point')

    @validator('label')
    def validate_label(cls, v):
        """Validate label field"""
        if not v or not isinstance(v, str):
            raise ValueError('label field must be a non-empty string')
        valid_labels = {'BodyMetrics', 'TrainingPlan', 'DietPlan', 'StoryOutline', 'CharacterProfiles', 'ProjectState', 'Other'}
        if v not in valid_labels:
            v = 'Other'
        return v

    @validator('content')
    def validate_content(cls, v):
        """Validate content field"""
        if not v or not isinstance(v, str):
            raise ValueError('content field must be a non-empty string')
        if len(v.strip()) < 5:
            raise ValueError('content field is too short, requires at least 5 characters')
        return v.strip()

class SessionSummary(BaseModel):
    """Session summary model"""
    SessionID: str = Field(..., description="Session ID, format like 'S1_01'")
    Summary: str = Field(..., description='Session summary content')
    MemoryPoints: list = Field(default_factory=list, description='List of memory points')
    EventID: Optional[int] = Field(None, description='Event ID')

    @validator('SessionID')
    def validate_session_id(cls, v):
        """Validate SessionID format"""
        if not isinstance(v, str):
            raise ValueError('SessionID must be a string')
        if not re.match('^S\\d+_\\d+$', v):
            raise ValueError(f"Invalid SessionID format, should be 'S<event_id>_<session_num>', got: {v}")
        return v

    @validator('Summary')
    def validate_summary(cls, v):
        """Validate summary content"""
        if not isinstance(v, str):
            raise ValueError('Summary must be a string')
        if len(v.strip()) < 10:
            raise ValueError('Summary content is too short, requires at least 10 characters')
        return v.strip()

    @validator('EventID')
    def validate_event_id(cls, v):
        """Validate EventID"""
        if v is not None and (not isinstance(v, int) or v < 1):
            raise ValueError('EventID must be a positive integer')
        return v

class ValidationErrorReport:
    """Validation error reporter"""

    @staticmethod
    def validate_session_summary(data: Dict[str, Any]) -> tuple:
        """
        Validate session summary data

        Args:
            data: Data to validate

        Returns:
            (success, validated_object, error_message)
        """
        try:
            session_summary = SessionSummary(**data)
            return (True, session_summary, '')
        except ValidationError as e:
            error_msg = f'Session summary validation failed: {str(e)}'
            return (False, None, error_msg)
        except Exception as e:
            error_msg = f'Session summary validation exception: {str(e)}'
            return (False, None, error_msg)

valid_data = {
    'SessionID': 'S1_01',
    'Summary': 'This is a comprehensive session summary with sufficient detail and content length requirements met',
    'MemoryPoints': [
        {
            'label': 'TrainingPlan',
            'content': 'Detailed training plan with specific exercises and schedules'
        }
    ],
    'EventID': 1
}

ARGS = {
    'data': valid_data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pydantic — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dcg Not yet run
unverified (harvested, no recorded run)
AvatarMemory/RealMemBench/eval/compute_auto_metrics_for_realmem.py
code served (permissive licence) · get_code("c8f76a04b5265a70")
How it ran

no invocation recorded.

evaluate_retrieval Not yet run
unverified (harvested, no recorded run)
AvatarMemory/RealMemBench/eval/compute_auto_metrics_for_realmem.py
code served (permissive licence) · get_code("0de1e81c64b6d58a")
How it ran

no invocation recorded.

ndcg Not yet run
unverified (harvested, no recorded run)
AvatarMemory/RealMemBench/eval/compute_auto_metrics_for_realmem.py
code served (permissive licence) · get_code("71b9778fa0d631c8")
How it ran

no invocation recorded.

run_validation_mode Not yet run
unverified (harvested, no recorded run)
AvatarMemory/RealMemBench/utils/dialogue_postprocessor.py
code served (permissive licence) · get_code("85607a77978341b2")
How it ran

no invocation recorded.

validate_dialogue_data Not yet run
unverified (harvested, no recorded run)
AvatarMemory/RealMemBench/utils/data_validator.py
code served (permissive licence) · get_code("160d54eab5c06978")
How it ran

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 17 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 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.

FunctionAlso present inEarliest-datedOthers named
dcg 2 other papers
1 dated earlier, 1 the same month
2410.10813 (2024-10)
LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory
2601.01280 (2026-01)
Does Memory Need Graphs? A Unified Framework and Empirical Analysis for Long-Term Dialog Memory
load_data 1 other paper
1 dated earlier
2025.emnlp-main.67 (2025 (year only))
Think Wider, Detect Sharper: Reinforced Reference Coverage for Document-Level Self-Contradiction Detection

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

As Large Language Models (LLMs) evolve from static dialogue interfaces to autonomous general agents, effective memory is paramount to ensuring long-term consistency. However, existing benchmarks primarily focus on casual conversation or task-oriented dialogue, failing to capture "long-term project-oriented" interactions where agents must track evolving goals. To bridge this gap, we introduce RealMem, the first benchmark grounded in realistic project scenarios. RealMem comprises over 2,000 cross-session dialogues across eleven scenarios, utilizing natural user queries for evaluation. We propose a synthesis pipeline that integrates Project Foundation Construction, Multi-Agent Dialogue Generation, and Memory and Schedule Management to simulate the dynamic evolution of memory. Experiments reveal that current memory systems face significant challenges in managing the long-term project states and dynamic context dependencies inherent in real-world projects. Our code and datasets are available at https://github.com/AvatarMemory/RealMemBench.

For agents

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

get_harvested_code_for_paper("2601.06966")
get_code_for_paper("2601.06966")
have("2601.06966")

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

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

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

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

Connect an agent — have() is free.