Dataset Viewer
Auto-converted to Parquet Duplicate
prefix
listlengths
2
168
turn_id
stringlengths
32
82
z_raw
stringlengths
0
6.73k
y_raw
stringlengths
15
8.57k
answer_raw
stringlengths
46
8.75k
[ { "role": "system", "content": "You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\n\nInclude a THOUGHT section before your command wher...
conan-io__conan.86f29e13.pr_12772:15
<think> Let me check the remote manager implementation:
```bash cat ./conans/client/remote_manager.py ```
</think> THOUGHT: Let me check the remote manager implementation: ```bash cat ./conans/client/remote_manager.py ```
[ { "role": "system", "content": "You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\n\nInclude a THOUGHT section before your command wher...
conan-io__conan.86f29e13.pr_12772:15
<think> Let me examine the remote manager to see how it handles `get_latest_package_reference`:
```bash cat ./conans/client/remote_manager.py | grep -A 20 -B 5 "get_latest_package_reference" ```
</think> THOUGHT: Let me examine the remote manager to see how it handles `get_latest_package_reference`: ```bash cat ./conans/client/remote_manager.py | grep -A 20 -B 5 "get_latest_package_reference" ```
[ { "role": "system", "content": "You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\n\nInclude a THOUGHT section before your command wher...
conan-io__conan.86f29e13.pr_12772:15
<think> Let's look at the remote manager implementation, which is likely where the issue is:
```bash cat ./conans/client/remote_manager.py ```
</think> THOUGHT: Let's look at the remote manager implementation, which is likely where the issue is: ```bash cat ./conans/client/remote_manager.py ```
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12772:15
<think> Let me look at the remote_manager.py file, which is likely where the issue is:
```bash cat ./conans/client/remote_manager.py ```
"</think>\nTHOUGHT: Let me look at the remote_manager.py file, which is likely where the issue is:\n(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12899:2
"<think>\nI found several files that use the mentioned terms. Let me examine the file that likely co(...TRUNCATED)
"```bash\ngrep -n \"gzopen_without_timestamps\\|PAX_FORMAT\\|GNU_FORMAT\" ./conans/util/files.py\n``(...TRUNCATED)
"</think>\nTHOUGHT: I found several files that use the mentioned terms. Let me examine the file that(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12899:2
"<think>\nI found several files that mention the relevant terms. The function name \"gzopen_without_(...TRUNCATED)
"```bash\ncat ./conan/util/files.py | grep -A 10 -B 10 \"gzopen_without_timestamps\\|PAX_FORMAT\\|GN(...TRUNCATED)
"</think>\nTHOUGHT: I found several files that mention the relevant terms. The function name \"gzope(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12899:2
"Now I see some relevant files. Let me check the most promising ones that are not tests, particularl(...TRUNCATED)
"```bash\ngrep -n -A 5 -B 5 \"gzopen_without_timestamps\\|PAX_FORMAT\\|GNU_FORMAT\" conans/util/file(...TRUNCATED)
"</think>\nTHOUGHT: Now I see some relevant files. Let me check the most promising ones that are not(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12899:2
"Based on the search results, I can see several files that might contain the relevant code. The func(...TRUNCATED)
```bash cat ./conans/util/files.py | grep -A 20 -B 5 "gzopen_without_timestamps" ```
"</think>\nTHOUGHT: Based on the search results, I can see several files that might contain the rele(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12780:36
"Let me check the current state of the file around the problematic methods and try a completely diff(...TRUNCATED)
"```bash\n# Let me see what's wrong with the current implementation\nsed -n '200,220p' ./conan/api/o(...TRUNCATED)
"</think>\nTHOUGHT: Let me check the current state of the file around the problematic methods and tr(...TRUNCATED)
[{"role":"system","content":"You are a helpful assistant that can interact multiple times with a com(...TRUNCATED)
conan-io__conan.86f29e13.pr_12780:36
"Let me take a completely different approach. Since the file is corrupted, I'll just manually overwr(...TRUNCATED)
"```bash\n# Let me manually create a fixed version of the file for just those three methods\n# First(...TRUNCATED)
"</think>\nTHOUGHT: Let me take a completely different approach. Since the file is corrupted, I'll j(...TRUNCATED)
End of preview. Expand in Data Studio

25k teacher rollouts from Affine SN120

24,930 prompt–completion pairs distilled from the published duel artifacts of Affine (Bittensor subnet 120). Each row is one teacher rollout on one agent turn: the conversation so far, the reasoning the teacher produced, and the bash action it took.

Built from corpus epoch 5 (manifest 1cd8edc52646, 29,860 turns across 5 shards) and all 104 eval artifacts published up to 2026-08-10.

Fields

field type description
prefix list[{role, content}] the turn's chat history — the prompt
turn_id string "{traj_id}:{turn_idx}"; split with rpartition(":")
z_raw string teacher reasoning, exactly as sampled
y_raw string teacher action — a closed ```bash block
answer_raw string the undecomposed assistant body — the completion

On answer_raw

The validator splits a completion into (z, y) with split_rollout(), and that function is lossy: it keeps only the last closed bash block, discards anything after it, and merges the latent <think> span with the visible THOUGHT: section. The original completion bytes were never published, so a byte-exact answer cannot be recovered.

What is well defined is the canonical assistant body the subnet builds in inject_prompt() and scores through force_text():

</think>\nTHOUGHT: {z}\n\n{y}

This is the exact string the teacher's logprobs were measured against, which makes it the right training target. It was verified by round-tripping every row back through the validator's own split_rollout(): 24,930/24,930 recover y_raw exactly, and all recover the reasoning exactly.

One deliberate deviation: ~24% of z_raw values echo back the <think> tag they were generated inside, which would render a nested, unclosed THOUGHT: <think> in the target. Those tags are stripped in answer_raw only; z_raw keeps the original bytes.

Known data quality notes

  • ~1,939 distinct turns. Rows outnumber turns because the teacher was sampled ~4× per turn and turns recur across duels. Group by turn_id before splitting train/eval, or the same prefix will appear on both sides.
  • Repo skew. conan-io/conan is 65% of rows and pygments/pygments 19%, inherited from which turns duels happened to sample.
  • ~100 rows (0.4%) carry a corrupted thought label from the teacher itself — THOught:, THOOTH:, THOPRHOUGHT:, THO</think></think>. The validator's label regex only strips an exact THOUGHT:, so the debris survives in z_raw. Left as-is rather than silently rewriting teacher output; filter on z_raw.startswith("THO") if it matters for your run.
  • Deduplicated on (turn_id, z_raw, y_raw), so identical rollouts are not repeated. Rollouts drawn from the newer corpus shards are near-unique; most duplication came from the original synthetic shard.

Usage

from datasets import load_dataset

ds = load_dataset("vuhaian/25k_from_rollouts", split="train")

def to_text(row, tokenizer):
    prompt = tokenizer.apply_chat_template(
        row["prefix"], tokenize=False, add_generation_prompt=True
    )
    if not prompt.rstrip().endswith("<think>"):
        prompt += "<think>"
    return {"prompt": prompt, "completion": row["answer_raw"]}

The prompt must end inside an open <think> — that is the state the teacher generated from, and answer_raw begins with the matching </think>.

Downloads last month
19