You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a new subcommand, ballotmaker demo, that will:
Extract EDF data from JSON file for a single ballot by hand and, wherever possible, by using NISTlib to extract multiple records (for example, Candidates).
Create Python objects (dictionaries) from the extracted data.
Organize the election data into an ElectionData-type object.
Generate the PDF ballot based on the demo ElectionData and write it to the file system.
This is the shortest path to generate a PDF ballot from data that's literally been extracted from a JSON EDF. Since we've demonstrated conclusively that we can extract data using NISTLib (and will, in fact, use NISTLib to extract most of the demo data), we don't need to use NISTLib to extract data at runtime.
Instead, by extracting the data to static dictionary objects, we can:
Focus on extracting only the data we need to draw the ballots.
Create static classes that can later be used to test the software.
Audit our data extraction commands to ensure we're getting the data we expect.
The text was updated successfully, but these errors were encountered:
Implement a new subcommand,
ballotmaker demo
, that will:This is the shortest path to generate a PDF ballot from data that's literally been extracted from a JSON EDF. Since we've demonstrated conclusively that we can extract data using NISTLib (and will, in fact, use NISTLib to extract most of the demo data), we don't need to use NISTLib to extract data at runtime.
Instead, by extracting the data to static dictionary objects, we can:
The text was updated successfully, but these errors were encountered: