SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.20198 · 2026

KEMP-PIP: A Feature-Fusion Based Approach for Pro-inflammatory Peptide Prediction

Swakkhar Shatabda, Deb Soumik, Niloy, Md Fahmid-Ul, Alam Juboraj

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2602.20198.json · badge: /api/ran/2602.20198.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
S18-Niloy/KEMP-PIP community
Papers with Code archive
4 ran · 0 no recorded run
FunctionStatusWhere it lives
fit_lr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
S18-Niloy/KEMP-PIP/peptide_pipeline/ensemble.py
code served (permissive licence) · get_code("321d45f2c9b3f4c9")
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) and returned LogisticRegression. 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
from sklearn.linear_model import LogisticRegression

# Set random seed for reproducibility
np.random.seed(0)

# Create small standardized feature matrix (2 samples, 4 features)
X = np.random.randn(2, 4).astype(np.float32)

# Create binary labels (0 or 1)
y = np.array([0, 1], dtype=np.int32)

# Create optional class_weight dict
class_weight = {0: 1.0, 1: 1.5}

ARGS = {
    "X": X,
    "y": y,
    "class_weight": class_weight,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LogisticRegression — a LogisticRegression output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LogisticRegression 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
mcc_at_threshold Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
S18-Niloy/KEMP-PIP/peptide_pipeline/ensemble.py
code served (permissive licence) · get_code("87e3850877d3e6ca")
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) 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

# Set random seed for reproducibility
np.random.seed(0)

# Create ground-truth binary labels
y_true = np.array([0, 1, 1, 0, 1, 0, 1, 1])

# Create predicted positive-class probabilities
# Values should be between 0 and 1
probs = np.array([0.1, 0.9, 0.8, 0.2, 0.7, 0.3, 0.6, 0.95])

# Create a decision threshold
thr = 0.5

ARGS = {
    "y_true": y_true,
    "probs": probs,
    "thr": thr,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — 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
train_single_combo Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
S18-Niloy/KEMP-PIP/peptide_pipeline/ensemble.py
code served (permissive licence) · get_code("4091be8159b8f2fa")
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) 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 numpy as np
from sklearn.linear_model import LogisticRegression

# Set random seed for reproducibility
np.random.seed(42)

# Create small synthetic data
n_train = 20
n_test = 10
n_features = 5

# Generate training and test feature matrices
Xtr_raw = np.random.randn(n_train, n_features).astype(np.float32)
Xte_raw = np.random.randn(n_test, n_features).astype(np.float32)

# Generate binary labels
y = np.random.randint(0, 2, size=n_train)

# Create feature names and groups
names = [f"feature_{i}" for i in range(n_features)]
groups = ["group_A", "group_B", "group_A", "group_B", "group_A"]

# Create class weights dict
class_weight = {0: 1.0, 1: 1.5}

# Define coefficient grid for tuning
coef_grid = (0.0, 1e-06, 5e-06, 1e-05, 0.0001)

ARGS = {
    "Xtr_raw": Xtr_raw,
    "Xte_raw": Xte_raw,
    "names": names,
    "groups": groups,
    "y": y,
    "combo_name": "test_combo",
    "class_weight": class_weight,
    "val_size": 0.1,
    "random_state": 42,
    "coef_grid": coef_grid,
    "decision_threshold": 0.4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — 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
tune_coef_threshold Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
S18-Niloy/KEMP-PIP/peptide_pipeline/ensemble.py
code served (permissive licence) · get_code("39bb99df29e0b13d")
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) 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
from typing import Dict, Optional, Sequence, Tuple

# Set random seed for reproducibility
np.random.seed(0)

# Create small synthetic datasets
n_train = 10
n_val = 8
n_features = 5

# Training data
X_tr = np.random.randn(n_train, n_features).astype(np.float64)
y_tr = np.random.randint(0, 2, n_train)

# Validation data
X_val = np.random.randn(n_val, n_features).astype(np.float64)
y_val = np.random.randint(0, 2, n_val)

# Optional class weight dict
class_weight_dict = {0: 1.0, 1: 1.5}

# Coefficient grid for tuning
coef_grid = (0.0, 1e-06, 5e-06, 1e-05, 0.0001)

# Decision threshold
decision_threshold = 0.5

ARGS = {
    "X_tr": X_tr,
    "y_tr": y_tr,
    "X_val": X_val,
    "y_val": y_val,
    "coef_grid": coef_grid,
    "decision_threshold": decision_threshold,
    "class_weight": class_weight_dict,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — 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

Also present in other papers' code

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

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.

Repositories linked to this paper

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

Abstract

Pro-inflammatory peptides (PIPs) play critical roles in immune signaling and inflammation but are difficult to identify experimentally due to costly and time-consuming assays. To address this challenge, we present KEMP-PIP, a hybrid machine learning framework that integrates deep protein embeddings with handcrafted descriptors for robust PIP prediction. Our approach combines contextual embeddings from pretrained ESM protein language models with multi-scale k-mer frequencies, physicochemical descriptors, and modlAMP sequence features. Feature pruning and class-weighted logistic regression manage high dimensionality and class imbalance, while ensemble averaging with an optimized decision threshold enhances the sensitivity-specificity balance. Through systematic ablation studies, we demonstrate that integrating complementary feature sets consistently improves predictive performance. On the standard benchmark dataset, KEMP-PIP achieves an MCC of 0.505, accuracy of 0.752, and AUC of 0.762, outperforming ProIn-fuse, MultiFeatVotPIP, and StackPIP. Relative to StackPIP, these results represent improvements of 9.5% in MCC and 4.8% in both accuracy and AUC. The KEMP-PIP web server is freely available at https://nilsparrow1920-kemp-pip. hf.space/ and the full implementation at https://github.com/S18-Niloy/KEMP-PIP.

For agents

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

get_harvested_code_for_paper("2602.20198")
get_code_for_paper("2602.20198")
have("2602.20198")

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

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

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

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

Connect an agent — have() is free.