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

💻. Add Config Options to CLI Election Setup

Đang mở
#614 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement hacktoberfest 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ả

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Suggestion

During the setup phase of the CLI when starting an election, there are several inputs requested to begin creating the context for the encryption aka the `CiphertextElectionContext`.

https://github.com/microsoft/electionguard-python/blob/f0d6f01400d2e71feb7cc1e51af64aa202fa9097/src/electionguard/election.py#L16-L28

### Possible Implementation

This implementation should likely add two lines that would prompt and ask for the settings.

> Are over votes allowed within the system?
Yes/No

> What are the maximum number of ballots being encrypted? Estimate high, Max 10,000,000
Take input for max_ballots

There may be additional settings so be sure to keep up with the Config when taking this task.

### Anything else?

_No response_

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.