Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce Consistent Undeclared Write-In Label in rctab_cvr.csv Output #887

Open
nurse-the-code opened this issue Sep 27, 2024 · 0 comments
Open

Comments

@nurse-the-code
Copy link
Collaborator

When processing multiple CVR files from different source filepaths, the undeclared write-in labels in the input files may potentially vary (e.g., “uwi” in one file and “udwi” in another). This is especially true when dealing with multiple voting systems or multiple jurisdictions (e.g., a state-wide race that is administrated by multiple decentralized, local elections officials). While RCTab has no control over the labels used in the input CVR files, it does have control over the format of the output rctab_cvr.csv file. A consistent undeclared write-in label should be enforced in the final output, regardless of the input configuration.

Current Behavior:

When using CVR files from different sources with varying undeclared write-in labels, the rctab_cvr.csv output reflects the original labels, resulting in potential inconsistencies.

Example:
- cvr0.xlsx uses the label “uwi” for undeclared write-ins.
- cvr1.xlsx uses the label “udwi” for undeclared write-ins.
- The resulting rctab_cvr.csv includes both “uwi” and “udwi” labels.

Expected Behavior:

The rctab_cvr.csv file should have a single, consistent label for undeclared write-ins, regardless of the original labels in the input files. This ensures that the output is standardized and simplifies further processing and analysis.

Scope and Impact:

This issue was identified using the ES&S CVR provider, as specified in the provided configuration file. The solution should be applicable across all vendors and elections to ensure uniformity in the rctab_cvr.csv output for all RCTab-supported configurations.

Steps to Reproduce:

  1. Configure RCTab with two or more CVR source filepaths that use different undeclared write-in labels.
  2. Set up the config.json file to include these files.
  3. Run the tabulation.
  4. Inspect the resulting rctab_cvr.csv file for inconsistent undeclared write-in labels.

Proposed Solution:

Enforce a single consistent, human-readable undeclared write-in label in the rctab_cvr.csv file output, such as “undeclared_write-in.”

Environment and Files for Reference:

@yezr yezr added this to RCTab v2.0 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant