gpt-5.6-sol
nano-gpt-data-curation — graded by the task's verifier against a measured baseline.
- backend
- modal
- variant
- codex azure_ai/gpt-5.6-sol
- metric
- held-out multi-domain perplexity
- actions
- 217
- duration
- 52m
- recorded
- 2026-08-04
run iddclm-nano-curation__nfvFpyv
Everything gpt-5.6-sol did on this task, in order.
download JSON ↗encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:64176,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 39
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "39",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 0.0 seconds
Output:
{"chunk_id":"8e2e82","wall_time_seconds":15.916861235,"exit_code":0,"original_token_count":38,"output":"HELDOUT_PPL 425.501 loss 6.0533 train_s 53 /tmp/dev_train.npy\n(dev PPL on multi_dev; official uses a hidden disjoint sample of the same HQ domain)\n"}The first balanced heuristic beats random, but only modestly (dev perplexity 425.5 versus 476.7). That indicates generic “clean prose” is insufficient here; I’m testing the source-quality prior separately, then I’ll add a target-distribution similarity signal rather than merely tightening boilerplate rules.
encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:64717,chars:\"\",yield_time_ms:30000,max_output_tokens:2000});\ntext(JSON.stringify(r));\n"
}exec result
Script completed
Wall time 0.0 seconds
Output:
{"chunk_id":"4acd3a","wall_time_seconds":0.000002891,"exit_code":0,"original_token_count":61,"output":"Token indices sequence length is longer than the specified maximum sequence length for this model (1048 > 1024). Running this sequence through the model will result in indexing errors\npacked 12000000 tokens from 182016 ids -> /tmp/early.npy\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.exec_command({cmd:\"python train_nano.py --train_npy /tmp/early.npy --heldout_npy data/multi_dev.npy --out_json /tmp/early_result.json\",workdir:\"/workspace\",yield_time_ms:1000,max_output_tokens:1000});\ntext(JSON.stringify(r));\n"
}exec result
Script completed
Wall time 1.2 seconds
Output:
{"chunk_id":"22011e","wall_time_seconds":1.001282506,"session_id":17288,"original_token_count":0,"output":""}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const patch = \"*** Begin Patch\\n*** Add File: /workspace/cache_pool.py\\n+#!/usr/bin/env python3\\n+\\\"\\\"\\\"Analysis helper: tokenize the pool once for rapid curation experiments.\\\"\\\"\\\"\\n+import json\\n+import numpy as np\\n+from transformers import AutoTokenizer\\n+\\n+POOL = \\\"/workspace/data/pool.jsonl\\\"\\n+TOKENS = \\\"/tmp/pool_tokens.uint16\\\"\\n+OFFSETS = \\\"/tmp/pool_offsets.npy\\\"\\n+\\n+tok = AutoTokenizer.from_pretrained(\\\"gpt2\\\", local_files_only=True)\\n+tok.model_max_length = 10**30\\n+offsets = [0]\\n+counts = np.zeros(50257, dtype=np.int64)\\n+ids_seen = []\\n+\\n+with open(TOKENS, \\\"wb\\\") as out, open(POOL, encoding=\\\"utf-8\\\") as f:\\n+ batch_ids, batch_text = [], []\\n+ def flush():\\n+ if not batch_text:\\n+ return\\n+ encoded = tok(batch_text, add_special_tokens=False).input_ids\\n+ for doc_id, token_ids in zip(batch_ids, encoded):\\n+ assert doc_id == len(offsets) - 1\\n+ arr = np.asarray(token_ids + [tok.eos_token_id], dtype=np.uint16)\\n+ arr.tofile(out)\\n+ counts[:] += np.bincount(arr, minlength=50257)\\n+ offsets.append(offsets[-1] + len(arr))\\n+ batch_ids.clear(); batch_text.clear()\\n+ for line in f:\\n+ row = json.loads(line)\\n+ batch_ids.append(row[\\\"id\\\"]); batch_text.append(row[\\\"text\\\"])\\n+ if len(batch_text) >= 256:\\n+ flush()\\n+ if len(offsets) % 12800 == 1:\\n+ print(\\\"documents\\\", len(offsets)-1, \\\"tokens\\\", offsets[-1], flush=True)\\n+ flush()\\n+\\n+np.save(OFFSETS, np.asarray(offsets, dtype=np.int64))\\n+np.save(\\\"/tmp/pool_token_counts.npy\\\", counts)\\n+print(\\\"done\\\", len(offsets)-1, offsets[-1])\\n*** End Patch\";\ntext(await tools.apply_patch(patch));\n"
}exec result
Script completed
Wall time 0.0 seconds
Output:
{}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.exec_command({cmd:\"python cache_pool.py\",workdir:\"/workspace\",yield_time_ms:1000,max_output_tokens:3000});\ntext(JSON.stringify(r));\n"
}exec result
Script completed
Wall time 1.2 seconds
Output:
{"chunk_id":"49b6a4","wall_time_seconds":1.000915759,"session_id":36030,"original_token_count":0,"output":""}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:17288,chars:\"\",yield_time_ms:30000,max_output_tokens:2000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 44
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "44",
"yield_time_ms": 30000,
"max_tokens": 2000
}wait result
Script completed
Wall time 0.0 seconds
Output:
{"chunk_id":"2c9651","wall_time_seconds":14.829227215,"exit_code":0,"original_token_count":16,"output":"HELDOUT_PPL 466.034 loss 6.1443 train_s 53 /tmp/early.npy\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:1000,max_output_tokens:3000});\ntext(JSON.stringify(r));\n"
}exec result
Script completed
Wall time 5.0 seconds
Output:
{"chunk_id":"3aa802","wall_time_seconds":5.001643511,"session_id":36030,"original_token_count":16,"output":"documents 12800 tokens 8995998\ndocuments 25600 tokens 17932889\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 46
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "46",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 16.0 seconds
Output:
{"chunk_id":"6ed68f","wall_time_seconds":30.001758789,"session_id":36030,"original_token_count":24,"output":"documents 38400 tokens 26976081\ndocuments 51200 tokens 35850798\ndocuments 64000 tokens 44789622\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const patch = \"*** Begin Patch\\n*** Add File: /workspace/score_pool.py\\n+#!/usr/bin/env python3\\n+\\\"\\\"\\\"Analysis helper: cache transparent quality and dev-distribution scores.\\\"\\\"\\\"\\n+import json, sys\\n+import numpy as np\\n+sys.path.insert(0, \\\"/workspace/submission\\\")\\n+from curate import document_features\\n+\\n+V = 50257\\n+dev = np.load(\\\"/workspace/data/multi_dev.npy\\\").astype(np.int64)\\n+bg = np.load(\\\"/tmp/pool_token_counts.npy\\\").astype(np.float64)\\n+offsets = np.load(\\\"/tmp/pool_offsets.npy\\\")\\n+tokens = np.memmap(\\\"/tmp/pool_tokens.uint16\\\", dtype=np.uint16, mode=\\\"r\\\")\\n+\\n+alpha = 0.25\\n+bg_logp = np.log((bg + alpha) / (bg.sum() + alpha * V))\\n+q_logp = []\\n+for q in range(4):\\n+ c = np.bincount(dev[q*250000:(q+1)*250000], minlength=V).astype(np.float64)\\n+ q_logp.append(np.log((c + alpha) / (c.sum() + alpha * V)))\\n+q_logp = np.asarray(q_logp)\\n+ratio_logp = q_logp - bg_logp\\n+\\n+n = len(offsets) - 1\\n+quality = np.empty(n, np.float32)\\n+heuristic_domain = np.empty(n, np.uint8)\\n+domain_map = {\\\"encyclopedic\\\": 0, \\\"web\\\": 1, \\\"news\\\": 2, \\\"technical\\\": 3}\\n+with open(\\\"/workspace/data/pool.jsonl\\\", encoding=\\\"utf-8\\\") as f:\\n+ for i, line in enumerate(f):\\n+ row = json.loads(line); assert row[\\\"id\\\"] == i\\n+ score, domain, _ = document_features(row[\\\"text\\\"])\\n+ quality[i] = score\\n+ heuristic_domain[i] = domain_map[domain]\\n+ if i and i % 25000 == 0: print(\\\"quality\\\", i, flush=True)\\n+\\n+ratio = np.empty((4, n), np.float32)\\n+nll = np.empty((4, n), np.float32)\\n+for i in range(n):\\n+ arr = np.asarray(tokens[offsets[i]:offsets[i+1]], dtype=np.int64)\\n+ for q in range(4):\\n+ ratio[q, i] = ratio_logp[q, arr].mean()\\n+ nll[q, i] = -q_logp[q, arr].mean()\\n+ if i and i % 25000 == 0: print(\\\"distribution\\\", i, flush=True)\\n+\\n+np.savez(\\\"/tmp/pool_scores.npz\\\", quality=quality, heuristic_domain=heuristic_domain,\\n+ ratio=ratio, nll=nll)\\n+print(\\\"done\\\", n)\\n*** End Patch\";\ntext(await tools.apply_patch(patch));\n"
}exec result
Script completed
Wall time 0.0 seconds
Output:
{}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const patch = \"*** Begin Patch\\n*** Update File: /workspace/score_pool.py\\n@@\\n- arr = np.asarray(tokens[offsets[i]:offsets[i+1]], dtype=np.int64)\\n+ # Exclude the packer's synthetic document separator from content similarity.\\n+ arr = np.asarray(tokens[offsets[i]:offsets[i+1]-1], dtype=np.int64)\\n+ if len(arr) == 0:\\n+ arr = np.asarray([50256], dtype=np.int64)\\n*** End Patch\";\ntext(await tools.apply_patch(patch));\n"
}exec result
Script completed
Wall time 0.0 seconds
Output:
{}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 49
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "49",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 9.8 seconds
Output:
{"chunk_id":"80fe61","wall_time_seconds":30.001632311,"session_id":36030,"original_token_count":33,"output":"documents 76800 tokens 53398486\ndocuments 89600 tokens 62280903\ndocuments 102400 tokens 71422769\ndocuments 115200 tokens 81170804\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 50
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "50",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 13.8 seconds
Output:
{"chunk_id":"787f72","wall_time_seconds":30.00123799,"session_id":36030,"original_token_count":9,"output":"documents 128000 tokens 104237994\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 51
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "51",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 12.1 seconds
Output:
{"chunk_id":"2fd494","wall_time_seconds":30.000832417,"session_id":36030,"original_token_count":9,"output":"documents 140800 tokens 126781406\n"}The cleanest early slice alone scores 466.0, confirming that the gain comes from register balancing rather than ID position by itself. I’ve cached exact GPT-2 tokenization of the pool so the next candidates can use Moore–Lewis-style target-versus-background similarity and can be packed/evaluated without repeatedly tokenizing 200M tokens.
encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 52
Wall time 11.0 seconds
Output:
encrypted chain-of-thought — recorded, not exposed
args
{
"cell_id": "52",
"yield_time_ms": 30000,
"max_tokens": 5000
}wait result
Script completed
Wall time 12.5 seconds
Output:
{"chunk_id":"16dbba","wall_time_seconds":30.001390757,"session_id":36030,"original_token_count":17,"output":"documents 153600 tokens 149444406\ndocuments 166400 tokens 171763815\n"}encrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms\":30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script failed
Wall time 0.0 seconds
Output:
Script error:
SyntaxError: Invalid or unexpected tokenencrypted chain-of-thought — recorded, not exposed
args
{
"input": "const r = await tools.write_stdin({session_id:36030,chars:\"\",yield_time_ms:30000,max_output_tokens:5000});\ntext(JSON.stringify(r));\n"
}exec result
Script running with cell ID 54
Wall time 11.0 seconds
Output: