None of the 5 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (5 no recorded run), measured 2026-11-22; 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/2206.00700.json · badge: /api/ran/2206.00700.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 |
|---|---|---|
| bkghz-orange-blue/counternet_adv | canonical (classifier label) classifier basis not recorded on the link |
0 ran · 5 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| bn_func | Not yet run unverified (harvested, no recorded run) |
bkghz-orange-blue/counternet_adv/counterfactual/utils.py code served (permissive licence) · get_code("2253226024406245") How it ranno invocation recorded. |
| custom_doc_links | Not yet run unverified (harvested, no recorded run) |
bkghz-orange-blue/counternet_adv/counterfactual/_nbdev.py code served (permissive licence) · get_code("c00f1d9594b0678a") How it ranno invocation recorded. |
| load_json | Not yet run unverified (harvested, no recorded run) |
bkghz-orange-blue/counternet_adv/counterfactual/utils.py code served (permissive licence) · get_code("934c3e9b8141d431") How it ranno invocation recorded. |
| proximity | Not yet run unverified (harvested, no recorded run) |
bkghz-orange-blue/counternet_adv/counterfactual/evaluate.py code served (permissive licence) · get_code("bba6520946c8b98e") How it ranno invocation recorded. |
| update_json_file | Not yet run unverified (harvested, no recorded run) |
bkghz-orange-blue/counternet_adv/counterfactual/utils.py code served (permissive licence) · get_code("b2bf0e43783b572b") How it ranno invocation recorded. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 3 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 |
|---|---|---|---|
| custom_doc_links | 9 other papers 8 dated earlier, 1 later |
1403.6652 (2014-03) DeepWalk: Online Learning of Social Representations |
1604.07143 (2016-04) Neural Random Forests 1812.08693 (2018-12) An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translation and 6 more not named here |
| load_json | 1 other paper 1 later |
2212.10847 (2022-12) VCNet: A self-explaining model for realistic counterfactual generation |
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.
Counterfactual (CF) explanations for machine learning (ML) models are preferred by end-users, as they explain the predictions of ML models by providing a recourse (or contrastive) case to individuals who are adversely impacted by predicted outcomes. Existing CF explanation methods generate recourses under the assumption that the underlying target ML model remains stationary over time. However, due to commonly occurring distributional shifts in training data, ML models constantly get updated in practice, which might render previously generated recourses invalid and diminish end-users trust in our algorithmic framework. To address this problem, we propose RoCourseNet, a training framework that jointly optimizes predictions and recourses that are robust to future data shifts. This work contains four key contributions: (1) We formulate the robust recourse generation problem as a tri-level optimization problem which consists of two sub-problems: (i) a bi-level problem that finds the worst-case adversarial shift in the training data, and (ii) an outer minimization problem to generate robust recourses against this worst-case shift. (2) We leverage adversarial training to solve this tri-level optimization problem by: (i) proposing a novel virtual data shift (VDS) algorithm to find worst-case shifted ML models via explicitly considering the worst-case data shift in the training dataset, and (ii) a block-wise coordinate descent procedure to optimize for prediction and corresponding robust recourses. (3) We evaluate RoCourseNet's performance on three real-world datasets, and show that RoCourseNet consistently achieves more than 96% robust validity and outperforms state-of-the-art baselines by at least 10% in generating robust CF explanations. (4) Finally, we generalize the RoCourseNet framework to accommodate any parametric post-hoc methods for improving robust validity.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2206.00700")
get_code_for_paper("2206.00700")
have("2206.00700")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2206.00700.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2206.00700)
Connect an agent — have() is free.