3 of 5 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 0 have no contract verdict; 3 failures of our instrument; 2 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/2212.00638.json · badge: /api/ran/2212.00638.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 |
|---|---|---|
| locuslab/flyp | canonical (classifier label) classifier basis not recorded on the link |
3 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| basic_clean | Ran ran; our contract draft was wrong, not the code |
locuslab/flyp/clip/tokenizer.py pointer only (licence: MIT); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("98f385d847636a3e") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ltpwy/MSCI, 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. |
| get_pairs | Ran ran; our contract draft was wrong, not the code |
locuslab/flyp/clip/tokenizer.py code served (permissive licence) · get_code("d919ae32e5e4e616") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned set. 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.
|
| whitespace_clean | Ran ran; our contract draft was wrong, not the code |
locuslab/flyp/clip/tokenizer.py pointer only (licence: MIT); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("9542161e9640b858") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ltpwy/MSCI, 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. |
| build_model | Not yet run unverified (harvested, no recorded run) |
locuslab/flyp/clip/model.py pointer only (licence: MIT); the stored copy get_code serves, from HesamAsad/TRACER, is pointer only (licence: NONE) · get_code("b64f67bec6a093b9") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HesamAsad/TRACER, 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. No invocation recorded. |
| gather_features | Not yet run unverified (harvested, no recorded run) |
locuslab/flyp/clip/loss.py pointer only (licence: MIT); the stored copy get_code serves, from lxa9867/imagefolder, is pointer only (licence: NOASSERTION) · get_code("ddcbd45e940484ee") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lxa9867/imagefolder, and GitHub could not classify the licence of that repository (NOASSERTION). 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 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, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 5 later) and 0 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_pairs | 258 other papers 35 dated earlier, 5 the same month, 217 later, 1 undated · 4 only as an assembly brick |
1802.06474 (2018-02) A Closed-form Solution to Photorealistic Image Stylization |
1803.01128 (2018-03) Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples 1809.00125 (2018-09) Simple Fusion: Return of the Language Model and 255 more not named here |
| whitespace_clean | 231 other papers 21 dated earlier, 5 the same month, 204 later, 1 undated · 4 only as an assembly brick |
1901.07441 (2019-01) PadChest: A large chest x-ray image dataset with multi-label annotated reports |
2107.06383 (2021-07) How Much Can CLIP Benefit Vision-and-Language Tasks? 2108.10904 (2021-08) SimVLM: Simple Visual Language Model Pretraining with Weak Supervision and 228 more not named here |
| basic_clean | 218 other papers 21 dated earlier, 5 the same month, 191 later, 1 undated · 4 only as an assembly brick |
1901.07441 (2019-01) PadChest: A large chest x-ray image dataset with multi-label annotated reports |
2107.06383 (2021-07) How Much Can CLIP Benefit Vision-and-Language Tasks? 2108.10904 (2021-08) SimVLM: Simple Visual Language Model Pretraining with Weak Supervision and 215 more not named here |
| gather_features | 57 other papers 1 dated earlier, 56 later · 1 only as an assembly brick |
2206.01670 (2022-06) Egocentric Video-Language Pretraining |
2301.07094 (2023-01) Learning Customized Visual Models with Retrieval-Augmented Knowledge 2302.03668 (2023-02) Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery and 54 more not named here |
| build_model | 8 other papers 1 dated earlier, 7 later |
2208.05592 (2022-08) Patching open-vocabulary models by interpolating weights |
2302.13602 (2023-02) The Role of Pre-training Data in Transfer Learning 2308.01313 (2023-08) PerceptionCLIP: Visual Classification by Inferring and Conditioning on Contexts and 5 more not named here |
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.
Finetuning image-text models such as CLIP achieves state-of-the-art accuracies on a variety of benchmarks. However, recent works like WiseFT (Wortsman et al., 2021) and LP-FT (Kumar et al., 2022) have shown that even subtle differences in the finetuning process can lead to surprisingly large differences in the final performance, both for in-distribution (ID) and out-of-distribution (OOD) data. In this work, we show that a natural and simple approach of mimicking contrastive pretraining consistently outperforms alternative finetuning approaches. Specifically, we cast downstream class labels as text prompts and continue optimizing the contrastive loss between image embeddings and class-descriptive prompt embeddings (contrastive finetuning). Our method consistently outperforms baselines across 7 distribution shifts, 6 transfer learning, and 3 few-shot learning benchmarks. On WILDS-iWILDCam, our proposed approach FLYP outperforms the top of the leaderboard by $2.3\%$ ID and $2.7\%$ OOD, giving the highest reported accuracy. Averaged across 7 OOD datasets (2 WILDS and 5 ImageNet associated shifts), FLYP gives gains of $4.2\%$ OOD over standard finetuning and outperforms the current state of the art (LP-FT) by more than $1\%$ both ID and OOD. Similarly, on 3 few-shot learning benchmarks, our approach gives gains up to $4.6\%$ over standard finetuning and $4.4\%$ over the state of the art. In total, these benchmarks establish contrastive finetuning as a simple, intuitive, and state-of-the-art approach for supervised finetuning of image-text models like CLIP. Code is available at https://github.com/locuslab/FLYP.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2212.00638")
get_code_for_paper("2212.00638")
have("2212.00638")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2212.00638.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2212.00638)
Connect an agent — have() is free.