SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.30415 · 2026

Domain Adaptation and Reasoning Frameworks in Language Models: A Controlled Experiment with Historical Cosmology

Francesco De Bernardis

arXiv · PDF · Open in the Atlas

Code that ran

22 of 27 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; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 18 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/2605.30415.json · badge: /api/ran/2605.30415.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
fdeberna/chat-ptolemaic canonical (classifier label)
classifier basis: census
22 ran · 5 no recorded run
FunctionStatusWhere it lives
apply_overrides Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/pipeline/config_utils.py
pointer only (licence: NONE) · get_code("a8685c36310c970c")
How it ran

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

apply_repetition_penalty Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fdeberna/chat-ptolemaic/pipeline/model.py
pointer only (licence: NONE) · get_code("6d9ed8d69f584611")
How it ran

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

build_user_prompt Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/judge/judge_eval.py
pointer only (licence: NONE) · get_code("0d42b9d7998bd299")
How it ran

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

category_key Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/evaluation/summarize_eval.py
pointer only (licence: NONE) · get_code("10de1588f2490205")
How it ran

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

clean_prompt_line Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/evaluation/generate_eval.py
pointer only (licence: NONE) · get_code("4ef67d6db8cbccf1")
How it ran

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

ensure_output_mode Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/judge/judge_qwen_eval.py
pointer only (licence: NONE) · get_code("3f0150bc77a1f7b1")
How it ran

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

get_banned_tokens_ngram Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fdeberna/chat-ptolemaic/pipeline/model.py
pointer only (licence: NONE) · get_code("e534c33b50004b25")
How it ran

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

load_completed_identities Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/judge/judge_qwen_eval.py
pointer only (licence: NONE) · get_code("1ae7bdf68d4e0be6")
How it ran

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

load_json_config Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/pipeline/config_utils.py
pointer only (licence: NONE) · get_code("c4aeb8a9c13aaf88")
How it ran

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

load_prompts Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/evaluation/generate_eval.py
pointer only (licence: NONE) · get_code("4027d245a8e4b2a5")
How it ran

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

model_key Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/evaluation/summarize_eval.py
pointer only (licence: NONE) · get_code("e7665179852ea548")
How it ran

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

parse_override Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/pipeline/config_utils.py
pointer only (licence: NONE) · get_code("36cf0e5e4724b513")
How it ran

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

prepare_single_token_stream Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/pipeline/dataset.py
pointer only (licence: NONE) · get_code("dd021d2eef206194")
How it ran

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

record_identity Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/judge/judge_eval.py
pointer only (licence: NONE) · get_code("b3aa40f75f347540")
How it ran

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

record_identity Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/judge/judge_qwen_eval.py
pointer only (licence: NONE) · get_code("b19cd4e1c3bcca57")
How it ran

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

repo_relative_label Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/evaluation/generate_eval.py
pointer only (licence: NONE) · get_code("4b9bd4b8482a1658")
How it ran

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

resolve_split_cache_name Ran
ran; our contract draft was wrong, not the code
fdeberna/chat-ptolemaic/pipeline/train_finetune.py
pointer only (licence: NONE) · get_code("3e55b13d845a4a72")
How it ran

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

safe_div Ran
ran, honoured the contract we drafted
fdeberna/chat-ptolemaic/evaluation/summarize_eval.py
pointer only (licence: NONE) · get_code("83443ae8f887fd48")
How it ran

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

safe_div Ran
ran, honoured the contract we drafted
fdeberna/chat-ptolemaic/evaluation/summarize_qwen_judgments.py
pointer only (licence: NONE) · get_code("d161ea6d061fc352")
How it ran

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

safe_rate_or_none Ran
ran, honoured the contract we drafted
fdeberna/chat-ptolemaic/evaluation/summarize_qwen_judgments.py
pointer only (licence: NONE) · get_code("3721c8a1f9d1012c")
How it ran

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

top_p_filtering Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fdeberna/chat-ptolemaic/pipeline/model.py
pointer only (licence: NONE) · get_code("db58f58479dd1ee5")
How it ran

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

wilson_ci Ran
ran, honoured the contract we drafted
fdeberna/chat-ptolemaic/evaluation/summarize_qwen_judgments.py
pointer only (licence: NONE) · get_code("226793ee23a4ce7b")
How it ran

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

list_text_files Not yet run
unverified (harvested, no recorded run)
fdeberna/chat-ptolemaic/pipeline/dataset.py
pointer only (licence: NONE) · get_code("c85e17e07142ae98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fdeberna/chat-ptolemaic 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. No invocation recorded.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
fdeberna/chat-ptolemaic/pipeline/train_finetune.py
pointer only (licence: NONE) · get_code("f40932735133d20e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fdeberna/chat-ptolemaic 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. No invocation recorded.

load_completed_identities Not yet run
unverified (harvested, no recorded run)
fdeberna/chat-ptolemaic/judge/judge_eval.py
pointer only (licence: NONE) · get_code("0a52edd0b656ef67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fdeberna/chat-ptolemaic 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. No invocation recorded.

nested_get Not yet run
unverified (harvested, no recorded run)
fdeberna/chat-ptolemaic/pipeline/train_finetune.py
pointer only (licence: NONE) · get_code("360f46e6694d2e28")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fdeberna/chat-ptolemaic 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. No invocation recorded.

prepare_token_streams Not yet run
unverified (harvested, no recorded run)
fdeberna/chat-ptolemaic/pipeline/dataset.py
pointer only (licence: NONE) · get_code("1957a652762deb1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fdeberna/chat-ptolemaic 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. No invocation recorded.

Also present in other papers' code

Of 27 samples lifted from this paper's linked repositories, 27 carry a function identity and 0 do not. Of the 27 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 0 later) and 26 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
safe_div 1 other paper
1 the same month
2605.25816 (2026-05)
Fine-Tuning Over Architectural Complexity: Broad-Coverage PII Detection on PIIBench with DeBERTa

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

We investigate how domain adaptation reshapes explanatory behavior in language models using historical cosmology as a controlled setting. In Phase 1, we train a small language model from scratch on a pre-Copernican corpus from which explicit heliocentric references were removed, and evaluate whether Earth-motion or heliocentric continuations nevertheless emerge. In Phase 2, we fine-tune a larger pretrained model using QLoRA on the same corpus in order to study how adaptation modifies explanatory framing and cosmological stance. Model outputs are evaluated using an LLM-as-judge framework that labels both cosmological stance (geocentric, heliocentric, or ambiguous) and explanatory frame (premodern versus modern). In the constrained setting of Phase 1, the smaller models occasionally generate local Earth-motion continuations, but these remain globally unstable and insufficient to support coherent cosmological reasoning. In Phase 2, fine-tuning induces a large and statistically significant shift toward premodern explanatory framing, while the conditional cosmological stance distributions remain comparatively stable within those frames. As a result, increases in geocentric outputs arise primarily from redistribution over explanatory regimes rather than from direct modification of stance. These results suggest that domain adaptation may primarily reshape the linguistic frameworks from which continuations are generated, with changes in stance emerging secondarily from those shifts.

For agents

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

get_harvested_code_for_paper("2605.30415")
get_code_for_paper("2605.30415")
have("2605.30415")

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

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

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

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

Connect an agent — have() is free.