feat(trust): random re-execution audits of worker fragments (VRF-capable)
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- backend, distributed-systems
Hướng nghiên cứu
Start by reading marketplace_service.py for reputation and runtime/executor.py for fallback workers, then inspect the provenance work in issue #4. Define the audit and randomness interfaces, configurable rates and tolerances, and an integration test with a faulty worker. Done means mismatches are detected, audits are recorded in job provenance, and audit costs never double-charge the owner.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Randomly pick completed fragments and re-run them on a second worker to detect cheating or faulty nodes, with a pluggable randomness source that can be Chainlink VRF.
Motivation
Workers are paid for results the coordinator cannot cheaply verify. Unpredictable audits make cheating unprofitable and feed reputation.
Current state in this repo
- Workers report observed fidelity; reputation exists in
marketplace_service.py; the runtime already supports fallback nodes (runtime/executor.py).
Proposal
- Audit service: select a fraction of fragments by a randomness source and re-execute on a different eligible worker.
- Compare results within a tolerance suited to the fragment type; mismatches flag both workers for review and adjust reputation or holds.
- Randomness interface with a local CSPRNG default and a Chainlink VRF implementation as an option (the audit logic must work with no chain at all).
- Record audits in the job's provenance (#4).
Acceptance criteria
- Audit rate and tolerance are configurable.
- A deliberately faulty test worker is detected in an integration test.
- Audits never double-charge the job owner (cost is platform-borne or budgeted explicitly).
Out of scope
- Slashing stakes (no staking exists yet).
Dependencies
- #4
Testing plan
- Fault-injection test with a simulated bad worker.
Verify before implementing
- VRF availability on the chosen testnet if the on-chain option is built.
Part of ##1. Ground rules for all issues in this roadmap are listed there (testnet-first, no secrets in the repo, chain logic behind the registry, tests and docs with every PR).
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 4
- Merge trung bình
- 6 giờ 54 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
QMeshPy/distributed-quantum#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chain-integration enhancement payments research-spike tier-2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
QMeshPy/distributed-quantum#78 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chain-integration enhancement payments research-spike tier-2
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
QMeshPy/distributed-quantum#77 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chain-integration enhancement payments tier-2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
QMeshPy/distributed-quantum#76 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue kubo storage tier-1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
QMeshPy/distributed-quantum#75 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của QMeshPy/distributed-quantum
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
volcengine/OpenViking#6445 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be editedCó thể đã có người làm @ManyaJain111 đã nhận hôm nay. Đang mởbug enhancement possible-duplicate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
AOSSIE-Org/PictoPy#1637 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
deepspeedai/DeepSpeed#8884 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
flagos-ai/FlagQuantum#718 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CI-failure high priority
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
vllm-project/afd-plugin#483 ·
Maintainer thường phản hồi trong vòng 1 ngày