| candidate_thetas |
Ran ran, honoured the contract we drafted |
SesameAILabs/turnbench/turnbench/sweep.py code served (permissive licence) · get_code("ad8b779503c9b4f5") 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 numpy as np
from typing import Literal
class SpeakerProbs:
def __init__(self, prob: list[float]):
for p in prob:
if not 0.0 <= p <= 1.0:
raise ValueError(f'probabilities must be finite and in [0, 1], got {p}')
self.prob = prob
class ConversationProbs:
def __init__(self, conversation_id: str, speaker_1: SpeakerProbs, speaker_2: SpeakerProbs):
self.conversation_id = conversation_id
self.speaker_1 = speaker_1
self.speaker_2 = speaker_2
class ProbsFile:
def __init__(self, schema_version: Literal[1], task: Literal['eot', 'int'], frame_rate_hz: float, probs: list[ConversationProbs]):
if not (frame_rate_hz > 0.0 and frame_rate_hz != float('inf')):
raise ValueError(f'frame_rate_hz must be finite and > 0, got {frame_rate_hz}')
self.schema_version = schema_version
self.task = task
self.frame_rate_hz = frame_rate_hz
self.probs = probs
def by_conversation(self) -> dict[str, ConversationProbs]:
return {entry.conversation_id: entry for entry in self.probs}
# Create sample probability data
speaker_1_probs = SpeakerProbs(prob=[0.1, 0.5, 0.9, 0.3, 0.0, 0.7, 0.2, 0.95])
speaker_2_probs = SpeakerProbs(prob=[0.2, 0.4, 0.8, 0.1, 0.0, 0.6, 0.15, 0.85])
conversation_1 = ConversationProbs(
conversation_id="conv_001",
speaker_1=speaker_1_probs,
speaker_2=speaker_2_probs
)
speaker_1_probs_2 = SpeakerProbs(prob=[0.25, 0.75, 0.35, 0.65, 0.0, 0.5])
speaker_2_probs_2 = SpeakerProbs(prob=[0.3, 0.7, 0.4, 0.6, 0.0, 0.55])
conversation_2 = ConversationProbs(
conversation_id="conv_002",
speaker_1=speaker_1_probs_2,
speaker_2=speaker_2_probs_2
)
probs_file = ProbsFile(
schema_version=1,
task='eot',
frame_rate_hz=25.0,
probs=[conversation_1, conversation_2]
)
ARGS = {
'probs': probs_file,
'n': 512
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, pydantic — 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
|
| find_components |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/make_splits.py code served (permissive licence) · get_code("e31c0972b234d1f8") 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.
from collections import Counter, defaultdict
# The function find_components takes a dict where:
# - keys are sample identifiers (strings)
# - values are tuples of two speaker identifiers (strings)
# It performs union-find to group speakers that appear together
ARGS = {
"speakers_per_sample": {
"sample_1": ("speaker_A", "speaker_B"),
"sample_2": ("speaker_B", "speaker_C"),
"sample_3": ("speaker_D", "speaker_E"),
"sample_4": ("speaker_A", "speaker_C"),
}
}
- 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
|
| frame_count |
Ran ran, honoured the contract we drafted |
SesameAILabs/turnbench/turnbench/sweep.py code served (permissive licence) · get_code("458bf7590c27637b") 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.
import math
ARGS = {
"duration_s": 2.5,
"frame_rate_hz": 30.0,
}
- 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
|
| load_env |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/build_eot_validation.py code served (permissive licence) · get_code("0624cb8afa73c30c") 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.
from pathlib import Path
import tempfile
import os
# Create a temporary directory and a test env file
temp_dir = tempfile.mkdtemp()
env_file_path = Path(temp_dir) / ".env"
# Write a sample .env file with various formats
env_content = """
# This is a comment
KEY1=value1
KEY2=value2
KEY_WITH_SPACES = value with spaces
EMPTY_VALUE=
ANOTHER_KEY=another_value
"""
env_file_path.write_text(env_content)
ARGS = {
"p": env_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_env |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/make_splits.py code served (permissive licence) · get_code("ce524303f86102c9") 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.
from pathlib import Path
import tempfile
# Create a temporary .env file with some content
with tempfile.NamedTemporaryFile(mode='w', suffix='.env', delete=False) as f:
f.write("KEY1=value1\n")
f.write("KEY2=value2\n")
f.write("# This is a comment\n")
f.write("KEY3=value3\n")
f.write("\n")
f.write("KEY4=value with spaces\n")
temp_env_path = f.name
env_path = Path(temp_env_path)
ARGS = {
'p': env_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_env |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/analysis/analyze.py code served (permissive licence) · get_code("14f8fff951c0239d") 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.
from pathlib import Path
import tempfile
# Create a temporary .env file with sample content
temp_dir = Path(tempfile.mkdtemp())
env_file = temp_dir / ".env"
env_file.write_text("""
# This is a comment
DATABASE_URL=postgresql://localhost/mydb
API_KEY=secret123
DEBUG=true
# Another comment
EMPTY_VALUE=
WHITESPACE = value_with_spaces
""")
ARGS = {
"path": env_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_submission |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/submission.py code served (permissive licence) · get_code("b628ebf60cdcf4f2") 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 Submission. 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
from pathlib import Path
from tempfile import NamedTemporaryFile
# Create a valid submission JSON
submission_data = {
"schema_version": 1,
"predictions": [
{
"conversation_id": "conv_001",
"speaker_1": {
"eot": [1.5, 3.2, 5.8],
"interruption": [2.1, 4.3]
},
"speaker_2": {
"eot": [2.0, 4.5],
"interruption": [1.2, 3.5, 6.1]
}
},
{
"conversation_id": "conv_002",
"speaker_1": {
"eot": [0.5, 2.3],
"interruption": []
},
"speaker_2": {
"eot": [],
"interruption": [1.1, 3.7]
}
}
]
}
# Write to a temporary file
temp_file = NamedTemporaryFile(mode='w', suffix='.json', delete=False)
json.dump(submission_data, temp_file)
temp_file.close()
# Create Path object
submission_path = Path(temp_file.name)
ARGS = {
"path": submission_path
}
- 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 Submission — a Submission output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Submission 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
|
| map_events |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/gold.py code served (permissive licence) · get_code("5992b840d242b765") 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 2, 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
# Sample events with (start, end, label) tuples
# Some have extra trailing fields that should be dropped
events = [
(0.0, 1.5, "coarse_label_1"),
(1.5, 3.0, "coarse_label_2", "extra text field"),
(3.0, 4.5, "unmapped_label"),
(4.5, 6.0, "coarse_label_1", "more", "extra", "fields"),
]
# Canonical mapping: maps fine labels to coarse/canonical labels
canonical = {
"coarse_label_1": "canonical_A",
"coarse_label_2": "canonical_B",
}
ARGS = {
"events": events,
"canonical": canonical,
}
- 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 list, ndim 2, 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
|
| merge_intervals |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
SesameAILabs/turnbench/turnbench/gold.py code served (permissive licence) · get_code("2cbff8cc05f1ba97") 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 2, 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.
# Setup for merge_intervals function
ARGS = {
"intervals": [
(1.0, 3.0),
(2.0, 5.0),
(7.0, 9.0),
(8.0, 10.0),
(15.0, 18.0)
]
}
- 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 2, 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
|
| parse_srt |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/analysis/analyze.py code served (permissive licence) · get_code("c19a94897e707f8b") 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 2, 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.
from pathlib import Path
import tempfile
# Create a temporary SRT file with valid content
srt_content = """1
00:00:05,000 --> 00:00:10,500
[Label1] This is the first subtitle
2
00:00:15,250 --> 00:00:20,750
[Label2] This is the second subtitle
3
00:00:25,100 --> 00:00:30,900
This subtitle has no label
"""
with tempfile.NamedTemporaryFile(mode='w', suffix='.srt', delete=False, encoding='utf-8') as f:
f.write(srt_content)
temp_srt_path = Path(f.name)
ARGS = {
'path': temp_srt_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 2, 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
|
| path_for |
Ran ran; our contract draft was wrong, not the code |
SesameAILabs/turnbench/turnbench/durations.py code served (permissive licence) · get_code("decfb09e4d28fb0e") 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 PosixPath. 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 pathlib import Path
# The function path_for takes a split parameter (a string) and returns a Path object
# constructed by combining _DIR with a formatted string
# Looking at the function body:
# - It takes a parameter 'split' which is a string
# - It uses string formatting with the split parameter
# - It returns a Path object
# We need to provide a valid string for the 'split' parameter
ARGS = {
'split': 'train'
}
- 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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
|
| qualifies |
Ran ran, violated the contract we drafted |
SesameAILabs/turnbench/turnbench/score.py code served (permissive licence) · get_code("3f3d45bf03a8efc3") 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 bool, ndim 0, dtype family float, 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.
import math
from dataclasses import dataclass, field
import numpy as np
@dataclass(frozen=True)
class Latency:
p10: float
p50: float
p90: float
@dataclass
class TaskScore:
tp: int = 0
fn: int = 0
fp: int = 0
tn: int = 0
latencies_ms: list[float] = field(default_factory=list)
@property
def recall(self) -> float:
denominator = self.tp + self.fn
return self.tp / denominator if denominator else float('nan')
@property
def fp_rate(self) -> float:
denominator = self.fp + self.tn
return self.fp / denominator if denominator else float('nan')
def latency(self) -> Latency:
if not self.latencies_ms:
return Latency(float('nan'), float('nan'), float('nan'))
latencies = np.asarray(self.latencies_ms, dtype=np.float64)
return Latency(*(float(np.percentile(latencies, p)) for p in (10, 50, 90)))
def latencies(score: TaskScore) -> str:
latency = score.latency()
if math.isnan(latency.p50):
return '—'
return f'{latency.p10:.0f}/{latency.p50:.0f}/{latency.p90:.0f}'
def qualifies(score: TaskScore, *, fp_ceiling: float) -> bool:
return score.fp_rate <= fp_ceiling
# Create a TaskScore with known tp, fn, fp, tn values
# fp_rate = fp / (fp + tn)
# Example: fp=2, tn=8 => fp_rate = 2/10 = 0.2
score = TaskScore(
tp=5,
fn=3,
fp=2,
tn=8,
latencies_ms=[10.5, 20.3, 15.1, 25.7, 12.9]
)
# fp_ceiling should be set such that it either allows or rejects the score
# score.fp_rate = 2 / (2 + 8) = 0.2
# We'll set fp_ceiling to 0.25 so the score qualifies
fp_ceiling = 0.25
ARGS = {
'score': score,
'fp_ceiling': fp_ceiling
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type bool, ndim 0, dtype family float, 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
|
| resample |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
SesameAILabs/turnbench/turnbench/build_eot_validation.py code served (permissive licence) · get_code("1cc8770c6d63997e") 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 ndarray, ndim 1, dtype family float, shape (1412,) 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.
import numpy as np
from scipy.signal import resample_poly
# Create sample audio data
# Using a small 1D array to represent audio samples
data = np.random.randn(1024).astype(np.float32)
# Define source and target sample rates
src_sr = 16000
tgt_sr = 22050
ARGS = {
"data": data,
"src_sr": src_sr,
"tgt_sr": tgt_sr,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type ndarray, ndim 1, dtype family float, shape (1412,) — shape (1412,) 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
|
| srt_seconds |
Ran ran, honoured the contract we drafted |
SesameAILabs/turnbench/turnbench/analysis/analyze.py code served (permissive licence) · get_code("a930d98c14cc6e0f") 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 float, ndim 0, dtype family float, 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.
import re
SRT_TIME = re.compile('(\\d+):(\\d{2}):(\\d{2}):(\\d{3})')
def srt_seconds(ts: str) -> float:
h, m, s, ms = SRT_TIME.match(ts).groups()
return int(h) * 3600 + int(m) * 60 + int(s) + int(ms) / 1000
ARGS = {
"ts": "01:23:45,678"
}
- 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 float, ndim 0, dtype family float, 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
|
| load_durations |
Not yet run unverified (harvested, no recorded run) |
SesameAILabs/turnbench/turnbench/durations.py code served (permissive licence) · get_code("4d237f2733eb3957") How it ran |
| load_durations_for_source |
Not yet run unverified (harvested, no recorded run) |
SesameAILabs/turnbench/turnbench/durations.py code served (permissive licence) · get_code("fd90476bbeb403a5") How it ran |
| run_module |
Not yet run unverified (harvested, no recorded run) |
SesameAILabs/turnbench/turnbench/parity.py code served (permissive licence) · get_code("d4a287c284a27a84") How it ran |