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

🐞 Factories should be using ElectionGuard Sample Data

Aperta
#518 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug good first issue help wanted
Lingua principale
Python
Stelle
168
Fork
103
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.