{ "what": "re-weighting B to A's companion shares, and the profile's shift in twin units, for the eight constructs Table B.3 reports", "definition": { "targets": "the non-exempt companions whose |share(A) - share(B)| exceeds 0.15; exemptions are the UNION of audit.COMPONENTS and the inventory's `components`, the more generous of the two lists", "weights": "maximum-entropy weights on B's prompts hitting A's shares exactly; the largest-ESS weighting that satisfies the moments, so the shift is a best case", "feasibility": "settled by a phase-1 LP over the whole simplex, not by an optimiser's residual", "shift": "relative_distance between the base concept profile (A - B) and the re-weighted one (A - B_rw) at the middle layer, divided by the construct's own twin distance -- check 4's path", "reference": "pretrain_iter_0484865", "counts": "both twins pooled, as the battery files are read" }, "fixed_before_computing": true, "per_construct": { "ClassDef": { "outcome": "NOT COMPUTABLE", "why": "no per-prompt activations: this construct is outside the 31-construct subset, and its accumulators are cell means, in which companion presence is not an axis" }, "For": { "n_a_usable": 1440, "n_b_usable": 1440, "n_targets": 8, "targets": [ { "companion": "Attribute", "a": 0.9555555555555556, "b": 0.7368055555555556, "diff": 0.21875 }, { "companion": "Call", "a": 0.8069444444444445, "b": 0.6409722222222223, "diff": 0.1659722222222222 }, { "companion": "Dict", "a": 0.14930555555555555, "b": 0.32013888888888886, "diff": -0.1708333333333333 }, { "companion": "FormattedValue", "a": 0.0, "b": 0.17430555555555555, "diff": -0.17430555555555555 }, { "companion": "If", "a": 0.5090277777777777, "b": 0.35, "diff": 0.15902777777777777 }, { "companion": "JoinedStr", "a": 0.0, "b": 0.17430555555555555, "diff": -0.17430555555555555 }, { "companion": "List", "a": 0.19236111111111112, "b": 0.3701388888888889, "diff": -0.17777777777777778 }, { "companion": "Tuple", "a": 0.3402777777777778, "b": 0.5680555555555555, "diff": -0.22777777777777775 } ], "infeasible": false, "max_moment_error": 6.036316169133471e-10, "ess": 455.2185300830554, "n": 1440, "ess_fraction": 0.31612397922434404, "heaviest_prompt_weight": 0.005508483725049634, "heaviest_10_together": 0.05508483725049634, "outcome": "run", "layer": 12, "layers": 24, "relative_distance": 0.2999265266693839, "twin_distance": 0.1015550953309882, "shift_in_twin_units": 2.9533380446531403, "cosine_base_vs_reweighted": 0.9553385337595073, "norm_base": 51.284900621502125, "norm_reweighted": 52.60665983320272, "b_share_shift_max": 0.22777777737172755 }, "FunctionDef": { "outcome": "NOT COMPUTABLE", "why": "no per-prompt activations: this construct is outside the 31-construct subset, and its accumulators are cell means, in which companion presence is not an axis" }, "If": { "n_a_usable": 1440, "n_b_usable": 1440, "n_targets": 7, "targets": [ { "companion": "BoolOp", "a": 0.16597222222222222, "b": 0.0006944444444444445, "diff": 0.16527777777777777 }, { "companion": "Compare", "a": 0.69375, "b": 0.01597222222222222, "diff": 0.6777777777777778 }, { "companion": "For", "a": 0.125, "b": 0.4888888888888889, "diff": -0.3638888888888889 }, { "companion": "FormattedValue", "a": 0.0, "b": 0.17708333333333334, "diff": -0.17708333333333334 }, { "companion": "IfExp", "a": 0.015277777777777777, "b": 0.18611111111111112, "diff": -0.17083333333333334 }, { "companion": "JoinedStr", "a": 0.0, "b": 0.17708333333333334, "diff": -0.17708333333333334 }, { "companion": "UnaryOp", "a": 0.23125, "b": 0.010416666666666666, "diff": 0.22083333333333335 } ], "infeasible": true, "total_moment_violation": 0.0909722222222222, "unreachable": [ { "j": 0, "target": 0.16597222222222222, "b_share": 0.0006944444444444445, "best_attainable": 0.07500000000000001, "shortfall": 0.0909722222222222, "companion": "BoolOp" } ], "outcome": "IMPOSSIBLE", "why": "no weighting of B's prompts can reach A's companion shares; the LP's minimum total moment violation is 0.0910" }, "Match": { "outcome": "NOT COMPUTABLE", "why": "no per-prompt activations: this construct is outside the 31-construct subset, and its accumulators are cell means, in which companion presence is not an axis" }, "Try": { "outcome": "NOT COMPUTABLE", "why": "no per-prompt activations: this construct is outside the 31-construct subset, and its accumulators are cell means, in which companion presence is not an axis" }, "While": { "n_a_usable": 1440, "n_b_usable": 1440, "n_targets": 11, "targets": [ { "companion": "Attribute", "a": 0.8888888888888888, "b": 0.6333333333333333, "diff": 0.25555555555555554 }, { "companion": "AugAssign", "a": 0.6506944444444445, "b": 0.3055555555555556, "diff": 0.3451388888888889 }, { "companion": "BoolOp", "a": 0.2652777777777778, "b": 0.0020833333333333333, "diff": 0.26319444444444445 }, { "companion": "Call", "a": 0.9659722222222222, "b": 0.76875, "diff": 0.1972222222222222 }, { "companion": "Compare", "a": 0.6916666666666667, "b": 1.0, "diff": -0.30833333333333335 }, { "companion": "FormattedValue", "a": 0.0, "b": 0.20694444444444443, "diff": -0.20694444444444443 }, { "companion": "If", "a": 0.7465277777777778, "b": 0.3055555555555556, "diff": 0.4409722222222222 }, { "companion": "JoinedStr", "a": 0.0, "b": 0.20694444444444443, "diff": -0.20694444444444443 }, { "companion": "Subscript", "a": 0.6625, "b": 0.4847222222222222, "diff": 0.17777777777777776 }, { "companion": "Tuple", "a": 0.3625, "b": 0.15347222222222223, "diff": 0.20902777777777776 }, { "companion": "UnaryOp", "a": 0.5527777777777778, "b": 0.05486111111111111, "diff": 0.4979166666666667 } ], "infeasible": true, "total_moment_violation": 0.40416666666666673, "unreachable": [ { "j": 4, "target": 0.6916666666666667, "b_share": 1.0, "best_attainable": 1.0, "shortfall": 0.3083333333333334, "companion": "Compare" }, { "j": 6, "target": 0.7465277777777778, "b_share": 0.3055555555555556, "best_attainable": 0.6506944444444445, "shortfall": 0.09583333333333333, "companion": "If" } ], "outcome": "IMPOSSIBLE", "why": "no weighting of B's prompts can reach A's companion shares; the LP's minimum total moment violation is 0.4042" }, "With": { "n_a_usable": 1440, "n_b_usable": 1440, "n_targets": 7, "targets": [ { "companion": "AsyncFunctionDef", "a": 0.0, "b": 0.20347222222222222, "diff": -0.20347222222222222 }, { "companion": "AsyncWith", "a": 0.0, "b": 0.20347222222222222, "diff": -0.20347222222222222 }, { "companion": "Attribute", "a": 0.9847222222222223, "b": 0.6791666666666667, "diff": 0.3055555555555556 }, { "companion": "Call", "a": 1.0, "b": 0.6472222222222223, "diff": 0.35277777777777775 }, { "companion": "FormattedValue", "a": 0.0, "b": 0.16597222222222222, "diff": -0.16597222222222222 }, { "companion": "ImportFrom", "a": 0.44027777777777777, "b": 0.6041666666666666, "diff": -0.16388888888888886 }, { "companion": "JoinedStr", "a": 0.0, "b": 0.16597222222222222, "diff": -0.16597222222222222 } ], "infeasible": false, "max_moment_error": 8.703134879439745e-10, "ess": 328.8384379941171, "n": 1440, "ess_fraction": 0.22836002638480354, "heaviest_prompt_weight": 0.004262082240559387, "heaviest_10_together": 0.04262082240559387, "outcome": "run", "layer": 12, "layers": 24, "relative_distance": 0.5760889901850087, "twin_distance": 0.10473068786874007, "shift_in_twin_units": 5.500670356591435, "cosine_base_vs_reweighted": 0.8967076814715266, "norm_base": 58.07043587911861, "norm_reweighted": 83.86589900298534, "b_share_shift_max": 0.3527777777577208 } }, "summary": { "n_reported": 2, "n_impossible": 2, "n_not_computable": 4, "shift_in_twin_units": { "For": 2.9533380446531403, "With": 5.500670356591435 }, "median_shift_in_twin_units": 4.227004200622288, "reading": "the shift is what correcting the companion asymmetry would do to the concept profile, in units of what redrawing the battery does. Above 1 means the asymmetry moves the profile by more than the instrument's own noise." }, "minutes": 0.5435326019922893, "provenance": { "inputs": [ "record/pretrain_iter_0484865/twin{1,2}__{For,With,If,While}_{A,B}.npz", "record/pretrain_iter_0484865/twin1__C_cells.npz", "phase_battery/twin{1,2}/*_{A,B}.jsonl.gz", "validation/paper1/LICENCE_TABLE.json", "inventory/inventory_v2.json" ], "reference": "pretrain_iter_0484865", "battery_prompt_hash": "570b42db13f8fe5772b8d1a9ad7d55d6fa1279dae5948ad94e8363789bcbc1ad", "code_commit": "77765e1", "design": "9-Paper-1/2610-18Oct_PAPER-1-Design.md sha256 47f6a664\u2026" } }