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

🐞 Factories should be using ElectionGuard Sample Data

未关闭
#518 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue help wanted
主要语言
Python
星标
168
派生
103
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。