Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python
💻. Add Config Options to CLI Election Setup
- Linguagem predominante
- Python
- Estrelas
- 168
- Forks
- 103
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### 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_
Guia de contribuição
Direção de pesquisa
Comece pela seção vinculada src/electionguard/election.py e rastreie como a configuração da CLI cria o CiphertextElectionContext. Compare as entradas solicitadas com as opções atuais de Config, incluindo o tratamento de votos excedentes e max_ballots. O trabalho estará concluído quando a configuração solicitar as opções aplicáveis e passar os valores escolhidos para a configuração da eleição.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100