Hamed Firooz, Maziar Sanjabi, Aaron Chan, Shaoliang Nie, Brihi Joshi, Ziyi Liu, Xiang
12 of 13 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 11 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-24; 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/2022.findings-emnlp.242.json · badge: /api/ran/2022.findings-emnlp.242.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 |
|---|---|---|
| INK-USC/er-test | canonical (classifier label) classifier basis: census |
12 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| MLP_factory | Ran ran on a synthesized input |
INK-USC/er-test/src/model/mlp.py code served (permissive licence) · get_code("7561394d24106b69") 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 Sequential. 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.
|
| calc_comp | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/metrics.py code served (permissive licence) · get_code("d7dfa6e9d998beaf") 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 0, dtype family float, shape () 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.
|
| calc_expl | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/expl.py code served (permissive licence) · get_code("2e614b4b5f577914") 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 int, 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.
|
| calc_neg_expl_loss | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/losses.py code served (permissive licence) · get_code("a05c2d5df88ccc40") 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 0, dtype family float, shape () 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.
|
| calc_pos_expl_loss | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/losses.py code served (permissive licence) · get_code("6090bcb4b774484e") 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 0, dtype family float, shape () 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.
|
| calc_preds | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/metrics.py code served (permissive licence) · get_code("5545d796a539a4b2") 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 1, dtype family int, shape (2,) 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.
|
| calc_task_loss | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/losses.py code served (permissive licence) · get_code("92778122c17c0b74") 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 0, dtype family float, shape () 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.
|
| flatten_cfg | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/logging.py code served (permissive licence) · get_code("2036a8489d9ca965") 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.
|
| get_logger | Ran ran; our contract draft was wrong, not the code |
INK-USC/er-test/src/utils/logging.py code served (permissive licence) · get_code("3ca61f6f5c5ae515") 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 Logger. 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.
|
| is_subsequence | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/misc.py code served (permissive licence) · get_code("85bd5c0578540349") 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 bool, ndim 0, dtype family float, shape () 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.
|
| setup_optimizer_params | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/optim.py code served (permissive licence) · get_code("9f156c42ba2c5cb9") 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 list, 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.
|
| setup_scheduler | Ran ran on a synthesized input |
INK-USC/er-test/src/utils/optim.py code served (permissive licence) · get_code("2aa1401f431ebb79") 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.
|
| init_perf_metrics | Not yet run unverified (harvested, no recorded run) |
INK-USC/er-test/src/utils/metrics.py code served (permissive licence) · get_code("c395390dabe66b1a") How it ranno 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, 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 12 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 |
|---|---|---|---|
| get_logger | 3 other papers 1 dated earlier, 1 later, 1 same year, order not determinable · 1 only as an assembly brick |
1312.5602 (2013-12) Playing Atari with Deep Reinforcement Learning |
2210.09337 (2022-10) Robust Imitation of a Few Demonstrations with a Backwards Model 2407.08751 (2024-07) Latent Diffusion for Neural Spiking Data |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
By explaining how humans would solve a given task, human rationales can provide strong learning signal for neural language models (NLMs). Explanation regularization (ER) aims to improve NLM generalization by pushing the NLM's machine rationales (Which input tokens did the NLM focus on?) to align with human rationales (Which input tokens would humans focus on?). Though prior works primarily study ER via in-distribution (ID) evaluation, out-ofdistribution (OOD) generalization is often more critical in real-world scenarios, yet ER's effect on OOD generalization has been underexplored. In this paper, we introduce ER-TEST, a framework for evaluating ER models' OOD generalization along three dimensions: unseen datasets, contrast set tests, and functional tests. Using ER-TEST, we comprehensively analyze how ER models' OOD generalization varies with the rationale alignment criterion (loss function), human rationale type (instance-level vs. task-level), number and choice of rationaleannotated instances, and time budget for rationale annotation. Across two tasks and six datasets, we show that ER has little impact on ID performance but yields large OOD performance gains, with the best ER criterion being task-dependent. Also, ER can improve OOD performance even with task-level or few human rationales. Finally, we find that rationale annotation is more time-efficient than label annotation for improving OOD performance. Our results with ER-TEST help demonstrate ER's utility and establish best practices for using ER effectively.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2022.findings-emnlp.242")
get_code_for_paper("2022.findings-emnlp.242")
have("2022.findings-emnlp.242")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2022.findings-emnlp.242.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2022.findings-emnlp.242)
Connect an agent — have() is free.