17 of 21 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, 4 violated it and 10 have no contract verdict; 3 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/2104.00864.json · badge: /api/ran/2104.00864.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 |
|---|---|---|
| bnl/pub-Maffettone_2021_04 | canonical (classifier label) classifier basis: classifier_2025 |
5 ran · 0 no recorded run |
| NSLS-II/constrained-matrix-factorization | community (classifier label) classifier basis not recorded on the link |
12 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Euclidean | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/metrics.py code served (permissive licence) · get_code("b4d4a9741a95cdcc") 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 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.
|
| IS_divergence | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/metrics.py code served (permissive licence) · get_code("dcb5e69a1cca5494") 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 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.
|
| KL_divergence | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/metrics.py code served (permissive licence) · get_code("103628a541cf7a84") 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 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.
|
| construct_overlap | Ran ran; our contract draft was wrong, not the code |
bnl/pub-Maffettone_2021_04/constrainednmf/example_scripts/simulation_constraining_weights.py code served (permissive licence) · get_code("e30b629762e9c5ce") 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 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.
|
| construct_overlap | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/example_scripts/fixing_weights.py code served (permissive licence) · get_code("6b745b4e35321043") 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.
|
| decomp_plot | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/utils/plotting.py code served (permissive licence) · get_code("efc799ee1501e75a") 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.
|
| gaussian | Ran ran, violated the contract we drafted |
bnl/pub-Maffettone_2021_04/constrainednmf/example_scripts/simulation_constraining_weights.py code served (permissive licence) · get_code("bfb5a3349111c442") 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 ndarray, ndim 1, dtype family float, shape (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.
|
| gaussian | Ran ran, violated the contract we drafted |
bnl/pub-Maffettone_2021_04/constrainednmf/example_scripts/simulation_constraining_components.py code served (permissive licence) · get_code("dc85e687f1fe54a1") 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 ndarray, ndim 1, dtype family float, shape (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.
|
| get_data | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/example_scripts/bto.py code served (permissive licence) · get_code("72940734b1f5958e") 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_data | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/example_scripts/molten_salt.py code served (permissive licence) · get_code("d93ac8414c5d548c") 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.
|
| lorentzian | Ran ran, violated the contract we drafted |
bnl/pub-Maffettone_2021_04/constrainednmf/example_scripts/simulation_constraining_components.py code served (permissive licence) · get_code("4059f8d130c75434") 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 1, dtype family float, shape (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.
|
| normalize | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/utils.py code served (permissive licence) · get_code("4513b2bb026b89d2") 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 Tensor, 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.
|
| register_vcs_handler | Ran ran; our contract draft was wrong, not the code |
NSLS-II/constrained-matrix-factorization/versioneer.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("f12f4dabbeb242eb") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, 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. |
| run_command | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/versioneer.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("86d4ff45d6295e29") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, 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. |
| scalar_to_vec | Ran ran on a synthesized input |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/utils.py code served (permissive licence) · get_code("c2191e9366151532") 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 float, shape (7,) 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.
|
| tophat | Ran ran, violated the contract we drafted |
bnl/pub-Maffettone_2021_04/constrainednmf/example_scripts/simulation_constraining_components.py code served (permissive licence) · get_code("ac3311fb78cb42ee") 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 ndarray, ndim 1, dtype family float, shape (100,) 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.
|
| versions_from_parentdir | Ran ran; our contract draft was wrong, not the code |
NSLS-II/constrained-matrix-factorization/constrainedmf/_version.py pointer only (licence: BSD-3-Clause); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("b9a1535d27f2a9fb") How it ranThe body of this sample is withheld: this paper's link allows the body inline (BSD-3-Clause), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, 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_config_from_root | Not yet run unverified (harvested, no recorded run) |
NSLS-II/constrained-matrix-factorization/versioneer.py code served (permissive licence) · get_code("7a63797a121e8bbf") How it ranno invocation recorded. |
| sweep_components | Not yet run unverified (harvested, no recorded run) |
NSLS-II/constrained-matrix-factorization/constrainedmf/nmf/utils.py code served (permissive licence) · get_code("d28ebfacd8fd4cd1") How it ranno invocation recorded. |
| toy_plot | Not yet run unverified (harvested, no recorded run) |
NSLS-II/constrained-matrix-factorization/constrainedmf/utils/plotting.py code served (permissive licence) · get_code("38c0f458a2b3424c") How it ranno invocation recorded. |
| waterfall | Not yet run unverified (harvested, no recorded run) |
NSLS-II/constrained-matrix-factorization/constrainedmf/utils/plotting.py code served (permissive licence) · get_code("37b5fda319bf3c0a") How it ranno invocation recorded. |
Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 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 18 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 |
|---|---|---|---|
| register_vcs_handler | 26 other papers 11 dated earlier, 1 the same month, 14 later |
1806.00550 (2018-06) A Swiss Army Infinitesimal Jackknife |
1806.03146 (2018-06) Neural Message Passing with Edge Updates for Predicting Properties of Molecules and Materials 1806.03720 (2018-06) Stochastic seismic waveform inversion using generative adversarial networks as a geological prior and 23 more not named here |
| versions_from_parentdir | 16 other papers 10 dated earlier, 6 later |
1806.00550 (2018-06) A Swiss Army Infinitesimal Jackknife |
1806.03720 (2018-06) Stochastic seismic waveform inversion using generative adversarial networks as a geological prior 1812.01719 (2018-12) Knowing what you know in brain segmentation using Bayesian deep neural networks and 13 more not named here |
| run_command | 14 other papers 8 dated earlier, 6 later |
1806.00550 (2018-06) A Swiss Army Infinitesimal Jackknife |
1806.03720 (2018-06) Stochastic seismic waveform inversion using generative adversarial networks as a geological prior 1812.01719 (2018-12) Knowing what you know in brain segmentation using Bayesian deep neural networks and 11 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.
Non-negative Matrix Factorization (NMF) methods offer an appealing unsupervised learning method for real-time analysis of streaming spectral data in time-sensitive data collection, such as $\textit{in situ}$ characterization of materials. However, canonical NMF methods are optimized to reconstruct a full dataset as closely as possible, with no underlying requirement that the reconstruction produces components or weights representative of the true physical processes. In this work, we demonstrate how constraining NMF weights or components, provided as known or assumed priors, can provide significant improvement in revealing true underlying phenomena. We present a PyTorch based method for efficiently applying constrained NMF and demonstrate this on several synthetic examples. When applied to streaming experimentally measured spectral data, an expert researcher-in-the-loop can provide and dynamically adjust the constraints. This set of interactive priors to the NMF model can, for example, contain known or identified independent components, as well as functional expectations about the mixing of components. We demonstrate this application on measured X-ray diffraction and pair distribution function data from $\textit{in situ}$ beamline experiments. Details of the method are described, and general guidance provided to employ constrained NMF in extraction of critical information and insights during $\textit{in situ}$ and high-throughput experiments.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2104.00864")
get_code_for_paper("2104.00864")
have("2104.00864")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2104.00864.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2104.00864)
Connect an agent — have() is free.