AtlasOpenCoder / validation /paper2 /B1_ENTROPY.json
piotrwilam's picture
AtlasOpenCoder v1: the battery, the artefacts and both papers' manifests
9b7bd53
Raw History Blame Contribute Delete
19.5 kB
{ "what": "the battery's own conditional continuation entropy at each role, on the PHASE battery, for the dependent classes \u00a75 leaves open", "tokeniser_revision": "pretrain_iter_0008000", "unclean_tolerance": 0.01, "source": "phase_battery/twin1 A sets", "not_the_pilot": "validation/positions/FLOORS.json is the pilot battery (its own `source` field); A52 marks the pilot artefacts", "constructs": { "AnnAssign": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { ":": 720 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "Assign": { "prompts": 720, "unparsed": 0, "roles": { "assign_eq": { "floor_nats": -0.0, "estimable": true, "n": 719, "pieces": { "\u2581=": 719 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "AsyncFor": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { "):\n": 246, ":\n": 185, "\"]:\n": 90, "():\n": 90, "]:\n": 85, "\u2581):\n": 24 }, "unclean_share": 0.7431, "unclean_pieces": { "):\n": 246, "\"]:\n": 90, "():\n": 90, "]:\n": 85, "\u2581):\n": 24 } }, "in": { "floor_nats": 0.5993038172500511, "estimable": true, "n": 720, "pieces": { "\u2581in": 539, ",": 174, ",\n": 6, "\n": 1 }, "unclean_share": 0.0014, "unclean_pieces": { "\n": 1 } } } }, "AsyncFunctionDef": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 718, "pieces": { "):\n": 623, "():\n": 60, "\u2581):\n": 35 }, "unclean_share": 1.0, "unclean_pieces": { "):\n": 623, "():\n": 60, "\u2581):\n": 35 } } } }, "AsyncWith": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": -0.0, "estimable": true, "n": 719, "pieces": { ":\n": 719 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "AugAssign": { "prompts": 720, "unparsed": 0, "roles": { "assign_eq": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { "\u2581+=": 360, "\u2581-=": 90, "\u2581|=": 90, "=": 90, "\u2581*=": 90 }, "unclean_share": 0.125, "unclean_pieces": { "=": 90 } } } }, "Call": { "prompts": 720, "unparsed": 0, "roles": { "close_paren": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { ")\n": 182, "):\n": 180, "()}\n": 90, "():\n": 90, "),": 86, ")),": 77, ")),\n": 12, "\u2581)\n": 2, "\u2581),\n": 1 }, "unclean_share": 0.2542, "unclean_pieces": { "()}\n": 90, "():\n": 90, "\u2581)\n": 2, "\u2581),\n": 1 } } } }, "ClassDef": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { ":\n": 540, "):\n": 180 }, "unclean_share": 0.25, "unclean_pieces": { "):\n": 180 } } } }, "DictComp": { "prompts": 720, "unparsed": 0, "roles": { "comp_for": { "floor_nats": -0.0, "estimable": true, "n": 719, "pieces": { "\u2581for": 719 }, "unclean_share": 0.0, "unclean_pieces": {} }, "in": { "floor_nats": 0.6618290829980518, "estimable": true, "n": 719, "pieces": { "\u2581in": 449, ",": 270 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "Dict": { "prompts": 720, "unparsed": 0, "roles": { "close_brace": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { "}\n": 185, "})\n": 173, "}": 90, "\u2581{}\n": 90, "]}\n": 89, "},": 87, "},\n": 3, "\u2581}\n": 3 }, "unclean_share": 0.2528, "unclean_pieces": { "\u2581{}\n": 90, "]}\n": 89, "\u2581}\n": 3 } } } }, "For": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { "):\n": 258, ":\n": 181, "\"]:\n": 90, "():\n": 90, "]:\n": 89, "\u2581):\n": 12 }, "unclean_share": 0.7486, "unclean_pieces": { "):\n": 258, "\"]:\n": 90, "():\n": 90, "]:\n": 89, "\u2581):\n": 12 } }, "in": { "floor_nats": 0.5709326083892844, "estimable": true, "n": 720, "pieces": { "\u2581in": 540, ",": 179, ",\n": 1 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "FunctionDef": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 719, "pieces": { "):\n": 644, "():\n": 60, "\u2581):\n": 15 }, "unclean_share": 1.0, "unclean_pieces": { "):\n": 644, "():\n": 60, "\u2581):\n": 15 } } } }, "GeneratorExp": { "prompts": 720, "unparsed": 0, "roles": { "comp_for": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { "\u2581for": 720 }, "unclean_share": 0.0, "unclean_pieces": {} }, "in": { "floor_nats": 0.6615632381579821, "estimable": true, "n": 720, "pieces": { "\u2581in": 450, ",": 270 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "IfExp": { "prompts": 720, "unparsed": 0, "roles": { "ternary_else": { "floor_nats": -0.0, "estimable": true, "n": 718, "pieces": { "\u2581else": 718 }, "unclean_share": 0.0, "unclean_pieces": {} }, "ternary_if": { "floor_nats": -0.0, "estimable": true, "n": 718, "pieces": { "\u2581if": 718 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "If": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { ":\n": 630, "):\n": 90 }, "unclean_share": 0.125, "unclean_pieces": { "):\n": 90 } } } }, "Lambda": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { ":": 720 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "ListComp": { "prompts": 720, "unparsed": 0, "roles": { "comp_for": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { "\u2581for": 720 }, "unclean_share": 0.0, "unclean_pieces": {} }, "in": { "floor_nats": 0.6615632381579821, "estimable": true, "n": 720, "pieces": { "\u2581in": 450, ",": 270 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "List": { "prompts": 720, "unparsed": 0, "roles": { "close_bracket": { "floor_nats": null, "estimable": false, "n": 720, "pieces": { "]\n": 91, "]:\n": 90, ")]\n": 90, "([])\n": 90, "\u2581[]\n": 90, "]]\n": 90, "])\n": 90, "]}\n": 89 }, "unclean_share": 0.375, "unclean_pieces": { ")]\n": 90, "([])\n": 90, "\u2581[]\n": 90 } } } }, "SetComp": { "prompts": 720, "unparsed": 0, "roles": { "comp_for": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { "\u2581for": 720 }, "unclean_share": 0.0, "unclean_pieces": {} }, "in": { "floor_nats": 0.6615632381579821, "estimable": true, "n": 720, "pieces": { "\u2581in": 450, ",": 270 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "Set": { "prompts": 720, "unparsed": 0, "roles": { "close_brace": { "floor_nats": null, "estimable": false, "n": 719, "pieces": { "}\n": 187, "})\n": 180, "}": 90, "]}\n": 90, "},": 90, "}}\n": 82 }, "unclean_share": 0.1252, "unclean_pieces": { "]}\n": 90 } } } }, "Subscript": { "prompts": 720, "unparsed": 0, "roles": { "close_bracket": { "floor_nats": null, "estimable": false, "n": 719, "pieces": { "]]\n": 176, "\"])\n": 90, "]\n": 90, "])\n": 90, "]}\n": 90, "\"]:\n": 90, "],": 89, "]]": 2, "]]\n\n": 2 }, "unclean_share": 0.2503, "unclean_pieces": { "\"])\n": 90, "\"]:\n": 90 } } } }, "While": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": -0.0, "estimable": true, "n": 720, "pieces": { ":\n": 720 }, "unclean_share": 0.0, "unclean_pieces": {} } } }, "With": { "prompts": 720, "unparsed": 0, "roles": { "header_colon": { "floor_nats": -0.0, "estimable": true, "n": 719, "pieces": { ":\n": 719 }, "unclean_share": 0.0, "unclean_pieces": {} } } } }, "dependent_slots": { "Assign|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 271, "n_distinct_pieces": 113, "entropy_nats": 4.483542388914162, "top_pieces": [ [ "(s", 11 ], [ "(pos", 11 ], [ "(c", 10 ], [ "(l", 8 ], [ "(S", 7 ] ] }, "AsyncFor|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 1020, "n_distinct_pieces": 431, "entropy_nats": 5.801237712131156, "top_pieces": [ [ "\u2581pos", 14 ], [ "\u2581level", 13 ], [ "\u2581pygame", 13 ], [ "\u2581inv", 11 ], [ "\u2581Check", 10 ] ] }, "AsyncFunctionDef|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 900, "n_distinct_pieces": 433, "entropy_nats": 5.759059441809957, "top_pieces": [ [ "\u2581self", 30 ], [ "\u2581invoice", 15 ], [ "\u2581pygame", 11 ], [ "\u2581pos", 11 ], [ "(s", 11 ] ] }, "AsyncFunctionDef|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 622, "n_distinct_pieces": 113, "entropy_nats": 4.044979976634518, "top_pieces": [ [ "align", 29 ], [ "(as", 28 ], [ "(sm", 28 ], [ "(C", 27 ], [ "(resp", 26 ] ] }, "AsyncWith|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 870, "n_distinct_pieces": 444, "entropy_nats": 5.856523254627667, "top_pieces": [ [ "\u2581pygame", 18 ], [ "\u2581pos", 17 ], [ "(f", 9 ], [ "(p", 8 ], [ "(in", 7 ] ] }, "AugAssign|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 90, "n_distinct_pieces": 62, "entropy_nats": 3.980842073995705, "top_pieces": [ [ "(s", 5 ], [ "(in", 4 ], [ "(t", 4 ], [ "(b", 3 ], [ "(py", 3 ] ] }, "DictComp|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 2250, "n_distinct_pieces": 729, "entropy_nats": 6.2620041468838705, "top_pieces": [ [ "\u2581pygame", 40 ], [ "\u2581tax", 36 ], [ "\u2581invoice", 28 ], [ "\u2581pos", 22 ], [ "\u2581sprite", 17 ] ] }, "For|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 1020, "n_distinct_pieces": 452, "entropy_nats": 5.863265131672143, "top_pieces": [ [ "\u2581pos", 16 ], [ "\u2581Player", 12 ], [ "(s", 11 ], [ "\u2581tax", 11 ], [ "\u2581Button", 10 ] ] }, "FunctionDef|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 900, "n_distinct_pieces": 427, "entropy_nats": 5.773742380834913, "top_pieces": [ [ "\u2581self", 30 ], [ "\u2581pos", 13 ], [ "\u2581pygame", 12 ], [ "(s", 11 ], [ "\u2581sample", 11 ] ] }, "FunctionDef|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 552, "n_distinct_pieces": 70, "entropy_nats": 3.652945983721227, "top_pieces": [ [ "(C", 35 ], [ "(on", 30 ], [ "(sm", 29 ], [ "align", 26 ], [ "(int", 25 ] ] }, "GeneratorExp|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 1530, "n_distinct_pieces": 713, "entropy_nats": 6.292486478909371, "top_pieces": [ [ "\u2581pos", 20 ], [ "pos", 14 ], [ "\u2581out", 14 ], [ "\u2581pygame", 14 ], [ "\u2581sprite", 13 ] ] }, "Import|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 90, "n_distinct_pieces": 1, "entropy_nats": -0.0, "top_pieces": [ [ "(js", 90 ] ] }, "ImportFrom|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 90, "n_distinct_pieces": 2, "entropy_nats": 0.06104703803959342, "top_pieces": [ [ "(parse", 89 ], [ "\u2581Check", 1 ] ] }, "ListComp|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 1530, "n_distinct_pieces": 678, "entropy_nats": 6.246076861864684, "top_pieces": [ [ "\u2581pygame", 18 ], [ "\u2581pos", 18 ], [ "\u2581invoice", 13 ], [ "\u2581seq", 13 ], [ "\u2581tax", 12 ] ] }, "NamedExpr|scope|scope_use": { "class": "scope", "role": "scope_use", "n_positions": 270, "n_distinct_pieces": 155, "entropy_nats": 4.7913732081896, "top_pieces": [ [ "(g", 9 ], [ "(l", 8 ], [ "(pos", 7 ], [ "(b", 7 ], [ "(s", 7 ] ] }, "SetComp|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 1530, "n_distinct_pieces": 674, "entropy_nats": 6.234976856742711, "top_pieces": [ [ "\u2581pos", 20 ], [ "\u2581level", 13 ], [ "(b", 13 ], [ "\u2581pygame", 12 ], [ "\u2581lin", 12 ] ] }, "With|governed|governed_use": { "class": "governed", "role": "governed_use", "n_positions": 960, "n_distinct_pieces": 466, "entropy_nats": 5.9250273442289565, "top_pieces": [ [ "\u2581pos", 12 ], [ "\u2581invoice", 11 ], [ "\u2581screen", 10 ], [ "(py", 8 ], [ "(f", 8 ] ] } }, "dependent": { "governed": { "n_roles": 0, "n_estimable": 0, "n_unavailable": 0, "floor_nats_median": null, "floor_nats_min": null, "floor_nats_max": null, "non_zero": {}, "unavailable_reasons": [] }, "scope": { "n_roles": 0, "n_estimable": 0, "n_unavailable": 0, "floor_nats_median": null, "floor_nats_min": null, "floor_nats_max": null, "non_zero": {}, "unavailable_reasons": [] } }, "dependent_pooled": { "n_roles": 0, "n_estimable": 0, "n_unavailable": 0, "floor_nats_median": null, "floor_nats_min": null, "floor_nats_max": null, "non_zero": {}, "unavailable_reasons": [] }, "obliged_for_comparison": { "n_roles": 30, "n_estimable": 18, "n_unavailable": 12, "floor_nats_median": 0.0, "floor_nats_min": -0.0, "floor_nats_max": 0.6618290829980518, "non_zero": { "AsyncFor.in": 0.5993, "DictComp.in": 0.6618, "For.in": 0.5709, "GeneratorExp.in": 0.6616, "ListComp.in": 0.6616, "SetComp.in": 0.6616 }, "unavailable_reasons": [ "slot pieces carry the end of the expression in front of them" ] }, "summary": { "roles": 30, "estimable": 18, "constructs": 23 }, "governed_slot_entropy": { "n_slots": 10, "n_slots_with_at_least_20_positions": 10, "entropy_nats_median": 5.894146237950549, "entropy_nats_q1_q3": [ 5.815059097755284, 6.243301860584191 ], "entropy_nats_min_max": [ 5.759059441809957, 6.292486478909371 ], "note": "`floors_for_set` covers the obliged slot only, so this is the same estimator applied at the position `positions_for` marks; the scope class has almost no population in the battery (RESULTS.md #52)" }, "scope_slot_entropy": { "n_slots": 7, "n_slots_with_at_least_20_positions": 7, "entropy_nats_median": 3.980842073995705, "entropy_nats_q1_q3": [ 1.8569965108804103, 4.26426118277434 ], "entropy_nats_min_max": [ -0.0, 4.7913732081896 ], "note": "`floors_for_set` covers the obliged slot only, so this is the same estimator applied at the position `positions_for` marks; the scope class has almost no population in the battery (RESULTS.md #52)" }, "against_the_model": { "generator_marginal_entropy_governed_median_nats": 5.894146237950549, "model_loss_governed_early_median_nats": 6.0086697669245765, "model_loss_governed_last_median_nats": 2.515504747851648, "n_governed_series": 8, "reading": "the model's governed loss starts at about the generator's marginal entropy and ends well below it, so the marginal is an UPPER BOUND on the floor and not the floor: at a dependent position the prompt has already bound the name, so the conditional entropy of a correct use is near zero. \u00a75 must not quote this number as 'the dependent floor'. What it does establish is that the model is still far above the true floor at dependent positions, unlike the forced ones which sit at theirs -- so learning has not finished where the construct governs, only where it forces." }, "minutes": 0.7655322511990865, "provenance": { "inputs": [ "phase_battery/twin1/*_A.jsonl.gz", "profilebattery.generate.floors (the generator's own declared distribution)" ], "reference": null, "battery_prompt_hash": "570b42db13f8fe5772b8d1a9ad7d55d6fa1279dae5948ad94e8363789bcbc1ad", "code_commit": "3325b25", "design": "9-Paper-1/2610-18Oct_PAPER-1-Design.md sha256 47f6a664\u2026" } }
{
"what": "the battery's own conditional continuation entropy at each role, on the PHASE battery, for the dependent classes \u00a75 leaves open",
"tokeniser_revision": "pretrain_iter_0008000",
"unclean_tolerance": 0.01,
"source": "phase_battery/twin1 A sets",
"not_the_pilot": "validation/positions/FLOORS.json is the pilot battery (its own `source` field); A52 marks the pilot artefacts",
"constructs": {
"AnnAssign": {
"prompts": 720,
"unparsed": 0,
"roles": {
"header_colon": {
"floor_nats": -0.0,
"estimable": true,
"n": 720,
"pieces": {
":": 720
},
"unclean_share": 0.0,
"unclean_pieces": {}
}
}
},
"Assign": {
"prompts": 720,
"unparsed": 0,
"roles": {
"assign_eq": {
"floor_nats": -0.0,
"estimable": true,
"n": 719,
"pieces": {
"\u2581=": 719
},
"unclean_share": 0.0,
"unclean_pieces": {}
}
}
},
"AsyncFor": {
"prompts": 720,
"unparsed": 0,
"roles": {
"header_colon": {
"floor_nats": null,
"estimable": false,
"n": 720,
"pieces": {
"):\n": 246,
":\n": 185,
"\"]:\n": 90,
"():\n": 90,
"]:\n": 85,
"\u2581):\n": 24
},
"unclean_share": 0.7431,
"unclean_pieces": {
"):\n": 246,
"\"]:\n": 90,
"():\n": 90,
"]:\n": 85,
"\u2581):\n": 24
}
},
"in": {
"floor_nats": 0.5993038172500511,
"estimable": true,
"n": 720,
"pieces": {
"\u2581in": 539,
",": 174,
",\n": 6,
"\n": 1
},
"unclean_share": 0.0014,
"unclean_pieces": {
"\n": 1
}
}
}
},
"AsyncFunctionDef": {
"prompts": 720,
"unparsed": 0,
"roles": {
"header_colon": {
"floor_nats": null,
"estimable": false,
"n": 718,
"pieces": {
"):\n": 623,
"():\n": 60,
"\u2581):\n": 35
},
"unclean_share": 1.0,
"unclean_pieces": {
"):\n": 623,
"():\n": 60,
"\u2581):\n": 35
}