Static oracle: the generated units run close to their wall-clock backstop; cut their cost

Đang mở
#163 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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
performance, testing-qa

Hướng nghiên cứu

Start with packages/oracles/oracle-gaps/gap-report-static-oracle.property.test.mjs and compare the fixed-seed and random-seed generated units. Profile fixture writes, Vitest config loads, and analysis to identify where runtime goes, then reduce real cost without lowering the run budget. Check that both units remain within the wall-clock backstop and move it toward 120 seconds.

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

Mô tả

What happens

The static oracle's generated units (fixed seed 20261105: generated and random seed: generated, in packages/oracles/oracle-gaps/gap-report-static-oracle.property.test.mjs) run close to their per-test wall-clock backstop on the CI runner:

  • #144: the random-seed unit timed out at 120 s, on main too. Locally it takes about 50 s.
  • #133 hit the same limit.
  • On #99 at 2ca23c67, the fixed-seed unit timed out at 120 s twice (run 44198667421). #99's drawn heavy field adds about 12% (48 s to 54 s locally).
  • On the pool at c198a898 the fixed-seed unit takes 62 s and the random-seed unit 91 s.

What changed in #99

The backstop is now 240 s, under the coordinator's ruling of 2026-11-17. It is a wall-clock backstop that fails loudly. It decides no outcome and is not a run budget, so raising it relaxes no law. The cost itself remains.

What would close it

  • Cut the unit's cost without lowering its run budget (P12): find where the time goes (fixture writes, Vitest config loads, analysis), and cut real cost first.
  • Then bring the backstop back toward 120 s.

Owner: the oracle-gaps maintainers. The next PR that touches the static oracle's grammar picks it up.

Ngôn ngữ chính
JavaScript
Star
5
Fork
1
Merge trung bình
11 giờ 18 phút
Pull request đã merge (30 ngày)
66

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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 TanStack/oracles

Tất cả issue của TanStack/oracles

Issue tương tự

Thêm issue về JavaScript

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.