Jiacheng Liang, Yuhui Wang, Ting Wang, Tanqiu Jiang
10 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.04448.json · badge: /api/ran/2602.04448.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| JACKPURCELL/RASAMoE-public | community Papers with Code archive |
10 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| DataCollatorWithLabelIds | Ran ran on a synthesized input · constructed an object; no result was computed |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("fafb6f25dd3c217f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| compute_router_consistency_loss_two_forward | Ran ran, honoured the contract we drafted |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("c9e91a1a29aa1e65") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| create_batch_aware_dataset | Ran ran; our contract draft was wrong, not the code |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("28fbbc4569d0c366") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| create_batch_structured_dataset | Ran ran; our contract draft was wrong, not the code |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("025f2afeefebd941") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| extract_router_probs_from_storage | Ran ran; our contract draft was wrong, not the code |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("638636bce061d5f8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| freeze_all_except_routers | Ran ran, honoured the contract we drafted |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("6b27737008eb1ccd") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| freeze_all_except_unsafe_experts | Ran ran, honoured the contract we drafted |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("d92fb60cf1f0da3d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| load_prepared_batch_data | Ran ran; our contract draft was wrong, not the code |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("58938d626bcb3324") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| register_router_hooks | Ran ran, honoured the contract we drafted |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("6e3a39bffa679634") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| unfreeze_all_parameters | Ran ran, honoured the contract we drafted |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("9e46159754607684") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| train_alternating_optimization | Not yet run unverified (harvested, no recorded run) |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("960624622c7ff999") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| train_one_epoch_experts | Not yet run unverified (harvested, no recorded run) |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("62b43474b086760f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| train_one_epoch_router | Not yet run unverified (harvested, no recorded run) |
JACKPURCELL/RASAMoE-public/train_alternating_optimization.py pointer only (licence: NONE) · get_code("87691ea86267c57e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, JACKPURCELL/RASAMoE-public when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Mixture-of-Experts (MoE) language models introduce unique challenges for safety alignment due to their sparse routing mechanisms, which can enable degenerate optimization behaviors under standard full-parameter fine-tuning. In our preliminary experiments, we observe that naively applying full-parameter safety fine-tuning to MoE models can appear to improve safety through routing or expert dominance effects, rather than by directly repairing Safety-Critical Experts. To address this challenge, we propose RASA, a routing-aware expert-level alignment framework that explicitly repairs Safety-Critical Experts while preventing routing-based bypasses. RASA identifies experts disproportionately activated by successful jailbreaks, selectively fine-tunes only these experts under fixed routing, and subsequently enforces routing consistency with safety-aligned contexts. Across two representative MoE architectures and a diverse set of jailbreak attacks, RASA achieves near-perfect robustness, strong cross-attack generalization, and controlled over-refusal in single-attack settings, while preserving general capabilities on benchmarks such as MMLU, GSM8K, and TruthfulQA. Our results suggest that robust MoE safety alignment benefits from targeted expert repair rather than global parameter updates, offering a practical and architecture-preserving alternative to prior approaches. The code is available at: https://github.com/JACKPURCELL/RASAMoE-public.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.04448")
get_code_for_paper("2602.04448")
have("2602.04448")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2602.04448.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2602.04448)
Connect an agent — have() is free.