Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

pool: a chat /task never reaches the Model Pool judge

Đang mở
#1,527 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
75/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ệ
go
Lĩnh vực
backend, cli

Hướng nghiên cứu

Start with the landing hook in cmd/codeaf/poolrecord.go and its taskLanded wiring in cmd/codeaf/chatv3.go, then compare the ordinary /task road with a road that already calls the hook. Run a deterministic cmd/codeaf test with a stub worker and the pool in record mode; done means a landed /task produces an entry in judged/ or pool/judge-last.json and every landing road uses the one hook.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:session bug

What happened

The Model Pool judge scores tasks when they land (poolJudgeHook in cmd/codeaf/poolrecord.go, wired as taskLanded in cmd/codeaf/chatv3.go). A task started with the chat's ordinary /task never reaches that hook, so its landing is never judged. This was found on 2026-09-25 while fixing the judge's keyless-boot bug in #1519: a hand check of that fix could not reach the judge from /task at all.

Replication

Deterministic: a cmd/codeaf test that lands a /task through the chat's own task road, with a stub worker and the pool in record mode, then checks the pool's judged/ directory, or pool/judge-last.json. Nothing is written today. Compare with the road that does call taskLanded.

By hand (real model, about $0.01):

  1. Run /task on a trivial change with CODEAF_MODEL_POOL recording.
  2. After it lands, codeaf pool show lists no new judged landing.

The fix

Every road that lands a task, /task included, reports its landing to the judge hook once.

Acceptance

  • e2e: after a /task lands, codeaf pool show lists its judged entry.
  • Unit: every landing road goes through the one hook. A structural test over the landing sites would do.
Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 44 phút
Pull request đã merge (30 ngày)
766

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.