| apply_relationship_ema |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/use-cases/openher/demo/evermemos_demo.py code served (permissive licence) · get_code("648773f2271a2043") How it ranRan 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 torch
import numpy as np
torch.manual_seed(0)
# Construct valid arguments for apply_relationship_ema
# prior: dict with relationship metrics
prior = {
'emotional_valence': 0.5,
'trust': 0.6,
'familiarity': 0.3,
'engagement': 0.7
}
# delta: dict with LLM-judged changes to relationship metrics
delta = {
'emotional_valence': 0.1,
'trust': -0.05,
'familiarity': 0.15,
'engagement': 0.0
}
# conversation_depth: float between 0 and 1, representing conversation depth
conversation_depth = 0.4
# prev_ema: optional dict from previous EMA computation
prev_ema = {
'emotional_valence': 0.48,
'trust': 0.58,
'familiarity': 0.28,
'engagement': 0.65
}
ARGS = {
'prior': prior,
'delta': delta,
'conversation_depth': conversation_depth,
'prev_ema': prev_ema
}
- 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 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
|
| compute_disabled_features |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/src/everos/component/capabilities.py code served (permissive licence) · get_code("f46e6f58c5052866") How it ranRan 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 torch
import numpy as np
# The function takes a single parameter: caps (dict with boolean values)
# It reads the keys: "llm", "embed", "rerank", "multimodal_llm", "parser"
# and returns a list of disabled feature names based on capability availability
ARGS = {
"caps": {
"llm": True, # Always True (hard requirement, not read by function)
"embed": False, # When False, disables vector_search, hybrid_search, reflection, skill_extraction
"rerank": False, # When False, disables agentic_search
"multimodal_llm": False, # When False (with parser), disables multimodal_upload
"parser": False, # When False (with multimodal_llm), disables multimodal_upload
}
}
- 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 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
|
| compute_relationship_vector |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/use-cases/openher/demo/evermemos_demo.py code served (permissive licence) · get_code("d9a98525816b90aa") How it ranRan 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 torch
import numpy as np
torch.manual_seed(0)
# Construct profile_data dict with all keys the function accesses
profile_data = {
'interaction_count': 45,
'sentiment_avg': 0.75,
'trust_score': 0.85,
'foresight': True
}
ARGS = {
'profile_data': profile_data
}
- 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 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
|
| core_sessions_from_trace |
Ran ran on a synthesized input |
EverMind-AI/EverMemOS/benchmarks/metrics/core.py code served (permissive licence) · get_code("b22cde3803e634fc") How it ranRan 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 os
import tempfile
# Create a temporary trace file with test data
temp_dir = tempfile.mkdtemp()
trace_path = os.path.join(temp_dir, "trace.jsonl")
# Write test JSONL data matching the function's expected format
test_records = [
{
"owner_id": "owner_1",
"question_id": "q1",
"question": "What is the capital?",
"injected": [
{"session_id": "sess_1", "is_core": True},
{"session_id": "sess_2", "is_core": False},
{"session_id": "sess_3", "is_core": True},
]
},
{
"owner_id": "owner_2",
"question": "Who wrote this?",
"injected": [
{"session_id": "sess_4", "is_core": True},
{"session_id": None, "is_core": True}, # Should be filtered out
]
},
{
"owner_id": "owner_1",
"question": "What is the capital?",
"injected": [
{"session_id": "sess_5", "is_core": True},
]
},
{
"owner_id": None, # Should be filtered out
"question": "Invalid owner",
"injected": [
{"session_id": "sess_6", "is_core": True},
]
},
{
"no_injected_key": "skip this"
},
"invalid json line that will be skipped",
]
with open(trace_path, 'w', encoding='utf-8') as f:
for record in test_records:
f.write(json.dumps(record) + '\n')
ARGS = {
"trace_path": trace_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
|
| decider_reliability |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/metrics/core.py code served (permissive licence) · get_code("5cb1e9bedcf9df66") How it ranRan 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 os
import tempfile
# Create a temporary directory and trace file for testing
temp_dir = tempfile.mkdtemp()
trace_file = os.path.join(temp_dir, "trace.jsonl")
# Write sample trace data
trace_data = [
{"core_indices": [0, 1, 2], "decider_failed": False},
{"core_indices": [0, 1], "decider_failed": False},
{"core_indices": [0, 1, 2, 3, 4], "decider_failed": True},
{"core_indices": [1, 2, 3], "decider_failed": False},
]
with open(trace_file, 'w', encoding='utf-8') as f:
for record in trace_data:
f.write(json.dumps(record) + "\n")
ARGS = {
"trace_path": trace_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
|
| gold_of |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/subtlememory.py code served (permissive licence) · get_code("9b7bc62c834cd4dd") How it ranRan 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 set. 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 torch.nn as nn
torch.manual_seed(0)
# The function gold_of takes two dict parameters:
# - unit: dict[str, Any]
# - qa: dict[str, Any]
#
# The function body calls: qa.get('gold_sessions') or ()
# This means qa should have a 'gold_sessions' key with a value that can be converted to a set
# or None/falsy value that defaults to empty tuple
unit = {
'name': 'test_unit',
'id': 42,
'metadata': 'sample'
}
qa = {
'gold_sessions': ['session_1', 'session_2', 'session_3'],
'question': 'What is this?',
'answer': 'This is a test'
}
ARGS = {
'unit': unit,
'qa': qa
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
|
| leniency_clause |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/base.py code served (permissive licence) · get_code("dca82add3bb16905") How it ranRan 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
from typing import Any
torch.manual_seed(0)
# Construct a valid qa dict
# The function leniency_clause takes qa: dict[str, Any] and returns a string
# Based on the docstring, this is question metadata that can optionally contain
# information to derive a leniency clause from. The function currently returns
# an empty string, so we just need a dict with Any values.
qa = {
"question_id": 1,
"question_type": "multiple_choice",
"question_text": "What is the capital of France?",
"answer": "Paris",
"conversation_number": 42,
"metadata": {
"difficulty": "easy",
"category": "geography"
},
"tokens": torch.tensor([[1, 2, 3, 4], [5, 6, 7, 8]]),
"values": [1.5, 2.5, 3.5]
}
ARGS = {
"qa": qa
}
- 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
|
| load_units |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/evermembench.py code served (permissive licence) · get_code("0eb7176b43039290") How it ranRan 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 json
import tempfile
import os
# Create a temporary JSON file with test data
temp_dir = tempfile.mkdtemp()
data_path = os.path.join(temp_dir, "test_data.json")
test_data = [
{
"sample_id": 1,
"conversation": {"user": "hello", "bot": "hi"},
"qa": [
{
"question": "What is the capital of France?",
"answer": "Paris",
"category": "geography",
"question_id": "q1",
"evidence": ["France is a country in Europe"],
"options": None,
"question_type": "open_ended"
},
{
"question": "Pick the largest planet",
"answer": "Jupiter",
"category": "astronomy",
"question_id": "q2",
"evidence": ["Jupiter is the largest planet in our solar system"],
"options": {"a": "Earth", "b": "Jupiter", "c": "Mars"},
"question_type": "multiple_choice"
}
]
},
{
"sample_id": 2,
"conversation": None,
"qa": [
{
"question": "Who wrote Hamlet?",
"answer": "Shakespeare",
"category": "literature",
"question_id": "q3",
"evidence": None,
"options": None
}
]
},
{
"sample_id": 3,
"conversation": {},
"qa": None
}
]
with open(data_path, 'w', encoding='utf-8') as f:
json.dump(test_data, f)
ARGS = {
"data_path": data_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 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_units |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/locomo.py code served (permissive licence) · get_code("76438082504d9d2f") How it ranRan 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 json
import tempfile
import os
# Create a temporary JSON file with test data
temp_dir = tempfile.mkdtemp()
data_path = os.path.join(temp_dir, "test_data.json")
test_data = [
{
"conversation": {
"speaker_a": "Alice",
"speaker_b": "Bob"
},
"qa": [
{"category": "1", "question": "What?"},
{"category": "5", "question": "Should be filtered"},
{"category": "2", "question": "How?"}
]
},
{
"conversation": {
"speaker_a": "Charlie",
"speaker_b": "Diana"
},
"qa": [
{"category": "3", "question": "Why?"}
]
},
{
"qa": None
},
{
"conversation": None,
"qa": [
{"category": "4", "question": "When?"}
]
}
]
with open(data_path, 'w', encoding='utf-8') as f:
json.dump(test_data, f)
ARGS = {
"data_path": data_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 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_units |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/longmemeval.py code served (permissive licence) · get_code("22bf5de44965fb34") How it ranRan 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 json
import tempfile
import os
# Create a temporary JSON file with test data
test_data = [
{
'question': 'What is Python?',
'answer': 'Python is a programming language',
'question_type': 'general',
'question_id': 'q1',
'question_date': '2024-01-01',
'haystack_session_ids': ['session1', 'session2'],
'haystack_sessions': ['sess_data1', 'sess_data2'],
'haystack_dates': ['2024-01-01', '2024-01-02'],
'answer_session_ids': ['ans_sess1']
},
{
'question': 'How does ML work?',
'answer': 'Machine learning uses data to train models',
'question_type': 'technical',
'question_id': 'q2',
'question_date': '2024-01-02',
'haystack_session_ids': ['session3'],
'haystack_sessions': ['sess_data3'],
'haystack_dates': ['2024-01-03'],
'answer_session_ids': ['ans_sess2', 'ans_sess3']
}
]
# Create temporary file
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, 'test_units_data.json')
with open(temp_file, 'w', encoding='utf-8') as f:
json.dump(test_data, f)
ARGS = {
'data_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 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_units |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/subtlememory.py code served (permissive licence) · get_code("e1f50dabc5fbeab3") How it ranRan 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 json
import pathlib
# Create a temporary directory structure mimicking the SubtleMemory data format
temp_dir = tempfile.mkdtemp()
# Create persona_0 subdirectory
persona_dir = pathlib.Path(temp_dir) / 'persona_0'
persona_dir.mkdir(parents=True, exist_ok=True)
# Create history_sessions.json
history_sessions = [
{
'session_id': 'sess_1',
'order': 0
},
{
'session_id': 'sess_2',
'order': 1
},
{
'session_id': 'sess_3',
'order': 2
}
]
(persona_dir / 'history_sessions.json').write_text(
json.dumps(history_sessions),
encoding='utf-8'
)
# Create bench_instances.json
bench_instances = [
{
'relation_type': 'family',
'relation_subtype': 'parent',
'topic': 'childhood',
'persona_id': 'p_0',
'source': 'synthetic',
'session_ids': ['sess_1', 'sess_2'],
'correct_answers': ['Alice'],
'incorrect_answers': ['Bob'],
'case': 'test_case_1',
'case_id': 'c_1',
'instance_id': 'i_1',
'facts': ['fact1', 'fact2'],
'persona_str': 'test_persona',
'qas': [
{
'query': 'Who is your mother?',
'correct_answers': ['Alice'],
},
{
'query': 'Who is your father?',
'correct_answers': ['Charlie'],
}
]
}
]
(persona_dir / 'bench_instances.json').write_text(
json.dumps(bench_instances),
encoding='utf-8'
)
ARGS = {
'data_path': temp_dir
}
- 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
|
| normalize_speaker |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/base.py code served (permissive licence) · get_code("a77fc60a7b466438") How it ranRan 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 re
torch.manual_seed(0)
# The function normalize_speaker takes a single parameter: name (str)
# It processes the name by:
# 1. Converting to string and stripping whitespace
# 2. Replacing non-alphanumeric characters (except _.@+-) with underscores
# 3. Stripping underscores from edges
# 4. Returning 'speaker' if result is empty
ARGS = {
'name': 'Bo Chen'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- 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
|
| owner_of |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/evermembench.py code served (permissive licence) · get_code("573ef8ccaf958d19") How it ranRan 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
torch.manual_seed(0)
# The function takes a dict with at least an 'index' key
# and an eval_owner string parameter
unit = {
'index': 42,
'name': 'test_unit',
'data': [1, 2, 3]
}
eval_owner = 'some_owner'
ARGS = {
'unit': unit,
'eval_owner': eval_owner
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- 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
|
| owner_of |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/locomo.py code served (permissive licence) · get_code("552c7311da3a1b56") How it ranRan 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
# Define ARGS with the required parameters for owner_of
unit = {
'speaker_a': 'Alice',
'speaker_b': 'Bob',
'index': 1
}
eval_owner = 'speaker_a'
ARGS = {
'unit': unit,
'eval_owner': eval_owner
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- 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
|
| owner_of |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/longmemeval.py code served (permissive licence) · get_code("aec57ef429a0da14") How it ranRan 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
torch.manual_seed(0)
# The function owner_of takes:
# 1. unit: dict[str, Any] - needs to have an 'index' key
# 2. eval_owner: str - just a string parameter
# Construct the unit dict with an 'index' key
unit = {
'index': 42,
'name': 'test_unit',
'data': [1, 2, 3]
}
# Construct the eval_owner string
eval_owner = 'test_evaluator'
# Define ARGS mapping all parameters
ARGS = {
'unit': unit,
'eval_owner': eval_owner
}
- 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
|
| parse_judge_label |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/longmemeval.py code served (permissive licence) · get_code("81adacf022aad3a6") How it ranRan 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
def parse_judge_label(content: str) -> str | None:
"""Read the judge's verdict the way this benchmark's harness reads it.
The shared parser looks for a fenced block, then for a ``"label"`` object with no
inner braces, and falls back to the whole reply. That is what LoCoMo's harness does
and it is verified against it. This benchmark's harness takes the first ``{`` to the
last ``}`` instead (reanswer_27b.py:56), which differs on a verdict carrying a brace
inside a string -- the shared parser truncates that into invalid JSON, costing a
retry and, if the judge repeats itself, the verdict.
Returns None when no verdict could be read, which asks the judge again rather than
recording a wrong answer.
"""
i, j = (content.find('{'), content.rfind('}'))
blob = content[i:j + 1] if i >= 0 and j > i else ''
if not blob:
return None
try:
label = json.loads(blob).get('label', '')
except (json.JSONDecodeError, AttributeError):
return None
label = str(label).strip().upper()
return label if label in ('CORRECT', 'WRONG') else None
# Test cases for valid content inputs
test_content_correct = '{"label": "CORRECT"}'
test_content_wrong = 'Some text {"label": "WRONG"} more text'
test_content_with_nested_brace = 'Start {"label": "CORRECT", "note": "brace}"} end'
test_content_no_label = '{"verdict": "yes"}'
test_content_empty = ''
test_content_no_braces = 'just plain text'
test_content_lowercase = '{"label": "correct"}'
ARGS = {
"content": '{"label": "CORRECT"}'
}
- 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
|
| render_profile_lines |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/_profile.py code served (permissive licence) · get_code("79bcd6cae41a9e2e") How it ranRan 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.
# Construct valid arguments for render_profile_lines
def render_profile_lines(profiles: list[dict]) -> list[str]:
"""The profile as dash-prefixed lines, or empty when there is nothing to show.
Reads both shapes the search response uses: a row wrapping ``profile_data``, and the
profile object itself.
"""
out: list[str] = []
for prof in profiles or ():
data = prof.get('profile_data') or prof
summary = str(data.get('summary') or '').strip()
if summary:
out.append(f'- {summary}')
for item in data.get('explicit_info') or []:
if not isinstance(item, dict):
continue
cat = str(item.get('category') or '').strip()
desc = str(item.get('description') or '').strip()
if desc:
out.append(f'- [{cat}] {desc}' if cat else f'- {desc}')
for item in data.get('implicit_traits') or []:
if not isinstance(item, dict):
continue
trait = str(item.get('trait') or item.get('name') or '').strip()
basis = str(item.get('basis') or '').strip()
if trait and basis:
out.append(f'- [trait] {trait} -- {basis}')
elif basis:
out.append(f'- [trait] {basis}')
return out
# Build test profiles
profile_1 = {
'profile_data': {
'summary': 'Test Profile 1',
'explicit_info': [
{'category': 'skill', 'description': 'Python programming'},
{'category': 'tool', 'description': 'PyTorch'},
],
'implicit_traits': [
{'trait': 'analytical', 'basis': 'demonstrated by complex problem solving'},
{'name': 'detail_oriented', 'basis': 'attention to code quality'},
]
}
}
profile_2 = {
'summary': 'Test Profile 2',
'explicit_info': [
{'description': 'Machine learning'},
{'category': 'domain', 'description': 'NLP'},
],
'implicit_traits': [
{'trait': 'creative', 'basis': 'novel approach to solutions'},
]
}
profile_3 = {
'profile_data': {
'summary': '',
'explicit_info': [],
'implicit_traits': []
}
}
ARGS = {
'profiles': [profile_1, profile_2, profile_3]
}
- 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
|
| score |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/metrics/core.py code served (permissive licence) · get_code("0fcb7854e27f1cad") How it ranRan 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 statistics as st
from collections.abc import Hashable, Mapping
# Create sample data for the score function
# Both core and gold are Mapping[Hashable, set[str]]
core = {
("user_1", "question_1"): {"evidence_a", "evidence_b", "evidence_c"},
("user_1", "question_2"): {"evidence_x", "evidence_y"},
("user_2", "question_1"): {"evidence_a", "evidence_d"},
("user_2", "question_3"): {"evidence_p"},
}
gold = {
("user_1", "question_1"): {"evidence_a", "evidence_b"},
("user_1", "question_2"): {"evidence_x", "evidence_y", "evidence_z"},
("user_2", "question_1"): {"evidence_a", "evidence_d", "evidence_e"},
("user_2", "question_3"): {"evidence_p", "evidence_q"},
}
ARGS = {
"core": core,
"gold": gold,
}
- 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
|
| score |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/metrics/ir.py code served (permissive licence) · get_code("f05168abaac86222") How it ranRan 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 math
import statistics as st
from collections.abc import Sequence
from typing import Any
# Define test data for the score function
# ranked[i] is question i's session ids in injection order
# gold[i] is the set of gold session ids for question i
ranked = [
['session_1', 'session_2', 'session_3', 'session_4', 'session_5'],
['session_a', 'session_b', 'session_c'],
['x', 'y', 'z', 'w'],
]
gold = [
{'session_1', 'session_3'},
{'session_a', 'session_c', 'session_d'},
{'x', 'w'},
]
ks = (1, 3, 5, 10, 20)
ARGS = {
'ranked': ranked,
'gold': gold,
'ks': ks,
}
- 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
|
| sender_id_of |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/locomo.py code served (permissive licence) · get_code("bffae22106ee2606") How it ranRan 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
torch.manual_seed(0)
ARGS = {
'conv_index': 42,
'speaker': 'Alice'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- 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
|
| session_epoch_ms |
Ran ran, honoured the contract we drafted |
EverMind-AI/EverMemOS/benchmarks/adapters/base.py code served (permissive licence) · get_code("ea4fd82cb4e6aefa") How it ranRan 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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 datetime import UTC, datetime
ARGS = {
"raw": "10:01 am on 1 April, 2025"
}
- 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 int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
- 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
|
| with_profile_block |
Ran ran; our contract draft was wrong, not the code |
EverMind-AI/EverMemOS/benchmarks/adapters/_profile.py code served (permissive licence) · get_code("8bbb4e8dfe96267f") How it ranRan 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
from collections.abc import Sequence
torch.manual_seed(0)
# Construct test data for with_profile_block function
memories_text = "Memory 1: User likes coffee\nMemory 2: User visited Paris last summer"
# Profile with profile_data wrapper (search response format)
profile_with_wrapper = {
'profile_data': {
'summary': 'Regular coffee drinker and travel enthusiast',
'explicit_info': [
{'category': 'Occupation', 'description': 'Software Engineer'},
{'category': 'Location', 'description': 'San Francisco'},
{'description': 'Speaks French fluently'}
],
'implicit_traits': [
{'trait': 'Curious', 'basis': 'Asks many questions about new technologies'},
{'trait': 'Organized', 'basis': 'Keeps detailed notes'},
{'basis': 'Prefers morning routines'}
]
}
}
# Profile object itself (direct format)
profile_direct = {
'summary': 'Night owl programmer',
'explicit_info': [
{'category': 'Hobby', 'description': 'Video game development'},
{'description': 'Contributes to open source'}
],
'implicit_traits': [
{'trait': 'Creative', 'basis': 'Builds unique game mechanics'},
{'name': 'Persistent', 'basis': 'Works on long-term projects'}
]
}
# Test with both profile formats
profiles_sequence = [profile_with_wrapper, profile_direct]
ARGS = {
'memories': memories_text,
'profiles': profiles_sequence
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- 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
|
| gold_of |
Not yet run unverified (harvested, no recorded run) |
EverMind-AI/EverMemOS/benchmarks/adapters/evermembench.py code served (permissive licence) · get_code("1f8067793c3ac627") How it ran |
| unresolved |
Not yet run unverified (harvested, no recorded run) |
EverMind-AI/EverMemOS/benchmarks/config.py code served (permissive licence) · get_code("fda2ec8d114f91ce") How it ran |