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

Remove submodule per #612 #615

Merged
merged 80 commits into from
Aug 15, 2022
Merged

Remove submodule per #612 #615

merged 80 commits into from
Aug 15, 2022

Commits on Jun 14, 2019

  1. Configuration menu
    Copy the full SHA
    83fdbdc View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

  1. Configuration menu
    Copy the full SHA
    4cb5392 View commit details
    Browse the repository at this point in the history
  2. add tiebreak test #197

    moldover committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    3baaf0d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2019

  1. Allows user to cancel during interactive tiebreaker (fixes #132); add…

    …s example config file for testing interactive tiebreaker with sequential multi-seat enabled; adds commented command in build.gradle for executing CLI arguments.
    HEdingfield committed Jun 23, 2019
    Configuration menu
    Copy the full SHA
    255eea2 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. add missing precinct test

    moldover committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    3abf1f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. Merge pull request #295 from BrightSpots/more_cert_fixes

    More cert fixes
    moldover authored Jun 26, 2019
    Configuration menu
    Copy the full SHA
    b13a9f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

  1. Merge branch 'develop' into bad_cvr_checks

    # Conflicts:
    #	src/main/java/network/brightspots/rcv/TabulatorSession.java
    moldover committed Jun 27, 2019
    Configuration menu
    Copy the full SHA
    f8d2026 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ed3b6b View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Configuration menu
    Copy the full SHA
    1203e7c View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Configuration menu
    Copy the full SHA
    86439b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Configuration menu
    Copy the full SHA
    39d246c View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Configuration menu
    Copy the full SHA
    a6e816c View commit details
    Browse the repository at this point in the history
  2. updated tests

    tarheel committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    4f04375 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03fb3df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc139eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9b66c2 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2019

  1. update tests

    tarheel committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    62ead24 View commit details
    Browse the repository at this point in the history
  2. address comments

    tarheel committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    591cce8 View commit details
    Browse the repository at this point in the history
  3. tests

    tarheel committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    5a804dd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #337 from BrightSpots/residual-json

    add residual surplus to overall summary JSON
    tarheel authored Jul 6, 2019
    Configuration menu
    Copy the full SHA
    3710f5e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #340 from BrightSpots/permutation-test

    add a test for the generatePermutation tie-breaking option
    tarheel authored Jul 6, 2019
    Configuration menu
    Copy the full SHA
    ab0081f View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2019

  1. add test case

    tarheel committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    1be8724 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    888dd76 View commit details
    Browse the repository at this point in the history
  3. updating tests

    tarheel committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    42d2f3e View commit details
    Browse the repository at this point in the history
  4. fix tests

    tarheel committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    f7ef601 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    46a54c7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90ef17a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. update test configs

    tarheel committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    b64dd70 View commit details
    Browse the repository at this point in the history
  2. update a ton of JSON files!

    tarheel committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    05818dd View commit details
    Browse the repository at this point in the history
  3. fix bad source path

    tarheel committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    5ab9d2c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. Configuration menu
    Copy the full SHA
    96c5c98 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2019

  1. Configuration menu
    Copy the full SHA
    3820cec View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2019

  1. Configuration menu
    Copy the full SHA
    3b17f7c View commit details
    Browse the repository at this point in the history
  2. v1.0.0

    HEdingfield authored Aug 22, 2019
    Configuration menu
    Copy the full SHA
    9428373 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    a544edf View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into reconcile-with-master

    # Conflicts:
    #	src/main/java/network/brightspots/rcv/Main.java
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor/2013_minneapolis_mayor_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park/2013_minneapolis_park_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_bottoms_up/2013_minneapolis_park_bottoms_up_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_hare/2013_minneapolis_park_hare_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_park_sequential/2013_minneapolis_park_sequential_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor/2015_portland_mayor_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2015_portland_mayor_codes/2015_portland_mayor_codes_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2017_minneapolis_mayor/2017_minneapolis_mayor_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/2018_maine_governor_primary/2018_maine_governor_primary_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/continue_tabulation_test/continue_tabulation_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/duplicate_test/duplicate_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/excluded_test/excluded_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/minimum_threshold_test/minimum_threshold_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/minneapolis_multi_seat_threshold/minneapolis_multi_seat_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/missing_precinct_example/missing_precinct_example_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/sample_interactive_tiebreak/sample_interactive_tiebreak_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/sample_interactive_tiebreak/sample_interactive_tiebreak_sequential_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_0_skipped_first_choice/test_set_0_skipped_first_choice_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_5_two_skipped_choice_exhaust/test_set_5_two_skipped_choice_exhaust_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_7_duplicate_skip_to_next/test_set_7_duplicate_skip_to_next_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_allow_only_one_winner_per_round/test_set_allow_only_one_winner_per_round_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_treat_blank_as_undeclared_write_in/test_set_treat_blank_as_undeclared_write_in_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/tiebreak_generate_permutation_test/tiebreak_generate_permutation_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/tiebreak_previous_round_counts_then_random_test/tiebreak_previous_round_counts_then_random_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/tiebreak_seed_test/tiebreak_seed_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/tiebreak_use_permutation_in_config_test/tiebreak_use_permutation_in_config_test_config.json
    HEdingfield committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    035650a View commit details
    Browse the repository at this point in the history
  3. Fix broken tests (#393)

    HEdingfield authored Aug 30, 2019
    Configuration menu
    Copy the full SHA
    994d322 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. Configuration menu
    Copy the full SHA
    b7f50b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    1a64e18 View commit details
    Browse the repository at this point in the history
  2. Tests for Dominion CSV conversion routine (#429)

    * test for Dominion csv conversion routine #415
    
    * 2 more tests for cvr conversion
    
    * updates for Dominion conversion tests: PR #425
    
    * fix for PR #425
    
    Co-authored-by: jonmoldover <jonmoldover@gmail.com>
    HEdingfield and moldover authored Mar 24, 2020
    Configuration menu
    Copy the full SHA
    4d8a87e View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Configuration menu
    Copy the full SHA
    2adc0bc View commit details
    Browse the repository at this point in the history
  2. Fixes Dominion conversion output filenames and path (#436)

    * Dominion conversion output files now output to same directory as input files and include timestamp in filename (#408).
    
    * Updates Dominion tests to account for new filename schema; Dominion test files are now cleaned up automatically; fixes bug with fileCompare not closing readers.
    
    * All delete operations in `TabulatorTests` now handle exceptions with useful error messages if they fail.
    HEdingfield authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f543fda View commit details
    Browse the repository at this point in the history
  3. read and write precinct portion and precinct (#433)

    * read and write precinct portion + precinct
    
    * edits for precinct portion PR#433
    
    * Update src/main/java/network/brightspots/rcv/DominionCvrReader.java
    
    Co-Authored-By: HEdingfield <HEdingfield@users.noreply.github.com>
    
    * Update src/main/java/network/brightspots/rcv/DominionCvrReader.java
    
    Co-Authored-By: HEdingfield <HEdingfield@users.noreply.github.com>
    
    Co-authored-by: HEdingfield <HEdingfield@users.noreply.github.com>
    moldover and HEdingfield authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    ed3410c View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. UWI test (#440)

    * add UWI test files
    
    * add an additional test to validate my fix of #397
    
    * use a better name for the first test
    tarheel authored Mar 26, 2020
    Configuration menu
    Copy the full SHA
    ebdfe0c View commit details
    Browse the repository at this point in the history
  2. make batch elimination work properly with singleSeatContinueUntilTwoC…

    …andidatesRemain (#441)
    
    * make batch elimination work properly with singleSeatContinueUntilTwoCandidatesRemain
    
    * cleaned up wording
    tarheel authored Mar 26, 2020
    Configuration menu
    Copy the full SHA
    daf9269 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2020

  1. v1.1.0 (#454)

    ### New features:
    * Added support for converting Dominion JSON CVRs to generic .csv format (including precinct portions) (#404, #406, #407, #408, #415, #439)
    * Added multiSeatBottomsUpPercentageThreshold option (#403)
    * Added CLI option to convert Dominion CVR to generic .csv (#408)
    * New GUI menu and conversion options (can now convert to CDF and convert Dominion to generic via the GUI) (#408, #421)
    * Added Dominion Alaska CVR to sample_input folder
    
    ### Bug fixes:
    * Batch elimination now works properly with singleSeatContinueUntilTwoCandidatesRemain (#396)
    * In a multi-seat contest, if someone wins in the first round, we now automatically eliminate undeclared write-ins before we eliminate any other candidates; previously, we treated UWIs like a normal candidate, which meant we potentially eliminated other candidates with lower tallies first (#397)
    * If UWI exceeds the winning threshold in the initial count, we no longer mistakenly elect this candidate (#398)
    
    ### Backend updates:
    * Updated dependencies to latest version: JDK, JavaFX, Checkstyle google_checks.xml, Checkstyle plugin, org.openjfx.javafxplugin, org.beryx.jlink, org.apache.commons:commons-csv, org.apache.poi:poi-ooxml, com.fasterxml.jackson.core:jackson-*
    * Added special code to test configs to obviate the need to update the version with each increment (#426)
    * Updated tests and improved test coverage
    * Copyright update (#414)
    * Code cleanup
    HEdingfield authored May 24, 2020
    Configuration menu
    Copy the full SHA
    94bb749 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

  1. Hart (#458)

    * add contest id to config
    
    * add xml parsing module
    
    * First cut at Hart CVR reader + test assets.
    
    * cleanup paths and add expected results
    
    * add full cvr data
    
    * refactor contestId from Integer to String
    
    * add school board test
    
    * fix xml parsing
    
    * logging
    
    * re-add accidentally removed import
    
    * cleanup for PR#548
    
    * updates for PR #458
    
    * updates for PR #458
    
    * test other file reading options
    
    * more cleanup for PR #458
    
    * more cleanup for PR #458
    
    * Fixes tests not working in Windows due to mangled UTF-8 BOM marker.
    
    * Handles potential NPE if chosen directory contains no files.
    
    Co-authored-by: HEdingfield <hylton@groupagree.com>
    moldover and HEdingfield authored Jul 11, 2020
    Configuration menu
    Copy the full SHA
    34ca2fb View commit details
    Browse the repository at this point in the history
  2. Update dependencies (#459)

    * Updates to latest version:
        * Gradle 6.5.1
        * JDK 14.0.1
        * JavaFX 14.0.1
        * Checkstyle google_checks.xml 8.34
        * Checkstyle plugin 8.34
        * org.openjfx.javafxplugin 0.0.9
        * org.beryx.jlink 2.20.0
        * com.fasterxml.jackson.core:jackson-* 2.11.1
        * org.junit.jupiter.junit-jupiter-* 5.6.2
    * Gets tests working with Gradle 6.5.1 (fixes #283)
    * Updates `APP_VERSION` to temporary value 1.2.0_alpha
    * Addresses Checkstyle warnings
    * Fixes versions in Hart tests
    HEdingfield authored Jul 11, 2020
    Configuration menu
    Copy the full SHA
    f19905b View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. make contestId a real config field (#463)

    * make contestId a real config field
    
    * update .txt
    tarheel authored Jul 14, 2020
    Configuration menu
    Copy the full SHA
    be1de98 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Providers dropdown (#462)

    * Changes "Provider" field for CVR source to be required, bases it on an enum of valid values, and changes it to a ChoiceBox at the start of the "CVR Files" tab in the GUI  (progress on #460 and #461).
    * Adds log message to help identify which CVR source validation errors pertain to.
    * Gets rid of `SimpleObjectProperty` warnings during compile (fixes #280).
    HEdingfield authored Jul 15, 2020
    Configuration menu
    Copy the full SHA
    2ffe144 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Hart GUI (#466)

    * Provider ComboBox now dynamically enables and disables fields and buttons when different providers are selected. (Progress on #461... actually progress on GUI phase 2!)
    * Enables `DirectoryChooser` for Hart so it now functions through the GUI. (Fixes #460)
    * Validation improved to fail if `firstVoteColumnIndex`, `firstVoteRowIndex`, `idColumnIndex`, `precinctColumnIndex` are defined for CVRs from non-ES&S providers.
    * Removes superfluous logging.
    HEdingfield authored Jul 20, 2020
    Configuration menu
    Copy the full SHA
    6016fbc View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. direct Dominion tabulation (#470)

    * direct Dominion tabulation
    
    * enable specifying a Dominion CVR source path in the UI
    
    * output generic CSV and add test coverage
    
    * remove extra log line
    
    * filter out CVRs from other contests during the loading
    tarheel authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    a25cf07 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Configuration menu
    Copy the full SHA
    285eca6 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2020

  1. First cut at Clear Ballot rcv reader (#475)

    * First cut at Clear Ballot rcv reader
    Add Kansas Dem Primary regression test
    Add Clear Ballot reference files
    #400
    
    * updates for PR #475
    
    * updates for PR #475
    
    * updates for PR #475
    moldover authored Jul 26, 2020
    Configuration menu
    Copy the full SHA
    3cea661 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b39dbe4 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2020

  1. GUI redesign phase 1 (#492)

    * Splits Output tab into new Contest Info and Output tabs.
    * Redesigns GUI CVR Files tab, adds Clear button, and changes Add button so it only clears the file path to make it easier to manually enter multiple sources that share fields.
    * Improves visual presentation of Candidate tab; adds Clear button and adds checkBoxCandidateExcluded when adding a candidate.
    * Reorganizes presentation of rules in "Winning Rules" and "Voter Error Rules" tabs.
    * Winner Election Mode and Tiebreak Mode now start undefined with all relevant fields disabled; choosing specific modes enables applicable fields.
    * Changes Winner Election Modes and Tiebreak Modes to be more user-friendly, including necessary migration logic to update older config files.
    * Adds `continueUntilTwoCandidatesRemain` boolean (fixes #481).
    * Expands footprint of GUI window to 1200x1000.
    * Implements bordered boxes.
    HEdingfield authored Aug 9, 2020
    Configuration menu
    Copy the full SHA
    934cd00 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. remove Dominion conversion feature (#487)

    * update test files
    
    * remove conversion feature from code
    
    * update test configs
    
    * remove unnecessary check
    tarheel authored Aug 10, 2020
    Configuration menu
    Copy the full SHA
    d79c5d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. allow overvote delimiter for ES&S source files (#503)

    * test
    
    * update winner election mode logic
    
    * comments
    
    * final comments
    tarheel authored Aug 26, 2020
    Configuration menu
    Copy the full SHA
    4c7c7a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

  1. Read and Tabulate Unisyn Xml Cdf (#504)

    * plumbing for xml cdf reading
    
    * add contestId to json and xml CDF parse logic
    update unisyn cvr test to use the full (but still incorrect) cvr data.  This test is expected to fail.
    add candidate parsing code to xml CDF parser
    
    * dont parse Candidate data from CDF at runtime - this enforces the same constraints on validation as all other file types.  The un-used candidate parsing code is left in for implementing future helper functions which will automatically populate config files.
    
    * Handle ContestSelections in XML correctly
    
    * add NIST example 2 (seems to be correctly formed)
    
    * fill out CDF XML class definitions needed for tabulation
    
    * add some helpers
    
    * cleanup pre-processing code
    
    * add more class fields around contest selections
    fix ranking parsing
    add example Unisyn contests
    
    * handle write-ins
    
    * get first 2 Unisyn regression tests working :)
    
    * fix first NIST CDF XML test
    
    * cleanup test names
    
    * parse GpUnit from CVRs
    
    * remove un-used assets
    
    * updates for PR #504
    
    * updated data from Unisyn with GpUnit (precinct) parsing validated
    
    * add more Unisyn regression tests
    tests share a single cvr input file
    
    * tabulate all elections - in practice we should not see more than one
    
    * updates for PR #504
    
    * updates for PR #504
    moldover authored Sep 20, 2020
    Configuration menu
    Copy the full SHA
    7ff89bf View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Sundry UX fixes (#509)

    * Converts `overvoteRule` from a `ChoiceBox` to an array of `RadioButton`s; changes `overvoteRule` string display in config files and adds migration logic.
    * Disables `decimalPlacesForVoteArithmetic` and `nonIntegerWinningThreshold` except when `winnerElectionMode` is "Multi-winner allow only one winner per round" or "Multi-winner allow multiple winners per round" (fixes #500).
    * Adds suggested values for `overvoteLabel`, `undervoteLabel`, and ES&S column and row indices as requested by @chughes297 (overriding what was in the original GUI mock-ups).
    * Clarifies language to address confusing UX in `passesBasicCvrSourceValidation()` for CVR-specific errors.
    HEdingfield authored Sep 22, 2020
    Configuration menu
    Copy the full SHA
    1dbe186 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Cdf Json Fixes (#506)

    * plumbing for xml cdf reading
    
    * add contestId to json and xml CDF parse logic
    update unisyn cvr test to use the full (but still incorrect) cvr data.  This test is expected to fail.
    add candidate parsing code to xml CDF parser
    
    * dont parse Candidate data from CDF at runtime - this enforces the same constraints on validation as all other file types.  The un-used candidate parsing code is left in for implementing future helper functions which will automatically populate config files.
    
    * Handle ContestSelections in XML correctly
    
    * add NIST example 2 (seems to be correctly formed)
    
    * fill out CDF XML class definitions needed for tabulation
    
    * add some helpers
    
    * cleanup pre-processing code
    
    * add more class fields around contest selections
    fix ranking parsing
    add example Unisyn contests
    
    * handle write-ins
    
    * get first 2 Unisyn regression tests working :)
    
    * fix first NIST CDF XML test
    
    * cleanup test names
    
    * parse GpUnit from CVRs
    
    * remove un-used assets
    
    * updates for PR #504
    
    * updated data from Unisyn with GpUnit (precinct) parsing validated
    
    * add more Unisyn regression tests
    tests share a single cvr input file
    
    * tabulate all elections - in practice we should not see more than one
    
    * updates for PR #504
    
    * better logging
    
    * first cut at fixing JSON CDF reader:
    - all static election objects are parsed at beginning of cvr processing
    - during processing contest selections are linked to candidate objects
    - candidates are stored in config - not pulled from CDF file
    - fixed NIST test set 0 config and CDF json to match the NIST 1500-103 UML
    - verified tabulation results are correct for Nist test set 0 test
    
    * update ResultsWriter CVR generation code to create Candidate objects and link to them from ContestSelection objects.
    verified updated NIST test 0 cvr output
    
    * updates for PR #504
    
    * fix typo
    
    * update test asset with contest name
    
    * better handling for cdf reader parse errors
    
    * update all CDF json assets
    
    * Updates to CDF parsing logic:
    Candidate validation and CandidateId validation are done while parsing CVRs (not during static parsing)
    xml parser throws unrecognizedCandidatesException (instead of just CVRParserException)
    Add json getCvrContest helper
    json parser logic upgrades:
     handle writeIns in both places
     check for rank in both places
     check for HasIndication
     check for IsAllocable
     synthesize cvrId
    
    * cleanup for PR #506
    
    * updates for PR #505
    
    * Throw if undeclared write-in is found but label has not been defined.
    moldover authored Sep 25, 2020
    Configuration menu
    Copy the full SHA
    cd22ff2 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. make some fields per-source instead of per-config (#517)

    * create new class
    
    * helpful errors in CLI; don't allow newer version in config than in app
    
    * make fields per-source
    
    * comments
    
    * Jon's changes
    
    * fix almost all tests
    
    * fix Dominion tests
    tarheel authored Sep 30, 2020
    Configuration menu
    Copy the full SHA
    d917ffe View commit details
    Browse the repository at this point in the history
  2. update validation and documentation for 4 fields that moved to CVR le…

    …vel (#518)
    
    * update validation and documentation for 4 fields that moved to CVR level
    
    * Fixes broken tests and a couple of typos.
    
    Co-authored-by: HEdingfield <hylton@groupagree.com>
    tarheel and HEdingfield authored Sep 30, 2020
    Configuration menu
    Copy the full SHA
    ba9d70e View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2020

  1. camelCase strings for enums in config files (#519)

    * use camelCase for enum values in configs and update migration logic accordingly
    * disable editing of CVR source rows in GUI table
    tarheel authored Oct 1, 2020
    Configuration menu
    Copy the full SHA
    c458fc5 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Final 1.2.0 polish (#526)

    * Updates checkstyle from 8.34 to 8.36.2, and google_checks.xml.
    * Creates and implements separate `checkstyle-suppressions.xml` file to suppress Checkstyle warnings that don't make sense for our project (fixes #489).
    * Addresses relevant Checkstyle warnings (fixes #490).
    * Addresses IntelliJ warnings.
    * Pixel-pushing for Linux (get thicc, boi)
    * Changes all logging to use new `fine()`, `info()`, `warning()`, and `severe()` methods.
    * Gets rid of now-unused `onEditCommit` functions for the CVR Files and Candidates tables.
    * Makes util classes `final`, with private constructors to prevent instantiation.
    * Renames `TieBreakMode`, `tieBreakMode`, `TieBreak`, and `tieBreak` to `TiebreakMode`, `tiebreakMode`, `Tiebreak`, and `tiebreak`, respectively. This word has now lost all meaning.
    * Removes unnecessary usages of `.toString()`.
    * Standardizes exceptions as `exception` instead of `e` to comply with VVSG requirement on variable names (5.2.5 paragraph c) that only index loops are allowed to have single-character variable names.
    * Fixes broken test.
    * Minor fixes to hints.
    * Get rid of the Devilish Double Spaces after periods.
    HEdingfield authored Oct 2, 2020
    Configuration menu
    Copy the full SHA
    0b1b0d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2020

  1. Minor cleanups (#527)

    * fix README
    
    * CDF JSON: throw if a CandidateObject can't be found during parsing.
    
    * Cleanup CDF class (type) names as output from ResultsWriter.
    
    * fix label
    moldover authored Oct 4, 2020
    Configuration menu
    Copy the full SHA
    cecb995 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Handle missing precinct data for older Dominion data sets #533 (#534)

    * Handle missing precinct data for older Dominion data sets #533
    * Add test data with missing precinct data for older Dominion data sets #533
    moldover authored Oct 6, 2020
    Configuration menu
    Copy the full SHA
    04cad93 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. Fix for #536 - allow multiple CDF files (#537)

    * Fix for #536 - allow multiple CDF files
    Add regression test with multiple CDF files
    moldover authored Oct 8, 2020
    Configuration menu
    Copy the full SHA
    6fd4a5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2204974 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. Merge branch 'master' into develop

    # Conflicts:
    #	.idea/misc.xml
    #	README.md
    #	build.gradle
    #	config/checkstyle/google_checks.xml
    #	config_file_documentation.txt
    #	src/main/java/network/brightspots/rcv/CastVoteRecord.java
    #	src/main/java/network/brightspots/rcv/CommonDataFormatReader.java
    #	src/main/java/network/brightspots/rcv/ContestConfig.java
    #	src/main/java/network/brightspots/rcv/DominionCvrReader.java
    #	src/main/java/network/brightspots/rcv/FileUtils.java
    #	src/main/java/network/brightspots/rcv/GuiConfigController.java
    #	src/main/java/network/brightspots/rcv/Logger.java
    #	src/main/java/network/brightspots/rcv/Main.java
    #	src/main/java/network/brightspots/rcv/ResultsWriter.java
    #	src/main/java/network/brightspots/rcv/StreamingCvrReader.java
    #	src/main/java/network/brightspots/rcv/Tabulator.java
    #	src/main/java/network/brightspots/rcv/TabulatorSession.java
    #	src/main/java/network/brightspots/rcv/Tiebreak.java
    #	src/main/resources/network/brightspots/rcv/GuiConfigLayout.fxml
    #	src/test/java/network/brightspots/rcv/TabulatorTests.java
    #	src/test/resources/network/brightspots/rcv/test_data/2013_minneapolis_mayor_scale/2013_minneapolis_mayor_scale_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/continue_until_two_with_batch_elimination_test/continue_until_two_with_batch_elimination_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/multi_seat_bottoms_up_with_threshold/multi_seat_bottoms_up_with_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/multi_seat_uwi_test/multi_seat_uwi_test_expected_summary.json
    #	src/test/resources/network/brightspots/rcv/test_data/precinct_example/precinct_example_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/skip_to_next_test/skip_to_next_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_1_exhaust_at_overvote/test_set_1_exhaust_at_overvote_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_2_overvote_skip_to_next/test_set_2_overvote_skip_to_next_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_3_skipped_choice_exhaust/test_set_3_skipped_choice_exhaust_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_4_skipped_choice_next/test_set_4_skipped_choice_next_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_6_duplicate_exhaust/test_set_6_duplicate_exhaust_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_fractional_threshold/test_set_multi_winner_fractional_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/test_set_multi_winner_whole_threshold/test_set_multi_winner_whole_threshold_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_config.json
    #	src/test/resources/network/brightspots/rcv/test_data/uwi_cannot_win_test/uwi_cannot_win_test_expected_summary.json
    HEdingfield committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    7a7b2d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4379abf View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Configuration menu
    Copy the full SHA
    0b6cfc6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. latest updates from develop

    artoonie committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    e500075 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    05cef1e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    99486a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. add licence file #551

    moldover committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    15f0779 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. Configuration menu
    Copy the full SHA
    31c2ec8 View commit details
    Browse the repository at this point in the history
  2. Add 'src/test/resources/network/brightspots/rcv/test_data/' from comm…

    …it '15f077983ccc5d370bd815e926798ef993758613'
    
    git-subtree-dir: src/test/resources/network/brightspots/rcv/test_data
    git-subtree-mainline: 31c2ec8
    git-subtree-split: 15f0779
    moldover committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    c762147 View commit details
    Browse the repository at this point in the history
  3. remove test_data submodule #612

    moldover committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    666c80f View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    e84a16d View commit details
    Browse the repository at this point in the history