Javier Ferrando, Marta Costa-Jussà, Ioannis Tsiamas, Gerard Gállego
9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2305.12535.json · badge: /api/ran/2305.12535.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 |
|---|---|---|
| mt-upc/logit-explanations | canonical (classifier label) classifier basis: census |
9 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| model_preds | Ran ran; our contract draft was wrong, not the code |
mt-upc/logit-explanations/lm_saliency.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from kayoyin/interpret-lm, is pointer only (licence: NONE) · get_code("4f8ea1ef4a3b4d38") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from kayoyin/interpret-lm, and GitHub detected no licence in that repository 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. |
| normalize_attribution_visualization | Ran ran on a synthesized input |
mt-upc/logit-explanations/src/utils_contributions.py code served (permissive licence) · get_code("2bdd8bf55d1dacd1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| normalize_contributions | Ran ran on a synthesized input |
mt-upc/logit-explanations/src/utils_contributions.py code served (permissive licence) · get_code("49edb238be0a61d0") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (3, 2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| read_attribution_scores | Ran ran on a synthesized input |
mt-upc/logit-explanations/src/utils_evaluation.py code served (permissive licence) · get_code("d666903d478de356") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| read_blimp_dataset | Ran ran on a synthesized input |
mt-upc/logit-explanations/extract_explanations.py code served (permissive licence) · get_code("d84edf920238d8c2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| read_sentence_target_foil | Ran ran on a synthesized input |
mt-upc/logit-explanations/src/utils_evaluation.py code served (permissive licence) · get_code("4a8acba50f4c94f6") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| register_embedding_gradient_hooks | Ran ran on a synthesized input |
mt-upc/logit-explanations/lm_saliency.py code served (permissive licence) · get_code("11312f5a29459cc0") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RemovableHandle. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| register_embedding_list_hook | Ran ran on a synthesized input |
mt-upc/logit-explanations/lm_saliency.py code served (permissive licence) · get_code("a5d85e23d4429891") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RemovableHandle. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| tokens2words | Ran ran on a synthesized input |
mt-upc/logit-explanations/extract_explanations.py code served (permissive licence) · get_code("640771894bf085d4") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_module | Not yet run unverified (harvested, no recorded run) |
mt-upc/logit-explanations/src/contributions.py code served (permissive licence) · get_code("0b0bac3cd5d8d507") How it ranno invocation recorded. |
| load_model_tokenizer | Not yet run unverified (harvested, no recorded run) |
mt-upc/logit-explanations/src/utils_contributions.py code served (permissive licence) · get_code("0cf59c38d6eded2a") How it ranno invocation recorded. |
| track2input_tokens | Not yet run unverified (harvested, no recorded run) |
mt-upc/logit-explanations/extract_explanations.py code served (permissive licence) · get_code("ea07643ad028f852") How it ranno invocation recorded. |
Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 11 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| model_preds | 2 other papers 1 dated earlier, 1 later |
2202.10419 (2022-02) Interpreting Language Models with Contrastive Explanations |
2311.07230 (2023-11) How are Prompts Different in Terms of Sensitivity? |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Language Generation Models produce words based on the previous context. Although existing methods offer input attributions as explanations for a model's prediction, it is still unclear how prior words affect the model's decision throughout the layers. In this work, we leverage recent advances in explainability of the Transformer and present a procedure to analyze models for language generation. Using contrastive examples, we compare the alignment of our explanations with evidence of the linguistic phenomena, and show that our method consistently aligns better than gradient-based and perturbation-based baselines. Then, we investigate the role of MLPs inside the Transformer and show that they learn features that help the model predict words that are grammatically acceptable. Lastly, we apply our method to Neural Machine Translation models, and demonstrate that they generate human-like source-target alignments for building predictions.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2305.12535")
get_code_for_paper("2305.12535")
have("2305.12535")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2305.12535.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2305.12535)
Connect an agent — have() is free.