reflect: analysts see no trajectories for task ids that #309 maps, so LiveMathematicianBench training makes no edits
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Bắt đầu với skillopt/gradient/reflect.py và so sánh năm lần đọc đầu ra của nó với ánh xạ mà các rollout sử dụng trong skillopt/envs/task_output.py. Kiểm tra cách task_output_segment xử lý các task ID không an toàn và thêm một bài kiểm tra tập trung cho ID đã ánh xạ và phương án dự phòng dùng ID thô. Công việc hoàn tất khi reflection tìm thấy các tệp quỹ đạo cho ID LiveMathematicianBench và quá trình training có thể tạo ra các chỉnh sửa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens. Since #309 (confine benchmark task output paths), rollouts write each task's outputs under predictions/<task_output_segment(id)>, so ids containing characters such as : are mapped to a safe directory name. skillopt/gradient/reflect.py still reads those outputs from the raw id, os.path.join(prediction_dir, tid, ...), in five places on main (84b36cd): conversation.json (line 141), target_system_prompt.txt (170), target_user_prompt.txt (182), codex_trace_summary.txt (195) and claude_trace_steps.txt (218).
LiveMathematicianBench ids have the form <month>:<number>, so every conversation.json lookup misses and fmt_minibatch_trajectories skips every item. Each analyst then returns no edits, and training runs all its epochs without changing the skill.
To reproduce. Train with configs/livemathematicianbench/default.yaml at 1a44050 (we used the claude_chat backend, Opus 4.6 as target and optimizer, on Linux with Python 3.12). Every step's analysts return 0 edits, and the skill stays at initial.md.
The fix we used. Read the outputs through the same mapping the rollouts use, falling back to the raw id:
from skillopt.envs.task_output import task_output_segment
def _task_dir(prediction_dir: str, tid: str) -> str:
"""Directory holding a task's outputs: the mapped segment rollouts write (#309), else the raw id."""
mapped = os.path.join(prediction_dir, task_output_segment(tid, map_unsafe=True))
if os.path.isdir(mapped):
return mapped
return os.path.join(prediction_dir, tid)
and use _task_dir(prediction_dir, tid) at each of the five reads. With it, the analysts get their trajectories again and training makes edits. In one LiveMathematicianBench run, test accuracy went from 46.4% for the starting skill to 74.4% for the best skill.
We're happy to open a PR with this change and a focused test, if that would help.
- Ngôn ngữ chính
- Python
- Star
- 18.5k
- Fork
- 1.8k
- Merge trung bình
- 4 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/SkillOpt
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
microsoft/SkillOpt#326 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/SkillOpt#325 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
microsoft/SkillOpt#319 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
harvest: user messages wrapped in `<pasted_content …>` are treated as meta, so pasted briefs never become tasksCó thể đã có người làm @SU-AN-coder đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
microsoft/SkillOpt#318 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/SkillOpt
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
AstrBotDevs/AstrBot#10720 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(xiaomi): curated picker list still offers six ids that return 400 (plan-limited vs retired)Đang mởcause/upstream comp/cli P2 provider/other tool/file type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#143900 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
WLAN-Pi/wlanpi-profiler#341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày