Rui Zhang, Hantao Yao, Changsheng Xu
1 of 3 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 0 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/2303.13283.json · badge: /api/ran/2303.13283.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 |
|---|---|---|
| KaiyangZhou/CoOp | canonical (classifier label) classifier basis not recorded on the link |
1 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| compute_ci95 | Ran ran, honoured the contract we drafted |
KaiyangZhou/CoOp/parse_test_res.py code served (permissive licence) · get_code("ba26afd892405335") 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 float64, ndim 0, 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.
|
| build_model | Not yet run unverified (harvested, no recorded run) |
KaiyangZhou/CoOp/clip/model.py pointer only (licence: MIT); the stored copy get_code serves, from Sheldon04/NeRP, is pointer only (licence: NONE) · get_code("c47aa9e5b049a11d") 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 Sheldon04/NeRP, 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. |
| load | Not yet run unverified (harvested, no recorded run) |
KaiyangZhou/CoOp/clip/clip.py code served (permissive licence) · get_code("fbf8c0143d9c48e3") How it ranno invocation recorded. |
Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 3 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 |
|---|---|---|---|
| build_model | 119 other papers 25 dated earlier, 1 the same month, 88 later, 3 same year, order not determinable, 2 undated |
1809.11096 (2018-09) Large Scale GAN Training for High Fidelity Natural Image Synthesis |
1901.07441 (2019-01) PadChest: A large chest x-ray image dataset with multi-label annotated reports 2104.14294 (2021-04) Emerging Properties in Self-Supervised Vision Transformers and 116 more not named here |
| load | 88 other papers 8 dated earlier, 76 later, 3 same year, order not determinable, 1 undated |
2203.05557 (2022-03) Conditional Prompt Learning for Vision-Language Models |
2206.01986 (2022-06) Delving into the Openness of CLIP 2207.12819 (2022-07) S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learning and 85 more not named here |
| compute_ci95 | 37 other papers 6 dated earlier, 29 later, 1 same year, order not determinable, 1 undated |
2106.00592 (2021-06) Semi-Supervised Domain Generalization with Stochastic StyleMatch |
2203.05557 (2022-03) Conditional Prompt Learning for Vision-Language Models 2203.07740 (2022-03) Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization and 34 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.
Prompt tuning is an effective way to adapt the pretrained visual-language model (VLM) to the downstream task using task-related textual tokens. Representative CoOp-based work combines the learnable textual tokens with the class tokens to obtain specific textual knowledge. However, the specific textual knowledge is worse generalization to the unseen classes because it forgets the essential general textual knowledge having a strong generalization ability. To tackle this issue, we introduce a novel Knowledge-guided Context Optimization (KgCoOp) to enhance the generalization ability of the learnable prompt for unseen classes. The key insight of KgCoOp is that the forgetting about essential knowledge can be alleviated by reducing the discrepancy between the learnable prompt and the hand-crafted prompt. Especially, KgCoOp minimizes the discrepancy between the textual embeddings generated by learned prompts and the hand-crafted prompts. Finally, adding the Kg-CoOp upon the contrastive loss can make a discriminative prompt for both seen and unseen tasks. Extensive evaluation of several benchmarks demonstrates that the proposed Knowledge-guided Context Optimization is an efficient method for prompt tuning, i.e., achieves better performance with less training time. code.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2303.13283")
get_code_for_paper("2303.13283")
have("2303.13283")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2303.13283.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2303.13283)
Connect an agent — have() is free.