| as_finite |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/export_llama8b_b4_snapshot.py code served (permissive licence) · get_code("9b8fa2e4fdd04098") 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 math
# Analyze the function:
# - token: str - a string token that may contain commas and represent a number
# - context: str - a string describing the context for error messages
# The function converts token to float, checks it's finite, and returns it
# Test cases:
# 1. Valid numeric token: "123.45"
# 2. Valid numeric token with comma: "1,234.56"
# 3. Invalid token (non-numeric): would raise ValueError
# 4. Nonfinite value (inf/nan): would raise ValueError
# We'll use a simple valid case
ARGS = {
"token": "1,234.56",
"context": "test_parsing"
}
- 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
|
| confidence_interval |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_reconstruction_20260805/build_summary.py code served (permissive licence) · get_code("f923592f03a7775c") 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 statistics
torch_not_needed = False
# The function takes a list of floats and computes a confidence interval
# It uses len() and statistics.stdev(), so we need a list with at least 2 elements
values = [1.5, 2.3, 3.1, 2.8, 1.9, 2.5]
ARGS = {
"values": values
}
- 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
|
| e2m1_reconstruct |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/p_format_range_diagnostic.py code served (permissive licence) · get_code("9c5aac99837c1eb5") 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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
torch.manual_seed(0)
# Create small test tensors
# values: quantized values that will be normalized by scale
# scale: scaling factors for normalization
values = torch.tensor([
[0.5, 1.0, 1.5, 2.0],
[0.25, 0.75, 1.25, 1.75]
], dtype=torch.float32)
scale = torch.tensor([
[2.0, 2.0, 2.0, 2.0],
[1.0, 1.0, 1.0, 1.0]
], dtype=torch.float32)
ARGS = {
"values": values,
"scale": scale,
}
- 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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
|
| exact_int |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/fetch_llama8b_b4_complete.py code served (permissive licence) · get_code("9d9fed19126fd7f0") 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
def finite_float(value, *, context):
try:
parsed = float(value)
except (TypeError, ValueError) as error:
raise ValueError(f'{context}: invalid numeric value {value!r}') from error
if not math.isfinite(parsed):
raise ValueError(f'{context}: nonfinite numeric value')
return parsed
def exact_int(value, *, context):
parsed = finite_float(value, context=context)
integer = int(parsed)
if parsed != integer:
raise ValueError(f'{context}: expected an integer, found {value!r}')
return integer
ARGS = {
'value': 42,
'context': 'test_context'
}
- 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
|
| finite_float |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/fetch_llama8b_b4_complete.py code served (permissive licence) · get_code("2244ed035e0955b3") 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 math
from typing import Any
torch_imported = False
try:
import torch
torch_imported = True
except ImportError:
pass
# The function takes two parameters: value and context
# value: Can be any type that can be converted to float
# context: A string describing the context for error messages
# Test case 1: Valid finite float
ARGS = {
"value": 42.5,
"context": "test_context"
}
- 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 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
|
| format_tex_rows |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_b300_tuning_20260802/build_summary.py code served (permissive licence) · get_code("aa08fe3e1e9a2956") 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 = {
'rows': [
{
'label': 'kernel_v1_test',
'persistent_grid_sms': 128,
'native_ex2_density': 0.85,
'timing_ms': 1.234567,
'tflops': 256.789,
'cosine': 0.999876,
'relative_l2': 0.001234,
'rmse': 0.005678
},
{
'label': 'kernel_v2_optimized',
'persistent_grid_sms': 256,
'native_ex2_density': 0.92,
'timing_ms': 0.876543,
'tflops': 512.345,
'cosine': 0.998765,
'relative_l2': 0.002345,
'rmse': 0.003456
},
{
'label': 'baseline_impl_ref',
'persistent_grid_sms': 64,
'native_ex2_density': 0.75,
'timing_ms': 2.345678,
'tflops': 128.456,
'cosine': 0.997654,
'relative_l2': 0.005678,
'rmse': 0.008901
}
]
}
- 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_cases |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/build_summary.py code served (permissive licence) · get_code("f50de98ba6a7a99b") 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 tempfile
from pathlib import Path
# Create a temporary directory structure with test case files
temp_dir = tempfile.TemporaryDirectory()
root = Path(temp_dir.name)
# Create the directory structure: shard0/cases/ and shard1/cases/
for shard_idx in range(2):
shard_dir = root / f"shard{shard_idx}" / "cases"
shard_dir.mkdir(parents=True, exist_ok=True)
# Define the variants and labels
VARIANT_LABELS = {
'nv-nv': 'TK NV/NV fixed schedule',
'mx-nv': 'TK MX/NV fixed schedule',
'nv-mx': 'TK NV/MX fixed schedule',
'mx-mx': 'TK MX/MX fixed schedule',
'nvmx-fast': 'TK NV/MX fast',
'nvmx-balanced': 'TK NV/MX balanced',
'nvmx-accurate': 'TK NV/MX accurate',
'fp8': 'TK NV/FP8'
}
VARIANT_ORDER = tuple(VARIANT_LABELS)
# Create 48 test case files (6 labels × 8 variants)
labels = ['label_a', 'label_b', 'label_c', 'label_d', 'label_e', 'label_f']
case_count = 0
shard_idx = 0
for label in labels:
for variant in VARIANT_ORDER:
shard_dir = root / f"shard{shard_idx}" / "cases"
shard_dir.mkdir(parents=True, exist_ok=True)
case_data = {
'status': 'complete',
'label': label,
'variant': variant,
'shape': [2, 4, 8],
'benchmark': {
'shape': [2, 4, 8],
'protocol': {
'factory': 'HAO create_nvfp4_attention_tensors',
'warmup_ms': 300,
'rep_ms': 3000,
'timer': 'triton.testing.do_bench median'
}
}
}
case_file = shard_dir / f"case_{case_count}.json"
case_file.write_text(json.dumps(case_data))
case_count += 1
if case_count % 8 == 0:
shard_idx = 1
ARGS = {
'root': root
}
- 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_json |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_b300_tuning_20260802/build_summary.py code served (permissive licence) · get_code("cf9fc9656dfc42dd") 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 tempfile
from pathlib import Path
# Create a temporary directory and a JSON file
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name)
# Create a simple JSON file with some test data
test_data = {
"key1": "value1",
"key2": 42,
"key3": [1, 2, 3],
"key4": {"nested": "dict"}
}
json_file = temp_path / "test.json"
with json_file.open(mode='w', encoding='utf-8') as f:
json.dump(test_data, f)
# Define ARGS with the path parameter
ARGS = {
"path": json_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_source_map |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/fetch_llama8b_training_curves.py code served (permissive licence) · get_code("477d56f3de6777ff") 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
from pathlib import Path
import tempfile
# Create a temporary directory and file for testing
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name) / "source_map.json"
# Create valid source map JSON matching the expected schema
source_map_data = {
"schema": "tkfa4.metric_sources.v1",
"runs": {
"e4_fp8": "entity/project/run_e4_fp8",
"e4_mx": "entity/project/run_e4_mx",
"nv_fp8": "entity/project/run_nv_fp8",
"nv_mx": "entity/project/run_nv_mx"
}
}
# Write the JSON to the temporary file
temp_path.write_text(json.dumps(source_map_data))
ARGS = {
"path": temp_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
|
| mean_layer_metric |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_reconstruction_20260805/build_summary.py code served (permissive licence) · get_code("27e09174cf215156") 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 statistics
# Construct the result dict with the required nested structure
result = {
'summary': {
'attention': {
'layer_output_error': {
'layer_0': {'accuracy': 0.95, 'loss': 0.05},
'layer_1': {'accuracy': 0.92, 'loss': 0.08},
'layer_2': {'accuracy': 0.97, 'loss': 0.03},
}
}
}
}
name = 'accuracy'
ARGS = {
'result': result,
'name': name,
}
- 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
|
| metric |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/build_summary.py code served (permissive licence) · get_code("e5b3157e0edbda66") 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 torch
import numpy as np
from typing import Any
# Construct arguments for the metric function
# The function takes:
# - value: dict[str, Any] - a dictionary that will be accessed with .get(name)
# - name: str - a key to look up in the dictionary
# Create a sample value dict with some metric data
value = {
"accuracy": 0.95,
"loss": 0.042,
"f1_score": 0.89,
"precision": 0.92
}
# Create a sample name to look up
name = "accuracy"
ARGS = {
"value": value,
"name": name
}
- 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 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
|
| metrics |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_hao_table_gb200_20260802/build_summary.py code served (permissive licence) · get_code("a5706b1f7b9e38c6") 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
torch.manual_seed(0)
# The function takes a dict or None as input
# When values is a dict, it expects keys: 'cosine', 'relative_l2', 'rmse'
# Each value should be convertible to float
# Case 1: values is None (returns default metrics)
ARGS_none = {
'values': None
}
# Case 2: values is a dict with the required keys
values_dict = {
'cosine': 0.95,
'relative_l2': 0.05,
'rmse': 0.1
}
ARGS_dict = {
'values': values_dict
}
# Use the dict case as the primary ARGS
ARGS = ARGS_dict
- 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 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
|
| normalize_rows |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/p_format_range_diagnostic.py code served (permissive licence) · get_code("9bd15075d9712845") 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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
torch.manual_seed(0)
# Create a small tensor for testing normalize_rows
# Shape: (2, 4) - batch of 2, dimension of 4
values = torch.tensor([
[1.0, 2.0, 3.0, 4.0],
[0.0, 0.0, 0.0, 0.0]
], dtype=torch.float32)
ARGS = {
"values": values
}
- 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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
|
| nv_reconstruct |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/p_format_range_diagnostic.py code served (permissive licence) · get_code("b16f62f94f0cc6fe") 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. 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)
# Build a small probabilities tensor
# The function reshapes it to (*shape[:-1], -1, 32)
# So the last dimension must be divisible into groups of 32
# Let's use shape (2, 4, 64) so it reshapes to (2, 4, 2, 32)
probabilities = torch.randn(2, 4, 64, dtype=torch.float32)
# global_encode_scale is a float
global_encode_scale = 1.0
ARGS = {
"probabilities": probabilities,
"global_encode_scale": global_encode_scale,
}
- 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 tuple — a tuple 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
|
| percentile |
Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/export_llama8b_b4_snapshot.py code served (permissive licence) · get_code("5284c9d8206ffe40") 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 math
ARGS = {
'values': [1.5, 2.3, 3.7, 4.2, 5.1, 6.8],
'probability': 0.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 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
|
| sha256_file |
Ran ran; our contract draft was wrong, not the code |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/export_llama8b_b4_snapshot.py code served (permissive licence) · get_code("cb1f4090fbd1ecb5") 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 hashlib
from pathlib import Path
import tempfile
import os
# Create a temporary file with some content
temp_dir = tempfile.mkdtemp()
temp_file_path = Path(temp_dir) / "test_file.txt"
# Write some content to the temporary file
with open(temp_file_path, 'wb') as f:
f.write(b"Hello, this is test content for SHA256 hashing.")
ARGS = {
'path': temp_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 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
|
| shape_key |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_hao_table_gb200_20260802/build_summary.py code served (permissive licence) · get_code("49921aed5fa99f96") 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 int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
record = {
'shape': {
'batch': 2,
'seqlen': 3,
'heads': 4,
'dim': 5
}
}
ARGS = {
'record': record
}
- 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 tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| update_ewm |
Ran ran, honoured the contract we drafted |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/fetch_llama8b_training_curves.py code served (permissive licence) · get_code("eae4c288e4388d94") 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 math
HALF_LIFE_TOKENS = 1000000000.0
def update_ewm(previous: float | None, previous_tokens: int | None, loss: float, tokens: int) -> float:
if previous is None or previous_tokens is None:
return loss
delta_tokens = max(0, tokens - previous_tokens)
alpha = 1.0 - math.exp2(-delta_tokens / HALF_LIFE_TOKENS)
return alpha * loss + (1.0 - alpha) * previous
# Setup code
ARGS = {
"previous": 0.5,
"previous_tokens": 1000,
"loss": 0.3,
"tokens": 2000
}
- 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
|
| collect_rows |
Not yet run unverified (harvested, no recorded run) |
MrHuff/fp4-fa4/results/fp4_fa4_unified_20260801/build_summary.py code served (permissive licence) · get_code("8e2a7cf9b7aded2c") How it ran |
| find_one |
Not yet run unverified (harvested, no recorded run) |
MrHuff/fp4-fa4/results/fp4_fa4_b300_tuning_20260802/build_summary.py code served (permissive licence) · get_code("71f764ba6e3d09ee") How it ran |
| load_source_map |
Not yet run unverified (harvested, no recorded run) |
MrHuff/fp4-fa4/results/fp4_fa4_technical_report_v2_20260819/fetch_llama8b_b4_complete.py code served (permissive licence) · get_code("0b361f751c283db0") How it ran |
| load_variant |
Not yet run unverified (harvested, no recorded run) |
MrHuff/fp4-fa4/results/fp4_fa4_hao_table_gb200_20260802/build_summary.py code served (permissive licence) · get_code("826414b6b6eddf48") How it ran |