SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.00176 · 2022

Learning Sparse Nonlinear Dynamics via Mixed-Integer Optimization

arXiv · PDF · Open in the Atlas

Code that ran

4 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; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 6 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/2206.00176.json · badge: /api/ran/2206.00176.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
wesg52/sindy_mio_paper canonical (classifier label)
classifier basis not recorded on the link
4 ran · 6 no recorded run
FunctionStatusWhere it lives
coefficient_normalized_linf Ran
ran on a synthesized input
wesg52/sindy_mio_paper/evaluation_metrics.py
code served (permissive licence) · get_code("60fe98b39b6edd0f")
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 float64, ndim 0, 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.

import numpy as np

# Create small numpy arrays for true and predicted coefficients
np.random.seed(0)
true_coefs = np.array([1.5, -2.3, 0.8, -1.1])
predicted_coefs = np.array([1.4, -2.1, 0.9, -1.2])

ARGS = {
    "true_coefs": true_coefs,
    "predicted_coefs": predicted_coefs,
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
get_polylib_size Ran
ran on a synthesized input
wesg52/sindy_mio_paper/systems.py
code served (permissive licence) · get_code("11614369910bc8cd")
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 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.

import math

def get_polylib_size(order, dim, include_bias=True):
    size = 1 if include_bias else 0
    for o in range(1, order + 1):
        size += math.comb(dim + o - 1, o)
    return size

ARGS = {
    "order": 3,
    "dim": 4,
    "include_bias": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, 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
support_confusion_matrix Ran
ran on a synthesized input
wesg52/sindy_mio_paper/evaluation_metrics.py
code served (permissive licence) · get_code("b541e6f69181c7af")
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, ndim 1, dtype family int; 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.

import numpy as np

# Construct test data for support_confusion_matrix
# The function expects two arrays/matrices of coefficients
# It flattens them, finds nonzero indices, and computes confusion matrix metrics

# Create true coefficients with some nonzero values
true_coefs = np.array([
    [1.5, 0.0, 2.3, 0.0],
    [0.0, 3.1, 0.0, 1.2]
])

# Create predicted coefficients with some overlap and some differences
predicted_coefs = np.array([
    [1.2, 0.0, 0.0, 0.9],
    [0.0, 2.8, 1.5, 1.1]
])

ARGS = {
    "true_coefs": true_coefs,
    "predicted_coefs": predicted_coefs
}
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, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
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
support_true_positivity Ran
ran on a synthesized input
wesg52/sindy_mio_paper/evaluation_metrics.py
code served (permissive licence) · get_code("b1eb07ec1dea9b1a")
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 numpy as np

# Analyze the function to understand what it needs:
# support_true_positivity calls support_confusion_matrix with two arguments
# support_confusion_matrix:
#   - calls .flatten() on both arguments
#   - uses np.nonzero() on the flattened arrays
#   - expects numpy-like objects with nonzero elements for testing

# Create simple numpy arrays with some nonzero elements
true_coefs = np.array([
    [1.0, 0.0, 2.5, 0.0],
    [0.0, 3.1, 0.0, 0.0]
])

predicted_coefs = np.array([
    [1.5, 0.0, 0.0, 0.0],
    [0.0, 3.2, 0.0, 4.1]
])

ARGS = {
    "true_coefs": true_coefs,
    "predicted_coefs": predicted_coefs
}
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 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
clean_duffing_test_scores Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/constraint_experiment.py
code served (permissive licence) · get_code("8dcfba9e673084af")
How it ran

no invocation recorded.

combined_aic_score Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/weak_models.py
code served (permissive licence) · get_code("d03402ebebe55c3c")
How it ran

no invocation recorded.

fit_and_tune_miosos_constrained Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/constraint_experiment.py
code served (permissive licence) · get_code("e01b7cf46189dcff")
How it ran

no invocation recorded.

fit_and_tune_sr3 Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/constraint_experiment.py
code served (permissive licence) · get_code("48400c3b5b1052ab")
How it ran

no invocation recorded.

load_results Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/make_plots.py
code served (permissive licence) · get_code("6a8dbf51cd13118b")
How it ran

no invocation recorded.

reindex_polylibrary Not yet run
unverified (harvested, no recorded run)
wesg52/sindy_mio_paper/integral_experiment.py
code served (permissive licence) · get_code("9d37206a06e26810")
How it ran

no invocation recorded.

Also present in other papers' code

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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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.

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

Discovering governing equations of complex dynamical systems directly from data is a central problem in scientific machine learning. In recent years, the sparse identification of nonlinear dynamics (SINDy) framework, powered by heuristic sparse regression methods, has become a dominant tool for learning parsimonious models. We propose an exact formulation of the SINDy problem using mixed-integer optimization (MIO) to solve the sparsity constrained regression problem to provable optimality in seconds. On a large number of canonical ordinary and partial differential equations, we illustrate the dramatic improvement of our approach in accurate model discovery while being more sample efficient, robust to noise, and flexible in accommodating physical constraints.

For agents

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

get_harvested_code_for_paper("2206.00176")
get_code_for_paper("2206.00176")
have("2206.00176")

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

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

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

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

Connect an agent — have() is free.