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

copying blank ballot, cast ballot, ballot check to here #19

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions src/vtp/web/api/data/blank-ballot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"active_ggos": [
".",
"GGOs/states/Massachusetts",
"GGOs/states/Massachusetts/GGOs/counties/Middlesex",
"GGOs/states/Massachusetts/GGOs/towns/Concord"
],
"ballot_filename": "000,001,002,003,ballot.json",
"ballot_node": "GGOs/states/Massachusetts/GGOs/towns/Concord",
"ballot_subdir": "GGOs/states/Massachusetts/GGOs/towns/Concord",
"contests": {
"GGOs/states/Massachusetts": [
{
"US president": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
{
"name": "Circle Party Ticket",
"ticket_names": [
"Rey Skywalker",
"Obi-Wan Kenobi"
]
},
{
"name": "Square Party Ticket",
"ticket_names": [
"Atticus Finch",
"Hermione Granger"
]
},
{
"name": "Triangle Party Ticket",
"ticket_names": [
"Evelyn Quan Wang",
"Waymond Wang"
]
}
],
"contest_type": "ticket",
"tally": "rcv",
"ticket_offices": [
"President",
"Vice President"
],
"uid": "0000"
}
},
{
"US senate": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
{
"name": "Anthony Alpha",
"party": "Circle Party"
},
{
"name": "Betty Beta",
"party": "Pentagon Party"
},
{
"name": "Gloria Gamma",
"party": "Square Party"
},
{
"name": "David Delta",
"party": "Triangle Party"
},
{
"name": "Emily Echo",
"party": "Ellipse Party"
},
{
"name": "Francis Foxtrot",
"party": "Octagon Party"
}
],
"tally": "rcv",
"uid": "0001"
}
},
{
"governor": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
{
"name": "Spencer Cogswell",
"party": "Circle Party"
},
{
"name": "Cosmo Spacely",
"party": "Triangle Party"
}
],
"tally": "plurality",
"uid": "0002"
}
}
],
"GGOs/states/Massachusetts/GGOs/counties/Middlesex": [
{
"County Clerk": {
"choices": [
"Jean-Luc Picard",
"Katniss Everdeen",
"James T. Kirk"
],
"tally": "plurality",
"uid": "0003"
}
}
],
"GGOs/states/Massachusetts/GGOs/towns/Concord": [
{
"Question 1 - should the starting time of the annual town meeting be moved to 6:30PM?": {
"choices": [
"yes",
"no"
],
"description": "Should the Town of Concord start the annual Town Meeting at 6:30PM instead of 7:00PM?\n",
"tally": "plurality",
"uid": "0004"
}
}
]
}
}
144 changes: 144 additions & 0 deletions src/vtp/web/api/data/cast-ballot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"active_ggos": [
".",
"GGOs/states/Massachusetts",
"GGOs/states/Massachusetts/GGOs/counties/Middlesex",
"GGOs/states/Massachusetts/GGOs/towns/Concord"
],
"ballot_filename": "000,001,002,003,ballot.json",
"ballot_node": "GGOs/states/Massachusetts/GGOs/towns/Concord",
"ballot_subdir": "GGOs/states/Massachusetts/GGOs/towns/Concord",
"contests": {
"GGOs/states/Massachusetts": [
{
"US president": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
{
"name": "Circle Party Ticket",
"ticket_names": [
"Rey Skywalker",
"Obi-Wan Kenobi"
]
},
{
"name": "Square Party Ticket",
"ticket_names": [
"Atticus Finch",
"Hermione Granger"
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
]
},
{
"name": "Triangle Party Ticket",
"ticket_names": [
"Evelyn Quan Wang",
"Waymond Wang"
]
}
],
"contest_type": "ticket",
"selection": [
"2: Triangle Party Ticket",
"1: Square Party Ticket"
],
"tally": "rcv",
"ticket_offices": [
"President",
"Vice President"
],
"uid": "0000"
}
},
{
"US senate": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
{
"name": "Anthony Alpha",
"party": "Circle Party"
},
{
"name": "Betty Beta",
"party": "Pentagon Party"
},
{
"name": "Gloria Gamma",
"party": "Square Party"
},
{
"name": "David Delta",
"party": "Triangle Party"
},
{
"name": "Emily Echo",
"party": "Ellipse Party"
},
{
"name": "Francis Foxtrot",
"party": "Octagon Party"
}
],
"selection": [
"5: Francis Foxtrot",
"3: David Delta",
"1: Betty Beta"
],
"tally": "rcv",
"uid": "0001"
}
},
{
"governor": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
{
"name": "Spencer Cogswell",
"party": "Circle Party"
},
{
"name": "Cosmo Spacely",
"party": "Triangle Party"
}
],
"max": 1,
"selection": [
"1: Cosmo Spacely"
],
"tally": "plurality",
"uid": "0002"
}
}
],
"GGOs/states/Massachusetts/GGOs/counties/Middlesex": [
{
"County Clerk": {
"choices": [
"Jean-Luc Picard",
"Katniss Everdeen",
"James T. Kirk"
],
"max": 1,
"selection": [
"0: Jean-Luc Picard"
],
"tally": "plurality",
"uid": "0003"
}
}
],
"GGOs/states/Massachusetts/GGOs/towns/Concord": [
{
"Question 1 - should the starting time of the annual town meeting be moved to 6:30PM?": {
windoverwater marked this conversation as resolved.
Show resolved Hide resolved
"choices": [
"yes",
"no"
],
"description": "Should the Town of Concord start the annual Town Meeting at 6:30PM instead of 7:00PM?\n",
"max": 1,
"selection": [
"0: yes"
],
"tally": "plurality",
"uid": "0004"
}
}
]
}
}
Loading