SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2003.11235 · 2020

AutoFIS: Automatic Feature Interaction Selection in Factorization Models for Click-Through Rate Prediction

arXiv · PDF · Open in the Atlas

Code that ran

22 of 24 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 20 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-21; 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/2003.11235.json · badge: /api/ran/2003.11235.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
lucasthim/auto-fuzzy community (classifier label)
classifier basis not recorded on the link
12 ran · 2 no recorded run
renmada/PaddleRec community (classifier label)
classifier basis not recorded on the link
10 ran · 0 no recorded run
FunctionStatusWhere it lives
activation_func Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/card_func.py
code served (permissive licence) · get_code("bb3abf278ffb87ad")
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 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

# Construct arguments for activation_func
values = np.array([0.5, -0.2, 0.8, 0.1, -0.5, 0.3, 0.9, -0.1])
min_freq = 0.5

ARGS = {
    "values": values,
    "min_freq": min_freq
}
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 float — 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
build_map Ran
ran on a synthesized input
renmada/PaddleRec/datasets/amazonElec_Din/remap_id.py
code served (permissive licence) · get_code("164202595da6a703")
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 pandas as pd
import numpy as np

# Create a small dataframe with a categorical column
df = pd.DataFrame({
    'category': ['apple', 'banana', 'apple', 'cherry', 'banana'],
    'value': [1, 2, 3, 4, 5]
})

col_name = 'category'

ARGS = {
    'df': df,
    'col_name': col_name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
card_func Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/card_func.py
code served (permissive licence) · get_code("2b2f31754782bbf6")
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 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 a small numpy array with some positive and negative values
# The function filters for values > 0 and computes mean
values = np.array([
    [0.5, 1.2, -0.3, 2.1],
    [-0.1, 0.8, 1.5, -0.2],
    [1.0, -0.5, 0.3, 0.9]
])

# Set min_act threshold
min_act = 0.5

ARGS = {
    "values": values,
    "min_act": min_act
}
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 float — 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
card_hybrid_func Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/card_func.py
code served (permissive licence) · get_code("89ad1d70567c19ee")
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 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

# Construct arguments for card_hybrid_func
# The function expects:
# - values: a numpy array where some elements are > 0
# - min_val: a scalar threshold value

# Create a small numpy array with mixed positive and zero/negative values
values = np.array([
    [0.5, 0.0, 1.2, 0.0],
    [0.8, 0.3, 0.0, 0.6],
    [0.0, 0.0, 0.9, 0.0],
    [0.4, 0.7, 0.0, 0.2]
])

min_val = 0.15

ARGS = {
    "values": values,
    "min_val": min_val
}
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 float — 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
check_duplicate_rules Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/utils.py
code served (permissive licence) · get_code("5e55f3efc3e2a2f8")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Analyze the function:
# - check_duplicate_rules(val, rules)
# - It iterates through rules
# - It compares val == rule for each rule
# - Returns True if match found, False otherwise
# The function works with any comparable values

# Simple test case: val is an integer, rules is a list of integers
val = 42
rules = [1, 2, 3, 42, 5]

ARGS = {
    "val": val,
    "rules": rules,
}
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 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
check_if_inside Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/utils.py
code served (permissive licence) · get_code("40f27ab16a8578a7")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - check_if_inside(val, eachRule)
# - Uses: `val in eachRule` (membership test)
# - eachRule needs to support __contains__ method
# - val can be any hashable type

# Create valid arguments
val = 5
eachRule = {1, 2, 3, 4, 5}

ARGS = {
    "val": val,
    "eachRule": eachRule
}
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 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
convert_by_vocab Ran
ran; our contract draft was wrong, not the code
renmada/PaddleRec/datasets/Beauty/data_augment_candi_gen.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from huawei-noah/Pretrained-Language-Model, is pointer only (licence: NONE) · get_code("bf6088a6a68ef09c")
How it ran

The 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 huawei-noah/Pretrained-Language-Model, 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.

create_NETFLIX_data_timesplit Ran
ran on a synthesized input
renmada/PaddleRec/datasets/Netflix_deeprec/netflix_data_convert.py
code served (permissive licence) · get_code("3e1f263053e0bc1c")
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 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 random
import time
import datetime

random.seed(0)
time.sleep(0)

# Create mock NETFLIX data structure
# Expected format: {userId: [(itemId, rating, timestamp), ...]}
all_data = {
    'user1': [
        (101, 5, time.mktime(datetime.datetime.strptime('2020-01-15', '%Y-%m-%d').timetuple())),
        (102, 4, time.mktime(datetime.datetime.strptime('2020-01-20', '%Y-%m-%d').timetuple())),
        (103, 3, time.mktime(datetime.datetime.strptime('2020-03-10', '%Y-%m-%d').timetuple())),
        (104, 5, time.mktime(datetime.datetime.strptime('2020-03-25', '%Y-%m-%d').timetuple())),
    ],
    'user2': [
        (101, 4, time.mktime(datetime.datetime.strptime('2020-01-10', '%Y-%m-%d').timetuple())),
        (105, 5, time.mktime(datetime.datetime.strptime('2020-01-25', '%Y-%m-%d').timetuple())),
        (102, 3, time.mktime(datetime.datetime.strptime('2020-03-05', '%Y-%m-%d').timetuple())),
        (106, 4, time.mktime(datetime.datetime.strptime('2020-03-20', '%Y-%m-%d').timetuple())),
    ],
    'user3': [
        (103, 5, time.mktime(datetime.datetime.strptime('2020-01-05', '%Y-%m-%d').timetuple())),
        (104, 2, time.mktime(datetime.datetime.strptime('2020-01-30', '%Y-%m-%d').timetuple())),
        (105, 4, time.mktime(datetime.datetime.strptime('2020-03-15', '%Y-%m-%d').timetuple())),
    ],
}

train_min = '2020-01-01'
train_max = '2020-02-28'
test_min = '2020-03-01'
test_max = '2020-03-31'

ARGS = {
    'all_data': all_data,
    'train_min': train_min,
    'train_max': train_max,
    'test_min': test_min,
    'test_max': test_max,
}
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 tuple, ndim 1, dtype family float — 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
data_partition Ran
ran; our contract draft was wrong, not the code
renmada/PaddleRec/datasets/Beauty/data_augment_candi_gen.py
code served (permissive licence) · get_code("928d8fadc3a9fe9b")
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 list, ndim 1, 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.

from collections import defaultdict
import tempfile
import os

# Create a temporary file with sample data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("1 10\n")
temp_file.write("1 20\n")
temp_file.write("1 30\n")
temp_file.write("2 15\n")
temp_file.write("2 25\n")
temp_file.write("2 35\n")
temp_file.write("3 40\n")
temp_file.write("3 50\n")
temp_file.write("3 60\n")
temp_file.write("4 100\n")
temp_file.write("4 200\n")
temp_file.close()

fname = temp_file.name

ARGS = {
    'fname': fname
}
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 list, ndim 1, dtype family float — a list 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
fun1 Ran
ran on a synthesized input
renmada/PaddleRec/datasets/census/data_preparation.py
code served (permissive licence) · get_code("b0a4669173a5fc3d")
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 torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    'x': ' 50000+.'
}
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 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
fun2 Ran
ran on a synthesized input
renmada/PaddleRec/datasets/census/data_preparation.py
code served (permissive licence) · get_code("4b20e0a2441ecb28")
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 torch
import numpy as np

torch.manual_seed(0)

# The function fun2 takes a single parameter x and compares it to the string ' Never married'
# It returns 1 if x equals ' Never married', else 0
# No complex objects or models are needed - just a string value

ARGS = {
    'x': ' Never married'
}
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 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
load_graph Ran
ran on a synthesized input
renmada/PaddleRec/datasets/AmazonBook/preprocess.py
code served (permissive licence) · get_code("e192b64a7c6ac2de")
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 dict. 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 tempfile
import os

# Create a temporary CSV file with test data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.csv')
temp_file.write("1,10,100\n")
temp_file.write("1,20,50\n")
temp_file.write("2,30,200\n")
temp_file.write("1,40,75\n")
temp_file.write("2,35,150\n")
temp_file.close()

ARGS = {
    "source": temp_file.name
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
mape Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/changeParameterAutoMFIS.py
code served (permissive licence) · get_code("17d533ffea6cedc9")
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

# mape computes Mean Absolute Percentage Error
# It takes two arrays: A (actual) and F (forecast/predicted)
# The function divides (A - F) by A and takes mean absolute value
# Both parameters should be numpy arrays of the same shape

np.random.seed(0)

# Create small numpy arrays with distinct shapes to allow probing
A = np.array([[1.0, 2.0, 3.0, 4.0],
              [5.0, 6.0, 7.0, 8.0]], dtype=np.float64)

F = np.array([[1.1, 1.9, 3.2, 3.8],
              [5.2, 5.8, 7.1, 7.9]], dtype=np.float64)

ARGS = {
    "A": A,
    "F": F
}
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
printable_text Ran
ran on a synthesized input
renmada/PaddleRec/datasets/Beauty/data_augment_candi_gen.py
code served (permissive licence) · get_code("e4dbe9646176983b")
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 six

# The function takes a single parameter 'text' which should be either:
# - a str (works in both Python 2 and 3)
# - bytes (works in Python 3)

# Since we're running Python 3, we can test with both str and bytes
text_str = "Hello, world!"
text_bytes = b"Hello, bytes!"

# Test with string (most common case)
ARGS = {
    'text': text_str
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
six — 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
rearranje_rules Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/utils.py
code served (permissive licence) · get_code("76b49ab2604e48fe")
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 list, ndim 2, 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

def rearranje_rules(rule):
    sorted_rule = []
    first_rules = np.unique([num_series[0] for num_series in rule])
    for val in first_rules:
        arranje_rule = [thisantecedent for thisantecedent in rule if thisantecedent[0] == val]
        arranje_rule.sort(key=lambda x: x[1])
        sorted_rule.extend(arranje_rule)
    return sorted_rule


# Construct valid arguments
# rule should be a list of lists/tuples where each inner list has at least 2 elements
# The function accesses [0] and [1] indices, and sorts by the second element

rule = [
    [1, 5, 'a'],
    [1, 2, 'b'],
    [2, 3, 'c'],
    [1, 8, 'd'],
    [2, 1, 'e'],
]

ARGS = {
    'rule': rule
}
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 list, ndim 2, dtype family float — a list 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
smape Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/changeParameterAutoMFIS.py
code served (permissive licence) · get_code("58f15678741b6ea5")
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 A (actual) and F (forecast)
# These should have the same shape and be non-zero to avoid division issues
A = np.array([1.0, 2.0, 3.0, 4.0])
F = np.array([1.1, 2.2, 2.9, 4.1])

ARGS = {
    "A": A,
    "F": F,
}
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
tnorm_minimum Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/tnorm.py
code served (permissive licence) · get_code("655170477e08f166")
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 (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 tnorm_minimum takes 'values' and calls .min(axis=0) on it
# This means values needs to be a numpy array or similar object with min() method
# and axis parameter support

values = np.array([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "values": values
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
tnorm_product Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/tnorm.py
code served (permissive licence) · get_code("a405b1e8e770a992")
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 (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

def tnorm_product(values):
    return np.prod(values, axis=0)

# The function takes 'values' and computes the product along axis 0
# values should be a numpy array or array-like structure with at least 2 dimensions
# axis=0 means we're reducing the first dimension

# Create a small 2D numpy array (batch_size=2, features=4)
values = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [2.0, 3.0, 4.0, 5.0]
], dtype=np.float32)

ARGS = {
    "values": values
}
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 (4,) — shape (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
to_df Ran
ran on a synthesized input
renmada/PaddleRec/datasets/amazonElec_Din/convert_pd.py
code served (permissive licence) · get_code("37ad8d6ac78854dd")
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 DataFrame. 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 tempfile
import os
import pandas as pd

# Create a temporary file with valid Python expressions (one per line)
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("{'a': 1, 'b': 2}\n")
temp_file.write("{'a': 3, 'b': 4}\n")
temp_file.write("{'a': 5, 'b': 6}\n")
temp_file.close()

ARGS = {
    'file_path': temp_file.name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family int 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
trapmf Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/basicfuzzy.py
code served (permissive licence) · get_code("f97b69dd2097cade")
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 torch

torch.manual_seed(0)

# trapmf is a trapezoidal membership function that takes:
# x: a scalar value (the input)
# a, b, c, d: four scalar parameters defining the trapezoid corners

ARGS = {
    "x": 2.5,
    "a": 1.0,
    "b": 2.0,
    "c": 3.0,
    "d": 4.0,
}
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 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
trimf Ran
ran on a synthesized input
lucasthim/auto-fuzzy/autoMFIS/basicfuzzy.py
code served (permissive licence) · get_code("e900c0356c108ee1")
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

torch.manual_seed(0)

# The function trimf implements a triangular membership function
# It takes parameters:
# x: a numeric value (the input)
# a, b, c: numeric values defining the triangle (left, peak, right)

# Construct simple numeric arguments
x = 0.5
a = 0.0
b = 0.5
c = 1.0

ARGS = {
    "x": x,
    "a": a,
    "b": b,
    "c": c,
}
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
word_count Ran
ran on a synthesized input
renmada/PaddleRec/datasets/ag_news/text2paddle.py
code served (permissive licence) · get_code("5d079a1802fd6cb9")
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 defaultdict. 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 collections
import csv
import re
import io

# Create a small CSV file in memory
csv_content = """hello world,test data
foo bar baz,another row
hello foo test,final row"""

input_file = io.StringIO(csv_content)

ARGS = {
    "column_num": 0,
    "input_file": input_file,
    "word_freq": None
}
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 defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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
find_rules_by_antecedent Not yet run
unverified (harvested, no recorded run)
lucasthim/auto-fuzzy/autoMFIS/changeParameterAutoMFIS.py
code served (permissive licence) · get_code("a0b7f1e78ffff426")
How it ran

no invocation recorded.

tnorm Not yet run
unverified (harvested, no recorded run)
lucasthim/auto-fuzzy/autoMFIS/tnorm.py
code served (permissive licence) · get_code("9b75a8fa7b3409a5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 10 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 10 later) and 14 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
convert_by_vocab 4 other papers
2 dated earlier, 2 later · 1 only as an assembly brick
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1904.06690 (2019-04)
BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer
2004.11579 (2020-04)
Probabilistically Masked Language Model Capable of Autoregressive Generation in Arbitrary Word Order
and 1 more not named here
load_graph 3 other papers
3 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
2106.03760 (2021-06)
DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning
2204.05125 (2022-04)
ESCM$^2$: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation
word_count 3 other papers
3 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
2106.03760 (2021-06)
DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning
2204.05125 (2022-04)
ESCM$^2$: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation
data_partition 2 other papers
1 dated earlier, 1 later
1904.06690 (2019-04)
BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer
2204.05125 (2022-04)
ESCM$^2$: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation
fun1 2 other papers
2 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
2106.03760 (2021-06)
DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning
fun2 2 other papers
2 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
2106.03760 (2021-06)
DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning
printable_text 2 other papers
1 dated earlier, 1 later
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
2204.05125 (2022-04)
ESCM$^2$: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation
build_map 1 other paper
1 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
create_NETFLIX_data_timesplit 1 other paper
1 later
2204.05125 (2022-04)
ESCM$^2$: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation
to_df 1 other paper
1 later
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems

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

Repositories linked to this paper

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

Abstract

Learning feature interactions is crucial for click-through rate (CTR) prediction in recommender systems. In most existing deep learning models, feature interactions are either manually designed or simply enumerated. However, enumerating all feature interactions brings large memory and computation cost. Even worse, useless interactions may introduce noise and complicate the training process. In this work, we propose a two-stage algorithm called Automatic Feature Interaction Selection (AutoFIS). AutoFIS can automatically identify important feature interactions for factorization models with computational cost just equivalent to training the target model to convergence. In the \emph{search stage}, instead of searching over a discrete set of candidate feature interactions, we relax the choices to be continuous by introducing the architecture parameters. By implementing a regularized optimizer over the architecture parameters, the model can automatically identify and remove the redundant feature interactions during the training process of the model. In the \emph{re-train stage}, we keep the architecture parameters serving as an attention unit to further boost the performance. Offline experiments on three large-scale datasets (two public benchmarks, one private) demonstrate that AutoFIS can significantly improve various FM based models. AutoFIS has been deployed onto the training platform of Huawei App Store recommendation service, where a 10-day online A/B test demonstrated that AutoFIS improved the DeepFM model by 20.3\% and 20.1\% in terms of CTR and CVR respectively.

For agents

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

get_harvested_code_for_paper("2003.11235")
get_code_for_paper("2003.11235")
have("2003.11235")

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

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

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

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

Connect an agent — have() is free.