Datasets:
prompt stringlengths 2.98k 123k | completion stringlengths 122 9.2k | turn_id stringlengths 32 82 | traj_id stringlengths 30 79 | source stringclasses 8
values | language stringclasses 5
values | phase stringclasses 4
values | stratum stringlengths 16 59 | n_prefix_chars int64 2.89k 119k | n_prefix_tokens int64 739 30k | teacher_lift float64 -0.08 0.68 | modal_share float64 0.33 1 | n_pool_refs int64 1 90 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Now I need to explore the django_migration_linter directory to find the sql_analyser directory and the base.py file mentioned in the PR description. This is where the issue is located.
```bash
find django_migration_linter -name "base.py" -type f
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:1 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | early | 3YOURMIND__django-migration-linter|pr_258 | 8,969 | 2,433 | 0.023534 | 0.5 | 4 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Great! The test script ran successfully and found no errors, which means our fix is working correctly. The CREATE INDEX statement with a NOT NULL condition in the WHERE clause is no longer being flagged as a NOT NULL constraint error.
Let's also test a case that should still be flagged as an error to... | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:10 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | mid | 3YOURMIND__django-migration-linter|pr_258 | 22,727 | 6,058 | 0.026211 | 1 | 13 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Now let's run the extended test to verify both cases: that our fix works for CREATE INDEX statements with NOT NULL, and that we haven't broken the detection of actual NOT NULL constraint additions.
```bash
python test_fix_extended.py
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:11 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | mid | 3YOURMIND__django-migration-linter|pr_258 | 24,293 | 6,465 | 0.000281 | 1 | 4 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Let's run the comprehensive test to ensure our fix works correctly across various edge cases.
```bash
python test_comprehensive.py
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:13 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | late | 3YOURMIND__django-migration-linter|pr_258 | 27,217 | 7,231 | 0.000051 | 1 | 1 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Excellent! All tests pass, confirming our fix is working correctly. Now we need to prepare our changes for submission. Let's create a patch file with the changes we made to the source code.
```bash
git diff django_migration_linter/sql_analyser/base.py > patch.txt
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:14 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | late | 3YOURMIND__django-migration-linter|pr_258 | 27,717 | 7,375 | 0.059363 | 1 | 5 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Now I should verify that my change was applied correctly by checking the modified file. I'll also want to create a test to ensure the fix works as expected.
```bash
cat django_migration_linter/sql_analyser/base.py | grep -A 5 -B 5 "CREATE INDEX"
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:3 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | early | 3YOURMIND__django-migration-linter|pr_258 | 17,667 | 4,579 | 0.043219 | 0.666667 | 6 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: Now let's run the test script to verify that our fix works correctly. The script should show no errors for the CREATE INDEX statement with NOT NULL condition after our fix.
```bash
python test_fix.py
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:5 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | early | 3YOURMIND__django-migration-linter|pr_258 | 19,083 | 4,974 | 0.007268 | 1 | 4 |
<|im_start|>system
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning... | </think>
THOUGHT: It seems we need to install Django to run the test. Let's install it and then run our test script again.
```bash
pip install django && python test_fix.py
``` | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:6 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | mid | 3YOURMIND__django-migration-linter|pr_258 | 19,821 | 5,183 | 0.120756 | 0.6 | 10 |
"<|im_start|>system\nYou are a helpful assistant that can interact multiple times with a computer sh(...TRUNCATED) | "</think>\nTHOUGHT: Now that Django is installed, let's run our test script again to verify that our(...TRUNCATED) | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:7 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | mid | 3YOURMIND__django-migration-linter|pr_258 | 20,952 | 5,540 | 0.004232 | 0.75 | 4 |
"<|im_start|>system\nYou are a helpful assistant that can interact multiple times with a computer sh(...TRUNCATED) | "</think>\nTHOUGHT: It seems there are additional dependencies required. Let's install the package i(...TRUNCATED) | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731:8 | 3YOURMIND__django-migration-linter.c0a50bf7.pr_258__7ea2c731 | swe | python | mid | 3YOURMIND__django-migration-linter|pr_258 | 21,726 | 5,767 | 0.246885 | 0.666667 | 3 |
verdigris-d2d8b9d2
Cleaned SFT corpus for Bittensor SN120 (Affine), Reason v4
(weight_version_key=7). 17,655 rows, TRL prompt-completion format.
Format is exactly ` THOUGHT: {z}
{y}` on every row.
How it was cleaned
Derived from iamPi/tessera-77d11909.
Prompts and actions are byte-identical to the source; only the thought
channel changed, and 483 rows (2.66%) were removed.
Repaired in place (40.08% of rows had at least one defect)
| defect | rows |
|---|---|
stray <think> / </think> / <thinking> / </thinking> in the thought |
7,124 |
corrupted THOUGHT label (THO, THOTH:, THOFTWARE:, THOTHought:, THOURLY Thought:, THOproperly …) |
218 |
duplicated leading THOUGHT: / THOUGHT |
188 |
| a second THOUGHT label mid-thought | 72 |
in-thought ```bash fence retagged to ```sh |
114 |
The retag matters: the validator's BASH_RE matches only ```bash, and
split_rollout takes the last match as the action. A thought that quotes
a bash fence could therefore be mistaken for the command whenever a model's
real fence came out malformed.
Removed (483 rows)
| reason | rows |
|---|---|
| thought shorter than the 80-char crown floor | 444 |
| completion longer than the 1,792-token rollout budget | 34 |
harness output (<returncode> / <output>) leaked into the thought |
5 |
Those last five were collapsed multi-turn transcripts: the "thought" contained the result of a command that had not been run yet, which would train the model to hallucinate observations.
Two-channel thoughts — latent analysis followed by a visible summary — were
kept. That is the contract's own shape: split_rollout joins the latent
and visible halves on purpose, and 57 of the 61 such rows carry genuinely
distinct text in each half.
Guarantees
Every row was checked after rewriting: it round-trips through the validator's
own split_rollout, is byte-identical to the force_text() rendering, has no
think tag / THOUGHT label / bash fence / harness tag in its thought, clears
the 80-char floor, and fits the rollout budget.
Variants
A cue-appended build with an identical row set exists for A/B testing.
- Downloads last month
- 18