SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.13651 · 2023

Bring Your Own Data! Self-Supervised Evaluation for Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

4 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 11 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.13651.json · badge: /api/ran/2306.13651.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
neelsjain/byod canonical (classifier label)
classifier basis: census
4 ran · 11 no recorded run
FunctionStatusWhere it lives
JSD Ran
ran on a synthesized input
neelsjain/byod/BYOD/utils/JSD.py
code served (permissive licence) · get_code("df6cd920ad87a22e")
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)

# Create two probability distributions as tensors
# Shape: batch x prob_distribution
# batch=2, num_classes=4
prob_dist_1 = torch.tensor([
    [0.1, 0.2, 0.3, 0.4],
    [0.25, 0.25, 0.25, 0.25]
], dtype=torch.float32)

prob_dist_2 = torch.tensor([
    [0.2, 0.3, 0.2, 0.3],
    [0.1, 0.2, 0.3, 0.4]
], dtype=torch.float32)

ARGS = {
    'prob_dist_1': prob_dist_1,
    'prob_dist_2': prob_dist_2
}
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
apply_transformation Ran
ran on a synthesized input
neelsjain/byod/BYOD/negations.py
code served (permissive licence) · get_code("e5b60d3b4decd6d0")
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.

import torch

torch.manual_seed(0)

# The function expects a dataset which is iterable and contains strings
# It filters for strings containing 'is', 'was', 'are', 'were' (without 'not')
# and transforms them by adding 'not' after the verb

dataset = [
    "This is a test",
    "The cat was sleeping",
    "They are happy",
    "We were there",
    "This is not already negated",
    "She was not present",
    "The dogs are not barking",
]

ARGS = {
    "dataset": dataset
}
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 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
chop_string_every_n_characters Ran
ran on a synthesized input
neelsjain/byod/BYOD/tokenization_robustness.py
code served (permissive licence) · get_code("0d4050f370c9da3d")
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 numpy as np

# Construct arguments for chop_string_every_n_characters
text = "Hello, World! This is a test string."
num_splits = 5

ARGS = {
    "text": text,
    "num_splits": num_splits
}
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 — 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
filter_dataset Ran
ran on a synthesized input
neelsjain/byod/BYOD/negations.py
code served (permissive licence) · get_code("fadf2d5f80771cdc")
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.

import torch
import numpy as np

# The function expects a dataset parameter
# Looking at the function body, it iterates through the dataset with enumerate
# and checks if certain string patterns are present in each element
# So dataset should be an iterable of strings

# Create a small dataset with various strings, some matching the filter criteria
dataset = [
    "The cat is sleeping",
    "The dog is not barking",
    "She was happy",
    "They were not ready",
    "Birds are flying",
    "Dogs are not swimming",
    "He was running",
    "It is a beautiful day",
    "They were playing",
    "The sun is shining but clouds were forming"
]

ARGS = {
    "dataset": dataset
}
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 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
filter_dataset Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/tokenization_robustness.py
code served (permissive licence) · get_code("7f993e2595ba4016")
How it ran

no invocation recorded.

get_dataset Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/utils/hf_utils.py
code served (permissive licence) · get_code("6745c66fbab09884")
How it ran

no invocation recorded.

get_model_n_tokenizer Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/utils/hf_utils.py
code served (permissive licence) · get_code("2580b711e477a223")
How it ran

no invocation recorded.

get_sent_pair_sens_score Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/word_order.py
code served (permissive licence) · get_code("2699058fffaedefa")
How it ran

no invocation recorded.

llama_loading Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/utils/hf_utils.py
code served (permissive licence) · get_code("a0aeb6547e602c03")
How it ran

no invocation recorded.

lrs_metric Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/context_sensitivity.py
code served (permissive licence) · get_code("04d514cc43e49457")
How it ran

no invocation recorded.

negation_metric Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/negations.py
code served (permissive licence) · get_code("60628928ee38052d")
How it ran

no invocation recorded.

swap_words_in_sentence Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/word_order.py
code served (permissive licence) · get_code("678bf292ea6f7843")
How it ran

no invocation recorded.

tokenization_metric Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/tokenization_robustness.py
code served (permissive licence) · get_code("af60a64429281b7c")
How it ran

no invocation recorded.

toxicity_metric Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/toxicity.py
code served (permissive licence) · get_code("22fc2c0a24b6d693")
How it ran

no invocation recorded.

word_order_metric Not yet run
unverified (harvested, no recorded run)
neelsjain/byod/BYOD/word_order.py
code served (permissive licence) · get_code("e40cd3414e82866f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 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 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

With the rise of Large Language Models (LLMs) and their ubiquitous deployment in diverse domains, measuring language model behavior on realistic data is imperative. For example, a company deploying a client-facing chatbot must ensure that the model will not respond to client requests with profanity. Current evaluations approach this problem using small, domain-specific datasets with human-curated labels. These evaluation sets are often sampled from a narrow and simplified distribution, and data sources can unknowingly be leaked into the training set which can lead to misleading evaluations. To bypass these drawbacks, we propose a framework for self-supervised evaluation of LLMs by analyzing their sensitivity or invariance to transformations on the input text. Self-supervised evaluation can directly monitor LLM behavior on datasets collected in the wild or streamed during live model deployment. We demonstrate self-supervised evaluation strategies for measuring closed-book knowledge, toxicity, and long-range context dependence, in addition to sensitivity to grammatical structure and tokenization errors. When comparisons to similar human-labeled benchmarks are available, we find strong correlations between self-supervised and human-supervised evaluations. The self-supervised paradigm complements current evaluation strategies that rely on labeled data.

For agents

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

get_harvested_code_for_paper("2306.13651")
get_code_for_paper("2306.13651")
have("2306.13651")

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

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

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

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

Connect an agent — have() is free.