SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.28222 · 2026

Analyzing Quality-Latency-Resource Trade-offs in a Technical Documentation RAG Assistant Using LoRA Adaptation

Evgenii Palnikov, Elizaveta Gavrilova

arXiv · PDF

Code that ran

11 of 16 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 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.28222.json · badge: /api/ran/2605.28222.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
EugPal/rag-lora-tradeoffs community
Papers with Code archive
11 ran · 5 no recorded run
FunctionStatusWhere it lives
anchor_candidate Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("d8551031e7ad67ce")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

TOKEN_STOPWORDS = {'what', 'when', 'where', 'which', 'that', 'this', 'these', 'those', 'documentation', 'kubernetes'}

def normalize(text: str) -> str:
    text = text.lower()
    text = re.sub('[^\\w\\s]+', ' ', text)
    return ' '.join(text.split())

def content_tokens(text: str) -> set[str]:
    tokens = {token for token in normalize(text).split() if len(token) >= 4 and token not in TOKEN_STOPWORDS}
    singularized = {token[:-1] for token in tokens if token.endswith('s') and len(token) > 4}
    return tokens | singularized

def anchor_candidate(anchor: str, sentence: str, page_kind: str) -> tuple[str, str] | None:
    anchor_text = anchor.lstrip('#').strip()
    if not anchor_text or len(anchor_text.split()) > 10:
        return None
    anchor_norm = normalize(anchor_text)
    if anchor_norm in {'overview', 'concepts', 'reference', 'setup', 'tasks', 'tutorials', 'design'}:
        return None
    if anchor_norm.startswith(('about ', 'using ', 'migrating ', 'configuring ', 'enabling ', 'direct ', 'manual ')):
        return None
    if ' versus ' in anchor_norm or anchor_norm.startswith('self registration'):
        return None
    anchor_tokens = content_tokens(anchor_text)
    overlap = anchor_tokens & content_tokens(sentence)
    if not anchor_tokens or len(overlap) / max(1, len(anchor_tokens)) < 0.5:
        return None
    lower = sentence.lower()
    if page_kind not in {'concept', 'reference', 'spec'}:
        return None
    if any((marker in lower for marker in [' is ', ' are ', ' refers to ', ' represented by ', ' consists of '])):
        if anchor_text.endswith('s') and (not anchor_text.endswith('ss')):
            return (f'What are {anchor_text}?', sentence)
        return (f'What is {anchor_text}?', sentence)
    if any((marker in lower for marker in [' provides ', ' allows ', ' supports ', ' enables ', ' lets ', ' manages '])):
        return (f'What does {anchor_text} do?', sentence)
    return None

ARGS = {
    'anchor': '#deployment-configuration',
    'sentence': 'A deployment configuration is a resource that describes the deployment characteristics.',
    'page_kind': 'reference'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
clean_subject Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("35e3c00c652fe31b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def clean_subject(subject: str) -> str:
    subject = re.sub('^[Aa]n?\\s+', '', subject.strip())
    subject = re.sub('^[Tt]he\\s+', '', subject)
    return subject.strip(' .,:;')

ARGS = {
    "subject": "A beautiful day in the park"
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
content_tokens Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("a6135cd0f5abcdca")
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 set. 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

TOKEN_STOPWORDS = {'what', 'when', 'where', 'which', 'that', 'this', 'these', 'those', 'documentation', 'kubernetes'}

def normalize(text: str) -> str:
    text = text.lower()
    text = re.sub('[^\\w\\s]+', ' ', text)
    return ' '.join(text.split())

def content_tokens(text: str) -> set[str]:
    tokens = {token for token in normalize(text).split() if len(token) >= 4 and token not in TOKEN_STOPWORDS}
    singularized = {token[:-1] for token in tokens if token.endswith('s') and len(token) > 4}
    return tokens | singularized

ARGS = {
    'text': 'The quick brown foxes jump over lazy dogs and documentation strings'
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
ensure_dir Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("25ba597a53fa8704")
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 PosixPath. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path

# Create a temporary directory to use as a base
temp_base = tempfile.gettempdir()

# Construct valid arguments for ensure_dir
ARGS = {
    "path": str(Path(temp_base) / "test_ensure_dir_subdir")
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
generate_candidates Ran
ran, honoured the contract we drafted
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("3b44c9e8e34bdebc")
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 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 re

# Helper functions from the code
def normalize(text: str) -> str:
    text = text.lower()
    text = re.sub('[^\w\s]+', ' ', text)
    return ' '.join(text.split())

def content_tokens(text: str) -> set[str]:
    TOKEN_STOPWORDS = {'what', 'when', 'where', 'which', 'that', 'this', 'these', 'those', 'documentation', 'kubernetes'}
    tokens = {token for token in normalize(text).split() if len(token) >= 4 and token not in TOKEN_STOPWORDS}
    singularized = {token[:-1] for token in tokens if token.endswith('s') and len(token) > 4}
    return tokens | singularized

def clean_subject(subject: str) -> str:
    subject = re.sub('^[Aa]n?\s+', '', subject.strip())
    subject = re.sub('^[Tt]he\s+', '', subject)
    return subject.strip(' .,:;')

SENTENCE_RE = re.compile('(?<=[.!?])\s+')

def sentence_split(text: str) -> list[str]:
    return [part.strip() for part in SENTENCE_RE.split(text) if part.strip()]

BAD_ANSWER_SUBSTRINGS = ('http://', 'https://', 'last modified', 'thanks for the feedback', 'edit this page', 'create issue', 'table of contents')

def good_answer(sentence: str) -> bool:
    if not sentence:
        return False
    lower = sentence.lower()
    if any((bad in lower for bad in BAD_ANSWER_SUBSTRINGS)):
        return False
    if sentence.startswith('#') or sentence.startswith('- '):
        return False
    if '`' in sentence or '{' in sentence or '}' in sentence:
        return False
    words = sentence.split()
    if len(words) < 8 or len(words) > 40:
        return False
    digit_count = sum((ch.isdigit() for ch in sentence))
    if digit_count / max(1, len(sentence)) > 0.15:
        return False
    return True

# Create a valid chunk dict for generate_candidates
chunk = {
    'text': 'Kubernetes is a container orchestration platform. It provides automated deployment and scaling of applications. The system manages containerized workloads across clusters.',
    'section_anchor': '#overview',
    'page_kind': 'concept'
}

ARGS = {
    'chunk': chunk
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
good_answer Ran
ran, violated the contract we drafted
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("da7d25d18225c219")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function good_answer takes a single parameter: sentence (a string)
# Read the body:
# - sentence is checked if it's empty (falsy)
# - sentence.lower() is called
# - substring checks are performed
# - sentence.startswith() is called
# - 'in sentence' checks are performed
# - sentence.split() is called
# - len(sentence) is used
# - ch.isdigit() is called on characters

# Valid test cases that should pass the checks
ARGS = {
    "sentence": "This is a valid answer with enough words to pass the test"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_page_ids Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("f843112810ccfaa2")
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 set. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path

# Create a temporary file with some test page IDs
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name) / "page_ids.txt"

# Write sample page IDs to the file
content = "page_001\npage_002\npage_003\n\npage_004\n"
temp_path.write_text(content, encoding='utf-8')

ARGS = {
    "path": temp_path
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
normalize Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("7c07011276fffffd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def normalize(text: str) -> str:
    text = text.lower()
    text = re.sub('[^\\w\\s]+', ' ', text)
    return ' '.join(text.split())

ARGS = {
    "text": "Hello, World! This is a TEST-case with @special# characters."
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_jsonl Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("65440b243bca4da1")
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 json
from pathlib import Path
import tempfile
import os

# Create a temporary directory and JSONL file for testing
temp_dir = tempfile.mkdtemp()
jsonl_path = os.path.join(temp_dir, "test.jsonl")

# Write some test data to the JSONL file
test_data = [
    {"name": "Alice", "age": 30, "city": "New York"},
    {"name": "Bob", "age": 25, "city": "Los Angeles"},
    {"name": "Charlie", "age": 35, "city": "Chicago"}
]

with open(jsonl_path, 'w', encoding='utf-8') as f:
    for item in test_data:
        f.write(json.dumps(item) + '\n')

# Define ARGS with the path parameter
ARGS = {
    "path": jsonl_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sentence_split Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("f632391de48f8296")
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 re

SENTENCE_RE = re.compile('(?<=[.!?])\\s+')

def sentence_split(text: str) -> list[str]:
    return [part.strip() for part in SENTENCE_RE.split(text) if part.strip()]

ARGS = {
    'text': 'Hello world. This is a test! How are you? I am fine.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
setup_logging Ran
ran; our contract draft was wrong, not the code
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("7f6e7e7ff3d746c3")
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 Logger. 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 logging

# Construct arguments for setup_logging
ARGS = {
    'name': 'test_logger',
    'level': 'DEBUG'
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
assign_split Not yet run
unverified (harvested, no recorded run)
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("91de0954b3ca08e4")
How it ran

no invocation recorded.

capability_candidate Not yet run
unverified (harvested, no recorded run)
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("fafebdc0118d0d1b")
How it ran

no invocation recorded.

definition_candidate Not yet run
unverified (harvested, no recorded run)
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("c666b4a45104a86c")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("db5a7fb870b0bea9")
How it ran

no invocation recorded.

write_jsonl Not yet run
unverified (harvested, no recorded run)
EugPal/rag-lora-tradeoffs/src/data_pipeline/build_kubernetes_qa_dataset.py
code served (permissive licence) · get_code("419be385dc345690")
How it ran

no invocation recorded.

Also present in other papers' code

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

FunctionAlso present inEarliest-datedOthers named
ensure_dir
brick of this paper's assembly: helper
2 other papers
1 the same month, 1 later
2605.11301 (2026-05)
LatentRouter: Can We Choose the Right Multimodal Model Before Seeing Its Answer?
2606.22305 (2026-06)
Learning at the Right Pace: Adaptive Data Scheduling Improves LLM Reinforcement Learning

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 study quality-latency-resource trade-offs in a documentation-grounded retrieval-augmented generation (RAG) system that uses Low-Rank Adaptation (LoRA) of the generator. We build a manually verified benchmark of 5,144 question-answer pairs over the official Kubernetes documentation and combine it with a fixed hybrid-retrieval pipeline (BGE-M3 dense, BGE-M3 native sparse, Reciprocal Rank Fusion, cross-encoder reranking). Over this benchmark we ablate 20 LoRA configurations on Llama-3.2-3B-Instruct and Llama-3.1-8B-Instruct across rank and target-module choices, and evaluate each on token-level F1, LLM-judged groundedness and correctness (pass@4), inference latency, inference memory, and training cost, all reported with bootstrap 95% confidence intervals. Pareto analysis shows that LoRA adapters acting only on the q and v attention projections consistently dominate the front, while the 3B/8B choice mainly defines operating regime. A param-matched control comparison further indicates that the q/v advantage is structural rather than purely parametric. The benchmark, selected adapters, and code are available at https://github.com/EugPal/rag-lora-tradeoffs.

For agents

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

get_harvested_code_for_paper("2605.28222")
get_code_for_paper("2605.28222")
have("2605.28222")

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

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

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

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

Connect an agent — have() is free.