Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python
💻. Add Config Options to CLI Election Setup
- 主要語言
- Python
- 星號
- 168
- 分支
- 103
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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_
貢獻指南
研究方向
從連結的 src/electionguard/election.py 區段開始,追蹤 CLI 設定如何建立 CiphertextElectionContext。將要求的輸入與目前的 Config 選項進行比較,包括超額投票處理和 max_ballots。完成的標準是設定流程會提示輸入適用的設定,並將所選值傳遞給選舉組態。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100