Views
No views yet
include_environment_feedback=True, so filtered trace diagnostics are supplied as privileged_context for teacher-conditioned reprompts.| Field | Value |
|---|---|
| Hub repo | burtenshaw/gemma-4-12b-sdpo-pi-mono-trace-feedback |
| Base model | google/gemma-4-12B-it |
| Dataset | badlogicgames/pi-mono |
| Dataset split | train |
| Selected samples | 64 |
| Minimum filter score | 13.3 |
| Average filter score | 15.298 |
| Max steps | 24 |
| Learning rate | 5e-05 |
| Training method | 4-bit NF4 QLoRA + TRL SDPO |
| LoRA rank | 8 |
| LoRA alpha | 16 |
| Num generations | 2 |
| Success reward threshold | 0.35 |
| Max prompt length | 768 |
| Max completion length | 160 |
gemma4-12b-sdpo-pi-mono-full-20260604outputs/sdpo-pi-mono-trace-feedbackbadlogicgames/pi-mono. The script uses the Dataset Viewer parquet export by default because the raw JSONL files have schema drift that can make direct load_dataset() reconstruction brittle.646413.3 to 19.515.298build_lint_compile: 40command_error: 64missing_file_or_command: 43other_marked_error: 3permission_auth: 3runtime_exception: 21test_or_assertion: 63tool_schema_validation: 2user_feedback: 621score: 19.5
2categories: build_lint_compile, command_error, missing_file_or_command, runtime_exception, test_or_assertion, user_feedback
3reward_terms: build_lint_compile, command_error, missing_file_or_command, runtime_exception, test_or_assertion, user_feedback, environment, diagnostic, promises:332, triggeruncaughtexception
4
5prompt:
6Analyze GitHub issue(s): https://github.com/badlogic/pi-mono/issues/2291
7
8For each issue:
9
101. Read the issue in full, including all comments and linked issues/PRs.
112. Do not trust analysis written in the issue. Independently verify behavior and derive your own analysis from the code and execution path.
12
133. **For bugs**:
14 - Ignore any root cause analysis in the issue (likely wrong)
15 - Read all related code files in full (no truncation)
16 - Trace the code path and identify the actual root cause
17 - Propose a fix
18
194. **For feature requests**:
20 - Do not trust implementation proposals in the issue without verification
21 - Read all related code files in full (no truncation)
22 - Propose the most concise implementation approach
23 - List affected files and changes needed
24
25Do NOT implement unless explicitly asked. Analyze and propose only.
26
27privileged_context:
28Tool/environment diagnostic 1 (test_or_assertion, runtime_exception, command_error):
29node:internal/process/promises:332
30 triggerUncaughtException(err, true /* fromPromise */);
31 ^
32
33Error: Transform failed with 3 errors:
34/eval.ts:29:2: ERROR: Top-level await is currently not supported with the "cjs" output format
35/eval.ts:31:22: ERROR: Top-level await is currently not supported with the "cjs" output format
36/eval.ts:46:2: ERROR: Top-level await is currently not supported with the "cjs" output format
37 at failureErrorWithLog ($WORKSPACE/node_modules/esbuild/lib/main.js:1748:15)
38 at $WOR
39
40[... trimmed ...]
41
42el' does not exist in type 'SimpleStreamOptions'.
43packages/coding-agent/src/core/extensions/runner.ts(242,46): error TS2304: Cannot find name 'ProviderConfig'.
44
45Command exited with code 2
46
47Tool/environment diagnostic 3 (test_or_assertion):
48No changes made to packages/coding-agent/src/core/agent-session.ts. The replacement produced identical content. This might indicate an issue with special characters or the text not existing as expected.
49
50Later user correction 1:
51what'st he most concise fix? this sounds overly complex
52
53Later user correction 2:
54well, we can't just fix it for session_start thentrace_grounding_reward is intentionally lightweight. It rewards completions that look like concrete coding-agent responses and mention terms grounded in the trace diagnostic. That is enough to exercise SDPO, Trackio, HF Jobs, LoRA push-to-Hub, and the filtered trace format.epoch: 0.375total_flos: 0.0train_loss: -0.3888257265401383train_runtime: 952.6648train_samples_per_second: 0.05train_steps_per_second: 0.0251hf jobs uv run <raw-gist-url-for-train_sdpo_pi_mono_full.py> \
2 --flavor a10g-large \
3 --timeout 3h \
4 --secrets HF_TOKEN \
5 --env HUB_MODEL_ID=burtenshaw/gemma-4-12b-sdpo-pi-mono-trace-feedback \
6 --env TRACKIO_SPACE_ID=burtenshaw/trackio \
7 -- \
8 --mode train \
9 --run-name gemma4-12b-sdpo-pi-mono-full-20260604