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

Stage 12 failure records keep only the exception class name

Đã đóng
#790 0 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

@anth-volk đang làm issue này rồi.

Từ ngày 13/10/2026.

  • #791 của @anth-volk — đang mở

Đá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
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start in the Stage 12 coordinator, worker and result-comparison handlers, where error_summary is set from type(error).__name__ and RuntimeError("Stage 12 report coordination failed") is raised. Check where a worker's saved cause is overwritten by the wait error. Pull request #791 is already open against this issue, so review it before starting. Done means the record keeps a redacted cause (type, stage, role, message) without secrets or input values, a worker-saved cause survives, and the exceptions returned to Modal are unchanged.

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

Mô tả

Problem

Stage 12 failure records don't say what went wrong. The coordinator, worker and result-comparison handlers store only type(error).__name__ in error_summary. They then raise RuntimeError("Stage 12 report coordination failed").

From 6 to 13 October 2026, 47 of the 153 production Stage 12 failures were recorded only as that generic coordination failure. Finding their causes meant replaying saved artifacts and reading retained Modal results. The causes turned out to be:

  • 42 a UK aggregate validation defect (#786)
  • 2 invalid reform parameter paths
  • 1 non-finite reform income
  • 1 congressional-district sample below the aggregation minimum
  • 1 database session limit

The coordinator can also overwrite a cause that a failed worker had already saved, replacing it with the class name of the wait error.

Expected

  • A failure record stores a bounded, redacted cause: the exception type, the failing or last finished stage, the simulation role, and the message.
  • Credentials, connection strings, tokens, signed URLs, validation input values and SQL parameters are never stored.
  • A cause saved by a worker is kept, not overwritten.
  • The exceptions returned to Modal are unchanged.
Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
40

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

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 PolicyEngine/policyengine-sim-api

Tất cả issue của PolicyEngine/policyengine-sim-api

Issue tương tự

Thêm issue về Python

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.