all_edit_layers = sorted(combined_units) harm_weight = tools.localize.safety_neurons( method="weight", top_k=1024, layers=all_edit_layers, n=32, a="harmful", b="benign", on="aligned") hw = unit_map(harm_weight) protect_units = {} for l in all_edit_layers: harmful_set = ha3[l] if l in ha3 else eh[l] target_set = ta3[l] if l in ta3 else ea[l] protect_units[l] = sorted((harmful_set & hw[l]) - target_set) print("Harmful weight evidence:", harm_weight["circuit"]) print("Protect counts:", {l: len(v) for l, v in protect_units.items()}) print("Total target/protect:", sum(map(len, combined_units.values())), sum(map(len, protect_units.values()))) print("Projected entry count:", 2048 * (sum(map(len, combined_units.values())) + sum(map(len, protect_units.values())))) note("Trial 8 rejected as final because harmful refusal fell 49->47/64. Harmful-specific protection candidates independently agreed by harmful activation and weight rankings, excluding target activation-ranked neurons.")