6 of 10 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 3 have no contract verdict; 2 failures of our instrument; 4 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/1902.04601.json · badge: /api/ran/1902.04601.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 |
|---|---|---|
| abidlabs/contrastive_vae | canonical (classifier label) classifier basis: census |
6 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| filter_images_by_attribute | Ran ran on a synthesized input |
abidlabs/contrastive_vae/celeb_utils.py code served (permissive licence) · get_code("1619fbf9e0e66efa") 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.
|
| generate_data | Ran ran on a synthesized input |
abidlabs/contrastive_vae/vae_utils.py code served (permissive licence) · get_code("5cd43143265506a1") 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.
|
| get_batch | Ran ran, honoured the contract we drafted |
abidlabs/contrastive_vae/helper.py code served (permissive licence) · get_code("beee1bbd18d83411") 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 float, shape (2, 128, 128, 3) 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.
|
| get_image | Ran ran on a synthesized input |
abidlabs/contrastive_vae/helper.py code served (permissive licence) · get_code("7e1a84dc738a0cf2") 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 3, dtype family int, shape (48, 64, 3) 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.
|
| images_square_grid | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
abidlabs/contrastive_vae/helper.py code served (permissive licence) · get_code("58dda232cb5e9f9b") 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 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.
|
| sampling | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
abidlabs/contrastive_vae/celeb_utils.py code served (permissive licence) · get_code("6a6cd6af807e9036") 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 EagerTensor, ndim 2, dtype family float, 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.
|
| contrastive_vae | Not yet run unverified (harvested, no recorded run) |
abidlabs/contrastive_vae/vae_utils.py code served (permissive licence) · get_code("6d1dfe0b6d6924ec") How it ranno invocation recorded. |
| get_celeb_vae | Not yet run unverified (harvested, no recorded run) |
abidlabs/contrastive_vae/celeb_utils.py code served (permissive licence) · get_code("2ed90c0d274151e4") How it ranno invocation recorded. |
| resize_and_crop | Not yet run unverified (harvested, no recorded run) |
abidlabs/contrastive_vae/utils.py code served (permissive licence) · get_code("d54b11d7a042cff2") How it ranno invocation recorded. |
| standard_vae | Not yet run unverified (harvested, no recorded run) |
abidlabs/contrastive_vae/vae_utils.py code served (permissive licence) · get_code("dbfcb3d16e815fb6") How it ranno invocation recorded. |
Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 4 later) and 5 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_batch | 2 other papers 1 dated earlier, 1 later |
1812.04948 (2018-12) A Style-Based Generator Architecture for Generative Adversarial Networks |
2402.11928 (2024-02) Separating common from salient patterns with Contrastive Representation Learning |
| sampling | 2 other papers 1 dated earlier, 1 later |
1312.6114 (2013-12) Auto-Encoding Variational Bayes |
2106.07035 (2021-06) Deep Bayesian Unsupervised Lifelong Learning |
| get_image | 1 other paper 1 dated earlier |
1812.04948 (2018-12) A Style-Based Generator Architecture for Generative Adversarial Networks |
|
| images_square_grid | 1 other paper 1 later |
2402.11928 (2024-02) Separating common from salient patterns with Contrastive Representation Learning |
|
| resize_and_crop | 1 other paper 1 later |
2210.15752 (2022-10) Constrained Predictive Coding as a Biologically Plausible Model of the Cortical Hierarchy |
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.
Variational autoencoders are powerful algorithms for identifying dominant latent structure in a single dataset. In many applications, however, we are interested in modeling latent structure and variation that are enriched in a target dataset compared to some background---e.g. enriched in patients compared to the general population. Contrastive learning is a principled framework to capture such enriched variation between the target and background, but state-of-the-art contrastive methods are limited to linear models. In this paper, we introduce the contrastive variational autoencoder (cVAE), which combines the benefits of contrastive learning with the power of deep generative models. The cVAE is designed to identify and enhance salient latent features. The cVAE is trained on two related but unpaired datasets, one of which has minimal contribution from the salient latent features. The cVAE explicitly models latent features that are shared between the datasets, as well as those that are enriched in one dataset relative to the other, which allows the algorithm to isolate and enhance the salient latent features. The algorithm is straightforward to implement, has a similar run-time to the standard VAE, and is robust to noise and dataset purity. We conduct experiments across diverse types of data, including gene expression and facial images, showing that the cVAE effectively uncovers latent structure that is salient in a particular analysis.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1902.04601")
get_code_for_paper("1902.04601")
have("1902.04601")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/1902.04601.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/1902.04601)
Connect an agent — have() is free.