Run the Rust test suite in CI and cover the large-register code paths
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
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- ci-cd, performance, testing
Hướng nghiên cứu
Start by reading .github/workflows/release.yml and CONTRIBUTING.md, then inspect the referenced tests in src/backend.rs, src/circuit.rs, src/pauli.rs, and src/engine.rs. Add a separate CI test job for Linux, Windows, and macOS that runs the requested Cargo checks, and add a Python test comparing 16–18-qubit results with a NumPy reference. Done means the CI covers the listed Rust paths and both parallel kernel branches, while GPU behavior on macOS arm64 is checked and documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What you want to do
Make sure releases are checked. .github/workflows/release.yml only runs pytest, and the Python
tests use at most 5 qubits. So CI never runs:
- the backend conformance suite (
src/backend.rs,conformance); - the test that compares fused and gate-by-gate results (
src/circuit.rs); - the Pauli unit tests (
src/pauli.rs); - the parallel branch of the CPU kernel for high target qubits,
stride >= 2^14(src/engine.rs:91); - any GPU test (runners have no usable GPU, so they are skipped).
Implementation notes
cargo test --release(debug is about 20× slower) on Linux, Windows and macOS.cargo test --no-default-featurestoo, so the build without the GPU feature keeps compiling.cargo clippy -- -D warningsandcargo fmt --check.- Add a Python test on 16–18 qubits against a NumPy reference, so both parallel kernel branches run
from Python as well. - GPU: check whether the macOS arm64 runners expose a Metal adapter to wgpu. If they do, the GPU
tests run there for free; otherwise document that GPU tests run only locally.
What it could look like
A `test` job that runs on every push and pull request, separate from the release job.
Contributing
- I would like to open a pull request for this (see CONTRIBUTING.md).
- Ngôn ngữ chính
- Rust
- Star
- 1
- Fork
- 0
- Merge trung bình
- 12 phút
- Pull request đã merge (30 ngày)
- 4
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 kaiwave/qsengine
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Fold long circuit drawingsĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Tất cả issue của kaiwave/qsengine
Issue tương tự
-
bug order-flow studies ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
userFRM/egui-charts#2417 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay liveCó thể đã có người làm @ragelfundionctrumnar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
UCS-Care-Group/mailcraft#862 ·
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 78/100
smoltcp-rs/smoltcp#1243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày