SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.01678 · 2026

Progressive Agent Skill Generation via Reinforcement Learning

Hong Cheng, Zhanqiu Zhang, Yiwen Guo, Junhao Shen

arXiv · PDF · Open in the Atlas

Code that ran

13 of 13 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 0 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/2608.01678.json · badge: /api/ran/2608.01678.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
ejhshen/skill-alpha canonical (classifier label)
classifier basis: census
13 ran · 0 no recorded run
FunctionStatusWhere it lives
estimate_tokens Ran
ran, honoured the contract we drafted
ejhshen/skill-alpha/src/skill_alpha_rl/evidence.py
code served (permissive licence) · get_code("42ec3fc2aa499953")
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 int, ndim 0, dtype family int, 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

# The function estimate_tokens takes a single parameter: text (a string)
# It performs string length calculations and arithmetic operations
# No complex objects are needed

ARGS = {
    "text": "Hello, this is a sample text for token estimation."
}
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 int, ndim 0, dtype family int, 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
finalize_group_noop_rewards Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/reward_compare.py
code served (permissive licence) · get_code("97f51a490fad006e")
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

# Construct test data for finalize_group_noop_rewards
# The function processes a list of dicts with 'reward_extra_info' and 'reward_score' keys

outputs = [
    {
        'reward_score': 0.5,
        'reward_extra_info': {
            'reward_group_id': 'group_1',
            'action_type': 'EDIT',
            'action_valid': True,
            'decision_source': 'model',
            'score': 0.5,
            'acc': 0.5,
        }
    },
    {
        'reward_score': 0.0,
        'reward_extra_info': {
            'reward_group_id': 'group_1',
            'action_type': 'NOOP',
            'action_valid': False,
            'decision_source': 'noop_pending_group_comparison',
            'score': 0.0,
            'acc': 0.0,
        }
    },
    {
        'reward_score': 0.0,
        'reward_extra_info': {
            'reward_group_id': 'group_2',
            'action_type': 'NOOP',
            'action_valid': False,
            'decision_source': 'noop_pending_group_comparison',
            'score': 0.0,
            'acc': 0.0,
        }
    },
    {
        'reward_score': 0.0,
        'reward_extra_info': {
            'action_type': 'NOOP',
            'action_valid': False,
            'decision_source': 'noop_pending_group_comparison',
            'score': 0.0,
            'acc': 0.0,
        }
    },
]

ARGS = {
    'outputs': outputs,
}
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
find_section_span Ran
ran, honoured the contract we drafted
ejhshen/skill-alpha/src/skill_alpha_rl/skill_actions.py
code served (permissive licence) · get_code("abe6f96184fecb0e")
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 int; 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

HEADING_LINE_RE = re.compile('^(#{1,6})[ \\t]+(.+?)[ \\t]*$')
FENCE_OPEN_RE = re.compile('^[ \\t]{0,3}(`{3,}|~{3,})')

def normalize_heading_title(title, *, default='## Untitled'):
    text = str(title or '').strip()
    if not text:
        return default
    if re.match('^#{1,6}\\s+\\S', text):
        return text
    text = re.sub('^#+\\s*', '', text).strip()
    return f'## {text}' if text else default

def markdown_heading_spans(text):
    headings = []
    fence_char = ''
    fence_len = 0
    offset = 0
    for line in (text or '').splitlines(keepends=True):
        line_text = line.rstrip('\r\n')
        fence_match = FENCE_OPEN_RE.match(line_text)
        if fence_char:
            if fence_match:
                marker = fence_match.group(1)
                suffix = line_text[fence_match.end():]
                if marker[0] == fence_char and len(marker) >= fence_len and (not suffix.strip()):
                    fence_char = ''
                    fence_len = 0
            offset += len(line)
            continue
        if fence_match:
            marker = fence_match.group(1)
            fence_char = marker[0]
            fence_len = len(marker)
            offset += len(line)
            continue
        heading_match = HEADING_LINE_RE.match(line_text)
        if heading_match:
            heading = heading_match.group(0).strip()
            headings.append((heading, len(heading_match.group(1)), offset, offset + len(line)))
        offset += len(line)
    return headings

def find_section_span(text, heading):
    heading = normalize_heading_title(heading)
    level = len(heading) - len(heading.lstrip('#'))
    headings = markdown_heading_spans(text)
    for index, (candidate, candidate_level, start, _) in enumerate(headings):
        if candidate_level != level or candidate.strip() != heading.strip():
            continue
        end = len(text)
        for _, next_level, next_start, _ in headings[index + 1:]:
            if next_level <= level:
                end = next_start
                break
        return (start, end)
    return None

markdown_text = """# Main Title
This is some content.

## Introduction
Introduction content here.

## Methods
Methods section content.

### Subsection
More content.

## Results
Results go here.

## Conclusion
Final thoughts.
"""

ARGS = {
    'text': markdown_text,
    'heading': '## Methods'
}
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 int — 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
get_settings Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_env/config.py
code served (permissive licence) · get_code("086a6d07978744a1")
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 Settings. 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 os
import tempfile
from pathlib import Path

# Create a temporary .env file with test values
env_content = """
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_API_KEY=sk-test-key-12345
SKILL_UPDATE_MODEL=gpt-4
TRANSITION_VERIFIER_MODEL=gpt-3.5-turbo
CL_BENCH_PATH=/datasets/cl_bench/CL-bench.jsonl
SPREADSHEET_BENCH_TAR=/datasets/spreadsheetbench/data/spreadsheetbench_verified_400.tar.gz
TAU2_DOMAINS_DIR=/datasets/tau2-bench/data/tau2/domains
SMOKE_ARTIFACT_DIR=/outputs/skill-alpha/smoke
"""

# Write to a temporary file
temp_env = tempfile.NamedTemporaryFile(mode='w', suffix='.env', delete=False, encoding='utf-8')
temp_env.write(env_content)
temp_env.close()

try:
    ARGS = {
        'env_path': temp_env.name
    }
finally:
    # Clean up temp file after defining ARGS
    os.unlink(temp_env.name)
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 Settings — a Settings output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Settings 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
jsonable Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/reward_compare.py
code served (permissive licence) · get_code("01c0839e76ce5a48")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function jsonable() takes a single parameter: value
# It recursively converts values to JSON-compatible types
# It checks for:
# - dict: converts keys to strings and recursively processes values
# - list/tuple: recursively processes elements
# - objects with tolist() method: calls tolist() and recurses
# - objects with item() method: calls item()
# - returns value as-is otherwise

# Test with a complex nested structure containing various types that need conversion
tensor_2d = torch.tensor([[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0]])
numpy_array = np.array([1, 2, 3, 4])
scalar_tensor = torch.tensor(42.0)

test_value = {
    "tensors": [tensor_2d, scalar_tensor],
    "numpy": numpy_array,
    "nested": {
        "list": [1, 2, 3],
        "tuple": (4, 5, 6),
        "mixed": [tensor_2d, numpy_array]
    },
    "scalar": 99,
    "string": "hello",
    123: "numeric_key"
}

ARGS = {
    "value": test_value
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
markdown_heading_spans Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/skill_actions.py
code served (permissive licence) · get_code("071ee199f49d8bd1")
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 2, 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

HEADING_LINE_RE = re.compile('^(#{1,6})[ \\t]+(.+?)[ \\t]*$')

FENCE_OPEN_RE = re.compile('^[ \\t]{0,3}(`{3,}|~{3,})')

def markdown_heading_spans(text: str) -> list[tuple[str, int, int, int]]:
    """Return headings outside fenced code blocks as (text, level, start, end)."""
    headings: list[tuple[str, int, int, int]] = []
    fence_char = ''
    fence_len = 0
    offset = 0
    for line in (text or '').splitlines(keepends=True):
        line_text = line.rstrip('\r\n')
        fence_match = FENCE_OPEN_RE.match(line_text)
        if fence_char:
            if fence_match:
                marker = fence_match.group(1)
                suffix = line_text[fence_match.end():]
                if marker[0] == fence_char and len(marker) >= fence_len and (not suffix.strip()):
                    fence_char = ''
                    fence_len = 0
            offset += len(line)
            continue
        if fence_match:
            marker = fence_match.group(1)
            fence_char = marker[0]
            fence_len = len(marker)
            offset += len(line)
            continue
        heading_match = HEADING_LINE_RE.match(line_text)
        if heading_match:
            heading = heading_match.group(0).strip()
            headings.append((heading, len(heading_match.group(1)), offset, offset + len(line)))
        offset += len(line)
    return headings

# Test with various markdown content
test_markdown = """# Main Heading
Some text here.

## Subheading
More content.


# This heading is in a code block
### Should not be extracted


### Another Real Heading

~~~
# Fenced with tildes


#### Nested heading after fence
"""

ARGS = {
    "text": test_markdown
}
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 2, 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
normalize_heading_title Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/skill_actions.py
code served (permissive licence) · get_code("04040347112c6976")
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
from typing import Any

def normalize_heading_title(title: Any, *, default: str='## Untitled') -> str:
    """Return a valid Markdown heading, preserving explicit heading depth."""
    text = str(title or '').strip()
    if not text:
        return default
    if re.match('^#{1,6}\\s+\\S', text):
        return text
    text = re.sub('^#+\\s*', '', text).strip()
    return f'## {text}' if text else default


ARGS = {
    'title': '## My Heading',
    'default': '## Untitled'
}
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
quality_gate_config Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/inference/eval_skill_alpha.py
code served (permissive licence) · get_code("eed9e88ecca68954")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import argparse

ARGS = {
    'args': argparse.Namespace(
        quality_max_attempts=5,
        max_skill_chars=100,
        create_disable_ratio=0.3,
        skill_temperature=0.7
    )
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
quality_gate_matches Ran
ran, violated the contract we drafted
ejhshen/skill-alpha/src/inference/eval_skill_alpha.py
code served (permissive licence) · get_code("b07a3b05b70b9bfa")
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 argparse

torch_available = True
try:
    import torch
except ImportError:
    torch_available = False

args = argparse.Namespace(
    quality_max_attempts=5,
    max_skill_chars=100,
    create_disable_ratio=0.3,
    skill_temperature=0.7
)

metadata = {
    'quality_gate': {
        'max_attempts': 5,
        'max_skill_chars': 100,
        'create_disable_ratio': 0.3,
        'temperature': 0.7
    }
}

ARGS = {
    'metadata': metadata,
    'args': args
}
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
read_text_or_empty Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/inference/skill_alpha_inference.py
code served (permissive licence) · get_code("8be46914e7453a04")
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 tempfile
from pathlib import Path

# Create a temporary file with some text content
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8') as f:
    f.write('Hello, World!')
    temp_file_path = f.name

ARGS = {
    'path': temp_file_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 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
safe_name Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/inference/eval_skill_alpha.py
code served (permissive licence) · get_code("5b4244ff26f7c693")
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 torch

def safe_name(value: str) -> str:
    return ''.join((ch if ch.isalnum() or ch in ('-', '_', '.') else '_' for ch in value))

# The function takes a single string parameter and filters characters
# to create a safe name by keeping alphanumeric, hyphen, underscore, and period characters

ARGS = {
    'value': 'my-file_name.v2@special#chars!'
}
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 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
select_evidence_steps Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/evidence.py
code served (permissive licence) · get_code("3efe60cd2448c87d")
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

torch.manual_seed(0)

# Construct test data for select_evidence_steps
# The function expects a list of step dictionaries

steps = [
    {
        'i': 0,
        'env': {'ok': True, 'score': 0},
        'action': 'start'
    },
    {
        'i': 1,
        'env': {'ok': False, 'score': None},
        'action': 'attempt_1'
    },
    {
        'i': 2,
        'env': {'ok': True, 'score': 5},
        'feedback': 'partial progress',
        'action': 'step_2'
    },
    {
        'i': 3,
        'env': {'ok': True, 'score': 10},
        'feedback': 'getting closer',
        'action': 'step_3'
    },
    {
        'i': 4,
        'env': {'ok': True, 'score': None},
        'feedback': 'error occurred',
        'action': 'recovery'
    },
    {
        'i': 5,
        'env': {'ok': True, 'score': 20},
        'feedback': 'success',
        'action': 'final_step'
    },
    {
        'i': 6,
        'env': {'ok': True, 'score': 0},
        'feedback': 'neutral',
        'action': None
    },
    {
        'i': 7,
        'env': {},
        'action': 'last_action'
    }
]

max_steps = 4

ARGS = {
    'steps': steps,
    'max_steps': max_steps
}
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
truncate_to_tokens Ran
ran; our contract draft was wrong, not the code
ejhshen/skill-alpha/src/skill_alpha_rl/evidence.py
code served (permissive licence) · get_code("360fe130254f13b9")
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 json
from typing import Any

# Test with various input types
ARGS = {
    "value": {"key": "short text"},
    "max_tokens": 50
}
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

Also present in other papers' code

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

Recent large language model agents often use external skills as modular procedural units that condition inference and improve complex task solving. Thus, automatically generating high-quality skills from documents or experience has become an important problem. Existing skill generation methods largely rely on heuristics or pipeline-style consolidation, which must be specially designed for different evidence sources. In contrast, learning-based approaches offer a more unified way to model skill generation across heterogeneous sources. However, learningbased skill generation remains challenging because skills lack a natural supervision signal based on relevance or correctness; their value can largely be determined only by whether they improve the behavior of the agent on downstream tasks. To address this challenge, we propose Skill-α, a reinforcement learning method for progressively generating high-quality agent skills. Specifically, we formulate skill generation as a sequential editing process that decomposes skill construction into individually evaluable edits, and introduce a novel rollback reward that evaluates each edit by comparing downstream execution under the original and edited skills on an anchored query. Extensive experiments show that Skill-α generates more effective skills than methods based on heuristics or pipelines in both documentto-skill and experience-to-skill settings. Under the main GPT-4o worker, Skill-α improves average downstream success rates over the strongest skill-generation baseline by 3.3 points on CL-Bench and 6.7 points on tau2-bench. Further ablations validate the importance of rollback reward and progressive generation. Code is available at https://github.com/ejhshen/skill-alpha.

For agents

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

get_harvested_code_for_paper("2608.01678")
get_code_for_paper("2608.01678")
have("2608.01678")

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

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

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

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

Connect an agent — have() is free.