| add_legend |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/paper_figures/paper_style.py code served (permissive licence) · get_code("d1642938c92316ef") 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 Legend. 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 matplotlib.pyplot as plt
import matplotlib.patches as mpatches
# Create a minimal axes object with legend capability
fig, ax = plt.subplots()
# Add some dummy data to the axes so legend has something to reference
ax.plot([1, 2, 3], [1, 2, 3], label='line1')
ax.plot([1, 2, 3], [3, 2, 1], label='line2')
ARGS = {
'ax': ax
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- matplotlib — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Legend — a Legend output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Legend 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
|
| aggregate_hops |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/paper_figures/action_infection/extract_stats.py code served (permissive licence) · get_code("fa3859ff74abc013") 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
def wilson_ci(k, n, z=1.96):
if n == 0:
return (0.0, 0.0, 0.0)
p = k / n
denom = 1 + z ** 2 / n
center = (p + z ** 2 / (2 * n)) / denom
margin = z / denom * math.sqrt(p * (1 - p) / n + z ** 2 / (4 * n ** 2))
return (p, max(0, center - margin), min(1, center + margin))
def aggregate_hops(evals, max_hops=5):
hop_succ = [0] * max_hops
hop_tested = [0] * max_hops
hop_n_evals = [0] * max_hops
for e in evals:
bs = e.get('batch_size', 30)
seen = set()
for hs in e['hop_stats']:
h = hs['hop'] - 1
hop_succ[h] += hs['successes']
hop_tested[h] += hs['valid']
hop_n_evals[h] += 1
seen.add(h)
for h in range(max_hops):
if h not in seen:
hop_tested[h] += bs
hop_n_evals[h] += 1
rows = {}
total_succ = 0
total_tested = 0
for h in range(max_hops):
prob, ci_lo, ci_hi = wilson_ci(hop_succ[h], hop_tested[h])
rows[h] = {'prob': prob, 'ci_lo': ci_lo, 'ci_hi': ci_hi, 'succ': hop_succ[h], 'tested': hop_tested[h], 'n_evals': hop_n_evals[h]}
total_succ += hop_succ[h]
total_tested += hop_tested[h]
avg_prob, avg_ci_lo, avg_ci_hi = wilson_ci(total_succ, total_tested)
rows['avg'] = {'prob': avg_prob, 'ci_lo': avg_ci_lo, 'ci_hi': avg_ci_hi, 'succ': total_succ, 'tested': total_tested}
return rows
evals = [
{
'batch_size': 30,
'hop_stats': [
{'hop': 1, 'successes': 15, 'valid': 20},
{'hop': 2, 'successes': 10, 'valid': 18},
{'hop': 3, 'successes': 5, 'valid': 12},
]
},
{
'batch_size': 25,
'hop_stats': [
{'hop': 1, 'successes': 12, 'valid': 22},
{'hop': 2, 'successes': 8, 'valid': 16},
]
},
]
ARGS = {
'evals': evals,
'max_hops': 5,
}
- 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
|
| build_user_prompt |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/helper_scripts/classify_failures.py code served (permissive licence) · get_code("5163aeeb968db960") 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)
# Construct arguments for build_user_prompt
spread = "The spreader has demonstrated clear transmission patterns"
infection = "The target shows active infection markers"
spreader_summary = "Based on contact tracing analysis, the spreader was in proximity to multiple individuals during the incubation period. Medical records indicate symptomatic presentation 48 hours prior to detection."
target_summary = "The target individual tested positive 72 hours after last known contact with the spreader. PCR results confirm active viral load consistent with recent infection timeline."
ARGS = {
"spread": spread,
"infection": infection,
"spreader_summary": spreader_summary,
"target_summary": target_summary
}
- 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
|
| containment |
Ran ran, honoured the contract we drafted |
frotaur/mindvirus-viruschain/paper_figures/action_mutation/plot_drift_light.py code served (permissive licence) · get_code("c837992079975d70") 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
def containment(source: str, target: str, n: int=6) -> float:
tokens_s = re.findall('\\w+', source.lower())
tokens_t = re.findall('\\w+', target.lower())
if len(tokens_s) < n:
return 0.0
src = {tuple(tokens_s[i:i + n]) for i in range(len(tokens_s) - n + 1)}
tgt = {tuple(tokens_t[i:i + n]) for i in range(len(tokens_t) - n + 1)}
if not src:
return 0.0
return len(src & tgt) / len(src)
# Setup code
source_text = "the quick brown fox jumps over the lazy dog and the fox runs fast"
target_text = "the quick brown fox jumps over the lazy dog with a fox running"
n_gram_size = 6
ARGS = {
"source": source_text,
"target": target_text,
"n": n_gram_size
}
- 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
|
| draw_rounded_panel |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/paper_figures/paper_style.py code served (permissive licence) · get_code("6bd41ccc19e6b21f") 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 FancyBboxPatch. 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 matplotlib.pyplot as plt
import matplotlib.patches as mpatches
fig, ax = plt.subplots(figsize=(8, 6))
ARGS = {
'ax': ax,
'fig': fig,
'left_pad': 0.02,
'right_pad': 0.005,
'top_pad': 0.025,
'bottom_pad': 0.045
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- matplotlib — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type FancyBboxPatch — a FancyBboxPatch output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a FancyBboxPatch 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
|
| fmt_value |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/paper_figures/paper_style.py code served (permissive licence) · get_code("96a74c0222d65b6d") 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)
ARGS = {
'v': 42.0
}
- 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
|
| fully_connected_topology |
Ran ran; our contract draft was wrong, not the code |
BucketofJava/mind-virus-code-agent/eval_package/topologies.py pointer only (licence: NONE) · get_code("7cc606c4697284e8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, BucketofJava/mind-virus-code-agent when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| generate_compose |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/src/virus_chain/sandbox_gen.py code served (permissive licence) · get_code("8f0760ba49a02a84") 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 tempfile
from pathlib import Path
import yaml
ARGS = {
'agent_count': 3,
'sandbox_dir': None,
'image': 'spread-eval-sandbox-no-delete:latest',
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- yaml — 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
|
| get_topology |
Ran ran; our contract draft was wrong, not the code |
BucketofJava/mind-virus-code-agent/eval_package/topologies.py pointer only (licence: NONE) · get_code("ec944f0e823ecb84") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, BucketofJava/mind-virus-code-agent when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| lighten |
Ran ran, honoured the contract we drafted |
frotaur/mindvirus-viruschain/paper_figures/action_infection/plot_figures.py code served (permissive licence) · get_code("59645054ffcc5799") 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 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 matplotlib.pyplot as plt
from matplotlib.colors import to_rgb
ARGS = {
"color": "blue",
"amount": 0.45
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- matplotlib — 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
|
| load_payload |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/src/virus_chain/utils.py code served (permissive licence) · get_code("bc4ff12f279fd368") 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 PayloadResult. 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 to use as config_dir
temp_dir = tempfile.TemporaryDirectory()
config_dir = Path(temp_dir.name)
# Create a temporary seed/payload file with the required structure
payload_file = config_dir / "payload.json"
payload_data = {
"payload": "This is the main payload content",
"theme": "test_theme",
"ideology": "neutral",
"ideology_questions": ["question1", "question2"]
}
payload_file.write_text(json.dumps(payload_data))
# Create the config dict pointing to the payload file
config = {
"seed_file": "./payload.json"
}
ARGS = {
"config": config,
"config_dir": config_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 PayloadResult — a PayloadResult output has no array shape of its own; none is 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
|
| make_row |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/paper_figures/action_infection/extract_stats.py code served (permissive licence) · get_code("5d5bf4fdf196c97d") 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 the stats dictionary
# The function expects stats to be indexable by integers 0 to max_hops-1
# and also by the string 'avg'
# Each entry should be a dict with keys: 'prob', 'ci_lo', 'ci_hi', 'succ', 'tested', 'n_evals'
stats = {}
# Add stats for each hop (0 to 4, since max_hops=5)
for h in range(5):
stats[h] = {
'prob': 0.75 + h * 0.02,
'ci_lo': 0.70 + h * 0.02,
'ci_hi': 0.80 + h * 0.02,
'succ': 10 + h * 2,
'tested': 20 + h * 3,
'n_evals': 100 + h * 10
}
# Add average stats
stats['avg'] = {
'prob': 0.78,
'ci_lo': 0.73,
'ci_hi': 0.83,
'succ': 50,
'tested': 110,
}
ARGS = {
'series_name': 'test_series',
'stats': stats,
'max_hops': 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 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
|
| parse_classification |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/helper_scripts/classify_failures.py code served (permissive licence) · get_code("451cc33814f970be") 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
ARGS = {
'text': """CATEGORY: spreader_refusal
CONFIDENCE: high
REASONING: The subject refused to engage in spreading misinformation."""
}
- 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
|
| resolve_path |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/src/virus_chain/utils.py code served (permissive licence) · get_code("7aecc8cb4ce20001") 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.
from pathlib import Path
# The function takes two parameters:
# 1. path_str: str - a string representing a path
# 2. config_dir: Path - a Path object representing the config directory
# We'll create test cases for the different path scenarios
config_dir = Path("/home/user/config")
# Test case: relative path starting with ./
path_str = "./data/model.pt"
ARGS = {
"path_str": path_str,
"config_dir": config_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 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
|
| scan_failures |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/helper_scripts/classify_failures.py code served (permissive licence) · get_code("faa85121a63e97aa") 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 tempfile
import json
from pathlib import Path
# Create a temporary directory structure that mimics the expected layout
tmpdir = tempfile.TemporaryDirectory()
base = Path(tmpdir.name)
# Create a variable directory (not a hop_ or reprobe directory)
var_dir = base / "experiment_1"
var_dir.mkdir(parents=True, exist_ok=True)
# Create summary.json in var_dir
summary_data = {"status": "completed"}
(var_dir / "summary.json").write_text(json.dumps(summary_data))
# Create failure_classifications.json (empty to start)
(var_dir / "failure_classifications.json").write_text(json.dumps({}))
# Create hop_0 directory with results
hop_dir = var_dir / "hop_0"
hop_dir.mkdir(parents=True, exist_ok=True)
res_dir = hop_dir / "results"
res_dir.mkdir(parents=True, exist_ok=True)
# Create a result file with failure data
result_data = {
"success": False,
"hop_result": {
"target_judge": {
"summary": "target failed for reason X"
},
"spreader_judge": {
"summary": "spreader failed for reason Y"
},
"spreader_spread": "partial",
"target_infection": "moderate"
}
}
(res_dir / "result_0.json").write_text(json.dumps(result_data))
# Create another result file for variety
result_data_2 = {
"success": False,
"hop_result": {
"target_judge": {
"summary": "another target failure"
},
"spreader_judge": None,
"spreader_spread": "full",
"target_infection": "severe"
}
}
(res_dir / "result_1.json").write_text(json.dumps(result_data_2))
# Create a successful result (should be skipped)
result_success = {
"success": True,
"hop_result": {}
}
(res_dir / "result_2.json").write_text(json.dumps(result_success))
# Create another variable directory to test rglob
var_dir_2 = base / "experiment_2"
var_dir_2.mkdir(parents=True, exist_ok=True)
(var_dir_2 / "summary.json").write_text(json.dumps({"status": "completed"}))
(var_dir_2 / "failure_classifications.json").write_text(json.dumps({}))
hop_dir_2 = var_dir_2 / "hop_0"
hop_dir_2.mkdir(parents=True, exist_ok=True)
res_dir_2 = hop_dir_2 / "results"
res_dir_2.mkdir(parents=True, exist_ok=True)
result_data_3 = {
"success": False,
"hop_result": {
"target_judge": {
"summary": "failure in second experiment"
},
"spreader_judge": {
"summary": "spreader issue"
},
"spreader_spread": "none",
"target_infection": "none"
}
}
(res_dir_2 / "result_0.json").write_text(json.dumps(result_data_3))
ARGS = {
"base": base
}
- 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
|
| separate_topology |
Ran ran; our contract draft was wrong, not the code |
BucketofJava/mind-virus-code-agent/eval_package/topologies.py pointer only (licence: NONE) · get_code("e41f5cffeddb0bb3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, BucketofJava/mind-virus-code-agent when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| short_model_name |
Ran ran; our contract draft was wrong, not the code |
frotaur/mindvirus-viruschain/src/virus_chain/utils.py code served (permissive licence) · get_code("267a091952386a5e") 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 torch.nn as nn
import numpy as np
import re
torch.manual_seed(0)
# The function takes a model string and normalizes it
# Reading the body: it strips whitespace, splits on '/', removes date suffixes and preview/latest tags
# The parameter is just a string, so we need valid model name strings
ARGS = {
"model": "anthropic/claude-haiku-4-5-20251001"
}
- 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
|
| wilson_ci |
Ran ran, honoured the contract we drafted |
frotaur/mindvirus-viruschain/paper_figures/action_infection/extract_stats.py code served (permissive licence) · get_code("69ef525f0e66024e") 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 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 math
def wilson_ci(k, n, z=1.96):
if n == 0:
return (0.0, 0.0, 0.0)
p = k / n
denom = 1 + z ** 2 / n
center = (p + z ** 2 / (2 * n)) / denom
margin = z / denom * math.sqrt(p * (1 - p) / n + z ** 2 / (4 * n ** 2))
return (p, max(0, center - margin), min(1, center + margin))
ARGS = {
"k": 7,
"n": 10,
"z": 1.96
}
- 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 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
|
| wilson_ci_simple |
Ran ran, honoured the contract we drafted |
frotaur/mindvirus-viruschain/paper_figures/action_infection/plot_figures.py code served (permissive licence) · get_code("feda53cea939ab29") 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 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 math import sqrt
# wilson_ci_simple takes three parameters: k (successes), n (total trials), and z (confidence level)
# Looking at the function body:
# - k is used in division: k / n
# - n is used in multiple divisions and as a denominator
# - z is used in arithmetic operations (z ** 2, z / denom)
# All three should be numeric values (int or float)
# Create valid arguments for wilson_ci_simple
# k: number of successes (should be <= n)
# n: total number of trials
# z: z-score for confidence interval (default 1.96 for 95% CI)
ARGS = {
"k": 7, # 7 successes
"n": 10, # out of 10 trials
"z": 1.96 # 95% confidence interval
}
- 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 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
|