SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.15571 · 2020

Learning Sub-Patterns in Piecewise Continuous Functions

arXiv · PDF · Open in the Atlas

Code that ran

4 of 12 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; 8 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/2010.15571.json · badge: /api/ran/2010.15571.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
AnastasisKratsios/Architopes_Semisupervised canonical (classifier label)
classifier basis: census
4 ran · 8 no recorded run
FunctionStatusWhere it lives
check_path Ran
ran on a synthesized input
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Init_Dump.py
code served (permissive licence) · get_code("29414f7d6a91d76e")
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 str. 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 os
import tempfile
from pathlib import Path

# The function takes a path parameter and expands it, checks if it exists,
# and creates it if it doesn't. It returns the expanded path.
# We need to provide a valid path string.

# Create a temporary directory to work with
temp_dir = tempfile.gettempdir()

# Test with a path that doesn't exist yet (will be created)
test_path = os.path.join(temp_dir, "test_check_path_dir_12345")

ARGS = {
    "path": test_path
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
f_2 Ran
ran on a synthesized input
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Grid_Enhanced_Network.py
code served (permissive licence) · get_code("38a20685ea5b79b6")
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 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.

import torch
import numpy as np

torch.manual_seed(0)

# The function f_2(x) takes a single parameter x and computes -2 - x ** 2
# x can be a number, array, or tensor. Let's use a small tensor.

x = torch.tensor([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
init_delta Ran
ran on a synthesized input
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Init_Dump.py
code served (permissive licence) · get_code("6d58e9cd8753347c")
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
import pandas as pd
from scipy.spatial.distance import pdist, squareform

# Create a small DataFrame with numeric data
# The function uses X_train.loc[] and index selection, so we need a proper DataFrame
np.random.seed(0)
X_train_data = np.random.randn(150, 4)  # 150 samples, 4 features
X_train = pd.DataFrame(X_train_data, columns=['f0', 'f1', 'f2', 'f3'])

ARGS = {
    'X_train': X_train
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, scipy — 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
is_in_random_ball Ran
ran on a synthesized input
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Init_Dump.py
code served (permissive licence) · get_code("05514ef16ce98216")
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 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.

import numpy as np

# Create small numpy arrays for testing
x_test = np.array([1.0, 2.0, 3.0, 4.0])
center = np.array([1.5, 2.5, 3.5, 4.5])
radius_in = 5.0

ARGS = {
    "x_test": x_test,
    "center": center,
    "radius_in": radius_in
}
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 bool, 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
Random_Lipschitz_Partioner Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Random_Lipschitz_Partitioning.py
code served (permissive licence) · get_code("66108f3a7b54a659")
How it ran

no invocation recorded.

data_to_spherical_to_euclidean Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Prepare_Data_California_Housing.py
code served (permissive licence) · get_code("2ffa6ec64bd23f06")
How it ran

no invocation recorded.

f_1 Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Grid_Enhanced_Network.py
code served (permissive licence) · get_code("1a8074192c91dcd0")
How it ran

no invocation recorded.

f_unknown Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Grid_Enhanced_Network.py
code served (permissive licence) · get_code("af73be0ac0532bc1")
How it ran

no invocation recorded.

f_unknown Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_RandomFFNN_w_Simple_Readout/Grid_Enhanced_Network.py
code served (permissive licence) · get_code("5930f2cb6a5090fb")
How it ran

no invocation recorded.

feature_map Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Prepare_Data_California_Housing.py
code served (permissive licence) · get_code("f6a7e6bb255a2a59")
How it ran

no invocation recorded.

mean_absolute_percentage_error Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Helper_Functions.py
code served (permissive licence) · get_code("d0eef109b190c641")
How it ran

no invocation recorded.

prepare_columntransformer Not yet run
unverified (harvested, no recorded run)
AnastasisKratsios/Architopes_Semisupervised/GET_FFNN_is_ADAM/Prepare_Data_California_Housing.py
code served (permissive licence) · get_code("22dffd74d55c3044")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 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 12 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

Most stochastic gradient descent algorithms can optimize neural networks that are sub-differentiable in their parameters; however, this implies that the neural network's activation function must exhibit a degree of continuity which limits the neural network model's uniform approximation capacity to continuous functions. This paper focuses on the case where the discontinuities arise from distinct sub-patterns, each defined on different parts of the input space. We propose a new discontinuous deep neural network model trainable via a decoupled two-step procedure that avoids passing gradient updates through the network's only and strategically placed, discontinuous unit. We provide approximation guarantees for our architecture in the space of bounded continuous functions and universal approximation guarantees in the space of piecewise continuous functions which we introduced herein. We present a novel semi-supervised two-step training procedure for our discontinuous deep learning model, tailored to its structure, and we provide theoretical support for its effectiveness. The performance of our model and trained with the propose procedure is evaluated experimentally on both real-world financial datasets and synthetic datasets.

For agents

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

get_harvested_code_for_paper("2010.15571")
get_code_for_paper("2010.15571")
have("2010.15571")

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

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

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

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

Connect an agent — have() is free.