13 of 16 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, 6 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2308.02228.json · badge: /api/ran/2308.02228.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 |
|---|---|---|
| bcmi/phdiffusion-painterly-image-harmonization | canonical (classifier label) classifier basis: census |
13 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| analytic_kernel | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/bsrgan.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cvlab-stonybrook/large-image-diffusion, is pointer only (licence: NONE) · get_code("b04722a19845dc90") 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 cvlab-stonybrook/large-image-diffusion, 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. |
| anisotropic_Gaussian | Ran ran, honoured the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/bsrgan.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cvlab-stonybrook/large-image-diffusion, is pointer only (licence: NONE) · get_code("5a0ca1bba88bb4b0") 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 cvlab-stonybrook/large-image-diffusion, 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. |
| calc_mean_std | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/loss/VGG_Loss.py code served (permissive licence) · get_code("c50f180220dfde34") 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, ndim 5, 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.
|
| default | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/attention.py code served (permissive licence) · get_code("424012cb37b31172") 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 int, ndim 0, dtype family int, 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.
|
| exists | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/attention.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8") 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 ThomasMrY/VCT, 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_foreground_mean_std | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/loss/VGG_Loss.py code served (permissive licence) · get_code("d5caf57e1135f67f") 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_image_paths | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/utils_image.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from QMoQ/OAPT, is pointer only (licence: NONE) · get_code("f9d4c247328f3337") 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 QMoQ/OAPT, 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. |
| is_image_file | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/utils_image.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from QMoQ/OAPT, is pointer only (licence: NONE) · get_code("226f6afcd57ff476") 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 QMoQ/OAPT, 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. |
| isimage | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/util.py code served (permissive licence) · get_code("b1368330cf0f5642") 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 bool, 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.
|
| ismap | Ran ran, violated the contract we drafted |
bcmi/phdiffusion-painterly-image-harmonization/ldm/util.py code served (permissive licence) · get_code("d72762b700feee6f") 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 bool, 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.
|
| master_only | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/dist_util.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from xpixelgroup/seal, is pointer only (licence: NONE) · get_code("f6b0e1eb5b7df3e3") 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 xpixelgroup/seal, 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. |
| modcrop_np | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/bsrgan.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cvlab-stonybrook/large-image-diffusion, is pointer only (licence: NONE) · get_code("04df7487a791a8a1") 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 cvlab-stonybrook/large-image-diffusion, 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. |
| uniq | Ran ran; our contract draft was wrong, not the code |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/attention.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from JingWu321/MUNBa, is pointer only (licence: NONE) · get_code("9a299fe5ae09e407") 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 JingWu321/MUNBa, 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_bare_model | Not yet run unverified (harvested, no recorded run) |
bcmi/phdiffusion-painterly-image-harmonization/dist_util.py code served (permissive licence) · get_code("0c7693e097d04d63") How it ranno invocation recorded. |
| log_txt_as_img | Not yet run unverified (harvested, no recorded run) |
bcmi/phdiffusion-painterly-image-harmonization/ldm/util.py code served (permissive licence) · get_code("8f1a0aae78f523e7") How it ranno invocation recorded. |
| patches_from_image | Not yet run unverified (harvested, no recorded run) |
bcmi/phdiffusion-painterly-image-harmonization/ldm/modules/image_degradation/utils_image.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from QMoQ/OAPT, is pointer only (licence: NONE) · get_code("3984b3ec31e90ef0") 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 QMoQ/OAPT, 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. |
Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 7 the same month, 12 later) and 4 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 |
|---|---|---|---|
| exists | 486 other papers 206 dated earlier, 17 the same month, 257 later, 4 same year, order not determinable, 2 undated · 78 only as an assembly brick |
1603.08155 (2016-03) Perceptual Losses for Real-Time Style Transfer and Super-Resolution |
1611.07004 (2016-11) Image-to-Image Translation with Conditional Adversarial Networks 1804.04637 (2018-04) EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models and 483 more not named here |
| default | 207 other papers 71 dated earlier, 9 the same month, 125 later, 2 same year, order not determinable · 41 only as an assembly brick |
1711.11585 (2017-11) High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs |
2006.11239 (2020-06) Denoising Diffusion Probabilistic Models 2010.08162 (2020-10) SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning and 204 more not named here |
| uniq | 115 other papers 30 dated earlier, 4 the same month, 79 later, 2 same year, order not determinable |
2112.10752 (2021-12) High-Resolution Image Synthesis with Latent Diffusion Models |
2204.06125 (2022-04) Hierarchical Text-Conditional Image Generation with CLIP Latents 2206.02779 (2022-06) Blended Latent Diffusion and 112 more not named here |
| ismap | 69 other papers 17 dated earlier, 5 the same month, 45 later, 2 same year, order not determinable |
2204.06125 (2022-04) Hierarchical Text-Conditional Image Generation with CLIP Latents |
2206.02779 (2022-06) Blended Latent Diffusion 2208.13753 (2022-08) Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis and 66 more not named here |
| is_image_file | 62 other papers 38 dated earlier, 1 the same month, 23 later |
1609.04802 (2016-09) Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network |
1703.07511 (2017-03) Deep Photo Style Transfer 1710.10916 (2017-10) StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks and 59 more not named here |
| isimage | 61 other papers 16 dated earlier, 4 the same month, 39 later, 2 same year, order not determinable |
2206.02779 (2022-06) Blended Latent Diffusion |
2208.13753 (2022-08) Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis 2210.12965 (2022-10) High-Resolution Image Editing via Multi-Stage Blended Diffusion and 58 more not named here |
| master_only | 9 other papers 4 dated earlier, 1 the same month, 3 later, 1 same year, order not determinable |
2105.12085 (2021-05) DSANet: Dynamic Segment Aggregation Network for Video-Level Representation Learning |
2110.04627 (2021-10) Vector-quantized Image Modeling with Improved VQGAN Kong_Efficient_Frequency_Domain-Based_Transformers_for_High-Quality_Image_Deblurring_CVPR_2023_paper (2023 (year only)) Efficient Frequency Domain-based Transformers for High-Quality Image Deblurring and 6 more not named here |
| patches_from_image | 8 other papers 4 dated earlier, 4 later |
2103.14006 (2021-03) Designing a Practical Degradation Model for Deep Blind Image Super-Resolution |
2203.13278 (2022-03) Practical Blind Image Denoising via Swin-Conv-UNet and Data Synthesis 2303.00748 (2023-03) Efficient and Explicit Modelling of Image Hierarchies for Image Restoration and 5 more not named here |
| get_image_paths | 7 other papers 5 dated earlier, 2 later |
2009.11551 (2020-09) Residual Feature Distillation Network for Lightweight Image Super-Resolution |
2103.14006 (2021-03) Designing a Practical Degradation Model for Deep Blind Image Super-Resolution 2205.05675 (2022-05) NTIRE 2022 Challenge on Efficient Super-Resolution: Methods and Results and 4 more not named here |
| analytic_kernel | 4 other papers 2 dated earlier, 2 later |
2103.14006 (2021-03) Designing a Practical Degradation Model for Deep Blind Image Super-Resolution |
2305.01644 (2023-05) Key-Locked Rank One Editing for Text-to-Image Personalization 2310.19011 (2023-10) Efficient Test-Time Adaptation for Super-Resolution with Second-Order Degradation and Reconstruction and 1 more not named here |
| anisotropic_Gaussian | 4 other papers 2 dated earlier, 2 later |
2103.14006 (2021-03) Designing a Practical Degradation Model for Deep Blind Image Super-Resolution |
2305.01644 (2023-05) Key-Locked Rank One Editing for Text-to-Image Personalization 2310.19011 (2023-10) Efficient Test-Time Adaptation for Super-Resolution with Second-Order Degradation and Reconstruction and 1 more not named here |
| modcrop_np | 4 other papers 2 dated earlier, 2 later |
2103.14006 (2021-03) Designing a Practical Degradation Model for Deep Blind Image Super-Resolution |
2305.01644 (2023-05) Key-Locked Rank One Editing for Text-to-Image Personalization 2310.19011 (2023-10) Efficient Test-Time Adaptation for Super-Resolution with Second-Order Degradation and Reconstruction and 1 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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Painterly image harmonization aims to insert photographic objects into paintings and obtain artistically coherent composite images. Previous methods for this task mainly rely on inference optimization or generative adversarial network, but they are either very time-consuming or struggling at fine control of the foreground objects (e.g., texture and content details). To address these issues, we propose a novel Painterly Harmonization stable Diffusion model (PHDiffusion), which includes a lightweight adaptive encoder and a Dual Encoder Fusion (DEF) module. Specifically, the adaptive encoder and the DEF module first stylize foreground features within each encoder. Then, the stylized foreground features from both encoders are combined to guide the harmonization process. During training, besides the noise loss in diffusion model, we additionally employ content loss and two style losses, i.e., AdaIN style loss and contrastive style loss, aiming to balance the trade-off between style migration and content preservation. Compared with the state-of-the-art models from related fields, our PHDiffusion can stylize the foreground more sufficiently and simultaneously retain finer content. Our code and model are available at https://github.com/bcmi/PHDiffusion-Painterly-Image-Harmonization.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2308.02228")
get_code_for_paper("2308.02228")
have("2308.02228")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2308.02228.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2308.02228)
Connect an agent — have() is free.