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

🐞 Factories should be using ElectionGuard Sample Data

Abierto
#518 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug good first issue help wanted
Lenguaje dominante
Python
Estrellas
168
Forks
103
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.