SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.00912 · 2019

Enforcing Analytic Constraints in Neural-Networks Emulating Physical Systems

arXiv · PDF · Open in the Atlas

Code that ran

4 of 14 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, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 10 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/1909.00912.json · badge: /api/ran/1909.00912.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.

RepositoryRoleRan
raspstephan/CBRAIN-CAM canonical (classifier label)
classifier basis: census
0 ran · 8 no recorded run
eyringmlclimategroup/behrens22james_SPCAM_VED community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
gunnarbehrens/cbrain-cam extension (classifier label)
classifier basis: classifier_2025
0 ran · 2 no recorded run
FunctionStatusWhere it lives
load_olr_and_highpass_filter Ran
ran on a synthesized input
eyringmlclimategroup/behrens22james_SPCAM_VED/AED_clim_clim_conv_tropics_OLR_1_year_wheeler_kiladis.py
code served (permissive licence) · get_code("e9165703f5137ba8")
How it ran

Ran 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.

import numpy as np

# Create sample data
np.random.seed(0)

# Create latitude and longitude arrays
lat_ = np.linspace(-90, 90, 3)
lon_ = np.linspace(-180, 180, 4)

# Create OLR data with shape (time, lat, lon)
# Using 96 time steps to match the bandpass parameter scale
olr_data = np.random.randn(96, lat_.size, lon_.size) + 250.0

# Construct arguments dictionary
ARGS = {
    'olr_data': olr_data,
    'lat_': lat_,
    'lon_': lon_,
    'filter': True,
    'bandpass': [1/96, 1/2]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
schedule Ran
ran on a synthesized input
eyringmlclimategroup/behrens22james_SPCAM_VED/AED_clim_clim_conv_train.py
code served (permissive licence) · get_code("bc565c66808294e2")
How it ran

Ran 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 float, 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.

import torch

def schedule(epoch):
    if epoch < 7:
        return 0.00074594
    elif epoch < 14:
        return 0.00074594 / 5
    elif epoch < 21:
        return 0.00074594 / 25
    elif epoch < 28:
        return 0.00074594 / 125
    elif epoch < 35:
        return 0.00074594 / 625
    else:
        return 0.00074594 / 3125

ARGS = {
    "epoch": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
smth121 Ran
ran on a synthesized input
eyringmlclimategroup/behrens22james_SPCAM_VED/AED_clim_clim_conv_tropics_OLR_1_year_wheeler_kiladis.py
code served (permissive licence) · get_code("50288d49d80cc6b4")
How it ran

Ran 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 (5,) 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.

import numpy as np
import copy

def smth121(A, npass=1):
    """
    author: Shuguang Wang <sw2526@columbia.edu>

    """
    ns = A.shape[0]
    B = copy.deepcopy(A)
    C = copy.deepcopy(A)
    for ipass in np.arange(1, npass + 1):
        B[0] = (3 * C[0] + C[1]) * 0.25
        B[1:ns - 1] = (C[0:ns - 2] + C[2:ns] + 2 * C[1:ns - 1]) * 0.25
        B[ns - 1] = (3 * C[ns - 1] + C[ns - 2]) * 0.25
        C = B * 1.0
    return B

# Create a small numpy array for A
A = np.array([1.0, 2.0, 3.0, 4.0, 5.0], dtype=np.float64)

ARGS = {
    "A": A,
    "npass": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
smth5 Ran
ran on a synthesized input
eyringmlclimategroup/behrens22james_SPCAM_VED/AED_clim_clim_conv_tropics_OLR_1_year_wheeler_kiladis.py
code served (permissive licence) · get_code("b193ae60554ffdfb")
How it ran

Ran 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 2, dtype family float, shape (4, 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.

import numpy as np
import copy

np.random.seed(0)

# Create a small 2D array for testing
A = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [9.0, 10.0, 11.0, 12.0],
    [13.0, 14.0, 15.0, 16.0]
], dtype=np.float64)

ARGS = {
    "A": A,
    "npass": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
act_layer Not yet run
unverified (harvested, no recorded run)
gunnarbehrens/cbrain-cam/cbrain/models.py
code served (permissive licence) · get_code("11520a2864c629c0")
How it ran

no invocation recorded.

act_layer Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/legacy/models.py
code served (permissive licence) · get_code("413e979484c437c6")
How it ran

no invocation recorded.

compute_dP_tilde Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/layers.py
code served (permissive licence) · get_code("e9f309bf8b97e534")
How it ran

no invocation recorded.

conv_model Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/legacy/models.py
code served (permissive licence) · get_code("578387cb2e2e14a8")
How it ran

no invocation recorded.

ent_res Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/losses.py
code served (permissive licence) · get_code("cf815b29dcf62479")
How it ran

no invocation recorded.

fc_model Not yet run
unverified (harvested, no recorded run)
gunnarbehrens/cbrain-cam/cbrain/models.py
code served (permissive licence) · get_code("4358d72d442b2993")
How it ran

no invocation recorded.

get_jacobian Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/model_diagnostics.py
code served (permissive licence) · get_code("12ddccc3bed4b967")
How it ran

no invocation recorded.

get_mean_sounding Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/model_diagnostics.py
code served (permissive licence) · get_code("d5d4134a4e35adb3")
How it ran

no invocation recorded.

mass_res Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/losses.py
code served (permissive licence) · get_code("2984babb28096fb0")
How it ran

no invocation recorded.

total_error Not yet run
unverified (harvested, no recorded run)
raspstephan/CBRAIN-CAM/cbrain/legacy/losses.py
code served (permissive licence) · get_code("6b3770a41781c107")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 10 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.

FunctionAlso present inEarliest-datedOthers named
act_layer 3 other papers
1 dated earlier, 2 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2112.08440 (2021-12)
Climate-Invariant Machine Learning
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
fc_model 3 other papers
1 dated earlier, 2 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2112.08440 (2021-12)
Climate-Invariant Machine Learning
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
get_jacobian 3 other papers
1 dated earlier, 2 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2112.08440 (2021-12)
Climate-Invariant Machine Learning
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
get_mean_sounding 3 other papers
1 dated earlier, 2 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2112.08440 (2021-12)
Climate-Invariant Machine Learning
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
total_error 3 other papers
1 dated earlier, 2 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2112.08440 (2021-12)
Climate-Invariant Machine Learning
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
act_layer 2 other papers
1 dated earlier, 1 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
compute_dP_tilde 2 other papers
1 dated earlier, 1 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
conv_model 2 other papers
1 dated earlier, 1 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
ent_res 2 other papers
1 dated earlier, 1 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations
mass_res 2 other papers
1 dated earlier, 1 later
1806.04731 (2018-06)
Deep learning to represent sub-grid processes in climate models
2402.03079 (2024-02)
Simulating Atmospheric Processes in Earth System Models and Quantifying Uncertainties with Deep Learning Multi-Member and Stochastic Parameterizations

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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Neural networks can emulate nonlinear physical systems with high accuracy, yet they may produce physically-inconsistent results when violating fundamental constraints. Here, we introduce a systematic way of enforcing nonlinear analytic constraints in neural networks via constraints in the architecture or the loss function. Applied to convective processes for climate modeling, architectural constraints enforce conservation laws to within machine precision without degrading performance. Enforcing constraints also reduces errors in the subsets of the outputs most impacted by the constraints.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1909.00912")
get_code_for_paper("1909.00912")
have("1909.00912")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1909.00912.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1909.00912.svg)](https://syntology.ai/paper/1909.00912)

Connect an agent — have() is free.