Yonglong Tian, Dilip Krishnan, Piotr Teterwak, Aaron Sarna, Aaron Maschinot, Chen Wang, Prannay Khosla, Mit Phillip, Isola Mit
17 of 23 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; 2 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 5 failures of our instrument; 6 no recorded run), measured 2026-11-21; 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/2004.11362.json · badge: /api/ran/2004.11362.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 |
|---|---|---|
| PaperCodeReview/SupCL-TF | community (classifier label) classifier basis not recorded on the link |
6 ran · 1 no recorded run |
| davidczy/supcon_gamma | community (classifier label) classifier basis not recorded on the link |
3 ran · 1 no recorded run |
| XG293/SupConLoss | community (classifier label) classifier basis not recorded on the link |
2 ran · 2 no recorded run |
| sidtandon2014/fw-shapley | community (classifier label) classifier basis not recorded on the link |
2 ran · 1 no recorded run |
| alexk1704/scclv2 | community (classifier label) classifier basis not recorded on the link |
2 ran · 0 no recorded run |
| raymin0223/self-contrastive-learning | reimplementation (classifier label) classifier basis: classifier_2025 |
1 ran · 1 no recorded run |
| Liut2016/ecg-supcontrast | reimplementation (classifier label) classifier basis: classifier_2025 |
1 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| conv3x3x3 | Ran ran; our contract draft was wrong, not the code |
davidczy/supcon_gamma/networks/ThreeDResnet.py code served (permissive licence) · get_code("c3b215555357b9d1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Conv3d. 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.
|
| create_model | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/model.py code served (permissive licence) · get_code("6ea12cd09e4f96c6") 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 Functional. 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.
|
| crossentropy | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/loss.py code served (permissive licence) · get_code("e42d6851a241a214") 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 function. 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.
|
| default_loader | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
sidtandon2014/fw-shapley/src/shapley/embedding/custom_loader.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from NA-HMC/NA-HMC, is pointer only (licence: NONE) · get_code("7bf07d5f59aae36d") 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 NA-HMC/NA-HMC, 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. |
| downsample_basic_block | Ran ran; our contract draft was wrong, not the code |
davidczy/supcon_gamma/networks/ThreeDResnet.py code served (permissive licence) · get_code("43c0211ff8dbca5f") 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 Tensor, ndim 5, dtype family float, shape (2, 8, 2, 2, 2) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.
|
| fetch_dataset | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/dataloader.py code served (permissive licence) · get_code("104ecf80bfd973ca") 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 _TensorDataset. 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_fine_tuning_parameters | Ran ran on a synthesized input |
davidczy/supcon_gamma/networks/ThreeDResnet.py code served (permissive licence) · get_code("49df9db56daeba4a") 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.
|
| get_logger | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/common.py code served (permissive licence) · get_code("e9cdcc13fe49820c") 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.
|
| obtain_contrastive_loss | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
Liut2016/ecg-supcontrast/losses.py code served (permissive licence) · get_code("909920018e1f3cef") 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 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.
|
| pil_loader | Ran ran, honoured the contract we drafted |
sidtandon2014/fw-shapley/src/shapley/embedding/custom_loader.py code served (permissive licence) · get_code("f321f54723433661") 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 Image. 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_img | Ran ran on a synthesized input |
alexk1704/scclv2/src/cl_replay/api/utils/convert_ds.py code served (permissive licence) · get_code("1fd4a495ba449048") 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 ndarray, ndim 4, dtype family int, shape (2, 28, 28, 1) 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_labels | Ran ran on a synthesized input |
alexk1704/scclv2/src/cl_replay/api/utils/convert_ds.py code served (permissive licence) · get_code("f4731b89be918d6f") 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 ndarray, ndim 1, dtype family int, shape (10,) 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.
|
| set_dataset | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/dataloader.py code served (permissive licence) · get_code("221d06a1b512b025") 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.
|
| set_optimizer | Ran ran; our contract draft was wrong, not the code |
XG293/SupConLoss/util.py pointer only (licence: BSD-2-Clause); the stored copy get_code serves, from deeplearning-wisc/haloscope, is pointer only (licence: NONE) · get_code("a44a1925c2c778ba") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-2-Clause), but get_code serves the stored copy, first harvested from deeplearning-wisc/haloscope, 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. |
| supervised_contrastive | Ran ran on a synthesized input |
PaperCodeReview/SupCL-TF/loss.py code served (permissive licence) · get_code("852634a603bdd4fa") 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 function. 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.
|
| train | Ran ran, honoured the contract we drafted |
raymin0223/self-contrastive-learning/main_represent.py code served (permissive licence) · get_code("d8660dac176225e1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned float, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.
|
| wrn28_10 | Ran ran on a synthesized input |
XG293/SupConLoss/networks/wide_resnet.py code served (permissive licence) · get_code("5e3536a0b5948376") 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 WideResNet. 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.
|
| accimage_loader | Not yet run unverified (harvested, no recorded run) |
sidtandon2014/fw-shapley/src/shapley/embedding/custom_loader.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("404fb2b2daa1ae78") 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 RobustBench/robustbench, 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. |
| accuracy | Not yet run unverified (harvested, no recorded run) |
XG293/SupConLoss/util.py pointer only (licence: BSD-2-Clause); the stored copy get_code serves, from boone891214/MEST, is pointer only (licence: NONE) · get_code("913d82af53065418") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-2-Clause), but get_code serves the stored copy, first harvested from boone891214/MEST, 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. |
| search_same | Not yet run unverified (harvested, no recorded run) |
PaperCodeReview/SupCL-TF/common.py code served (permissive licence) · get_code("d04d43e439b0324a") How it ranno invocation recorded. |
| set_loader | Not yet run unverified (harvested, no recorded run) |
XG293/SupConLoss/main_ce.py pointer only (licence: BSD-2-Clause); the stored copy get_code serves, from dongguanting/dpa-rag, is pointer only (licence: NONE) · get_code("2297ed2ca4911b7c") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-2-Clause), but get_code serves the stored copy, first harvested from dongguanting/dpa-rag, 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. |
| set_loader | Not yet run unverified (harvested, no recorded run) |
davidczy/supcon_gamma/main_supcon_thick.py code served (permissive licence) · get_code("750f33f8190dba7b") How it ranno invocation recorded. |
| train | Not yet run unverified (harvested, no recorded run) |
raymin0223/self-contrastive-learning/main_linear.py code served (permissive licence) · get_code("18ee2c887bb737f7") How it ranno invocation recorded. |
Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 3 the same month, 8 later) and 14 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 |
|---|---|---|---|
| accuracy | 80 other papers 31 dated earlier, 4 the same month, 45 later |
1307.0414 (2013-07) Challenges in Representation Learning: A report on three machine learning contests |
1412.6553 (2014-12) Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition 1503.02531 (2015-03) Distilling the Knowledge in a Neural Network and 77 more not named here |
| pil_loader | 66 other papers 8 dated earlier, 1 the same month, 57 later |
1502.03044 (2015-02) Show, Attend and Tell: Neural Image Caption Generation with Visual Attention |
1710.10196 (2017-10) Progressive Growing of GANs for Improved Quality, Stability, and Variation 1711.02512 (2017-11) Fine-tuning CNN Image Retrieval with No Human Annotation and 63 more not named here |
| accimage_loader | 39 other papers 8 dated earlier, 31 later |
1702.00758 (2017-02) HashNet: Deep Learning to Hash by Continuation |
1711.02512 (2017-11) Fine-tuning CNN Image Retrieval with No Human Annotation 1805.00907 (2018-05) Glow: Graph Lowering Compiler Techniques for Neural Networks and 36 more not named here |
| default_loader | 28 other papers 3 dated earlier, 25 later |
1907.02665 (2019-07) Blind Image Quality Assessment Using A Deep Bilinear Convolutional Neural Network |
2003.05033 (2020-03) Generalized Energy Based Models 2003.13659 (2020-03) Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation and 25 more not named here |
| conv3x3x3 | 19 other papers 7 dated earlier, 1 the same month, 11 later |
1711.08580 (2017-11) 3D Anisotropic Hybrid Network: Transferring Convolutional Features from 2D Images to 3D Anisotropic Volumes |
1711.09577 (2017-11) Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet? 1908.01373 (2019-08) Unsupervised Microvascular Image Segmentation Using an Active Contours Mimicking Neural Network and 16 more not named here |
| downsample_basic_block | 15 other papers 7 dated earlier, 8 later |
1705.07750 (2017-05) Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset |
1711.09577 (2017-11) Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet? 1908.01373 (2019-08) Unsupervised Microvascular Image Segmentation Using an Active Contours Mimicking Neural Network and 12 more not named here |
| set_optimizer | 9 other papers 2 dated earlier, 7 later |
1901.07659 (2019-01) A Machine Learning Benchmark for Facies Classification |
1906.05849 (2019-06) Contrastive Multiview Coding 2106.05258 (2021-06) Generative Models as a Data Source for Multiview Representation Learning and 6 more not named here |
| set_loader | 3 other papers 3 later |
2308.10239 (2023-08) From Global to Local: Multi-scale Out-of-distribution Detection |
2311.01196 (2023-11) Combating Bilateral Edge Noise for Robust Link Prediction 2406.18676 (2024-06) Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation |
| get_logger | 2 other papers 2 dated earlier |
2003.04297 (2020-03) Improved Baselines with Momentum Contrastive Learning |
2003.13678 (2020-03) Designing Network Design Spaces |
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-21.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Contrastive learning applied to self-supervised representation learning has seen a resurgence in recent years, leading to state of the art performance in the unsupervised training of deep image models. Modern batch contrastive approaches subsume or significantly outperform traditional contrastive losses such as triplet, max-margin and the N-pairs loss. In this work, we extend the self-supervised batch contrastive approach to the fully-supervised setting, allowing us to effectively leverage label information. Clusters of points belonging to the same class are pulled together in embedding space, while simultaneously pushing apart clusters of samples from different classes. We analyze two possible versions of the supervised contrastive (SupCon) loss, identifying the best-performing formulation of the loss. On ResNet-200, we achieve top-1 accuracy of 81.4% on the Ima-geNet dataset, which is 0.8% above the best number reported for this architecture. We show consistent outperformance over cross-entropy on other datasets and two ResNet variants. The loss shows benefits for robustness to natural corruptions, and is more stable to hyperparameter settings such as optimizers and data augmentations. Our loss function is simple to implement and reference TensorFlow code is released at https://t.ly/supcon 1 .
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2004.11362")
get_code_for_paper("2004.11362")
have("2004.11362")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2004.11362.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2004.11362)
Connect an agent — have() is free.