SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.18703 · 2026

Contextualizing Biological Language Models across Modalities via Logit-Space Contrastive Alignment

Yanjun Shao, María Rodríguez Martínez, Yundi Chen, Yashvi Patel, Aurelien Pelissier

arXiv · PDF

Code that ran

39 of 44 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 6 honoured the contract we drafted, 3 violated it and 2 have no contract verdict; 28 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2606.18703.json · badge: /api/ran/2606.18703.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
facebookresearch/esm canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
bowen-gao/DrugCLIP canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
zhangyumeng1sjtu/EPACT canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
Steven51516/SP-DTI canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
peizhenbai/DrugBAN canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
samsledje/ConPLex community
Papers with Code archive
6 ran · 0 no recorded run
purvavideha/GSDTI community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
MarginScheduledLossFunction Ran
ran on a synthesized input · constructed an object; no result was computed
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("1e45ef7532242671")
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 an instance of its own class, MarginScheduledLossFunction: the run constructed the object and did not call it, so no result was computed. 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 torch
import numpy as np
from functools import partial

torch.manual_seed(0)

# Define the functions and dictionaries from the provided code
def cosine_anneal(M_0, N_epoch, x):
    return 0.5 * M_0 * (1 + np.cos(x * np.pi / N_epoch))

def cosine_distance_p(x, y, p=1):
    cosine_sim = torch.nn.CosineSimilarity()
    return (1 - cosine_sim(x, y)) ** p

def no_decay(M_0, N_epoch, x):
    return M_0

def sigmoid_cosine_distance_p(x, y, p=1):
    sig = torch.nn.Sigmoid()
    cosine_sim = torch.nn.CosineSimilarity()
    return (1 - sig(cosine_sim(x, y))) ** p

def tanh_decay(M_0, N_epoch, x):
    return M_0 * (1 - np.tanh(2 * x / N_epoch))

DIST_FN_DICT = {'sigmoid_cosine_distance': sigmoid_cosine_distance_p, 'cosine_distance': cosine_distance_p}

MARGIN_FN_DICT = {'tanh_decay': tanh_decay, 'cosine_anneal': cosine_anneal, 'no_decay': no_decay}

class MarginScheduledLossFunction:

    def __init__(self, M_0: float=0.25, N_epoch: float=50, N_restart: float=-1, update_fn='tanh_decay', dist_fn='cosine_distance'):
        self.M_0 = M_0
        self.N_epoch = N_epoch
        if N_restart == -1:
            self.N_restart = N_epoch
        else:
            self.N_restart = N_restart
        self._step = 0
        self.M_curr = self.M_0
        self._update_fn_str = update_fn
        self._update_margin_fn = self._get_update_fn(update_fn)
        self._dist_fn = DIST_FN_DICT[dist_fn]
        self._update_loss_fn()

    @property
    def margin(self):
        return self.M_curr

    def _get_update_fn(self, fn_string):
        return partial(MARGIN_FN_DICT[fn_string], self.M_0, self.N_restart)

    def _update_loss_fn(self):
        self._loss_fn = torch.nn.TripletMarginWithDistanceLoss(distance_function=sigmoid_cosine_distance_p, margin=self.M_curr)

    def step(self):
        self._step += 1
        if self._step == self.N_restart:
            self.reset()
        else:
            self.M_curr = self._update_margin_fn(self._step)
            self._update_loss_fn()

    def reset(self):
        self._step = 0
        self.M_curr = self._update_margin_fn(self._step)
        self._update_loss_fn()

    def __call__(self, anchor, positive, negative):
        return self._loss_fn(anchor, positive, negative)


# Create sample tensors for testing
anchor = torch.randn(2, 4)
positive = torch.randn(2, 4)
negative = torch.randn(2, 4)

ARGS = {
    'M_0': 0.25,
    'N_epoch': 50,
    'N_restart': -1,
    'update_fn': 'tanh_decay',
    'dist_fn': 'cosine_distance'
}
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 MarginScheduledLossFunction — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MarginScheduledLossFunction 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
NTXentContrastiveLoss Ran
ran on a synthesized input
purvavideha/GSDTI/loss.py
pointer only (licence: NONE) · get_code("041b01be726ffb14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, purvavideha/GSDTI 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.

apc Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/modules.py
code served (permissive licence) · get_code("f6701ae421cbe0d4")
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 4, dtype family float, shape (2, 3, 4, 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 torch

torch.manual_seed(0)

# The function apc performs average product correction on a tensor
# It expects a tensor x with at least 2 dimensions
# The operations use sum on dimensions -1 and -2, so we need at least 2D
# Let's create a small 4D tensor (batch, sequence, dimension, dimension)
# to make the contact prediction use case clear

x = torch.randn(2, 3, 4, 5)

ARGS = {
    "x": x
}
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 Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 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
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/esm/esm/rotary_embedding.py
code served (permissive licence) · get_code("2a127d3ae372d7bd")
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 3, dtype family float, shape (2, 3, 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

torch.manual_seed(0)

# Analyze function usage:
# - x: tensor that gets chunked on dim=-1, so needs even last dimension
# - cos: tensor indexed as cos[:, :x.shape[-2], :], so needs shape (batch, seq, dim)
# - sin: tensor indexed as sin[:, :x.shape[-2], :], so needs shape (batch, seq, dim)
# All tensors participate in element-wise operations

# Create small tensors with distinct dimensions
batch_size = 2
seq_len = 3
hidden_dim = 4

# x: (batch, seq_len, hidden_dim) - last dim must be even for rotate_half to chunk it
x = torch.randn(batch_size, seq_len, hidden_dim)

# cos and sin: (batch, seq_len, hidden_dim)
# They will be sliced to [:, :seq_len, :] which should work fine
cos = torch.randn(batch_size, seq_len + 1, hidden_dim)  # slightly larger to test slicing
sin = torch.randn(batch_size, seq_len + 1, hidden_dim)

ARGS = {
    "x": x,
    "cos": cos,
    "sin": sin,
}
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 Tensor, ndim 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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
atchley_factor_encoding Ran
ran, honoured the contract we drafted
zhangyumeng1sjtu/EPACT/EPACT/utils/encoding.py
pointer only (licence: GPL-3.0) · get_code("5c8bd5b3e01c1ca9")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, zhangyumeng1sjtu/EPACT, is not in the permissive set Syntology serves inline. 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.

binary_cross_entropy Ran
ran; our contract draft was wrong, not the code
peizhenbai/DrugBAN/models.py
code served (permissive licence) · get_code("83a96f15e1b9da0c")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Create pred_output: logits tensor of shape (batch_size, 1)
# The function squeezes dimension 1, so we need a tensor with that dimension
pred_output = torch.randn(2, 1)

# Create labels: binary labels tensor of shape (batch_size,)
# After squeeze, pred_output will have shape (batch_size,), so labels must match
labels = torch.tensor([0.0, 1.0])

ARGS = {
    "pred_output": pred_output,
    "labels": labels
}
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 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
bolossum_encoding Ran
ran; our contract draft was wrong, not the code
zhangyumeng1sjtu/EPACT/EPACT/utils/encoding.py
pointer only (licence: GPL-3.0) · get_code("1f7388a004a0c2d6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, zhangyumeng1sjtu/EPACT, is not in the permissive set Syntology serves inline. 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.

calc_re Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bowen-gao/DrugCLIP/unimol/tasks/drugclip.py
pointer only (licence: NOASSERTION) · get_code("42a4239b82d1373c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

cosine_anneal Ran
ran, honoured the contract we drafted
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("3204373aea14cb43")
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

# The function cosine_anneal takes:
# M_0: a scalar (initial learning rate or similar)
# N_epoch: an integer (total number of epochs)
# x: a scalar or array (current epoch or iteration)

ARGS = {
    'M_0': 0.1,
    'N_epoch': 100,
    'x': 50
}
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
cosine_distance_p Ran
ran; our contract draft was wrong, not the code
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("742f4c7d2a61f054")
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 1, dtype family float, shape (2,) 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)

# Create two small tensors with batch size 2 and feature dimension 4
x = torch.randn(2, 4)
y = torch.randn(2, 4)

# Create a parameter p (power)
p = 1

ARGS = {
    "x": x,
    "y": y,
    "p": p
}
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 Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) 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
cross_entropy_logits Ran
ran; our contract draft was wrong, not the code
peizhenbai/DrugBAN/models.py
code served (permissive licence) · get_code("e0224b39d7f883e6")
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 torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for testing
batch_size = 2
num_classes = 4

# linear_output: should be logits of shape (batch_size, num_classes)
linear_output = torch.randn(batch_size, num_classes)

# label: should be class indices of shape (batch_size,)
label = torch.tensor([0, 1], dtype=torch.long)

# weights: optional, should be per-sample weights of shape (batch_size,)
weights = torch.tensor([1.0, 2.0])

ARGS = {
    "linear_output": linear_output,
    "label": label,
    "weights": weights,
}
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 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
entropy_logits Ran
ran; our contract draft was wrong, not the code
peizhenbai/DrugBAN/models.py
code served (permissive licence) · get_code("4e7445da703222c3")
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 1, dtype family float, shape (2,) 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.functional as F

torch.manual_seed(0)

# Construct a small tensor for linear_output
# The function expects shape (batch_size, num_classes)
# batch_size=2, num_classes=4 for distinctness
linear_output = torch.randn(2, 4)

ARGS = {
    "linear_output": linear_output
}
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 Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) 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
gaussian Ran
ran, violated the contract we drafted
bowen-gao/DrugCLIP/unimol/models/unimol.py
pointer only (licence: NONE); the stored copy get_code serves, from bowenwang77/DR-Label, is pointer only (licence: NONE) · get_code("294ba20b052bfbc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bowen-gao/DrugCLIP 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.

gelu Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/modules.py
code served (permissive licence) · get_code("2e7bd6c4ccd1ed68")
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 math
import torch

torch.manual_seed(0)

# The gelu function takes a single parameter 'x' which is used in:
# - x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0)))
# So x must be a tensor that supports arithmetic operations and torch.erf

# Create a small tensor for testing
x = torch.randn(2, 4)

ARGS = {
    'x': x
}
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 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
get_time Ran
ran; our contract draft was wrong, not the code
bowen-gao/DrugCLIP/HomoAug/utils/misc.py
pointer only (licence: NOASSERTION) · get_code("885d339055ac8edc")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

integer_label_protein Ran
ran, honoured the contract we drafted
peizhenbai/DrugBAN/utils.py
code served (permissive licence) · get_code("19e3c8488605a6f7")
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 (1200,) 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 logging

CHARPROTSET = {'A': 1, 'C': 2, 'B': 3, 'E': 4, 'D': 5, 'G': 6, 'F': 7, 'I': 8, 'H': 9, 'K': 10, 'M': 11, 'L': 12, 'O': 13, 'N': 14, 'Q': 15, 'P': 16, 'S': 17, 'R': 18, 'U': 19, 'T': 20, 'W': 21, 'V': 22, 'Y': 23, 'X': 24, 'Z': 25}

def integer_label_protein(sequence, max_length=1200):
    """
    Integer encoding for protein string sequence.
    Args:
        sequence (str): Protein string sequence.
        max_length: Maximum encoding length of input protein string.
    """
    encoding = np.zeros(max_length)
    for idx, letter in enumerate(sequence[:max_length]):
        try:
            letter = letter.upper()
            encoding[idx] = CHARPROTSET[letter]
        except KeyError:
            logging.warning(f'character {letter} does not exists in sequence category encoding, skip and treat as padding.')
    return encoding

# Setup code
sequence = "ACDEFGHIKLMNPQRSTVWY"
max_length = 1200

ARGS = {
    "sequence": sequence,
    "max_length": max_length
}
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 (1200,) — shape (1200,) 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_DDI Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Steven51516/SP-DTI/FlexMol/dataset/loader.py
pointer only (licence: NOASSERTION) · get_code("0fd30f947d0ed52f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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.

load_DTI Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Steven51516/SP-DTI/FlexMol/dataset/loader.py
pointer only (licence: NOASSERTION) · get_code("6c02dd5959fc45bd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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.

load_PPI Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Steven51516/SP-DTI/FlexMol/dataset/loader.py
pointer only (licence: NOASSERTION) · get_code("4011eaaa1646ff63")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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.

load_paired_cdr123_feat_bank Ran
ran; our contract draft was wrong, not the code
zhangyumeng1sjtu/EPACT/EPACT/utils/misc.py
pointer only (licence: GPL-3.0) · get_code("56d67c962efeb5f1")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, zhangyumeng1sjtu/EPACT, is not in the permissive set Syntology serves inline. 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.

load_paired_tcr_feat_bank Ran
ran; our contract draft was wrong, not the code
zhangyumeng1sjtu/EPACT/EPACT/utils/misc.py
pointer only (licence: GPL-3.0) · get_code("25ffeffddf57d169")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, zhangyumeng1sjtu/EPACT, is not in the permissive set Syntology serves inline. 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.

no_decay Ran
ran, violated the contract we drafted
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("ae893cdcdb84b2fc")
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
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for no_decay(M_0, N_epoch, x)
# The function simply returns M_0, so we just need valid values

M_0 = 0.9  # A decay rate or initial value (float)
N_epoch = 100  # Number of epochs (int)
x = torch.randn(2, 4)  # Tiny tensor with batch size 2, dimension 4

ARGS = {
    "M_0": M_0,
    "N_epoch": N_epoch,
    "x": x
}
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
one_hot_encoding Ran
ran, honoured the contract we drafted
zhangyumeng1sjtu/EPACT/EPACT/utils/encoding.py
pointer only (licence: GPL-3.0) · get_code("776332c73e11eb1a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, zhangyumeng1sjtu/EPACT, is not in the permissive set Syntology serves inline. 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.

process_configs Ran
ran; our contract draft was wrong, not the code
Steven51516/SP-DTI/FlexMol/encoder/FM_config.py
pointer only (licence: NOASSERTION) · get_code("afdc6cbac5090332")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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.

re_new Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bowen-gao/DrugCLIP/unimol/tasks/drugclip.py
pointer only (licence: NOASSERTION) · get_code("db723afedb949b33")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

read_alignment_lines Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/data.py
code served (permissive licence) · get_code("0e2bb5cf67615e24")
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 generator. 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 re

def read_alignment_lines(lines, keep_gaps=True, keep_insertions=True, to_upper=False):
    seq = desc = None

    def parse(s):
        if not keep_gaps:
            s = re.sub('-', '', s)
        if not keep_insertions:
            s = re.sub('[a-z]', '', s)
        return s.upper() if to_upper else s
    for line in lines:
        if len(line) > 0 and line[0] == '>':
            if seq is not None:
                yield (desc, parse(seq))
            desc = line.strip().lstrip('>')
            seq = ''
        else:
            assert isinstance(seq, str)
            seq += line.strip()
    assert isinstance(seq, str) and isinstance(desc, str)
    yield (desc, parse(seq))


# Construct valid arguments
ARGS = {
    'lines': [
        '>sequence1',
        'ATCG-atcg',
        '>sequence2',
        'GCTA-gcta',
    ],
    'keep_gaps': True,
    'keep_insertions': True,
    'to_upper': False,
}
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 generator — a generator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a generator 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
rotate_half Ran
ran, honoured the contract we drafted
facebookresearch/esm/esm/rotary_embedding.py
pointer only (licence: MIT); the stored copy get_code serves, from tdooms/bilinear-decomposition, is pointer only (licence: NONE) · get_code("437c7011506995a3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from tdooms/bilinear-decomposition, 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.

scoring Ran
ran; our contract draft was wrong, not the code
bowen-gao/DrugCLIP/unimol/utils/coordinate_model.py
pointer only (licence: NOASSERTION) · get_code("b72ae28227215c62")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

sigmoid_cosine_distance_p Ran
ran; our contract draft was wrong, not the code
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("098cde9f3278ee9e")
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 1, dtype family float, shape (2,) 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)

# Create small tensors for x and y
# CosineSimilarity expects 2D inputs (batch_size, feature_dim)
x = torch.randn(2, 4)  # batch_size=2, feature_dim=4
y = torch.randn(2, 4)  # batch_size=2, feature_dim=4

# p parameter for the power operation
p = 1

ARGS = {
    "x": x,
    "y": y,
    "p": p,
}
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 Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) 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
silent Ran
ran; our contract draft was wrong, not the code
bowen-gao/DrugCLIP/HomoAug/utils/misc.py
pointer only (licence: NOASSERTION) · get_code("d2efa398fa2ce9c3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

single_SF_loss Ran
ran; our contract draft was wrong, not the code
bowen-gao/DrugCLIP/unimol/utils/coordinate_model.py
pointer only (licence: NOASSERTION) · get_code("259731d21f806e98")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

symmetrize Ran
ran, violated the contract we drafted
facebookresearch/esm/esm/modules.py
code served (permissive licence) · get_code("b385be9826c4a8b3")
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 Tensor, ndim 3, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# Create a small tensor with shape (2, 4, 4) for the final two dimensions to be square
# (required for transpose and addition to work meaningfully)
x = torch.randn(2, 4, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 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
tanh_decay Ran
ran, honoured the contract we drafted
samsledje/ConPLex/conplex_dti/model/margin.py
code served (permissive licence) · get_code("348c1f85ae6c0f3b")
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

# Analyze the function:
# tanh_decay(M_0, N_epoch, x)
# - M_0: scalar (multiplier)
# - N_epoch: scalar (number of epochs, used as divisor)
# - x: scalar or array (input to tanh, represents current epoch/step)

M_0 = 2.5
N_epoch = 10
x = 3

ARGS = {
    "M_0": M_0,
    "N_epoch": N_epoch,
    "x": x
}
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
time2str Ran
ran; our contract draft was wrong, not the code
bowen-gao/DrugCLIP/HomoAug/utils/misc.py
pointer only (licence: NOASSERTION) · get_code("b811a7f6db0be4b6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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.

tuple_index Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/inverse_folding/gvp_modules.py
pointer only (licence: MIT); the stored copy get_code serves, from ai4protein/VenusX, is pointer only (licence: NOASSERTION) · get_code("38735f4bca7f8220")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ai4protein/VenusX, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

tuple_size Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/inverse_folding/gvp_modules.py
code served (permissive licence) · get_code("07d7dab3e137136b")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# The function expects a tuple (tp) containing elements that are either None or have a .size() method
# This means they should be torch.Tensor objects or similar objects with a .size() method

# Create a tuple with a mix of None and tensors with distinct shapes
tensor1 = torch.randn(2, 4)
tensor2 = torch.randn(3, 5, 6)
tensor3 = None
tensor4 = torch.randn(7)

tp = (tensor1, tensor2, tensor3, tensor4)

ARGS = {
    "tp": tp
}
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 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
tuple_sum Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/esm/esm/inverse_folding/gvp_modules.py
pointer only (licence: MIT); the stored copy get_code serves, from ai4protein/VenusX, is pointer only (licence: NOASSERTION) · get_code("d0328e65d2e8a9ec")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ai4protein/VenusX, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

utils_softmax Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/esm/esm/multihead_attention.py
code served (permissive licence) · get_code("0aca52ff344beec0")
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 torch.nn.functional as F

torch.manual_seed(0)

# Create a small tensor for testing
# The function takes x (tensor) and applies softmax along a dimension
x = torch.randn(2, 4)

# Define arguments for utils_softmax
ARGS = {
    "x": x,
    "dim": 1,
    "onnx_trace": False
}
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 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
with_incremental_state Ran
ran; our contract draft was wrong, not the code
facebookresearch/esm/esm/multihead_attention.py
code served (permissive licence) · get_code("ee6aaaeaaec268cb")
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 type. 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 torch
import torch.nn as nn
from typing import Dict, Optional

torch.manual_seed(0)

# The function with_incremental_state takes a class as its single parameter
# and modifies its base classes to include FairseqIncrementalState

# Create a simple test class to pass to with_incremental_state
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

ARGS = {
    'cls': SimpleModule
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
dock_with_gradient Not yet run
unverified (harvested, no recorded run)
bowen-gao/DrugCLIP/unimol/utils/coordinate_model.py
pointer only (licence: NOASSERTION) · get_code("4b1455a15813caae")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bowen-gao/DrugCLIP (NOASSERTION). 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. No invocation recorded.

init_inter_layer Not yet run
unverified (harvested, no recorded run)
Steven51516/SP-DTI/FlexMol/encoder/FM_config.py
pointer only (licence: NOASSERTION) · get_code("c91d6050997b3a65")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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. No invocation recorded.

init_method Not yet run
unverified (harvested, no recorded run)
Steven51516/SP-DTI/FlexMol/encoder/FM_config.py
pointer only (licence: NOASSERTION) · get_code("474618a56cd8cef4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Steven51516/SP-DTI (NOASSERTION). 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. No invocation recorded.

load_hub_workaround Not yet run
unverified (harvested, no recorded run)
facebookresearch/esm/esm/pretrained.py
code served (permissive licence) · get_code("f41f5e2627df3d0f")
How it ran

no invocation recorded.

load_regression_hub Not yet run
unverified (harvested, no recorded run)
facebookresearch/esm/esm/pretrained.py
code served (permissive licence) · get_code("37aed79e4a5cbc4f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 44 samples lifted from this paper's linked repositories, 44 carry a function identity and 0 do not. Of the 44 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 1 the same month, 2 later) and 29 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
gelu 198 other papers
195 dated earlier, 3 later · 32 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1901.10125 (2019-01)
Glyce: Glyph-vectors for Chinese Character Representations
and 195 more not named here
rotate_half 13 other papers
12 dated earlier, 1 later · 2 only as an assembly brick
2202.03036 (2022-02)
Structure-Aware Transformer for Graph Representation Learning
2203.07852 (2022-03)
Block-Recurrent Transformers
2403.00043 (2024-03)
RiNALMo: General-Purpose RNA Language Models Can Generalize Well on Structure Prediction Tasks
and 10 more not named here
gaussian 12 other papers
12 dated earlier
2203.04810 (2022-03)
Benchmarking Graphormer on Large-Scale Molecular Modeling Datasets
2210.01765 (2022-10)
One Transformer Can Understand Both 2D & 3D Molecular Data
2301.09505 (2023-01)
Rethinking the Expressive Power of GNNs via Graph Biconnectivity
and 9 more not named here
tuple_index 11 other papers
11 dated earlier
2203.14486 (2022-03)
Equivariant Point Cloud Analysis via Learning Orientations for Message Passing
2309.16519 (2023-09)
AtomSurf : Surface Representation for Learning on Protein Structures
2404.11199 (2024-04)
RiboDiffusion: Tertiary Structure-based RNA Inverse Folding with Generative Diffusion Models
and 8 more not named here
with_incremental_state 10 other papers
9 dated earlier, 1 the same month · 1 only as an assembly brick
2105.11084 (2021-05)
Unsupervised Speech Recognition
2203.09163 (2022-03)
Modeling Dual Read/Write Paths for Simultaneous Machine Translation
2203.09173 (2022-03)
On Vision Features in Multimodal Machine Translation
and 7 more not named here
symmetrize 5 other papers
5 dated earlier
2106.02584 (2021-06)
Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learning
2206.06583 (2022-06)
Exploring evolution-aware & -free protein language models as protein function predictors
2406.10391 (2024-06)
BEACON: Benchmark for Comprehensive RNA Tasks and Language Models
and 2 more not named here
apc 4 other papers
4 dated earlier
2106.02584 (2021-06)
Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learning
2206.06583 (2022-06)
Exploring evolution-aware & -free protein language models as protein function predictors
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
and 1 more not named here
apply_rotary_pos_emb 3 other papers
3 dated earlier
2202.03036 (2022-02)
Structure-Aware Transformer for Graph Representation Learning
2406.03386 (2024-06)
Learning Long Range Dependencies on Graphs via Random Walks
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
tuple_sum 3 other papers
3 dated earlier
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
2510.11752 (2025-10)
Fast and Interpretable Protein Substructure Alignment via Optimal Transport
2601.19232 (2026-01)
Structure-based RNA Design by Step-wise Optimization of Latent Diffusion Model
load_hub_workaround 2 other papers
2 dated earlier
2403.12995 (2024-03)
ESM All-Atom: Multi-scale Protein Language Model for Unified Molecular Modeling
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
load_regression_hub 2 other papers
2 dated earlier
2403.12995 (2024-03)
ESM All-Atom: Multi-scale Protein Language Model for Unified Molecular Modeling
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
tuple_size 2 other papers
2 dated earlier
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
2601.19232 (2026-01)
Structure-based RNA Design by Step-wise Optimization of Latent Diffusion Model
utils_softmax 2 other papers
2 dated earlier
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding
2409.17808 (2024-09)
Generative Modeling of Molecular Dynamics Trajectories
integer_label_protein 1 other paper
1 dated earlier
2311.02326 (2023-11)
FragXsiteDTI: Revealing Responsible Segments in Drug-Target Interaction with Transformer-Driven Interpretation
read_alignment_lines 1 other paper
1 dated earlier
2408.11363 (2024-08)
ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding

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

Pretrained biological language models expose per-token probability distributions through masked-token prediction, providing the likelihood interface central to sequence design, variant scoring, and mechanistic interpretation. Yet these distributions are learned from broad unlabeled corpora and are not naturally conditioned on task-specific biological contexts such as interaction partners, cellular environments, or therapeutic interventions. Existing contextual matching methods often distort this interface through pooled embeddings, contrastive latent spaces, or taskspecific prediction heads. We introduce LOGICA (Logit-space Contrastive Alignment), a framework for context-conditioned prediction that performs contrastive learning directly in output-logit space. Using gated cross-modal adapters compatible with each model's native token head, LOGICA preserves the pretrained likelihood interface and converts contextualized token log-likelihoods into matching scores. Alignment is defined through context-sensitive token probabilities rather than proximity in a shared embedding space, enabling learning from sparse paired data across models with distinct vocabularies, without a shared tokenizer, decoder, or embedding space. LOGICA is particularly effective for mutation-local variant ranking, where comparisons reduce to context-conditioned likelihoods of mutant tokens at perturbed sites. Across protein-ligand binding, TCR-peptide activity, and drug-conditioned resistance prediction, LOGICA improves over prior state-of-the-art methods, including matched latent-contrastive and conditional-MLM baselines, while retaining a token-level interface for interpretation and generation. On held-out-gene single-mutation drug-resistance prediction, LOGICA improves AUC from near-random latent-space baselines of ∼0.55 to ∼0.65. Code is available at https://anonymous.4open.science/r/logica/.

For agents

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

get_harvested_code_for_paper("2606.18703")
get_code_for_paper("2606.18703")
have("2606.18703")

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

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

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

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

Connect an agent — have() is free.