{ "schema_version": "atx-moe-residency-policy-v1", "policy_name": "combined_top_20pct_global_experts", "intended_runtime": "ATX llama.cpp fork with --moe-residency-policy", "model_family": "Qwen3.6-35B-A3B-GGUF", "basis": "Normalized mean global expert importance across SciCode MVP and Terminal-Bench Hard real-agent traces, aggregated across layers.", "important_caveat": "Expert-only policies keep the same expert IDs hot across every MoE layer; this is more portable but less targeted than layer-expert policies.", "selection": { "percent_of_total_experts": 20, "selected_experts": 52, "total_experts": 256, "rank_metric": "mean_importance_share", "cumulative_mean_importance_share": 0.444195454634, "cumulative_scicode_importance_share": 0.523796617741, "cumulative_terminal_bench_hard_agent_importance_share": 0.364594291526, "cumulative_mean_activation_share": 0.248163755236 }, "source_artifacts": { "scicode_heatmap": "/Users/jkooker/Documents/Codex/2026-05-18/does-llama-cpp-allow-you-to/mvp_expert_heatmap.parquet", "terminal_bench_hard_agent_heatmap": "/Users/jkooker/Documents/Codex/2026-05-18/does-llama-cpp-allow-you-to/terminal_bench_hard_agent_expert_heatmap.parquet", "combined_report": "/Users/jkooker/Documents/Codex/2026-05-18/does-llama-cpp-allow-you-to/combined_coding_expert_analysis.html" }, "created_utc": "2026-05-21T15:53:57.617983+00:00", "keep_experts": [ 1, 12, 14, 15, 16, 22, 31, 33, 52, 53, 57, 58, 64, 72, 73, 74, 75, 78, 89, 90, 91, 96, 102, 103, 117, 118, 121, 130, 133, 134, 140, 146, 150, 158, 160, 162, 166, 169, 175, 192, 198, 199, 201, 202, 209, 221, 226, 227, 230, 233, 251, 254 ], "keep_experts_ranked": [ { "expert": 103, "rank": 1, "mean_importance_share": 0.018026533455, "cumulative_mean_importance_share": 0.018026533455, "scicode_importance_share": 0.010324916369, "terminal_bench_hard_agent_importance_share": 0.025728150542, "min_importance_share": 0.010324916369, "mean_activation_share": 0.004380988809, "mean_router_weight_share": 0.004716243051, "mean_contribution_l1_share": 0.011379741011 }, { "expert": 209, "rank": 2, "mean_importance_share": 0.01459241028, "cumulative_mean_importance_share": 0.032618943735, "scicode_importance_share": 0.02295073649, "terminal_bench_hard_agent_importance_share": 0.00623408407, "min_importance_share": 0.00623408407, "mean_activation_share": 0.005470187305, "mean_router_weight_share": 0.005386549863, "mean_contribution_l1_share": 0.006254329232 }, { "expert": 134, "rank": 3, "mean_importance_share": 0.01403541697, "cumulative_mean_importance_share": 0.046654360705, "scicode_importance_share": 0.011749901843, "terminal_bench_hard_agent_importance_share": 0.016320932097, "min_importance_share": 0.011749901843, "mean_activation_share": 0.006762549166, "mean_router_weight_share": 0.006898947029, "mean_contribution_l1_share": 0.008144927824 }, { "expert": 64, "rank": 4, "mean_importance_share": 0.012432485347, "cumulative_mean_importance_share": 0.059086846052, "scicode_importance_share": 0.015836905625, "terminal_bench_hard_agent_importance_share": 0.009028065068, "min_importance_share": 0.009028065068, "mean_activation_share": 0.006379209004, "mean_router_weight_share": 0.006438027496, "mean_contribution_l1_share": 0.008175150527 }, { "expert": 33, "rank": 5, "mean_importance_share": 0.012368950789, "cumulative_mean_importance_share": 0.07145579684, "scicode_importance_share": 0.007101219831, "terminal_bench_hard_agent_importance_share": 0.017636681746, "min_importance_share": 0.007101219831, "mean_activation_share": 0.003741522742, "mean_router_weight_share": 0.004493408161, "mean_contribution_l1_share": 0.006661214258 }, { "expert": 31, "rank": 6, "mean_importance_share": 0.012269240423, "cumulative_mean_importance_share": 0.083725037263, "scicode_importance_share": 0.020988011288, "terminal_bench_hard_agent_importance_share": 0.003550469557, "min_importance_share": 0.003550469557, "mean_activation_share": 0.004729239534, "mean_router_weight_share": 0.004917732661, "mean_contribution_l1_share": 0.007368161048 }, { "expert": 150, "rank": 7, "mean_importance_share": 0.011682526536, "cumulative_mean_importance_share": 0.095407563799, "scicode_importance_share": 0.007252212767, "terminal_bench_hard_agent_importance_share": 0.016112840305, "min_importance_share": 0.007252212767, "mean_activation_share": 0.003417557789, "mean_router_weight_share": 0.004034853641, "mean_contribution_l1_share": 0.005410923833 }, { "expert": 16, "rank": 8, "mean_importance_share": 0.011618126823, "cumulative_mean_importance_share": 0.107025690622, "scicode_importance_share": 0.006431706459, "terminal_bench_hard_agent_importance_share": 0.016804547187, "min_importance_share": 0.006431706459, "mean_activation_share": 0.003305524438, "mean_router_weight_share": 0.004213520633, "mean_contribution_l1_share": 0.005608378469 }, { "expert": 117, "rank": 9, "mean_importance_share": 0.011577955689, "cumulative_mean_importance_share": 0.118603646311, "scicode_importance_share": 0.010742939048, "terminal_bench_hard_agent_importance_share": 0.012412972329, "min_importance_share": 0.010742939048, "mean_activation_share": 0.007038091031, "mean_router_weight_share": 0.007086201529, "mean_contribution_l1_share": 0.00654272044 }, { "expert": 221, "rank": 10, "mean_importance_share": 0.011427008512, "cumulative_mean_importance_share": 0.130030654823, "scicode_importance_share": 0.020874508228, "terminal_bench_hard_agent_importance_share": 0.001979508797, "min_importance_share": 0.001979508797, "mean_activation_share": 0.004545664971, "mean_router_weight_share": 0.005164511866, "mean_contribution_l1_share": 0.003947023386 }, { "expert": 118, "rank": 11, "mean_importance_share": 0.010871063872, "cumulative_mean_importance_share": 0.140901718695, "scicode_importance_share": 0.015209415295, "terminal_bench_hard_agent_importance_share": 0.006532712448, "min_importance_share": 0.006532712448, "mean_activation_share": 0.005493444333, "mean_router_weight_share": 0.005621833304, "mean_contribution_l1_share": 0.006823169726 }, { "expert": 130, "rank": 12, "mean_importance_share": 0.010466860603, "cumulative_mean_importance_share": 0.151368579298, "scicode_importance_share": 0.018649334253, "terminal_bench_hard_agent_importance_share": 0.002284386953, "min_importance_share": 0.002284386953, "mean_activation_share": 0.006402820578, "mean_router_weight_share": 0.006972743705, "mean_contribution_l1_share": 0.005905821953 }, { "expert": 230, "rank": 13, "mean_importance_share": 0.010327184315, "cumulative_mean_importance_share": 0.161695763613, "scicode_importance_share": 0.018919214099, "terminal_bench_hard_agent_importance_share": 0.00173515453, "min_importance_share": 0.00173515453, "mean_activation_share": 0.003713784148, "mean_router_weight_share": 0.003772842976, "mean_contribution_l1_share": 0.005549382797 }, { "expert": 1, "rank": 14, "mean_importance_share": 0.009062479539, "cumulative_mean_importance_share": 0.170758243152, "scicode_importance_share": 0.009387725419, "terminal_bench_hard_agent_importance_share": 0.008737233658, "min_importance_share": 0.008737233658, "mean_activation_share": 0.006320678983, "mean_router_weight_share": 0.006729563559, "mean_contribution_l1_share": 0.006426502466 }, { "expert": 169, "rank": 15, "mean_importance_share": 0.008997681537, "cumulative_mean_importance_share": 0.179755924689, "scicode_importance_share": 0.014121137074, "terminal_bench_hard_agent_importance_share": 0.003874226001, "min_importance_share": 0.003874226001, "mean_activation_share": 0.004362281262, "mean_router_weight_share": 0.004410010995, "mean_contribution_l1_share": 0.005282287701 }, { "expert": 14, "rank": 16, "mean_importance_share": 0.008887251444, "cumulative_mean_importance_share": 0.188643176134, "scicode_importance_share": 0.005910866816, "terminal_bench_hard_agent_importance_share": 0.011863636073, "min_importance_share": 0.005910866816, "mean_activation_share": 0.003784260136, "mean_router_weight_share": 0.00398310445, "mean_contribution_l1_share": 0.004719513625 }, { "expert": 74, "rank": 17, "mean_importance_share": 0.008791120883, "cumulative_mean_importance_share": 0.197434297017, "scicode_importance_share": 0.006184402136, "terminal_bench_hard_agent_importance_share": 0.011397839631, "min_importance_share": 0.006184402136, "mean_activation_share": 0.004991456352, "mean_router_weight_share": 0.005587600954, "mean_contribution_l1_share": 0.007475901539 }, { "expert": 140, "rank": 18, "mean_importance_share": 0.008595047666, "cumulative_mean_importance_share": 0.206029344682, "scicode_importance_share": 0.012838389296, "terminal_bench_hard_agent_importance_share": 0.004351706035, "min_importance_share": 0.004351706035, "mean_activation_share": 0.004851471505, "mean_router_weight_share": 0.005102373315, "mean_contribution_l1_share": 0.004769665351 }, { "expert": 202, "rank": 19, "mean_importance_share": 0.008515898958, "cumulative_mean_importance_share": 0.214545243641, "scicode_importance_share": 0.005370439428, "terminal_bench_hard_agent_importance_share": 0.011661358488, "min_importance_share": 0.005370439428, "mean_activation_share": 0.005384698503, "mean_router_weight_share": 0.005272965902, "mean_contribution_l1_share": 0.005587392159 }, { "expert": 90, "rank": 20, "mean_importance_share": 0.008499603041, "cumulative_mean_importance_share": 0.223044846681, "scicode_importance_share": 0.014195152046, "terminal_bench_hard_agent_importance_share": 0.002804054035, "min_importance_share": 0.002804054035, "mean_activation_share": 0.005749812787, "mean_router_weight_share": 0.006015010997, "mean_contribution_l1_share": 0.005209913548 }, { "expert": 52, "rank": 21, "mean_importance_share": 0.008470928366, "cumulative_mean_importance_share": 0.231515775047, "scicode_importance_share": 0.015364206317, "terminal_bench_hard_agent_importance_share": 0.001577650414, "min_importance_share": 0.001577650414, "mean_activation_share": 0.003511598918, "mean_router_weight_share": 0.003712474174, "mean_contribution_l1_share": 0.005427013368 }, { "expert": 166, "rank": 22, "mean_importance_share": 0.008460823586, "cumulative_mean_importance_share": 0.239976598633, "scicode_importance_share": 0.008992251745, "terminal_bench_hard_agent_importance_share": 0.007929395426, "min_importance_share": 0.007929395426, "mean_activation_share": 0.005429410568, "mean_router_weight_share": 0.005769142175, "mean_contribution_l1_share": 0.004852477677 }, { "expert": 73, "rank": 23, "mean_importance_share": 0.00830474794, "cumulative_mean_importance_share": 0.248281346572, "scicode_importance_share": 0.012718088096, "terminal_bench_hard_agent_importance_share": 0.003891407783, "min_importance_share": 0.003891407783, "mean_activation_share": 0.004673111084, "mean_router_weight_share": 0.004656129445, "mean_contribution_l1_share": 0.004991412279 }, { "expert": 201, "rank": 24, "mean_importance_share": 0.008231449311, "cumulative_mean_importance_share": 0.256512795883, "scicode_importance_share": 0.013077588881, "terminal_bench_hard_agent_importance_share": 0.003385309741, "min_importance_share": 0.003385309741, "mean_activation_share": 0.005220120985, "mean_router_weight_share": 0.00572017025, "mean_contribution_l1_share": 0.00582093417 }, { "expert": 233, "rank": 25, "mean_importance_share": 0.008026142957, "cumulative_mean_importance_share": 0.264538938841, "scicode_importance_share": 0.001632155446, "terminal_bench_hard_agent_importance_share": 0.014420130469, "min_importance_share": 0.001632155446, "mean_activation_share": 0.005314602776, "mean_router_weight_share": 0.005355177056, "mean_contribution_l1_share": 0.005098882104 }, { "expert": 146, "rank": 26, "mean_importance_share": 0.00799973778, "cumulative_mean_importance_share": 0.272538676621, "scicode_importance_share": 0.011718958466, "terminal_bench_hard_agent_importance_share": 0.004280517095, "min_importance_share": 0.004280517095, "mean_activation_share": 0.003492446151, "mean_router_weight_share": 0.003489513724, "mean_contribution_l1_share": 0.005006092539 }, { "expert": 121, "rank": 27, "mean_importance_share": 0.007893121634, "cumulative_mean_importance_share": 0.280431798256, "scicode_importance_share": 0.012948707958, "terminal_bench_hard_agent_importance_share": 0.002837535311, "min_importance_share": 0.002837535311, "mean_activation_share": 0.005464369423, "mean_router_weight_share": 0.005600583714, "mean_contribution_l1_share": 0.005326168 }, { "expert": 96, "rank": 28, "mean_importance_share": 0.007554130329, "cumulative_mean_importance_share": 0.287985928585, "scicode_importance_share": 0.011630165012, "terminal_bench_hard_agent_importance_share": 0.003478095646, "min_importance_share": 0.003478095646, "mean_activation_share": 0.003865932851, "mean_router_weight_share": 0.003980789978, "mean_contribution_l1_share": 0.00547603232 }, { "expert": 251, "rank": 29, "mean_importance_share": 0.007442892024, "cumulative_mean_importance_share": 0.295428820608, "scicode_importance_share": 0.011096913818, "terminal_bench_hard_agent_importance_share": 0.003788870229, "min_importance_share": 0.003788870229, "mean_activation_share": 0.005375609032, "mean_router_weight_share": 0.005633801312, "mean_contribution_l1_share": 0.006267631483 }, { "expert": 53, "rank": 30, "mean_importance_share": 0.007393277569, "cumulative_mean_importance_share": 0.302822098177, "scicode_importance_share": 0.009028535471, "terminal_bench_hard_agent_importance_share": 0.005758019668, "min_importance_share": 0.005758019668, "mean_activation_share": 0.005418657866, "mean_router_weight_share": 0.005456482342, "mean_contribution_l1_share": 0.004842884211 }, { "expert": 198, "rank": 31, "mean_importance_share": 0.007228381087, "cumulative_mean_importance_share": 0.310050479265, "scicode_importance_share": 0.006767553095, "terminal_bench_hard_agent_importance_share": 0.00768920908, "min_importance_share": 0.006767553095, "mean_activation_share": 0.005564705578, "mean_router_weight_share": 0.005610012631, "mean_contribution_l1_share": 0.005376626328 }, { "expert": 133, "rank": 32, "mean_importance_share": 0.007223374495, "cumulative_mean_importance_share": 0.31727385376, "scicode_importance_share": 0.006186911268, "terminal_bench_hard_agent_importance_share": 0.008259837722, "min_importance_share": 0.006186911268, "mean_activation_share": 0.004979415602, "mean_router_weight_share": 0.005303850665, "mean_contribution_l1_share": 0.005410520508 }, { "expert": 226, "rank": 33, "mean_importance_share": 0.007201935098, "cumulative_mean_importance_share": 0.324475788858, "scicode_importance_share": 0.010909040496, "terminal_bench_hard_agent_importance_share": 0.003494829699, "min_importance_share": 0.003494829699, "mean_activation_share": 0.005392884068, "mean_router_weight_share": 0.005275560924, "mean_contribution_l1_share": 0.00598580147 }, { "expert": 158, "rank": 34, "mean_importance_share": 0.007142858214, "cumulative_mean_importance_share": 0.331618647072, "scicode_importance_share": 0.004886627436, "terminal_bench_hard_agent_importance_share": 0.009399088992, "min_importance_share": 0.004886627436, "mean_activation_share": 0.003958257938, "mean_router_weight_share": 0.003773245291, "mean_contribution_l1_share": 0.004072328825 }, { "expert": 160, "rank": 35, "mean_importance_share": 0.007103162923, "cumulative_mean_importance_share": 0.338721809995, "scicode_importance_share": 0.007174626436, "terminal_bench_hard_agent_importance_share": 0.00703169941, "min_importance_share": 0.00703169941, "mean_activation_share": 0.00540552485, "mean_router_weight_share": 0.005998192473, "mean_contribution_l1_share": 0.005432543005 }, { "expert": 175, "rank": 36, "mean_importance_share": 0.006994923181, "cumulative_mean_importance_share": 0.345716733176, "scicode_importance_share": 0.006933463857, "terminal_bench_hard_agent_importance_share": 0.007056382505, "min_importance_share": 0.006933463857, "mean_activation_share": 0.004522391909, "mean_router_weight_share": 0.004609015607, "mean_contribution_l1_share": 0.005248214638 }, { "expert": 78, "rank": 37, "mean_importance_share": 0.006747957615, "cumulative_mean_importance_share": 0.352464690791, "scicode_importance_share": 0.010016071007, "terminal_bench_hard_agent_importance_share": 0.003479844223, "min_importance_share": 0.003479844223, "mean_activation_share": 0.004265958968, "mean_router_weight_share": 0.00437492305, "mean_contribution_l1_share": 0.004956798684 }, { "expert": 199, "rank": 38, "mean_importance_share": 0.0066678673, "cumulative_mean_importance_share": 0.359132558091, "scicode_importance_share": 0.009110368132, "terminal_bench_hard_agent_importance_share": 0.004225366469, "min_importance_share": 0.004225366469, "mean_activation_share": 0.003053595998, "mean_router_weight_share": 0.002947637996, "mean_contribution_l1_share": 0.005078569412 }, { "expert": 22, "rank": 39, "mean_importance_share": 0.006626232098, "cumulative_mean_importance_share": 0.365758790189, "scicode_importance_share": 0.001292965985, "terminal_bench_hard_agent_importance_share": 0.011959498211, "min_importance_share": 0.001292965985, "mean_activation_share": 0.004854724967, "mean_router_weight_share": 0.004976100413, "mean_contribution_l1_share": 0.005796655975 }, { "expert": 57, "rank": 40, "mean_importance_share": 0.006579524172, "cumulative_mean_importance_share": 0.372338314361, "scicode_importance_share": 0.008675947387, "terminal_bench_hard_agent_importance_share": 0.004483100958, "min_importance_share": 0.004483100958, "mean_activation_share": 0.003801098531, "mean_router_weight_share": 0.003887069244, "mean_contribution_l1_share": 0.006570389087 }, { "expert": 254, "rank": 41, "mean_importance_share": 0.006540268729, "cumulative_mean_importance_share": 0.378878583089, "scicode_importance_share": 0.001368427298, "terminal_bench_hard_agent_importance_share": 0.011712110159, "min_importance_share": 0.001368427298, "mean_activation_share": 0.003658320906, "mean_router_weight_share": 0.003535460686, "mean_contribution_l1_share": 0.003856748413 }, { "expert": 227, "rank": 42, "mean_importance_share": 0.006455113918, "cumulative_mean_importance_share": 0.385333697007, "scicode_importance_share": 0.00972691789, "terminal_bench_hard_agent_importance_share": 0.003183309945, "min_importance_share": 0.003183309945, "mean_activation_share": 0.003767393386, "mean_router_weight_share": 0.003922449831, "mean_contribution_l1_share": 0.003465968068 }, { "expert": 102, "rank": 43, "mean_importance_share": 0.006232458876, "cumulative_mean_importance_share": 0.391566155883, "scicode_importance_share": 0.010484495679, "terminal_bench_hard_agent_importance_share": 0.001980422072, "min_importance_share": 0.001980422072, "mean_activation_share": 0.003880838537, "mean_router_weight_share": 0.004055098928, "mean_contribution_l1_share": 0.004459683469 }, { "expert": 89, "rank": 44, "mean_importance_share": 0.006144308, "cumulative_mean_importance_share": 0.397710463883, "scicode_importance_share": 0.009122511884, "terminal_bench_hard_agent_importance_share": 0.003166104116, "min_importance_share": 0.003166104116, "mean_activation_share": 0.004041722722, "mean_router_weight_share": 0.004185251259, "mean_contribution_l1_share": 0.005436871812 }, { "expert": 58, "rank": 45, "mean_importance_share": 0.006065000791, "cumulative_mean_importance_share": 0.403775464674, "scicode_importance_share": 0.007050420062, "terminal_bench_hard_agent_importance_share": 0.00507958152, "min_importance_share": 0.00507958152, "mean_activation_share": 0.005273630179, "mean_router_weight_share": 0.005418871306, "mean_contribution_l1_share": 0.004891398031 }, { "expert": 12, "rank": 46, "mean_importance_share": 0.006035779329, "cumulative_mean_importance_share": 0.409811244003, "scicode_importance_share": 0.008202268667, "terminal_bench_hard_agent_importance_share": 0.003869289992, "min_importance_share": 0.003869289992, "mean_activation_share": 0.005044125243, "mean_router_weight_share": 0.005390222802, "mean_contribution_l1_share": 0.004938947343 }, { "expert": 192, "rank": 47, "mean_importance_share": 0.005956490291, "cumulative_mean_importance_share": 0.415767734295, "scicode_importance_share": 0.003617179212, "terminal_bench_hard_agent_importance_share": 0.008295801371, "min_importance_share": 0.003617179212, "mean_activation_share": 0.00366447393, "mean_router_weight_share": 0.004031164787, "mean_contribution_l1_share": 0.005666588797 }, { "expert": 72, "rank": 48, "mean_importance_share": 0.005863496754, "cumulative_mean_importance_share": 0.421631231049, "scicode_importance_share": 0.007695630587, "terminal_bench_hard_agent_importance_share": 0.004031362921, "min_importance_share": 0.004031362921, "mean_activation_share": 0.005921729809, "mean_router_weight_share": 0.00614402724, "mean_contribution_l1_share": 0.007038053058 }, { "expert": 162, "rank": 49, "mean_importance_share": 0.005781077788, "cumulative_mean_importance_share": 0.427412308837, "scicode_importance_share": 0.01012527411, "terminal_bench_hard_agent_importance_share": 0.001436881466, "min_importance_share": 0.001436881466, "mean_activation_share": 0.004316942334, "mean_router_weight_share": 0.004311078007, "mean_contribution_l1_share": 0.004181023273 }, { "expert": 91, "rank": 50, "mean_importance_share": 0.005610619931, "cumulative_mean_importance_share": 0.433022928768, "scicode_importance_share": 0.00635804848, "terminal_bench_hard_agent_importance_share": 0.004863191381, "min_importance_share": 0.004863191381, "mean_activation_share": 0.004068434701, "mean_router_weight_share": 0.004076254577, "mean_contribution_l1_share": 0.005111958431 }, { "expert": 15, "rank": 51, "mean_importance_share": 0.005602867317, "cumulative_mean_importance_share": 0.438625796085, "scicode_importance_share": 0.007031238558, "terminal_bench_hard_agent_importance_share": 0.004174496077, "min_importance_share": 0.004174496077, "mean_activation_share": 0.00535662167, "mean_router_weight_share": 0.005501494461, "mean_contribution_l1_share": 0.005484436925 }, { "expert": 75, "rank": 52, "mean_importance_share": 0.005569658549, "cumulative_mean_importance_share": 0.444195454634, "scicode_importance_share": 0.007813925194, "terminal_bench_hard_agent_importance_share": 0.003325391904, "min_importance_share": 0.003325391904, "mean_activation_share": 0.004779860382, "mean_router_weight_share": 0.004795778712, "mean_contribution_l1_share": 0.004957513933 } ], "keep_experts_compact": "1,12,14,15,16,22,31,33,52,53,57,58,64,72,73,74,75,78,89,90,91,96,102,103,117,118,121,130,133,134,140,146,150,158,160,162,166,169,175,192,198,199,201,202,209,221,226,227,230,233,251,254" }