Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python

🐞 Factories should be using ElectionGuard Sample Data

Đang mở
#518 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue help wanted
Ngôn ngữ chính
Python
Star
168
Fork
103
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Current Behavior

Both factories and subsequently the sample data generation should be relying on the **sample_data.zip** from the root `electionguard` repository.

### Expected Behavior

The `data` folder could be empty until after the data is pulled using `make environment`.

This is the data folder to be deleted:
https://github.com/microsoft/electionguard-python/tree/main/data

This involves updating `ElectionFactory`, `BallotFactory` and some of `SampleGenerator`
https://github.com/microsoft/electionguard-python/blob/e35b68dc3175243ffaf872e9a0ea56c5b8a05830/src/electionguard_tools/factories/ballot_factory.py#L32

https://github.com/microsoft/electionguard-python/blob/e35b68dc3175243ffaf872e9a0ea56c5b8a05830/src/electionguard_tools/factories/election_factory.py#L54

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.