SYMBOL INDEX (1879 symbols across 217 files) FILE: src/electionguard/ballot.py class PlaintextBallotSelection (line 51) | class PlaintextBallotSelection(ElectionObjectBase): method is_valid (line 76) | def is_valid(self, expected_object_id: str) -> bool: method __eq__ (line 95) | def __eq__(self, other: Any) -> bool: method __ne__ (line 104) | def __ne__(self, other: Any) -> bool: class CiphertextSelection (line 109) | class CiphertextSelection(Protocol): class CiphertextBallotSelection (line 127) | class CiphertextBallotSelection( method is_valid_encryption (line 172) | def is_valid_encryption( method crypto_hash_with (line 217) | def crypto_hash_with(self, encryption_seed: ElementModQ) -> ElementModQ: function _ciphertext_ballot_selection_crypto_hash_with (line 233) | def _ciphertext_ballot_selection_crypto_hash_with( function make_ciphertext_ballot_selection (line 239) | def make_ciphertext_ballot_selection( class PlaintextBallotContest (line 290) | class PlaintextBallotContest(ElectionObjectBase): method selected_ids (line 310) | def selected_ids(self) -> List[SelectionId]: method total_selected (line 318) | def total_selected(self) -> int: method total_votes (line 327) | def total_votes(self) -> int: method write_ins (line 332) | def write_ins(self) -> Optional[Dict[SelectionId, str]]: method valid (line 340) | def valid(self, description: ContestDescription) -> None: method is_valid (line 387) | def is_valid( method __eq__ (line 439) | def __eq__(self, other: Any) -> bool: method __ne__ (line 444) | def __ne__(self, other: Any) -> bool: class CiphertextContest (line 449) | class CiphertextContest(OrderedObjectBase): class CiphertextBallotContest (line 462) | class CiphertextBallotContest(OrderedObjectBase, CryptoHashCheckable): method __eq__ (line 502) | def __eq__(self, other: Any) -> bool: method __ne__ (line 513) | def __ne__(self, other: Any) -> bool: method aggregate_nonce (line 516) | def aggregate_nonce(self) -> Optional[ElementModQ]: method crypto_hash_with (line 524) | def crypto_hash_with(self, encryption_seed: ElementModQ) -> ElementModQ: method elgamal_accumulate (line 539) | def elgamal_accumulate(self) -> ElGamalCiphertext: method is_valid_encryption (line 546) | def is_valid_encryption( function _ciphertext_ballot_elgamal_accumulate (line 604) | def _ciphertext_ballot_elgamal_accumulate( function _ciphertext_ballot_context_crypto_hash (line 610) | def _ciphertext_ballot_context_crypto_hash( function _ciphertext_ballot_contest_aggregate_nonce (line 628) | def _ciphertext_ballot_contest_aggregate_nonce( function make_ciphertext_ballot_contest (line 643) | def make_ciphertext_ballot_contest( class PlaintextBallot (line 696) | class PlaintextBallot(ElectionObjectBase): method is_valid (line 708) | def is_valid(self, expected_ballot_style_id: str) -> bool: method __eq__ (line 725) | def __eq__(self, other: Any) -> bool: method __ne__ (line 732) | def __ne__(self, other: Any) -> bool: class CiphertextBallot (line 738) | class CiphertextBallot(ElectionObjectBase, CryptoHashCheckable): method __eq__ (line 774) | def __eq__(self, other: Any) -> bool: method __ne__ (line 788) | def __ne__(self, other: Any) -> bool: method nonce_seed (line 792) | def nonce_seed( method hashed_ballot_nonce (line 801) | def hashed_ballot_nonce(self) -> Optional[ElementModQ]: method crypto_hash_with (line 815) | def crypto_hash_with(self, encryption_seed: ElementModQ) -> ElementModQ: method is_valid_encryption (line 833) | def is_valid_encryption( class BallotBoxState (line 890) | class BallotBoxState(Enum): class SubmittedBallot (line 910) | class SubmittedBallot(CiphertextBallot): method __eq__ (line 924) | def __eq__(self, other: Any) -> bool: method __ne__ (line 931) | def __ne__(self, other: Any) -> bool: function make_ciphertext_ballot (line 935) | def make_ciphertext_ballot( function create_ballot_hash (line 982) | def create_ballot_hash( function make_ciphertext_submitted_ballot (line 993) | def make_ciphertext_submitted_ballot( FILE: src/electionguard/ballot_box.py class BallotBox (line 19) | class BallotBox: method cast (line 26) | def cast(self, ballot: CiphertextBallot) -> Optional[SubmittedBallot]: method spoil (line 36) | def spoil(self, ballot: CiphertextBallot) -> Optional[SubmittedBallot]: function submit_ballot_to_box (line 47) | def submit_ballot_to_box( function get_ballots (line 80) | def get_ballots( function submit_ballot (line 91) | def submit_ballot( function cast_ballot (line 110) | def cast_ballot(ballot: CiphertextBallot) -> SubmittedBallot: function spoil_ballot (line 121) | def spoil_ballot(ballot: CiphertextBallot) -> SubmittedBallot: FILE: src/electionguard/ballot_code.py function get_hash_for_device (line 5) | def get_hash_for_device( function get_ballot_code (line 20) | def get_ballot_code( FILE: src/electionguard/ballot_compact.py class CompactPlaintextBallot (line 29) | class CompactPlaintextBallot: class CompactSubmittedBallot (line 39) | class CompactSubmittedBallot: function compress_plaintext_ballot (line 50) | def compress_plaintext_ballot(ballot: PlaintextBallot) -> CompactPlainte... function compress_submitted_ballot (line 60) | def compress_submitted_ballot( function expand_compact_submitted_ballot (line 76) | def expand_compact_submitted_ballot( function expand_compact_plaintext_ballot (line 112) | def expand_compact_plaintext_ballot( function _get_compact_selections (line 123) | def _get_compact_selections(ballot: PlaintextBallot) -> List[bool]: function _get_compact_write_ins (line 131) | def _get_compact_write_ins(ballot: PlaintextBallot) -> Dict[int, str]: function _get_plaintext_contests (line 142) | def _get_plaintext_contests( function _get_ballot_style_contests (line 174) | def _get_ballot_style_contests( FILE: src/electionguard/ballot_validator.py function ballot_is_valid_for_election (line 11) | def ballot_is_valid_for_election( function selection_is_valid_for_style (line 38) | def selection_is_valid_for_style( function contest_is_valid_for_style (line 59) | def contest_is_valid_for_style( function ballot_is_valid_for_style (line 90) | def ballot_is_valid_for_style( FILE: src/electionguard/big_integer.py function _hex_to_int (line 10) | def _hex_to_int(input: str) -> int: function _int_to_hex (line 17) | def _int_to_hex(input: int) -> str: function bytes_to_hex (line 28) | def bytes_to_hex(input: bytes) -> str: function _convert_to_element (line 35) | def _convert_to_element(data: Union[int, str]) -> Tuple[str, int]: class BigInteger (line 46) | class BigInteger(str): method __new__ (line 51) | def __new__(cls, data: Union[int, str]): # type: ignore method value (line 58) | def value(self) -> mpz: method __int__ (line 62) | def __int__(self) -> int: method __eq__ (line 66) | def __eq__(self, other: Any) -> bool: method __ne__ (line 72) | def __ne__(self, other: Any) -> bool: method __lt__ (line 76) | def __lt__(self, other: Any) -> bool: method __le__ (line 82) | def __le__(self, other: Any) -> bool: method __gt__ (line 86) | def __gt__(self, other: Any) -> bool: method __ge__ (line 92) | def __ge__(self, other: Any) -> bool: method __hash__ (line 96) | def __hash__(self) -> int: method to_hex (line 100) | def to_hex(self) -> str: method to_hex_bytes (line 106) | def to_hex_bytes(self) -> bytes: FILE: src/electionguard/byte_padding.py class DataSize (line 10) | class DataSize(IntEnum): class TruncationError (line 16) | class TruncationError(ValueError): function to_padded_bytes (line 20) | def to_padded_bytes(data: str, size: DataSize = DataSize.Bytes_512) -> b... function add_padding (line 30) | def add_padding( function remove_padding (line 50) | def remove_padding(padded: bytes, size: DataSize = DataSize.Bytes_512) -... FILE: src/electionguard/chaum_pedersen.py class DisjunctiveChaumPedersenProof (line 25) | class DisjunctiveChaumPedersenProof(Proof): method __post_init__ (line 51) | def __post_init__(self) -> None: method is_valid (line 54) | def is_valid( class ChaumPedersenProof (line 142) | class ChaumPedersenProof(Proof): method __post_init__ (line 158) | def __post_init__(self) -> None: method is_valid (line 161) | def is_valid( class ConstantChaumPedersenProof (line 259) | class ConstantChaumPedersenProof(Proof): method __post_init__ (line 277) | def __post_init__(self) -> None: method is_valid (line 280) | def is_valid( function make_disjunctive_chaum_pedersen (line 370) | def make_disjunctive_chaum_pedersen( function make_disjunctive_chaum_pedersen_zero (line 400) | def make_disjunctive_chaum_pedersen_zero( function make_disjunctive_chaum_pedersen_one (line 436) | def make_disjunctive_chaum_pedersen_one( function make_chaum_pedersen (line 473) | def make_chaum_pedersen( function make_constant_chaum_pedersen (line 504) | def make_constant_chaum_pedersen( FILE: src/electionguard/constants.py class ElectionConstants (line 12) | class ElectionConstants: function create_constants (line 28) | def create_constants( class PrimeOption (line 60) | class PrimeOption(Enum): function get_constants (line 67) | def get_constants() -> ElectionConstants: function get_large_prime (line 81) | def get_large_prime() -> int: function get_small_prime (line 85) | def get_small_prime() -> int: function get_cofactor (line 89) | def get_cofactor() -> int: function get_generator (line 93) | def get_generator() -> int: FILE: src/electionguard/data_store.py class DataStore (line 19) | class DataStore(Generic[_T, _U]): method __init__ (line 28) | def __init__(self) -> None: method __iter__ (line 31) | def __iter__(self) -> Iterator: method all (line 34) | def all(self) -> List[_U]: method clear (line 40) | def clear(self) -> None: method get (line 46) | def get(self, key: _T) -> Optional[_U]: method items (line 54) | def items(self) -> Iterable[Tuple[_T, _U]]: method keys (line 61) | def keys(self) -> Iterable[_T]: method __len__ (line 68) | def __len__(self) -> int: method pop (line 75) | def pop(self, key: _T) -> Optional[_U]: method set (line 84) | def set(self, key: _T, value: _U) -> None: method values (line 92) | def values(self) -> Iterable[_U]: class ReadOnlyDataStore (line 100) | class ReadOnlyDataStore(Generic[_T, _U], Mapping): method __init__ (line 105) | def __init__(self, data: DataStore[_T, _U]): method __getitem__ (line 108) | def __getitem__(self, key: _T) -> Optional[_U]: method __len__ (line 111) | def __len__(self) -> int: method __iter__ (line 114) | def __iter__(self) -> Iterator: method __eq__ (line 117) | def __eq__(self, other: object) -> bool: FILE: src/electionguard/decrypt_with_secrets.py function decrypt_selection_with_secret (line 26) | def decrypt_selection_with_secret( function decrypt_selection_with_nonce (line 62) | def decrypt_selection_with_nonce( function decrypt_contest_with_secret (line 117) | def decrypt_contest_with_secret( function decrypt_contest_with_nonce (line 170) | def decrypt_contest_with_nonce( function decrypt_ballot_with_secret (line 241) | def decrypt_ballot_with_secret( function decrypt_ballot_with_nonce (line 291) | def decrypt_ballot_with_nonce( FILE: src/electionguard/decrypt_with_shares.py function decrypt_tally (line 29) | def decrypt_tally( function decrypt_ballot (line 73) | def decrypt_ballot( function decrypt_contest_with_decryption_shares (line 117) | def decrypt_contest_with_decryption_shares( function decrypt_selection_with_decryption_shares (line 158) | def decrypt_selection_with_decryption_shares( FILE: src/electionguard/decryption.py function compute_decryption_share (line 48) | def compute_decryption_share( function compute_compensated_decryption_share (line 90) | def compute_compensated_decryption_share( function compute_decryption_share_for_ballot (line 140) | def compute_decryption_share_for_ballot( function compute_compensated_decryption_share_for_ballot (line 181) | def compute_compensated_decryption_share_for_ballot( function compute_decryption_share_for_contest (line 230) | def compute_decryption_share_for_contest( function compute_compensated_decryption_share_for_contest (line 269) | def compute_compensated_decryption_share_for_contest( function compute_decryption_share_for_selection (line 323) | def compute_decryption_share_for_selection( function compute_compensated_decryption_share_for_selection (line 360) | def compute_compensated_decryption_share_for_selection( function partially_decrypt (line 424) | def partially_decrypt( function decrypt_backup (line 460) | def decrypt_backup( function decrypt_with_threshold (line 487) | def decrypt_with_threshold( function compute_recovery_public_key (line 524) | def compute_recovery_public_key( function reconstruct_decryption_share (line 541) | def reconstruct_decryption_share( function reconstruct_decryption_share_for_ballot (line 580) | def reconstruct_decryption_share_for_ballot( function reconstruct_decryption_contest (line 620) | def reconstruct_decryption_contest( function compute_lagrange_coefficients_for_guardians (line 674) | def compute_lagrange_coefficients_for_guardians( function compute_lagrange_coefficients_for_guardian (line 689) | def compute_lagrange_coefficients_for_guardian( FILE: src/electionguard/decryption_mediator.py class DecryptionMediator (line 25) | class DecryptionMediator: method __init__ (line 49) | def __init__(self, id: MediatorId, context: CiphertextElectionContext): method announce (line 63) | def announce( method announce_missing (line 92) | def announce_missing(self, missing_guardian_key: ElectionPublicKey) ->... method validate_missing_guardians (line 107) | def validate_missing_guardians( method announcement_complete (line 138) | def announcement_complete(self) -> bool: method get_available_guardians (line 159) | def get_available_guardians(self) -> List[ElectionPublicKey]: method get_missing_guardians (line 166) | def get_missing_guardians(self) -> List[ElectionPublicKey]: method receive_tally_compensation_share (line 173) | def receive_tally_compensation_share( method receive_ballot_compensation_shares (line 183) | def receive_ballot_compensation_shares( method get_lagrange_coefficients (line 195) | def get_lagrange_coefficients(self) -> Dict[GuardianId, ElementModQ]: method reconstruct_shares_for_tally (line 200) | def reconstruct_shares_for_tally(self, ciphertext_tally: CiphertextTal... method reconstruct_shares_for_ballots (line 224) | def reconstruct_shares_for_ballots( method get_plaintext_tally (line 258) | def get_plaintext_tally( method get_plaintext_ballots (line 280) | def get_plaintext_ballots( method _save_tally_share (line 313) | def _save_tally_share( method _save_ballot_shares (line 319) | def _save_ballot_shares( method _mark_available (line 333) | def _mark_available(self, guardian_key: ElectionPublicKey) -> None: method _mark_missing (line 342) | def _mark_missing(self, guardian_key: ElectionPublicKey) -> None: method _ready_to_decrypt (line 346) | def _ready_to_decrypt(self, shares: Dict[GuardianId, DecryptionShare])... function _filter_by_missing_guardian (line 353) | def _filter_by_missing_guardian( FILE: src/electionguard/decryption_share.py class CiphertextCompensatedDecryptionSelection (line 16) | class CiphertextCompensatedDecryptionSelection(ElectionObjectBase): class CiphertextDecryptionSelection (line 53) | class CiphertextDecryptionSelection(ElectionObjectBase): method is_valid (line 90) | def is_valid( function create_ciphertext_decryption_selection (line 160) | def create_ciphertext_decryption_selection( class CiphertextDecryptionContest (line 195) | class CiphertextDecryptionContest(ElectionObjectBase): class CiphertextCompensatedDecryptionContest (line 217) | class CiphertextCompensatedDecryptionContest(ElectionObjectBase): class DecryptionShare (line 244) | class DecryptionShare(ElectionObjectBase): class CompensatedDecryptionShare (line 266) | class CompensatedDecryptionShare(ElectionObjectBase): function get_shares_for_selection (line 293) | def get_shares_for_selection( FILE: src/electionguard/discrete_log.py class DiscreteLogExponentError (line 19) | class DiscreteLogExponentError(ValueError): method __init__ (line 22) | def __init__(self, exponent: int, max_exponent: int = _DLOG_MAX_EXPONE... class DiscreteLogNotFoundError (line 28) | class DiscreteLogNotFoundError(ValueError): method __init__ (line 31) | def __init__(self, element: BaseElement) -> None: function compute_discrete_log (line 35) | def compute_discrete_log( function compute_discrete_log_async (line 62) | async def compute_discrete_log_async( function precompute_discrete_log_cache (line 93) | def precompute_discrete_log_cache( function compute_discrete_log_cache (line 121) | def compute_discrete_log_cache( class DiscreteLog (line 152) | class DiscreteLog(Singleton): method get_cache (line 162) | def get_cache(self) -> DiscreteLogCache: method set_max_exponent (line 165) | def set_max_exponent(self, max_exponent: int) -> None: method set_lazy_evaluation (line 168) | def set_lazy_evaluation(self, lazy_evaluation: bool) -> None: method precompute_cache (line 171) | def precompute_cache(self, exponent: int) -> None: method precompute_cache_async (line 176) | async def precompute_cache_async(self, exponent: int) -> None: method discrete_log (line 182) | def discrete_log(self, element: ElementModP) -> int: method discrete_log_async (line 188) | async def discrete_log_async(self, element: ElementModP) -> int: FILE: src/electionguard/election.py class Configuration (line 16) | class Configuration: class CiphertextElectionContext (line 33) | class CiphertextElectionContext: method get_extended_data_field (line 79) | def get_extended_data_field(self, field_name: str) -> Optional[str]: function make_ciphertext_election_context (line 87) | def make_ciphertext_election_context( FILE: src/electionguard/election_object_base.py class ElectionObjectBase (line 8) | class ElectionObjectBase: class OrderedObjectBase (line 15) | class OrderedObjectBase(ElectionObjectBase): function sequence_order_sort (line 30) | def sequence_order_sort(unsorted: List[_Orderable_T]) -> List[_Orderable... function list_eq (line 35) | def list_eq( FILE: src/electionguard/election_polynomial.py class Coefficient (line 27) | class Coefficient: class ElectionPolynomial (line 43) | class ElectionPolynomial: method get_commitments (line 54) | def get_commitments(self) -> List[PublicCommitment]: method get_proofs (line 58) | def get_proofs(self) -> List[SchnorrProof]: function generate_polynomial (line 63) | def generate_polynomial( function compute_polynomial_coordinate (line 88) | def compute_polynomial_coordinate( class LagrangeCoefficientsRecord (line 110) | class LagrangeCoefficientsRecord: function compute_lagrange_coefficient (line 120) | def compute_lagrange_coefficient(coordinate: int, *degrees: int) -> Elem... function verify_polynomial_coordinate (line 134) | def verify_polynomial_coordinate( FILE: src/electionguard/elgamal.py class ElGamalKeyPair (line 31) | class ElGamalKeyPair: class ElGamalCiphertext (line 39) | class ElGamalCiphertext: method __eq__ (line 52) | def __eq__(self, other: Any) -> bool: method decrypt_known_product (line 57) | def decrypt_known_product(self, product: ElementModP) -> int: method decrypt (line 66) | def decrypt(self, secret_key: ElGamalSecretKey) -> int: method decrypt_known_nonce (line 75) | def decrypt_known_nonce( method partial_decrypt (line 87) | def partial_decrypt(self, secret_key: ElGamalSecretKey) -> ElementModP: method crypto_hash (line 98) | def crypto_hash(self) -> ElementModQ: class HashedElGamalCiphertext (line 106) | class HashedElGamalCiphertext: method decrypt (line 122) | def decrypt( function elgamal_keypair_from_secret (line 161) | def elgamal_keypair_from_secret(a: ElementModQ) -> Optional[ElGamalKeyPa... function elgamal_keypair_random (line 174) | def elgamal_keypair_random() -> ElGamalKeyPair: function elgamal_combine_public_keys (line 183) | def elgamal_combine_public_keys(keys: Iterable[ElGamalPublicKey]) -> ElG... function elgamal_encrypt (line 193) | def elgamal_encrypt( function hashed_elgamal_encrypt (line 220) | def hashed_elgamal_encrypt( function _get_chunks (line 266) | def _get_chunks(message: bytes) -> tuple[list[bytes], int]: function elgamal_add (line 280) | def elgamal_add(*ciphertexts: ElGamalCiphertext) -> ElGamalCiphertext: FILE: src/electionguard/encrypt.py class ContestData (line 47) | class ContestData: method from_bytes (line 55) | def from_bytes(cls: Type[_T], data: bytes) -> _T: method to_bytes (line 58) | def to_bytes(self) -> bytes: class EncryptionDevice (line 63) | class EncryptionDevice: method get_hash (line 80) | def get_hash(self) -> ElementModQ: method get_timestamp (line 89) | def get_timestamp(self) -> int: class EncryptionMediator (line 96) | class EncryptionMediator: method __init__ (line 107) | def __init__( method encrypt (line 117) | def encrypt(self, ballot: PlaintextBallot) -> Optional[CiphertextBallot]: function generate_device_uuid (line 131) | def generate_device_uuid() -> int: function selection_from (line 139) | def selection_from( function contest_from (line 162) | def contest_from(description: ContestDescription) -> PlaintextBallotCont... function encrypt_selection (line 179) | def encrypt_selection( function encrypt_contest (line 261) | def encrypt_contest( function encrypt_ballot (line 430) | def encrypt_ballot( function encrypt_ballot_contests (line 515) | def encrypt_ballot_contests( FILE: src/electionguard/group.py class BaseElement (line 20) | class BaseElement(BigInteger, ABC): method __new__ (line 23) | def __new__(cls, data: Union[int, str], check_within_bounds: bool = Tr... method get_upper_bound (line 32) | def get_upper_bound(cls) -> int: method is_in_bounds (line 36) | def is_in_bounds(self) -> bool: method is_in_bounds_no_zero (line 44) | def is_in_bounds_no_zero(self) -> bool: class ElementModQ (line 53) | class ElementModQ(BaseElement): method get_upper_bound (line 57) | def get_upper_bound(cls) -> int: class ElementModP (line 62) | class ElementModP(BaseElement): method get_upper_bound (line 66) | def get_upper_bound(cls) -> int: method is_valid_residue (line 70) | def is_valid_residue(self) -> bool: function _get_mpz (line 91) | def _get_mpz(input: Union[BaseElement, int]) -> mpz: function hex_to_q (line 98) | def hex_to_q(input: str) -> Optional[ElementModQ]: function int_to_q (line 110) | def int_to_q(input: int) -> Optional[ElementModQ]: function hex_to_p (line 122) | def hex_to_p(input: str) -> Optional[ElementModP]: function int_to_p (line 134) | def int_to_p(input: int) -> Optional[ElementModP]: function add_q (line 146) | def add_q(*elems: ElementModQorInt) -> ElementModQ: function a_minus_b_q (line 155) | def a_minus_b_q(a: ElementModQorInt, b: ElementModQorInt) -> ElementModQ: function div_p (line 162) | def div_p(a: ElementModPOrQorInt, b: ElementModPOrQorInt) -> ElementModP: function div_q (line 169) | def div_q(a: ElementModPOrQorInt, b: ElementModPOrQorInt) -> ElementModQ: function negate_q (line 176) | def negate_q(a: ElementModQorInt) -> ElementModQ: function a_plus_bc_q (line 182) | def a_plus_bc_q( function mult_inv_p (line 192) | def mult_inv_p(e: ElementModPOrQorInt) -> ElementModP: function pow_p (line 203) | def pow_p(b: ElementModPOrQorInt, e: ElementModPOrQorInt) -> ElementModP: function pow_q (line 215) | def pow_q(b: ElementModQorInt, e: ElementModQorInt) -> ElementModQ: function mult_p (line 227) | def mult_p(*elems: ElementModPOrQorInt) -> ElementModP: function mult_q (line 240) | def mult_q(*elems: ElementModPOrQorInt) -> ElementModQ: function g_pow_p (line 253) | def g_pow_p(e: ElementModPOrQorInt) -> ElementModP: function rand_q (line 262) | def rand_q() -> ElementModQ: function rand_range_q (line 271) | def rand_range_q(start: ElementModQorInt) -> ElementModQ: FILE: src/electionguard/guardian.py class GuardianRecord (line 41) | class GuardianRecord: function publish_guardian_record (line 74) | def publish_guardian_record(election_public_key: ElectionPublicKey) -> G... class PrivateGuardianRecord (line 92) | class PrivateGuardianRecord: class Guardian (line 116) | class Guardian: method __init__ (line 150) | def __init__( method id (line 192) | def id(self) -> GuardianId: method sequence_order (line 196) | def sequence_order(self) -> int: method from_public_key (line 200) | def from_public_key( method from_nonce (line 217) | def from_nonce( method from_private_record (line 233) | def from_private_record( method publish (line 250) | def publish(self) -> GuardianRecord: method export_private_data (line 254) | def export_private_data(self) -> PrivateGuardianRecord: method set_ceremony_details (line 265) | def set_ceremony_details(self, number_of_guardians: int, quorum: int) ... method decrypt_backup (line 274) | def decrypt_backup(self, backup: ElectionPartialKeyBackup) -> Optional... method share_key (line 286) | def share_key(self) -> ElectionPublicKey: method save_guardian_key (line 294) | def save_guardian_key(self, key: ElectionPublicKey) -> None: method all_guardian_keys_received (line 302) | def all_guardian_keys_received(self) -> bool: method generate_election_partial_key_backups (line 313) | def generate_election_partial_key_backups(self) -> bool: method share_election_partial_key_backup (line 331) | def share_election_partial_key_backup( method share_election_partial_key_backups (line 342) | def share_election_partial_key_backups(self) -> List[ElectionPartialKe... method save_election_partial_key_backup (line 350) | def save_election_partial_key_backup( method all_election_partial_key_backups_received (line 360) | def all_election_partial_key_backups_received(self) -> bool: method verify_election_partial_key_backup (line 372) | def verify_election_partial_key_backup( method publish_election_backup_challenge (line 393) | def publish_election_backup_challenge( method verify_election_partial_key_challenge (line 409) | def verify_election_partial_key_challenge( method save_election_partial_key_verification (line 420) | def save_election_partial_key_verification( method all_election_partial_key_backups_verified (line 432) | def all_election_partial_key_backups_verified(self) -> bool: method publish_joint_key (line 447) | def publish_joint_key(self) -> Optional[ElementModP]: method share_other_guardian_key (line 464) | def share_other_guardian_key( method compute_tally_share (line 470) | def compute_tally_share( method compute_ballot_shares (line 486) | def compute_ballot_shares( method compute_compensated_tally_share (line 506) | def compute_compensated_tally_share( method compute_compensated_ballot_shares (line 538) | def compute_compensated_ballot_shares( function get_valid_ballot_shares (line 581) | def get_valid_ballot_shares( FILE: src/electionguard/hash.py class CryptoHashable (line 24) | class CryptoHashable(Protocol): method crypto_hash (line 30) | def crypto_hash(self) -> ElementModQ: class CryptoHashCheckable (line 37) | class CryptoHashCheckable(Protocol): method crypto_hash_with (line 43) | def crypto_hash_with(self, encryption_seed: ElementModQ) -> ElementModQ: function hash_elems (line 61) | def hash_elems(*a: CryptoHashableAll) -> ElementModQ: FILE: src/electionguard/hmac.py function get_hmac (line 10) | def get_hmac( function _fix_message_length (line 30) | def _fix_message_length(msg: bytes, length: int, start: int = 0) -> bytes: FILE: src/electionguard/key_ceremony.py class ElectionPublicKey (line 30) | class ElectionPublicKey: class ElectionKeyPair (line 61) | class ElectionKeyPair: method share (line 84) | def share(self) -> ElectionPublicKey: class ElectionJointKey (line 96) | class ElectionJointKey: class ElectionPartialKeyBackup (line 114) | class ElectionPartialKeyBackup: class CeremonyDetails (line 139) | class CeremonyDetails: class ElectionPartialKeyVerification (line 147) | class ElectionPartialKeyVerification: class ElectionPartialKeyChallenge (line 157) | class ElectionPartialKeyChallenge: class CoordinateData (line 173) | class CoordinateData: method from_bytes (line 179) | def from_bytes(cls: Type[_T], data: bytes) -> _T: method to_bytes (line 182) | def to_bytes(self) -> bytes: function generate_election_key_pair (line 186) | def generate_election_key_pair( function generate_election_partial_key_backup (line 204) | def generate_election_partial_key_backup( function get_backup_seed (line 239) | def get_backup_seed(receiver_guardian_id: str, sequence_order: int) -> E... function verify_election_partial_key_backup (line 243) | def verify_election_partial_key_backup( function generate_election_partial_key_challenge (line 282) | def generate_election_partial_key_challenge( function verify_election_partial_key_challenge (line 302) | def verify_election_partial_key_challenge( function combine_election_public_keys (line 323) | def combine_election_public_keys( FILE: src/electionguard/key_ceremony_mediator.py class GuardianPair (line 17) | class GuardianPair: class BackupVerificationState (line 25) | class BackupVerificationState: class KeyCeremonyMediator (line 33) | class KeyCeremonyMediator: method __init__ (line 53) | def __init__(self, id: MediatorId, ceremony_details: CeremonyDetails): method announce (line 68) | def announce(self, key: ElectionPublicKey) -> None: method all_guardians_announced (line 75) | def all_guardians_announced(self) -> bool: method share_announced (line 84) | def share_announced( method receive_backups (line 100) | def receive_backups(self, backups: List[ElectionPartialKeyBackup]) -> ... method all_backups_available (line 109) | def all_backups_available(self) -> bool: method share_backups (line 119) | def share_backups( method receive_backup_verifications (line 134) | def receive_backup_verifications( method get_verification_state (line 145) | def get_verification_state(self) -> BackupVerificationState: method all_backups_verified (line 153) | def all_backups_verified(self) -> bool: method verify_challenge (line 157) | def verify_challenge( method publish_joint_key (line 169) | def publish_joint_key(self) -> Optional[ElectionJointKey]: method reset (line 179) | def reset(self, ceremony_details: CeremonyDetails) -> None: method _receive_election_public_key (line 191) | def _receive_election_public_key(self, public_key: ElectionPublicKey) ... method _get_announced_guardians (line 198) | def _get_announced_guardians(self) -> Iterable[GuardianId]: method _receive_election_partial_key_backup (line 202) | def _receive_election_partial_key_backup( method _all_election_partial_key_backups_available (line 216) | def _all_election_partial_key_backups_available(self) -> bool: method _share_election_partial_key_backups_to_guardian (line 227) | def _share_election_partial_key_backups_to_guardian( method _receive_election_partial_key_verification (line 246) | def _receive_election_partial_key_verification( method _all_election_partial_key_verifications_received (line 259) | def _all_election_partial_key_verifications_received(self) -> bool: method _check_verification_of_election_partial_key_backups (line 273) | def _check_verification_of_election_partial_key_backups( FILE: src/electionguard/logs.py class ElectionGuardLog (line 13) | class ElectionGuardLog(Singleton): method __init__ (line 21) | def __init__(self) -> None: method __get_call_info (line 32) | def __get_call_info() -> Tuple[str, str, int]: method __formatted_message (line 47) | def __formatted_message(self, message: str) -> str: method set_stream_log_level (line 52) | def set_stream_log_level(self, Level: int) -> None: method add_handler (line 59) | def add_handler(self, handler: logging.Handler) -> None: method remove_handler (line 65) | def remove_handler(self, handler: logging.Handler) -> None: method handlers (line 71) | def handlers(self) -> List[logging.Handler]: method debug (line 77) | def debug(self, message: str, *args: Any, **kwargs: Any) -> None: method info (line 83) | def info(self, message: str, *args: Any, **kwargs: Any) -> None: method warn (line 89) | def warn(self, message: str, *args: Any, **kwargs: Any) -> None: method error (line 95) | def error(self, message: str, *args: Any, **kwargs: Any) -> None: method critical (line 101) | def critical(self, message: str, *args: Any, **kwargs: Any) -> None: function get_stream_handler (line 108) | def get_stream_handler(log_level: int) -> logging.StreamHandler: function get_file_handler (line 118) | def get_file_handler(log_level: int, filename: str) -> logging.FileHandler: function log_add_handler (line 138) | def log_add_handler(handler: logging.Handler) -> None: function log_remove_handler (line 145) | def log_remove_handler(handler: logging.Handler) -> None: function log_handlers (line 152) | def log_handlers() -> List[logging.Handler]: function log_debug (line 159) | def log_debug(msg: str, *args: Any, **kwargs: Any) -> None: function log_info (line 166) | def log_info(msg: str, *args: Any, **kwargs: Any) -> None: function log_warning (line 173) | def log_warning(msg: str, *args: Any, **kwargs: Any) -> None: function log_error (line 180) | def log_error(msg: str, *args: Any, **kwargs: Any) -> None: function log_critical (line 187) | def log_critical(msg: str, *args: Any, **kwargs: Any) -> None: FILE: src/electionguard/manifest.py class ElectionType (line 14) | class ElectionType(Enum): class ReportingUnitType (line 31) | class ReportingUnitType(Enum): class VoteVariationType (line 69) | class VoteVariationType(Enum): class AnnotatedString (line 101) | class AnnotatedString(CryptoHashable): method __init__ (line 112) | def __init__( method crypto_hash (line 120) | def crypto_hash(self) -> ElementModQ: class Language (line 130) | class Language(CryptoHashable): method __init__ (line 141) | def __init__( method crypto_hash (line 149) | def crypto_hash(self) -> ElementModQ: class InternationalizedText (line 159) | class InternationalizedText(CryptoHashable): method __init__ (line 169) | def __init__( method crypto_hash (line 175) | def crypto_hash(self) -> ElementModQ: class ContactInformation (line 185) | class ContactInformation(CryptoHashable): method __init__ (line 198) | def __init__( method crypto_hash (line 210) | def crypto_hash(self) -> ElementModQ: class GeopoliticalUnit (line 219) | class GeopoliticalUnit(ElectionObjectBase, CryptoHashable): method crypto_hash (line 230) | def crypto_hash(self) -> ElementModQ: class BallotStyle (line 241) | class BallotStyle(ElectionObjectBase, CryptoHashable): method crypto_hash (line 250) | def crypto_hash(self) -> ElementModQ: class Party (line 261) | class Party(ElectionObjectBase, CryptoHashable): method get_party_id (line 272) | def get_party_id(self) -> str: method crypto_hash (line 278) | def crypto_hash(self) -> ElementModQ: class Candidate (line 293) | class Candidate(ElectionObjectBase, CryptoHashable): method get_candidate_id (line 309) | def get_candidate_id(self) -> str: method crypto_hash (line 315) | def crypto_hash(self) -> ElementModQ: class SelectionDescription (line 324) | class SelectionDescription(OrderedObjectBase, CryptoHashable): method crypto_hash (line 340) | def crypto_hash(self) -> ElementModQ: class ContestDescription (line 350) | class ContestDescription(OrderedObjectBase, CryptoHashable): method __eq__ (line 387) | def __eq__(self, other: Any) -> bool: method crypto_hash (line 401) | def crypto_hash(self) -> ElementModQ: method is_valid (line 423) | def is_valid(self) -> bool: class CandidateContestDescription (line 496) | class CandidateContestDescription(ContestDescription): class ReferendumContestDescription (line 508) | class ReferendumContestDescription(ContestDescription): class ContestDescriptionWithPlaceholders (line 518) | class ContestDescriptionWithPlaceholders(ContestDescription): method is_valid (line 530) | def is_valid(self) -> bool: method is_placeholder (line 541) | def is_placeholder(self, selection: SelectionDescription) -> bool: method selection_for (line 548) | def selection_for(self, selection_id: str) -> Optional[SelectionDescri... class SpecVersion (line 570) | class SpecVersion(Enum): class Manifest (line 579) | class Manifest(CryptoHashable): method __init__ (line 608) | def __init__( method __eq__ (line 636) | def __eq__(self, other: Any) -> bool: method crypto_hash (line 652) | def crypto_hash(self) -> ElementModQ: method is_valid (line 670) | def is_valid(self) -> bool: method _get_candidate_name (line 812) | def _get_candidate_name(self, candidate: Candidate, lang: str) -> str: method _get_candidate_names (line 817) | def _get_candidate_names(self, lang: str) -> Dict[str, str]: method _get_selections_with_candidate_id (line 823) | def _get_selections_with_candidate_id(self) -> Dict[str, str]: method _replace_candidate_ids_with_names (line 830) | def _replace_candidate_ids_with_names( method get_selection_names (line 838) | def get_selection_names(self, lang: str) -> Dict[str, str]: method get_contest_names (line 848) | def get_contest_names(self) -> Dict[str, str]: method get_name (line 856) | def get_name(self) -> str: class InternalManifest (line 864) | class InternalManifest: method __post_init__ (line 881) | def __post_init__(self, manifest: Manifest) -> None: method contest_for (line 889) | def contest_for( method get_ballot_style (line 905) | def get_ballot_style(self, ballot_style_id: str) -> BallotStyle: method get_contests_for (line 914) | def get_contests_for( method _generate_contests_with_placeholders (line 933) | def _generate_contests_with_placeholders( function contest_description_with_placeholders_from (line 954) | def contest_description_with_placeholders_from( function generate_placeholder_selection_from (line 978) | def generate_placeholder_selection_from( function generate_placeholder_selections_from (line 1005) | def generate_placeholder_selections_from( function get_i8n_value (line 1028) | def get_i8n_value(name: InternationalizedText, lang: str, default_val: s... FILE: src/electionguard/nonces.py class Nonces (line 8) | class Nonces(Sequence[ElementModQ]): method __init__ (line 20) | def __init__(self, seed: ElementModQ, *headers: Union[str, ElementModP... method __getitem__ (line 28) | def __getitem__(self, index: int) -> ElementModQ: method __getitem__ (line 32) | def __getitem__(self, index: slice) -> List[ElementModQ]: method __getitem__ (line 35) | def __getitem__( method __len__ (line 46) | def __len__(self) -> int: method get_with_headers (line 49) | def get_with_headers(self, item: int, *headers: str) -> ElementModQ: FILE: src/electionguard/proof.py class ProofUsage (line 6) | class ProofUsage(Enum): class Proof (line 15) | class Proof: method __init__ (line 21) | def __init__(self) -> None: FILE: src/electionguard/scheduler.py class Scheduler (line 17) | class Scheduler(Singleton, AbstractContextManager): method __init__ (line 29) | def __init__(self) -> None: method __enter__ (line 33) | def __enter__(self) -> Scheduler: method __exit__ (line 37) | def __exit__(self, exc_type: Any, exc_value: Any, exc_traceback: Any) ... method _open (line 40) | def _open(self) -> None: method close (line 49) | def close(self) -> None: method cpu_count (line 55) | def cpu_count() -> int: method schedule (line 59) | def schedule( method safe_starmap (line 80) | def safe_starmap( method safe_map (line 98) | def safe_map(pool: Pool, task: Callable, arguments: Iterable[Any]) -> ... FILE: src/electionguard/schnorr.py class SchnorrProof (line 18) | class SchnorrProof(Proof): method __post_init__ (line 33) | def __post_init__(self) -> None: method is_valid (line 36) | def is_valid(self) -> bool: function make_schnorr_proof (line 79) | def make_schnorr_proof(keypair: ElGamalKeyPair, r: ElementModQ) -> Schno... FILE: src/electionguard/serialize.py function padded_encode (line 46) | def padded_encode(data: Any, size: DataSize = DataSize.Bytes_512) -> bytes: function padded_decode (line 50) | def padded_decode( function construct_path (line 56) | def construct_path( function from_raw (line 67) | def from_raw(type_: Type[_T], raw: Union[str, bytes]) -> _T: function from_list_raw (line 73) | def from_list_raw(type_: Type[_T], raw: Union[str, bytes]) -> List[_T]: function to_raw (line 83) | def to_raw(data: Any) -> str: function from_file_wrapper (line 89) | def from_file_wrapper(type_: Type[_T], file: TextIOWrapper) -> _T: function from_file (line 96) | def from_file(type_: Type[_T], path: Union[str, Path]) -> _T: function from_list_in_file (line 104) | def from_list_in_file(type_: Type[_T], path: Union[str, Path]) -> List[_T]: function from_list_in_file_wrapper (line 115) | def from_list_in_file_wrapper(type_: Type[_T], file: TextIOWrapper) -> L... function to_file (line 125) | def to_file( function get_schema (line 145) | def get_schema(_type: Any) -> str: FILE: src/electionguard/singleton.py class Singleton (line 4) | class Singleton: method get_instance (line 10) | def get_instance() -> Any: method __init__ (line 16) | def __init__(self) -> None: FILE: src/electionguard/tally.py class PlaintextTallySelection (line 26) | class PlaintextTallySelection(ElectionObjectBase): class CiphertextTallySelection (line 41) | class CiphertextTallySelection(ElectionObjectBase, CiphertextSelection): method elgamal_accumulate (line 62) | def elgamal_accumulate( class PlaintextTallyContest (line 74) | class PlaintextTallyContest(ElectionObjectBase): class CiphertextTallyContest (line 83) | class CiphertextTallyContest(OrderedObjectBase): method accumulate_contest (line 99) | def accumulate_contest( method _accumulate_selections (line 150) | def _accumulate_selections( class PlaintextTally (line 172) | class PlaintextTally(ElectionObjectBase): class PublishedCiphertextTally (line 181) | class PublishedCiphertextTally(ElectionObjectBase): class CiphertextTally (line 190) | class CiphertextTally(ElectionObjectBase, Container, Sized): method __post_init__ (line 208) | def __post_init__(self) -> None: method __len__ (line 213) | def __len__(self) -> int: method __contains__ (line 216) | def __contains__(self, item: object) -> bool: method append (line 228) | def append( method batch_append (line 259) | def batch_append( method cast (line 304) | def cast(self) -> int: method spoiled (line 310) | def spoiled(self) -> int: method publish (line 316) | def publish(self) -> PublishedCiphertextTally: method _accumulate (line 320) | def _accumulate( method _add_cast (line 328) | def _add_cast( method _add_spoiled (line 353) | def _add_spoiled(self, ballot: SubmittedBallot) -> bool: method _build_tally_collection (line 362) | def _build_tally_collection( method _execute_accumulate (line 390) | def _execute_accumulate( function tally_ballot (line 424) | def tally_ballot( function tally_ballots (line 444) | def tally_ballots( FILE: src/electionguard/utils.py class ContestErrorType (line 16) | class ContestErrorType(Enum): class ContestException (line 25) | class ContestException(Exception): method __init__ (line 30) | def __init__( class OverVoteException (line 42) | class OverVoteException(ContestException): method __init__ (line 47) | def __init__(self, contest_id: ContestId, overvoted_ids: List[Selectio... class UnderVoteException (line 52) | class UnderVoteException(ContestException): method __init__ (line 55) | def __init__(self, contest_id: ContestId): class NullVoteException (line 59) | class NullVoteException(ContestException): method __init__ (line 62) | def __init__(self, contest_id: ContestId): function get_optional (line 66) | def get_optional(optional: Optional[_T]) -> _T: function match_optional (line 76) | def match_optional( function get_or_else_optional (line 89) | def get_or_else_optional(optional: Optional[_T], alt_value: _T) -> _T: function get_or_else_optional_func (line 99) | def get_or_else_optional_func(optional: Optional[_T], func: Callable[[],... function flatmap_optional (line 109) | def flatmap_optional( function to_hex_bytes (line 121) | def to_hex_bytes(data: bytes) -> bytes: function to_ticks (line 129) | def to_ticks(date_time: datetime) -> int: function to_iso_date_string (line 145) | def to_iso_date_string(date_time: datetime) -> str: function space_between_capitals (line 160) | def space_between_capitals(base: str) -> str: FILE: src/electionguard_cli/cli_models/cli_decrypt_results.py class CliDecryptResults (line 9) | class CliDecryptResults: FILE: src/electionguard_cli/cli_models/cli_election_inputs_base.py class CliElectionInputsBase (line 7) | class CliElectionInputsBase(ABC): FILE: src/electionguard_cli/cli_models/e2e_build_election_results.py class BuildElectionResults (line 8) | class BuildElectionResults: FILE: src/electionguard_cli/cli_models/encrypt_results.py class EncryptResults (line 8) | class EncryptResults: FILE: src/electionguard_cli/cli_models/mark_results.py class MarkResults (line 5) | class MarkResults: method __init__ (line 8) | def __init__( FILE: src/electionguard_cli/cli_models/submit_results.py class SubmitResults (line 5) | class SubmitResults: method __init__ (line 8) | def __init__( FILE: src/electionguard_cli/cli_steps/cli_step_base.py class CliStepBase (line 5) | class CliStepBase: method print_header (line 17) | def print_header(self, s: str) -> None: method print_section (line 23) | def print_section(self, s: Optional[str]) -> None: method print_value (line 27) | def print_value(self, name: str, value: Any) -> None: method print_warning (line 30) | def print_warning(self, s: str) -> None: FILE: src/electionguard_cli/cli_steps/decrypt_step.py class DecryptStep (line 15) | class DecryptStep(CliStepBase): method _get_lagrange_coefficients (line 18) | def _get_lagrange_coefficients( method decrypt (line 28) | def decrypt( FILE: src/electionguard_cli/cli_steps/election_builder_step.py class ElectionBuilderStep (line 12) | class ElectionBuilderStep(CliStepBase): method _build_election (line 15) | def _build_election( FILE: src/electionguard_cli/cli_steps/encrypt_votes_step.py class EncryptVotesStep (line 20) | class EncryptVotesStep(CliStepBase): method encrypt (line 23) | def encrypt( method _get_encrypter (line 36) | def _get_encrypter( method _encrypt_votes (line 46) | def _encrypt_votes( method _encrypt_ballots (line 60) | def _encrypt_ballots( FILE: src/electionguard_cli/cli_steps/input_retrieval_step_base.py class InputRetrievalStepBase (line 19) | class InputRetrievalStepBase(CliStepBase): method _get_manifest (line 22) | def _get_manifest(self, manifest_file: TextIOWrapper) -> Manifest: method _get_manifest_raw (line 29) | def _get_manifest_raw(self, manifest_raw: str) -> Manifest: method __print_manifest (line 36) | def __print_manifest(self, manifest: Manifest) -> None: method _get_context (line 46) | def _get_context(context_file: TextIOWrapper) -> CiphertextElectionCon... method _get_ballots (line 50) | def _get_ballots(ballots_path: str, ballot_type: Type[_T]) -> List[_T]: method _get_ballot (line 64) | def _get_ballot(ballots_dir: str, filename: str, ballot_type: Type[_T]... FILE: src/electionguard_cli/cli_steps/key_ceremony_step.py class KeyCeremonyStep (line 15) | class KeyCeremonyStep(CliStepBase): method run_key_ceremony (line 18) | def run_key_ceremony(self, guardians: List[Guardian]) -> ElectionJoint... FILE: src/electionguard_cli/cli_steps/mark_ballots_step.py class MarkBallotsStep (line 8) | class MarkBallotsStep(CliStepBase): method mark (line 11) | def mark( FILE: src/electionguard_cli/cli_steps/output_step_base.py class OutputStepBase (line 11) | class OutputStepBase(CliStepBase): method _export_private_keys (line 16) | def _export_private_keys(self, output_keys: str, guardians: List[Guard... method _get_guardian_records (line 33) | def _get_guardian_records( method _export_file (line 38) | def _export_file( FILE: src/electionguard_cli/cli_steps/print_results_step.py class PrintResultsStep (line 12) | class PrintResultsStep(CliStepBase): method _print_tally (line 15) | def _print_tally( method _print_spoiled_ballots (line 30) | def _print_spoiled_ballots( method print_election_results (line 47) | def print_election_results( FILE: src/electionguard_cli/cli_steps/submit_ballots_step.py class SubmitBallotsStep (line 12) | class SubmitBallotsStep(CliStepBase): method submit (line 15) | def submit( FILE: src/electionguard_cli/cli_steps/tally_step.py class TallyStep (line 12) | class TallyStep(CliStepBase): method get_from_ballots (line 15) | def get_from_ballots( method get_from_ballot_store (line 28) | def get_from_ballot_store( method _get_tally (line 36) | def _get_tally( method _get_spoiled_ballots (line 51) | def _get_spoiled_ballots(self, ballot_store: DataStore) -> List[Submit... FILE: src/electionguard_cli/e2e/e2e_command.py function E2eCommand (line 77) | def E2eCommand( FILE: src/electionguard_cli/e2e/e2e_election_builder_step.py class E2eElectionBuilderStep (line 7) | class E2eElectionBuilderStep(ElectionBuilderStep): method build_election_with_key (line 10) | def build_election_with_key( FILE: src/electionguard_cli/e2e/e2e_input_retrieval_step.py class E2eInputRetrievalStep (line 17) | class E2eInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 20) | def get_inputs( FILE: src/electionguard_cli/e2e/e2e_inputs.py class E2eInputs (line 11) | class E2eInputs(CliElectionInputsBase): method __init__ (line 14) | def __init__( FILE: src/electionguard_cli/e2e/e2e_publish_step.py class E2ePublishStep (line 15) | class E2ePublishStep(OutputStepBase): method export (line 18) | def export( method _export_election_record (line 38) | def _export_election_record( method _export_private_keys_e2e (line 66) | def _export_private_keys_e2e(self, election_inputs: E2eInputs) -> None: FILE: src/electionguard_cli/e2e/submit_votes_step.py class SubmitVotesStep (line 18) | class SubmitVotesStep(CliStepBase): method submit (line 21) | def submit( method _cast_and_spoil (line 39) | def _cast_and_spoil( FILE: src/electionguard_cli/encrypt_ballots/encrypt_ballot_inputs.py class EncryptBallotInputs (line 12) | class EncryptBallotInputs(CliElectionInputsBase): method __init__ (line 15) | def __init__( FILE: src/electionguard_cli/encrypt_ballots/encrypt_ballots_election_builder_step.py class EncryptBallotsElectionBuilderStep (line 6) | class EncryptBallotsElectionBuilderStep(ElectionBuilderStep): method build_election_with_context (line 10) | def build_election_with_context( FILE: src/electionguard_cli/encrypt_ballots/encrypt_ballots_input_retrieval_step.py class EncryptBallotsInputRetrievalStep (line 12) | class EncryptBallotsInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 15) | def get_inputs( FILE: src/electionguard_cli/encrypt_ballots/encrypt_ballots_publish_step.py class EncryptBallotsPublishStep (line 9) | class EncryptBallotsPublishStep(OutputStepBase): method publish (line 12) | def publish(self, encrypt_results: EncryptResults, out_dir: str) -> None: FILE: src/electionguard_cli/encrypt_ballots/encrypt_command.py function EncryptBallotsCommand (line 35) | def EncryptBallotsCommand( FILE: src/electionguard_cli/import_ballots/import_ballot_inputs.py class ImportBallotInputs (line 14) | class ImportBallotInputs(CliElectionInputsBase): method __init__ (line 17) | def __init__( FILE: src/electionguard_cli/import_ballots/import_ballots_command.py function ImportBallotsCommand (line 57) | def ImportBallotsCommand( FILE: src/electionguard_cli/import_ballots/import_ballots_election_builder_step.py class ImportBallotsElectionBuilderStep (line 6) | class ImportBallotsElectionBuilderStep(ElectionBuilderStep): method build_election_with_context (line 10) | def build_election_with_context( FILE: src/electionguard_cli/import_ballots/import_ballots_input_retrieval_step.py class ImportBallotsInputRetrievalStep (line 21) | class ImportBallotsInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 24) | def get_inputs( method _get_encryption_devices (line 56) | def _get_encryption_devices( method _get_guardians_from_keys (line 67) | def _get_guardians_from_keys( method _load_private_record (line 86) | def _load_private_record(guardian_dir: str, filename: str) -> PrivateG... method _get_guardian (line 91) | def _get_guardian( FILE: src/electionguard_cli/import_ballots/import_ballots_publish_step.py class ImportBallotsPublishStep (line 16) | class ImportBallotsPublishStep(OutputStepBase): method publish (line 19) | def publish( FILE: src/electionguard_cli/mark_ballots/mark_ballot_inputs.py class MarkBallotInputs (line 9) | class MarkBallotInputs(CliElectionInputsBase): method __init__ (line 12) | def __init__( FILE: src/electionguard_cli/mark_ballots/mark_ballots_election_builder_step.py class MarkBallotsElectionBuilderStep (line 6) | class MarkBallotsElectionBuilderStep(ElectionBuilderStep): method build_election_with_context (line 10) | def build_election_with_context( FILE: src/electionguard_cli/mark_ballots/mark_ballots_input_retrieval_step.py class MarkBallotsInputRetrievalStep (line 11) | class MarkBallotsInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 14) | def get_inputs( FILE: src/electionguard_cli/mark_ballots/mark_ballots_publish_step.py class MarkBallotsPublishStep (line 9) | class MarkBallotsPublishStep(OutputStepBase): method publish (line 12) | def publish(self, marked_ballots: MarkResults, out_dir: str) -> None: FILE: src/electionguard_cli/mark_ballots/mark_command.py function MarkBallotsCommand (line 31) | def MarkBallotsCommand( FILE: src/electionguard_cli/setup_election/output_setup_files_step.py class OutputSetupFilesStep (line 21) | class OutputSetupFilesStep(OutputStepBase): method output (line 24) | def output( method _export_context (line 39) | def _export_context( method _export_constants (line 46) | def _export_constants(self, out_dir: str) -> str: method _export_manifest (line 50) | def _export_manifest(self, setup_inputs: SetupInputs, out_dir: str) ->... method _export_guardian_records (line 58) | def _export_guardian_records(self, setup_inputs: SetupInputs, out_dir:... method _export_guardian_private_keys (line 69) | def _export_guardian_private_keys(self, inputs: SetupInputs, keys_dir:... FILE: src/electionguard_cli/setup_election/setup_election_builder_step.py class SetupElectionBuilderStep (line 8) | class SetupElectionBuilderStep(ElectionBuilderStep): method build_election_for_setup (line 12) | def build_election_for_setup( FILE: src/electionguard_cli/setup_election/setup_election_command.py function SetupElectionCommand (line 51) | def SetupElectionCommand( FILE: src/electionguard_cli/setup_election/setup_input_retrieval_step.py class SetupInputRetrievalStep (line 13) | class SetupInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 16) | def get_inputs( FILE: src/electionguard_cli/setup_election/setup_inputs.py class SetupInputs (line 9) | class SetupInputs(CliElectionInputsBase): method __init__ (line 15) | def __init__( FILE: src/electionguard_cli/start.py function cli (line 12) | def cli() -> None: FILE: src/electionguard_cli/submit_ballots/submit_ballot_inputs.py class SubmitBallotInputs (line 12) | class SubmitBallotInputs(CliElectionInputsBase): method __init__ (line 15) | def __init__( FILE: src/electionguard_cli/submit_ballots/submit_ballots_election_builder_step.py class SubmitBallotsElectionBuilderStep (line 6) | class SubmitBallotsElectionBuilderStep(ElectionBuilderStep): method build_election_with_context (line 10) | def build_election_with_context( FILE: src/electionguard_cli/submit_ballots/submit_ballots_input_retrieval_step.py class SubmitBallotsInputRetrievalStep (line 12) | class SubmitBallotsInputRetrievalStep(InputRetrievalStepBase): method get_inputs (line 15) | def get_inputs( FILE: src/electionguard_cli/submit_ballots/submit_ballots_publish_step.py class SubmitBallotsPublishStep (line 9) | class SubmitBallotsPublishStep(OutputStepBase): method publish (line 12) | def publish(self, submit_results: SubmitResults, out_dir: str) -> None: FILE: src/electionguard_cli/submit_ballots/submit_command.py function SubmitBallotsCommand (line 38) | def SubmitBallotsCommand( FILE: src/electionguard_gui/components/component_base.py class ComponentBase (line 10) | class ComponentBase(ABC): method init (line 16) | def init( method expose (line 25) | def expose(self) -> None: method handle_error (line 29) | def handle_error(self, error: Exception) -> dict[str, Any]: FILE: src/electionguard_gui/components/create_decryption_component.py class CreateDecryptionComponent (line 9) | class CreateDecryptionComponent(ComponentBase): method __init__ (line 15) | def __init__( method expose (line 23) | def expose(self) -> None: method get_suggested_decryption_name (line 27) | def get_suggested_decryption_name(self, election_id: str) -> dict[str,... method create_decryption (line 37) | def create_decryption( FILE: src/electionguard_gui/components/create_election_component.py class CreateElectionComponent (line 24) | class CreateElectionComponent(ComponentBase): method __init__ (line 36) | def __init__( method expose (line 52) | def expose(self) -> None: method get_keys (line 56) | def get_keys(self) -> dict[str, Any]: method create_election (line 65) | def create_election( method _zip (line 133) | def _zip(self, dir_to_zip: str, zip_file_to_make: str) -> str: FILE: src/electionguard_gui/components/create_key_ceremony_component.py class CreateKeyCeremonyComponent (line 10) | class CreateKeyCeremonyComponent(ComponentBase): method __init__ (line 16) | def __init__( method expose (line 25) | def expose(self) -> None: method create_key_ceremony (line 28) | def create_key_ceremony( FILE: src/electionguard_gui/components/election_list_component.py class ElectionListComponent (line 8) | class ElectionListComponent(ComponentBase): method __init__ (line 13) | def __init__(self, election_service: ElectionService) -> None: method expose (line 16) | def expose(self) -> None: method get_elections (line 19) | def get_elections(self) -> dict[str, Any]: FILE: src/electionguard_gui/components/export_election_record_component.py class ExportElectionRecordComponent (line 19) | class ExportElectionRecordComponent(ComponentBase): method __init__ (line 28) | def __init__( method expose (line 38) | def expose(self) -> None: method get_election_record_export_locations (line 42) | def get_election_record_export_locations(self) -> dict[str, Any]: method export_election_record (line 51) | def export_election_record( FILE: src/electionguard_gui/components/export_encryption_package_component.py class ExportEncryptionPackageComponent (line 11) | class ExportEncryptionPackageComponent(ComponentBase): method __init__ (line 16) | def __init__(self, election_service: ElectionService) -> None: method expose (line 19) | def expose(self) -> None: method get_encryption_package_export_locations (line 23) | def get_encryption_package_export_locations(self) -> dict[str, Any]: method export_encryption_package (line 31) | def export_encryption_package( FILE: src/electionguard_gui/components/guardian_home_component.py class GuardianHomeComponent (line 13) | class GuardianHomeComponent(ComponentBase): method __init__ (line 20) | def __init__( method expose (line 31) | def expose(self) -> None: method get_decryptions (line 37) | def get_decryptions(self) -> dict[str, Any]: method get_key_ceremonies (line 43) | def get_key_ceremonies(self) -> dict[str, Any]: method watch_db_collections (line 51) | def watch_db_collections(self) -> None: method stop_watching_db_collections (line 65) | def stop_watching_db_collections(self) -> None: function notify_ui_db_changed (line 70) | def notify_ui_db_changed(collection: str, _: str) -> None: FILE: src/electionguard_gui/components/key_ceremony_details_component.py class KeyCeremonyDetailsComponent (line 31) | class KeyCeremonyDetailsComponent(ComponentBase): method __init__ (line 40) | def __init__( method expose (line 67) | def expose(self) -> None: method watch_key_ceremony (line 72) | def watch_key_ceremony(self, key_ceremony_id: str) -> None: method stop_watching_key_ceremony (line 90) | def stop_watching_key_ceremony(self) -> None: method on_key_ceremony_changed (line 93) | def on_key_ceremony_changed(self, _: str, key_ceremony_id: str) -> None: method join_key_ceremony (line 125) | def join_key_ceremony(self, key_ceremony_id: str) -> None: method get_ceremony (line 134) | def get_ceremony(self, db: Database, id: str) -> KeyCeremonyDto: FILE: src/electionguard_gui/components/upload_ballots_component.py class UploadBallotsComponent (line 14) | class UploadBallotsComponent(ComponentBase): method __init__ (line 20) | def __init__( method expose (line 28) | def expose(self) -> None: method create_ballot_upload (line 35) | def create_ballot_upload( method upload_ballot (line 67) | def upload_ballot( method is_wizard_supported (line 116) | def is_wizard_supported(self) -> bool: method scan_drives (line 120) | def scan_drives(self) -> dict[str, Any]: method parse_drive (line 136) | def parse_drive(self, drive: str) -> dict[str, Any]: method upload_ballots (line 158) | def upload_ballots(self, election_id: str) -> dict[str, Any]: method create_ballot_from_file (line 200) | def create_ballot_from_file( method create_ballot_upload_from_file (line 214) | def create_ballot_upload_from_file( function update_upload_status (line 224) | def update_upload_status(status: str) -> None: FILE: src/electionguard_gui/components/view_decryption_component.py class ViewDecryptionComponent (line 19) | class ViewDecryptionComponent(ComponentBase): method __init__ (line 28) | def __init__( method expose (line 42) | def expose(self) -> None: method watch_decryption (line 48) | def watch_decryption(self, decryption_id: str) -> None: method stop_watching_decryption (line 60) | def stop_watching_decryption(self) -> None: method on_decryption_changed (line 63) | def on_decryption_changed(self, _: str, decryption_id: str) -> None: method try_run_stage_2 (line 77) | def try_run_stage_2(self, db: Database, decryption: DecryptionDto) -> ... method get_decryption (line 86) | def get_decryption(self, decryption_id: str, is_refresh: bool) -> dict... method join_decryption (line 99) | def join_decryption(self, decryption_id: str) -> dict[str, Any]: function refresh_decryption (line 110) | def refresh_decryption(result: dict[str, Any]) -> None: FILE: src/electionguard_gui/components/view_election_component.py class ViewElectionComponent (line 8) | class ViewElectionComponent(ComponentBase): method __init__ (line 13) | def __init__(self, election_service: ElectionService) -> None: method expose (line 16) | def expose(self) -> None: method get_election (line 19) | def get_election(self, election_id: str) -> dict[str, Any]: FILE: src/electionguard_gui/components/view_spoiled_ballot_component.py class ViewSpoiledBallotComponent (line 15) | class ViewSpoiledBallotComponent(ComponentBase): method __init__ (line 21) | def __init__( method expose (line 27) | def expose(self) -> None: method get_spoiled_ballot (line 30) | def get_spoiled_ballot( function get_spoiled_ballot_by_id (line 57) | def get_spoiled_ballot_by_id( FILE: src/electionguard_gui/components/view_tally_component.py class ViewTallyComponent (line 14) | class ViewTallyComponent(ComponentBase): method __init__ (line 20) | def __init__( method expose (line 26) | def expose(self) -> None: method get_tally (line 29) | def get_tally(self, decryption_id: str) -> dict[str, Any]: FILE: src/electionguard_gui/containers.py class Container (line 54) | class Container(containers.DeclarativeContainer): FILE: src/electionguard_gui/eel_utils.py function eel_fail (line 6) | def eel_fail(message: str) -> dict[str, Any]: function eel_success (line 10) | def eel_success(result: Any = None) -> dict[str, Any]: function utc_to_str (line 14) | def utc_to_str(utc_dt: Optional[datetime]) -> str: function convert_utc_to_local (line 23) | def convert_utc_to_local(utc_dt: datetime) -> datetime: FILE: src/electionguard_gui/main_app.py class MainApp (line 32) | class MainApp: method __init__ (line 40) | def __init__( method start (line 91) | def start(self) -> None: method on_close (line 121) | def on_close(self, _page: str, _open_sockets: list) -> None: FILE: src/electionguard_gui/models/decryption_dto.py class GuardianDecryptionShare (line 13) | class GuardianDecryptionShare: method __init__ (line 16) | def __init__( class DecryptionDto (line 38) | class DecryptionDto: method __init__ (line 63) | def __init__(self, decryption: dict[str, Any]): method get_status (line 88) | def get_status(self) -> str: method to_id_name_dict (line 95) | def to_id_name_dict(self) -> dict[str, Any]: method to_dict (line 101) | def to_dict(self) -> dict[str, Any]: method get_decryption_shares (line 122) | def get_decryption_shares(self) -> list[GuardianDecryptionShare]: method set_can_join (line 133) | def set_can_join(self, auth_service: AuthorizationService) -> None: method get_plaintext_tally (line 139) | def get_plaintext_tally(self) -> PlaintextTally: method get_plaintext_spoiled_ballots (line 144) | def get_plaintext_spoiled_ballots(self) -> list[PlaintextTally]: method get_lagrange_coefficients (line 150) | def get_lagrange_coefficients(self) -> LagrangeCoefficientsRecord: method get_ciphertext_tally (line 155) | def get_ciphertext_tally(self) -> PublishedCiphertextTally: function _get_list (line 161) | def _get_list(decryption: dict[str, Any], name: str) -> list: function _get_dict (line 168) | def _get_dict(decryption: dict[str, Any], name: str) -> dict: function _get_int (line 175) | def _get_int(decryption: dict[str, Any], name: str, default: int) -> int: FILE: src/electionguard_gui/models/election_dto.py class ElectionDto (line 13) | class ElectionDto: method __init__ (line 33) | def __init__(self, election: dict[str, Any]): method to_id_name_dict (line 51) | def to_id_name_dict(self) -> dict[str, Any]: method _get_manifest_field (line 57) | def _get_manifest_field(self, field: str) -> Any: method to_dict (line 60) | def to_dict(self) -> dict[str, Any]: method get_manifest (line 96) | def get_manifest(self) -> Manifest: method get_context (line 101) | def get_context(self) -> CiphertextElectionContext: method get_encryption_devices (line 106) | def get_encryption_devices(self) -> list[EncryptionDevice]: method get_guardian_records (line 117) | def get_guardian_records(self) -> list[GuardianRecord]: method get_guardian_sequence_order (line 122) | def get_guardian_sequence_order(self, guardian_id: str) -> int: method sum_ballots (line 128) | def sum_ballots(self) -> int: function _get_list (line 132) | def _get_list(election: dict[str, Any], name: str) -> list: FILE: src/electionguard_gui/models/key_ceremony_dto.py class KeyCeremonyDto (line 19) | class KeyCeremonyDto: method __init__ (line 22) | def __init__(self, key_ceremony: Any): method to_id_name_dict (line 40) | def to_id_name_dict(self) -> dict[str, Any]: method to_dict (line 46) | def to_dict(self) -> dict[str, Any]: method find_key (line 79) | def find_key(self, guardian_id: str) -> ElectionPublicKey: method get_backup_count_for_user (line 86) | def get_backup_count_for_user(self, user_id: str) -> int: method get_verification_count_for_user (line 90) | def get_verification_count_for_user(self, user_id: str) -> int: method get_verifications (line 99) | def get_verifications(self) -> List[ElectionPartialKeyVerification]: method get_shared_backups_for_guardian (line 104) | def get_shared_backups_for_guardian( method get_backups (line 115) | def get_backups(self) -> List[ElectionPartialKeyBackup]: method find_other_keys_for_user (line 118) | def find_other_keys_for_user(self, user_id: str) -> List[ElectionPubli... method joint_key_exists (line 128) | def joint_key_exists(self) -> bool: method get_joint_key (line 131) | def get_joint_key(self) -> ElectionJointKey: method set_can_join (line 137) | def set_can_join(self, auth_service: AuthorizationService) -> None: function _dict_to_verification (line 144) | def _dict_to_verification(verification: Any) -> ElectionPartialKeyVerifi... function _dict_to_backup (line 153) | def _dict_to_backup(backup: Any) -> ElectionPartialKeyBackup: function _dict_to_election_public_key (line 166) | def _dict_to_election_public_key(key: Any) -> ElectionPublicKey: FILE: src/electionguard_gui/models/key_ceremony_states.py class KeyCeremonyStates (line 4) | class KeyCeremonyStates(Enum): FILE: src/electionguard_gui/services/authorization_service.py class AuthorizationService (line 8) | class AuthorizationService(ServiceBase): method __init__ (line 13) | def __init__(self, config_service: ConfigurationService) -> None: method expose (line 19) | def expose(self) -> None: method get_required_user_id (line 24) | def get_required_user_id(self) -> str: method get_user_id (line 29) | def get_user_id(self) -> Optional[str]: method set_user_id (line 32) | def set_user_id(self, user_id: str) -> None: method is_admin (line 35) | def is_admin(self) -> bool: FILE: src/electionguard_gui/services/ballot_upload_service.py class BallotUploadService (line 12) | class BallotUploadService(ServiceBase): method __init__ (line 18) | def __init__( method create (line 24) | def create( method add_ballot (line 44) | def add_ballot( method increment_ballot_count (line 65) | def increment_ballot_count(self, db: Database, ballot_upload_id: str) ... method any_ballot_exists (line 72) | def any_ballot_exists(self, db: Database, election_id: str, object_id:... method get_ballots (line 81) | def get_ballots( method get_submitted_ballot_with_retry (line 111) | def get_submitted_ballot_with_retry( method get_submitted_ballot (line 130) | def get_submitted_ballot( class RetryException (line 157) | class RetryException(Exception): FILE: src/electionguard_gui/services/configuration_service.py class ConfigurationService (line 13) | class ConfigurationService: method get_mode (line 17) | def get_mode(self) -> Optional[str]: method get_port (line 21) | def get_port(self) -> int: method get_host (line 24) | def get_host(self) -> str: method get_db_password (line 27) | def get_db_password(self) -> str: method get_db_host (line 30) | def get_db_host(self, default: str) -> str: method get_is_admin (line 33) | def get_is_admin(self) -> bool: method _get_param (line 36) | def _get_param(self, param_name: str) -> str: method _get_param_or_default (line 43) | def _get_param_or_default(self, param_name: str, default: str) -> str: FILE: src/electionguard_gui/services/db_serialization_service.py function public_key_to_dict (line 10) | def public_key_to_dict(key: ElectionPublicKey) -> dict[str, Any]: function backup_to_dict (line 29) | def backup_to_dict(backup: ElectionPartialKeyBackup) -> dict[str, Any]: function verification_to_dict (line 43) | def verification_to_dict( function joint_key_to_dict (line 54) | def joint_key_to_dict( FILE: src/electionguard_gui/services/db_service.py class DbService (line 11) | class DbService(ServiceBase): method __init__ (line 16) | def __init__( method get_db (line 30) | def get_db(self) -> Database: method verify_db_connection (line 40) | def verify_db_connection(self) -> None: FILE: src/electionguard_gui/services/db_watcher_service.py class DbWatcherService (line 10) | class DbWatcherService(ServiceBase): method __init__ (line 18) | def __init__(self, log_service: EelLogService) -> None: method notify_changed (line 28) | def notify_changed(self, db: Database, collection: str, id: str) -> None: method watch_database (line 33) | def watch_database( method stop_watching (line 68) | def stop_watching(self) -> None: FILE: src/electionguard_gui/services/decryption_service.py class DecryptionService (line 19) | class DecryptionService(ServiceBase): method __init__ (line 26) | def __init__( method create (line 36) | def create( method notify_changed (line 69) | def notify_changed(self, db: Database, decryption_id: str) -> None: method name_exists (line 72) | def name_exists(self, db: Database, name: str) -> Any: method get (line 77) | def get(self, db: Database, decryption_id: str) -> DecryptionDto: method get_decryption_count (line 86) | def get_decryption_count(self, db: Database, election_id: str) -> int: method get_active (line 93) | def get_active(self, db: Database) -> List[DecryptionDto]: method append_guardian_joined (line 105) | def append_guardian_joined( method set_decryption_completed (line 140) | def set_decryption_completed( function to_ballot_share_raw (line 170) | def to_ballot_share_raw(ballot_share: Optional[DecryptionShare]) -> Opti... FILE: src/electionguard_gui/services/decryption_stages/decryption_s1_join_service.py class DecryptionS1JoinService (line 12) | class DecryptionS1JoinService(DecryptionStageBase): method run (line 15) | def run(self, db: Database, decryption: DecryptionDto) -> None: function _update_decrypt_status (line 60) | def _update_decrypt_status(status: str) -> None: FILE: src/electionguard_gui/services/decryption_stages/decryption_s2_announce_service.py class DecryptionS2AnnounceService (line 13) | class DecryptionS2AnnounceService(DecryptionStageBase): method should_run (line 16) | def should_run(self, db: Database, decryption: DecryptionDto) -> bool: method run (line 22) | def run(self, db: Database, decryption: DecryptionDto) -> None: function _get_lagrange_coefficients (line 92) | def _get_lagrange_coefficients( function _update_decrypt_status (line 98) | def _update_decrypt_status(status: str) -> None: FILE: src/electionguard_gui/services/decryption_stages/decryption_stage_base.py class DecryptionStageBase (line 20) | class DecryptionStageBase(ABC): method __init__ (line 31) | def __init__( method should_run (line 50) | def should_run(self, db: Database, decryption: DecryptionDto) -> bool: method run (line 53) | def run(self, db: Database, decryption: DecryptionDto) -> None: function get_tally (line 57) | def get_tally( FILE: src/electionguard_gui/services/directory_service.py function get_export_dir (line 7) | def get_export_dir() -> str: function get_data_dir (line 11) | def get_data_dir() -> str: function _get_egui_mnt_subdir (line 15) | def _get_egui_mnt_subdir(subdir_name: str) -> str: function _get_egui_mnt_dir (line 22) | def _get_egui_mnt_dir() -> str: FILE: src/electionguard_gui/services/eel_log_service.py class EelLogService (line 18) | class EelLogService(ServiceBase): method __init__ (line 22) | def __init__(self) -> None: method trace (line 30) | def trace(self, message: str, *args: Any, **kwargs: Any) -> None: method debug (line 33) | def debug(self, message: str, *args: Any, **kwargs: Any) -> None: method info (line 36) | def info(self, message: str, *args: Any, **kwargs: Any) -> None: method warn (line 39) | def warn(self, message: str, *args: Any, **kwargs: Any) -> None: method error (line 42) | def error(self, message: str, exception: Exception) -> None: method fatal (line 49) | def fatal(self, message: str, exception: Exception) -> None: FILE: src/electionguard_gui/services/election_service.py class ElectionService (line 16) | class ElectionService(ServiceBase): method __init__ (line 22) | def __init__( method create_election (line 28) | def create_election( method get (line 74) | def get(self, db: Database, election_id: str) -> ElectionDto: method get_all (line 81) | def get_all(self, db: Database) -> list[ElectionDto]: method append_ballot_upload (line 86) | def append_ballot_upload( method append_decryption (line 116) | def append_decryption( method increment_ballot_upload_ballot_count (line 135) | def increment_ballot_upload_ballot_count( FILE: src/electionguard_gui/services/export_service.py function get_export_locations (line 5) | def get_export_locations() -> list[str]: function get_removable_drives (line 13) | def get_removable_drives() -> list[str]: function _get_download_path (line 19) | def _get_download_path() -> str: FILE: src/electionguard_gui/services/guardian_service.py class GuardianService (line 14) | class GuardianService(ServiceBase): method __init__ (line 19) | def __init__(self, log_service: EelLogService) -> None: method save_guardian (line 22) | def save_guardian(self, guardian: Guardian, key_ceremony: KeyCeremonyD... method _load_guardian (line 31) | def _load_guardian( method load_guardian_from_decryption (line 48) | def load_guardian_from_decryption( method load_guardian_from_key_ceremony (line 60) | def load_guardian_from_key_ceremony( method load_other_keys (line 70) | def load_other_keys( function make_guardian (line 80) | def make_guardian( function make_mediator (line 91) | def make_mediator(key_ceremony: KeyCeremonyDto) -> KeyCeremonyMediator: function announce_guardians (line 99) | def announce_guardians( FILE: src/electionguard_gui/services/gui_setup_input_retrieval_step.py class GuiSetupInputRetrievalStep (line 8) | class GuiSetupInputRetrievalStep(SetupInputRetrievalStep): method get_gui_inputs (line 11) | def get_gui_inputs( FILE: src/electionguard_gui/services/key_ceremony_service.py class KeyCeremonyService (line 25) | class KeyCeremonyService(ServiceBase): method __init__ (line 32) | def __init__( method create (line 42) | def create( method notify_changed (line 65) | def notify_changed(self, db: Database, key_ceremony_id: str) -> None: method get (line 68) | def get(self, db: Database, id: str) -> KeyCeremonyDto: method append_guardian_joined (line 76) | def append_guardian_joined( method append_key (line 84) | def append_key( method append_other_key (line 92) | def append_other_key(self, db: Database, key_ceremony_id: str, keys: A... method append_backups (line 98) | def append_backups( method append_shared_backups (line 110) | def append_shared_backups( method append_verifications (line 121) | def append_verifications( method append_joint_key (line 135) | def append_joint_key( method set_complete (line 147) | def set_complete( method get_completed (line 157) | def get_completed(self, db: Database) -> List[KeyCeremonyDto]: method get_active (line 161) | def get_active(self, db: Database) -> List[KeyCeremonyDto]: method exists (line 165) | def exists(self, db: Database, key_ceremony_name: str) -> bool: function get_guardian_number (line 172) | def get_guardian_number(key_ceremony: KeyCeremonyDto, guardian_id: str) ... FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s1_join_service.py class KeyCeremonyS1JoinService (line 11) | class KeyCeremonyS1JoinService(KeyCeremonyStageBase): method run (line 14) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s2_announce_service.py class KeyCeremonyS2AnnounceService (line 17) | class KeyCeremonyS2AnnounceService(KeyCeremonyStageBase): method should_run (line 20) | def should_run( method run (line 27) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: method announce (line 35) | def announce(self, key_ceremony: KeyCeremonyDto) -> List[dict[str, Any]]: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s3_make_backup_service.py class KeyCeremonyS3MakeBackupService (line 9) | class KeyCeremonyS3MakeBackupService(KeyCeremonyStageBase): method should_run (line 12) | def should_run( method run (line 25) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s4_share_backup_service.py class KeyCeremonyS4ShareBackupService (line 15) | class KeyCeremonyS4ShareBackupService(KeyCeremonyStageBase): method should_run (line 21) | def should_run( method run (line 27) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: method share_backups (line 36) | def share_backups(self, key_ceremony: KeyCeremonyDto) -> List[Any]: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s5_verify_backup_service.py class KeyCeremonyS5VerifyBackupService (line 11) | class KeyCeremonyS5VerifyBackupService(KeyCeremonyStageBase): method should_run (line 14) | def should_run( method run (line 29) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_s6_publish_key_service.py class KeyCeremonyS6PublishKeyService (line 13) | class KeyCeremonyS6PublishKeyService(KeyCeremonyStageBase): method should_run (line 19) | def should_run( method run (line 25) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: FILE: src/electionguard_gui/services/key_ceremony_stages/key_ceremony_stage_base.py class KeyCeremonyStageBase (line 16) | class KeyCeremonyStageBase(ABC): method __init__ (line 26) | def __init__( method should_run (line 43) | def should_run( method run (line 49) | def run(self, db: Database, key_ceremony: KeyCeremonyDto) -> None: FILE: src/electionguard_gui/services/key_ceremony_state_service.py class KeyCeremonyStateService (line 7) | class KeyCeremonyStateService(ServiceBase): method __init__ (line 12) | def __init__(self, log_service: EelLogService) -> None: method get_key_ceremony_state (line 16) | def get_key_ceremony_state(self, key_ceremony: KeyCeremonyDto) -> KeyC... function get_key_ceremony_status (line 58) | def get_key_ceremony_status(state: KeyCeremonyStates) -> str: FILE: src/electionguard_gui/services/plaintext_ballot_service.py function get_plaintext_ballot_report (line 8) | def get_plaintext_ballot_report( function _get_tally_report (line 22) | def _get_tally_report( function _get_contest_details (line 46) | def _get_contest_details( function _get_selection_parties (line 80) | def _get_selection_parties(manifest: Manifest) -> dict[str, str]: function _get_candidate_write_ins (line 98) | def _get_candidate_write_ins(manifest: Manifest) -> dict[str, bool]: function _get_selections_report (line 115) | def _get_selections_report( FILE: src/electionguard_gui/services/service_base.py class ServiceBase (line 4) | class ServiceBase(ABC): method init (line 7) | def init(self) -> None: method expose (line 10) | def expose(self) -> None: FILE: src/electionguard_gui/services/version_service.py class VersionService (line 9) | class VersionService(ServiceBase): method __init__ (line 14) | def __init__(self, log_service: EelLogService) -> None: method expose (line 17) | def expose(self) -> None: method get_version (line 20) | def get_version(self) -> Optional[str]: FILE: src/electionguard_gui/start.py function run (line 4) | def run() -> None: FILE: src/electionguard_gui/web/components/admin/admin-home-component.js method data (line 9) | data() { method mounted (line 15) | async mounted() { FILE: src/electionguard_gui/web/components/admin/create-decryption-component.js method data (line 9) | data() { method createDecryption (line 17) | async createDecryption() { method mounted (line 34) | async mounted() { FILE: src/electionguard_gui/web/components/admin/create-election-component.js method data (line 5) | data() { method createElection (line 18) | async createElection() { method keyChanged (line 44) | keyChanged() { method mounted (line 50) | async mounted() { FILE: src/electionguard_gui/web/components/admin/create-key-ceremony-component.js method data (line 8) | data() { method startCeremony (line 18) | startCeremony() { FILE: src/electionguard_gui/web/components/admin/export-election-record-component.js method data (line 9) | data() { method exportRecord (line 19) | async exportRecord() { method mounted (line 39) | async mounted() { FILE: src/electionguard_gui/web/components/admin/export-encryption-package-component.js method data (line 9) | data() { method exportPackage (line 19) | async exportPackage() { method mounted (line 37) | async mounted() { FILE: src/electionguard_gui/web/components/admin/upload-ballots-component.js method data (line 13) | data() { method mounted (line 22) | async mounted() { FILE: src/electionguard_gui/web/components/admin/upload-ballots-legacy-component.js method data (line 10) | data() { method uploadBallots (line 22) | async uploadBallots() { method uploadDeviceFile (line 44) | async uploadDeviceFile() { method uploadBallotFiles (line 59) | async uploadBallotFiles(uploadId, ballotFiles) { method mounted (line 99) | mounted() { FILE: src/electionguard_gui/web/components/admin/upload-ballots-wizard-component.js method data (line 9) | data() { method mounted (line 77) | async mounted() { FILE: src/electionguard_gui/web/components/admin/view-decryption-admin-component.js method data (line 9) | data() { method mounted (line 65) | async mounted() { method unmounted (line 75) | unmounted() { FILE: src/electionguard_gui/web/components/admin/view-election-component.js method data (line 9) | data() { method mounted (line 44) | async mounted() { FILE: src/electionguard_gui/web/components/admin/view-spoiled-ballot-component.js method data (line 11) | data() { method mounted (line 24) | async mounted() { FILE: src/electionguard_gui/web/components/admin/view-tally-component.js method data (line 10) | data() { method mounted (line 23) | async mounted() { FILE: src/electionguard_gui/web/components/guardian/decryption-list-component.js method data (line 7) | data() { FILE: src/electionguard_gui/web/components/guardian/guardian-home-component.js method data (line 13) | data() { method mounted (line 64) | async mounted() { method unmounted (line 74) | unmounted() { FILE: src/electionguard_gui/web/components/guardian/view-decryption-guardian-component.js method data (line 10) | data() { method mounted (line 56) | async mounted() { method unmounted (line 63) | unmounted() { FILE: src/electionguard_gui/web/components/shared/election-list-component.js method data (line 5) | data() { method mounted (line 19) | async mounted() { FILE: src/electionguard_gui/web/components/shared/footer-component.js method data (line 2) | data() { method mounted (line 7) | async mounted() { FILE: src/electionguard_gui/web/components/shared/home-component.js method data (line 10) | data() { FILE: src/electionguard_gui/web/components/shared/key-ceremony-details-component.js method data (line 8) | data() { method mounted (line 33) | mounted() { method unmounted (line 38) | unmounted() { FILE: src/electionguard_gui/web/components/shared/key-ceremony-list-component.js method data (line 10) | data() { FILE: src/electionguard_gui/web/components/shared/login-component.js method data (line 8) | data() { method createUser (line 14) | async createUser() { FILE: src/electionguard_gui/web/js/vue.esm-browser.prod.js function e (line 1) | function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r... function o (line 1) | function o(e){return!!e||""===e} function r (line 1) | function r(e){if(E(e)){const t={};for(let n=0;n{if(e){const n=e.... function c (line 1) | function c(e){let t="";if(P(e))t=e;else if(E(e))for(let n=0;nd(e,t)))} class ne (line 1) | class ne{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=... method constructor (line 1) | constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&... method run (line 1) | run(e){if(this.active){const t=te;try{return te=this,e()}finally{te=t}}} method on (line 1) | on(){te=this} method off (line 1) | off(){te=this.parent} method stop (line 1) | stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t"__v_isReactiv... function mt (line 1) | function mt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){... function gt (line 1) | function gt(e){return xt(e)?e:bt(e,!1,Le,lt,pt)} function vt (line 1) | function vt(e){return bt(e,!1,Ue,ct,ft)} function yt (line 1) | function yt(e){return bt(e,!0,je,at,dt)} function _t (line 1) | function _t(e){return bt(e,!0,De,ut,ht)} function bt (line 1) | function bt(e,t,n,o,r){if(!M(e))return e;if(e.__v_raw&&(!t||!e.__v_isRea... function St (line 1) | function St(e){return xt(e)?St(e.__v_raw):!(!e||!e.__v_isReactive)} function xt (line 1) | function xt(e){return!(!e||!e.__v_isReadonly)} function Ct (line 1) | function Ct(e){return!(!e||!e.__v_isShallow)} function wt (line 1) | function wt(e){return St(e)||xt(e)} function kt (line 1) | function kt(e){const t=e&&e.__v_raw;return t?kt(t):e} function Tt (line 1) | function Tt(e){return Q(e,"__v_skip",!0),e} function $t (line 1) | function $t(e){be&&de&&ke((e=kt(e)).dep||(e.dep=le()))} function Ot (line 1) | function Ot(e,t){(e=kt(e)).dep&&Ne(e.dep)} function Rt (line 1) | function Rt(e){return!(!e||!0!==e.__v_isRef)} function Ft (line 1) | function Ft(e){return At(e,!1)} function Pt (line 1) | function Pt(e){return At(e,!0)} function At (line 1) | function At(e,t){return Rt(e)?e:new Mt(e,t)} class Mt (line 1) | class Mt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_... method constructor (line 1) | constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!... method value (line 1) | get value(){return $t(this),this._value} method value (line 1) | set value(e){e=this.__v_isShallow?e:kt(e),Y(e,this._rawValue)&&(this._... function Vt (line 1) | function Vt(e){Ot(e)} function It (line 1) | function It(e){return Rt(e)?e.value:e} function Lt (line 1) | function Lt(e){return St(e)?e:new Proxy(e,Bt)} class jt (line 1) | class jt{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,se... method constructor (line 1) | constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(... method value (line 1) | get value(){return this._get()} method value (line 1) | set value(e){this._set(e)} function Ut (line 1) | function Ut(e){return new jt(e)} function Dt (line 1) | function Dt(e){const t=E(e)?new Array(e.length):{};for(const n in e)t[n]... class Ht (line 1) | class Ht{constructor(e,t,n){this._object=e,this._key=t,this._defaultValu... method constructor (line 1) | constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,thi... method value (line 1) | get value(){const e=this._object[this._key];return void 0===e?this._de... method value (line 1) | set value(e){this._object[this._key]=e} function Wt (line 1) | function Wt(e,t,n){const o=e[t];return Rt(o)?o:new Ht(e,t,n)} class zt (line 1) | class zt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_is... method constructor (line 1) | constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,... method value (line 1) | get value(){const e=kt(this);return $t(e),!e._dirty&&e._cacheable||(e.... method value (line 1) | set value(e){this._setter(e)} function Gt (line 1) | function Gt(e,...t){xe();const n=Kt.length?Kt[Kt.length-1].component:nul... function qt (line 1) | function qt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((... function Jt (line 1) | function Jt(e,t,n){return P(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"... function Yt (line 1) | function Yt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){Qt(s,t,n)}return r} function Zt (line 1) | function Zt(e,t,n,o){if(F(e)){const r=Yt(e,t,n,o);return r&&V(r)&&r.catc... function Qt (line 1) | function Qt(e,t,n,o=!0){if(t){let o=t.parent;const r=t.proxy,s=n;for(;o;... function dn (line 1) | function dn(e){const t=pn||un;return e?t.then(this?e.bind(this):e):t} function hn (line 1) | function hn(e){tn.length&&tn.includes(e,Xt&&e.allowRecurse?nn+1:nn)||e==... function mn (line 1) | function mn(){Xt||en||(en=!0,pn=un.then(Sn))} function gn (line 1) | function gn(e,t,n,o){E(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+... function vn (line 1) | function vn(e){gn(e,cn,ln,an)} function yn (line 1) | function yn(e,t=null){if(on.length){for(fn=t,rn=[...new Set(on)],on.leng... function _n (line 1) | function _n(e){if(yn(),ln.length){const e=[...new Set(ln)];if(ln.length=... function Sn (line 1) | function Sn(e){en=!1,Xt=!0,yn(e),tn.sort(((e,t)=>bn(e)-bn(t)));try{for(n... function wn (line 1) | function wn(e,t){var n,o;if(xn=e,xn)xn.enabled=!0,Cn.forEach((({event:e,... function kn (line 1) | function kn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||v;l... function Tn (line 1) | function Tn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)retu... function Nn (line 1) | function Nn(e,t){return!(!e||!x(t))&&(t=t.slice(2).replace(/Once$/,""),N... function On (line 1) | function On(e){const t=En;return En=e,$n=e&&e.type.__scopeId||null,t} function Rn (line 1) | function Rn(e){$n=e} function Fn (line 1) | function Fn(){$n=null} function An (line 1) | function An(e,t=En,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o... function Mn (line 1) | function Mn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOpt... function Bn (line 1) | function Bn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).l... function Ln (line 1) | function Ln({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=... method process (line 1) | process(e,t,n,o,r,s,i,l,c,a){null==e?function(e,t,n,o,r,s,i,l,c){const{p... function Dn (line 1) | function Dn(e,t){const n=e.props&&e.props[t];F(n)&&n()} function Hn (line 1) | function Hn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNo... function Wn (line 1) | function Wn(e){let t;if(F(e)){const n=Qr&&e._c;n&&(e._d=!1,Yr()),e=e(),n... function zn (line 1) | function zn(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.... function Kn (line 1) | function Kn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n... function Gn (line 1) | function Gn(e,t){if(Cs){let n=Cs.provides;const o=Cs.parent&&Cs.parent.p... function qn (line 1) | function qn(e,t,n=!1){const o=Cs||En;if(o){const r=null==o.parent?o.vnod... function Jn (line 1) | function Jn(e,t){return eo(e,null,t)} function Yn (line 1) | function Yn(e,t){return eo(e,null,{flush:"post"})} function Zn (line 1) | function Zn(e,t){return eo(e,null,{flush:"sync"})} function Xn (line 1) | function Xn(e,t,n){return eo(e,t,n)} function eo (line 1) | function eo(e,t,{immediate:n,deep:o,flush:r}=v){const s=Cs;let i,l,c=!1,... function to (line 1) | function to(e,t,n){const o=this.proxy,r=P(e)?e.includes(".")?no(o,e):()=... function no (line 1) | function no(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{const s=t.defaul... function lo (line 1) | function lo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||... function co (line 1) | function co(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:... function ao (line 1) | function ao(e){if(yo(e))return(e=fs(e)).children=null,e} function uo (line 1) | function uo(e){return yo(e)?e.children?e.children[0]:void 0:e} function po (line 1) | function po(e,t){6&e.shapeFlag&&e.component?po(e.component.subTree,t):12... function fo (line 1) | function fo(e,t=!1,n){let o=[],r=0;for(let s=0;sbo(e,t))):P(e)?e.split(",").incl... function So (line 1) | function So(e,t){Co(e,"a",t)} function xo (line 1) | function xo(e,t){Co(e,"da",t)} function Co (line 1) | function Co(e,t,n=Cs){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if... function wo (line 1) | function wo(e,t,n,o){const r=No(t,e,o,!0);Ao((()=>{k(o[t],r)}),n)} function ko (line 1) | function ko(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shape... function To (line 1) | function To(e){return 128&e.shapeFlag?e.ssContent:e} function No (line 1) | function No(e,t,n=Cs,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t._... function Bo (line 1) | function Bo(e,t=Cs){No("ec",e,t)} function Lo (line 1) | function Lo(e,t){const n=En;if(null===n)return e;const o=Vs(n)||n.proxy,... function jo (line 1) | function jo(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i!os(e)||e.type!==Kr&&!(e.type===Wr&&!Yo... function Zo (line 1) | function Zo(e){const t={};for(const n in e)t[J(n)]=e[n];return t} method get (line 1) | get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:... method set (line 1) | set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return r!==v&&N(r,t)?(... method has (line 1) | has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOption... method defineProperty (line 1) | defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:N(n,"value... method get (line 1) | get(e,t){if(t!==Symbol.unscopables)return er.get(e,t,e)} function or (line 1) | function or(e){const t=ir(e),n=e.proxy,o=e.ctx;nr=!1,t.beforeCreate&&rr(... function rr (line 1) | function rr(e,t,n){Zt(E(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t... function sr (line 1) | function sr(e,t,n,o){const r=o.includes(".")?no(n,o):()=>n[o];if(P(e)){c... function ir (line 1) | function ir(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCa... function lr (line 1) | function lr(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&lr(e,s,n,!0),r&&r... function ar (line 1) | function ar(e,t){return t?e?function(){return w(F(e)?e.call(this,this):e... function ur (line 1) | function ur(e){if(E(e)){const t={};for(let n=0;nyr(t,e))):F(t)&&yr(t,e)?0:-1} function kr (line 1) | function kr(){return{app:null,config:{isNativeTag:b,performance:!1,globa... function Nr (line 1) | function Nr(e,t){return function(n,o=null){F(n)||(n=Object.assign({},n))... function Er (line 1) | function Er(e,t,n,o,r=!1){if(E(e))return void e.forEach(((e,s)=>Er(e,t&&... function Fr (line 1) | function Fr(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:s,... function Ar (line 1) | function Ar(e){return Vr(e)} function Mr (line 1) | function Mr(e){return Vr(e,Fr)} function Vr (line 1) | function Vr(e,t){(ee||(ee="undefined"!=typeof globalThis?globalThis:"und... function Ir (line 1) | function Ir({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n} function Br (line 1) | function Br(e,t,n=!1){const o=e.children,r=t.children;if(E(o)&&E(r))for(... function Dr (line 1) | function Dr(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);c... method process (line 1) | process(e,t,n,o,r,s,i,l,c,a){const{mc:u,pc:p,pbc:f,o:{insert:d,querySele... method remove (line 1) | remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,ancho... function Yr (line 1) | function Yr(e=!1){qr.push(Jr=e?null:[])} function Zr (line 1) | function Zr(){qr.pop(),Jr=qr[qr.length-1]||null} function Xr (line 1) | function Xr(e){Qr+=e} function es (line 1) | function es(e){return e.dynamicChildren=Qr>0?Jr||y:null,Zr(),Qr>0&&Jr&&J... function ts (line 1) | function ts(e,t,n,o,r,s){return es(as(e,t,n,o,r,s,!0))} function ns (line 1) | function ns(e,t,n,o,r){return es(us(e,t,n,o,r,!0))} function os (line 1) | function os(e){return!!e&&!0===e.__v_isVNode} function rs (line 1) | function rs(e,t){return e.type===t.type&&e.key===t.key} function ss (line 1) | function ss(e){} function as (line 1) | function as(e,t=null,n=null,o=0,r=null,s=(e===Wr?0:1),i=!1,l=!1){const c... function ps (line 1) | function ps(e){return e?wt(e)||is in e?w({},e):e:null} function fs (line 1) | function fs(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?... function ds (line 1) | function ds(e=" ",t=0){return us(zr,null,e,t)} function hs (line 1) | function hs(e,t){const n=us(Gr,null,e);return n.staticCount=t,n} function ms (line 1) | function ms(e="",t=!1){return t?(Yr(),ns(Kr,null,e)):us(Kr,null,e)} function gs (line 1) | function gs(e){return null==e||"boolean"==typeof e?us(Kr):E(e)?us(Wr,nul... function vs (line 1) | function vs(e){return null===e.el||e.memo?e:fs(e)} function ys (line 1) | function ys(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(... function _s (line 1) | function _s(...e){const t={};for(let n=0;n{e.render._rc&&(e.withProxy=new Proxy(e.ctx,tr... function As (line 1) | function As(e,t,n){const o=e.type;if(!e.render){if(!t&&Es&&!o.render){co... function Ms (line 1) | function Ms(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){ret... function Vs (line 1) | function Vs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Pro... function Bs (line 1) | function Bs(e,t=!0){return F(e)?e.displayName||e.name:e.name||t&&e.__name} function Ls (line 1) | function Ls(e,t,n=!1){let o=Bs(t);if(!o&&t.__file){const e=t.__file.matc... function Us (line 1) | function Us(){return null} function Ds (line 1) | function Ds(){return null} function Hs (line 1) | function Hs(e){} function Ws (line 1) | function Ws(e,t){return null} function zs (line 1) | function zs(){return Gs().slots} function Ks (line 1) | function Ks(){return Gs().attrs} function Gs (line 1) | function Gs(){const e=ws();return e.setupContext||(e.setupContext=Ms(e))} function qs (line 1) | function qs(e,t){const n=E(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(co... function Js (line 1) | function Js(e,t){const n={};for(const o in e)t.includes(o)||Object.defin... function Ys (line 1) | function Ys(e){const t=ws();let n=e();return Ts(),V(n)&&(n=n.catch((e=>{... function Zs (line 1) | function Zs(e,t,n){const o=arguments.length;return 2===o?M(t)&&!E(t)?os(... function ei (line 1) | function ei(){} function ti (line 1) | function ti(e,t,n,o){const r=n[o];if(r&&ni(r,e))return r;const s=t();ret... function ni (line 1) | function ni(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o... method setScopeId (line 1) | setScopeId(e,t){e.setAttribute(t,"")} method cloneNode (line 1) | cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._va... method insertStaticContent (line 1) | insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild... function pi (line 1) | function pi(e,t,n){if(E(n))n.forEach((n=>pi(e,t,n)));else if(null==n&&(n... function bi (line 1) | function bi(e,t,n,o){e.addEventListener(t,n,o)} function Si (line 1) | function Si(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i... function wi (line 1) | function wi(e,t){const n=ho(e);class o extends Ni{constructor(e){super(n... class Ni (line 1) | class Ni extends Ti{constructor(e,t={},n){super(),this._def=e,this._prop... method constructor (line 1) | constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance... method connectedCallback (line 1) | connectedCallback(){this._connected=!0,this._instance||this._resolveDe... method disconnectedCallback (line 1) | disconnectedCallback(){this._connected=!1,dn((()=>{this._connected||(k... method _resolveDef (line 1) | _resolveDef(){if(this._resolved)return;this._resolved=!0;for(let n=0;n... method _setAttr (line 1) | _setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._number... method _getProp (line 1) | _getProp(e){return this._props[e]} method _setProp (line 1) | _setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this.... method _update (line 1) | _update(){kl(this._createVNode(),this.shadowRoot)} method _createVNode (line 1) | _createVNode(){const e=us(this._def,w({},this._props));return this._in... method _applyStyles (line 1) | _applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("styl... function Ei (line 1) | function Ei(e="$style"){{const t=ws();if(!t)return v;const n=t.type.__cs... function $i (line 1) | function $i(e){const t=ws();if(!t)return;const n=()=>Oi(t.subTree,e(t.pr... function Oi (line 1) | function Oi(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch... function Ri (line 1) | function Ri(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.s... function Ii (line 1) | function Ii(e){const t={};for(const w in e)w in Pi||(t[w]=e[w]);if(!1===... function Bi (line 1) | function Bi(e){return X(e)} function Li (line 1) | function Li(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._... function ji (line 1) | function ji(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));c... function Ui (line 1) | function Ui(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))} function Hi (line 1) | function Hi(e,t,n,o){const r=e._endId=++Di,s=()=>{r===e._endId&&o()};if(... function Wi (line 1) | function Wi(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").spli... function zi (line 1) | function zi(e,t){for(;e.length{if(!r.len... function Zi (line 1) | function Zi(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterC... function Qi (line 1) | function Qi(e){Ji.set(e,e.el.getBoundingClientRect())} function Xi (line 1) | function Xi(e){const t=qi.get(e),n=Ji.get(e),o=t.left-n.left,r=t.top-n.t... function tl (line 1) | function tl(e){e.target.composing=!0} function nl (line 1) | function nl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchE... method created (line 1) | created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=el(r);const ... method mounted (line 1) | mounted(e,{value:t}){e.value=null==t?"":t} method beforeUpdate (line 1) | beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e._ass... method created (line 1) | created(e,t,n){e._assign=el(n),bi(e,"change",(()=>{const t=e._modelValue... method beforeUpdate (line 1) | beforeUpdate(e,t,n){e._assign=el(n),sl(e,t,n)} function sl (line 1) | function sl(e,{value:t,oldValue:n},o){e._modelValue=t,E(t)?e.checked=h(t... method created (line 1) | created(e,{value:t},n){e.checked=d(t,n.props.value),e._assign=el(n),bi(e... method beforeUpdate (line 1) | beforeUpdate(e,{value:t,oldValue:n},o){e._assign=el(o),t!==n&&(e.checked... method created (line 1) | created(e,{value:t,modifiers:{number:n}},o){const r=O(t);bi(e,"change",(... method mounted (line 1) | mounted(e,{value:t}){cl(e,t)} method beforeUpdate (line 1) | beforeUpdate(e,t,n){e._assign=el(n)} method updated (line 1) | updated(e,{value:t}){cl(e,t)} function cl (line 1) | function cl(e,t){const n=e.multiple;if(!n||E(t)||O(t)){for(let o=0,r=e.o... function al (line 1) | function al(e){return"_value"in e?e._value:e.value} function ul (line 1) | function ul(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t} method created (line 1) | created(e,t,n){fl(e,t,n,null,"created")} method mounted (line 1) | mounted(e,t,n){fl(e,t,n,null,"mounted")} method beforeUpdate (line 1) | beforeUpdate(e,t,n,o){fl(e,t,n,o,"beforeUpdate")} method updated (line 1) | updated(e,t,n,o){fl(e,t,n,o,"updated")} function fl (line 1) | function fl(e,t,n,o,r){const s=function(e,t){switch(e){case"SELECT":retu... method beforeMount (line 1) | beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?... method mounted (line 1) | mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)} method updated (line 1) | updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnt... method beforeUnmount (line 1) | beforeUnmount(e,{value:t}){_l(e,t)} function _l (line 1) | function _l(e,t){e.style.display=t?e._vod:"none"} function Cl (line 1) | function Cl(){return Sl||(Sl=Ar(bl))} function wl (line 1) | function wl(){return Sl=xl?Sl:Mr(bl),xl=!0,Sl} function $l (line 1) | function $l(e){if(P(e)){return document.querySelector(e)}return e} method devtools (line 1) | get devtools(){return xn} function Fl (line 1) | function Fl(e){throw e} function Pl (line 1) | function Pl(e){} function Al (line 1) | function Al(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,... function xc (line 1) | function xc(e,t,n,o,r,s,i,l=!1,c=!1,a=!1,u=Sc){return e&&(l?(e.helper(jl... function Cc (line 1) | function Cc(e,t=Sc){return{type:17,loc:t,elements:e}} function wc (line 1) | function wc(e,t=Sc){return{type:15,loc:t,properties:e}} function kc (line 1) | function kc(e,t){return{type:16,loc:Sc,key:P(e)?Tc(e,!0):e,value:t}} function Tc (line 1) | function Tc(e,t=!1,n=Sc,o=0){return{type:4,loc:n,content:e,isStatic:t,co... function Nc (line 1) | function Nc(e,t=Sc){return{type:8,loc:t,children:e}} function Ec (line 1) | function Ec(e,t=[],n=Sc){return{type:14,loc:n,callee:e,arguments:t}} function $c (line 1) | function $c(e,t,n=!1,o=!1,r=Sc){return{type:18,params:e,returns:t,newlin... function Oc (line 1) | function Oc(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,n... function Pc (line 1) | function Pc(e){return Fc(e,"Teleport")?Vl:Fc(e,"Suspense")?Il:Fc(e,"Keep... function jc (line 1) | function jc(e,t,n){const o={source:e.source.slice(t,t+n),start:Uc(e.star... function Uc (line 1) | function Uc(e,t,n=t.length){return Dc(w({},e),t,n)} function Dc (line 1) | function Dc(e,t,n=t.length){let o=0,r=-1;for(let s=0;s"-"===t?"_":e... function na (line 1) | function na(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!... function ia (line 1) | function ia(e,t={}){const n=function(e,t){const n=w({},sa);let o;for(o i... function la (line 1) | function la(e,t,n){const o=xa(n),r=o?o.ns:0,s=[];for(;!Na(e,t,n);){const... function ca (line 1) | function ca(e,t){if(2===t.type){const n=xa(e);if(n&&2===n.type&&n.loc.en... function aa (line 1) | function aa(e,t){wa(e,9);const n=la(e,3,t);return 0===e.source.length||w... function ua (line 1) | function ua(e){const t=ba(e);let n;const o=/--(\!)?>/.exec(e.source);if(... function pa (line 1) | function pa(e){const t=ba(e),n="?"===e.source[1]?1:2;let o;const r=e.sou... function fa (line 1) | function fa(e,t){const n=e.inPre,o=e.inVPre,r=xa(t),s=ha(e,0,r),i=e.inPr... function ha (line 1) | function ha(e,t,n){const o=ba(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e... function ma (line 1) | function ma(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ca(e.sour... function ga (line 1) | function ga(e,t){const n=ba(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(... function va (line 1) | function va(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.... function ya (line 1) | function ya(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let... function _a (line 1) | function _a(e,t,n){const o=e.source.slice(0,t);return wa(e,t),2!==n&&3!=... function ba (line 1) | function ba(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,... function Sa (line 1) | function Sa(e,t,n){return{start:t,end:n=n||ba(e),source:e.originalSource... function xa (line 1) | function xa(e){return e[e.length-1]} function Ca (line 1) | function Ca(e,t){return e.startsWith(t)} function wa (line 1) | function wa(e,t){const{source:n}=e;Dc(e,n,t),e.source=n.slice(t)} function ka (line 1) | function ka(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&wa(e,t[0].length)} function Ta (line 1) | function Ta(e,t,n){return Uc(t,e.originalSource.slice(t.offset,n),n)} function Na (line 1) | function Na(e,t,n){const o=e.source;switch(t){case 0:if(Ca(o,"t===e:t=>e.test(t);return(e,o)=>{if(1==... function Ha (line 1) | function Ha(e,t={}){const n=function(e,{mode:t="function",prefixIdentifi... function Wa (line 1) | function Wa(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("component... function za (line 1) | function za(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ka(e,t... function Ka (line 1) | function Ka(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i PlaintextBallot: method get_simple_ballots_from_file (line 162) | def get_simple_ballots_from_file(self) -> List[PlaintextBallot]: method _get_ballot_from_file (line 166) | def _get_ballot_from_file(filename: str) -> PlaintextBallot: method _get_ballots_from_file (line 170) | def _get_ballots_from_file(filename: str) -> List[PlaintextBallot]: function get_selection_well_formed (line 176) | def get_selection_well_formed( function get_selection_poorly_formed (line 197) | def get_selection_poorly_formed( FILE: src/electionguard_tools/factories/election_factory.py class AllPublicElectionData (line 63) | class AllPublicElectionData: class AllPrivateElectionData (line 74) | class AllPrivateElectionData: class ElectionFactory (line 80) | class ElectionFactory: method get_simple_manifest_from_file (line 85) | def get_simple_manifest_from_file(self) -> Manifest: method get_manifest_from_filename (line 89) | def get_manifest_from_filename(self, filename: str) -> Manifest: method get_manifest_from_file (line 94) | def get_manifest_from_file(spec_version: str, sample_manifest: str) ->... method get_hamilton_manifest_from_file (line 109) | def get_hamilton_manifest_from_file() -> Manifest: method get_sample_manifest_with_encryption_context (line 116) | def get_sample_manifest_with_encryption_context( method get_fake_manifest (line 156) | def get_fake_manifest() -> Manifest: method get_fake_ciphertext_election (line 235) | def get_fake_ciphertext_election( method get_fake_ballot (line 246) | def get_fake_ballot( method _get_manifest_from_file (line 265) | def _get_manifest_from_file(filename: str) -> Manifest: method get_encryption_device (line 269) | def get_encryption_device() -> EncryptionDevice: function get_selection_description_well_formed (line 280) | def get_selection_description_well_formed( function get_contest_description_well_formed (line 301) | def get_contest_description_well_formed( FILE: src/electionguard_tools/helpers/election_builder.py class ElectionBuilder (line 18) | class ElectionBuilder: method __post_init__ (line 43) | def __post_init__(self) -> None: method set_public_key (line 46) | def set_public_key( method set_commitment_hash (line 57) | def set_commitment_hash(self, commitment_hash: ElementModQ) -> Electio... method add_extended_data_field (line 66) | def add_extended_data_field(self, name: str, value: str) -> ElectionBu... method build (line 77) | def build( FILE: src/electionguard_tools/helpers/export.py function export_record (line 51) | def export_record( function export_private_data (line 100) | def export_private_data( FILE: src/electionguard_tools/helpers/key_ceremony_orchestrator.py class KeyCeremonyOrchestrator (line 9) | class KeyCeremonyOrchestrator: method create_guardians (line 13) | def create_guardians(ceremony_details: CeremonyDetails) -> List[Guardi... method perform_full_ceremony (line 25) | def perform_full_ceremony( method perform_round_1 (line 35) | def perform_round_1( method perform_round_2 (line 49) | def perform_round_2( method perform_round_3 (line 64) | def perform_round_3( method fail_round_3 (line 83) | def fail_round_3( FILE: src/electionguard_tools/helpers/tally_accumulate.py function accumulate_plaintext_ballots (line 5) | def accumulate_plaintext_ballots(ballots: List[PlaintextBallot]) -> Dict... FILE: src/electionguard_tools/helpers/tally_ceremony_orchestrator.py class TallyCeremonyOrchestrator (line 12) | class TallyCeremonyOrchestrator: method perform_decryption_setup (line 16) | def perform_decryption_setup( method perform_compensated_decryption_setup (line 36) | def perform_compensated_decryption_setup( method announcement (line 60) | def announcement( method exchange_compensated_decryption_shares (line 99) | def exchange_compensated_decryption_shares( FILE: src/electionguard_tools/scripts/sample_generator.py class ElectionSampleDataGenerator (line 45) | class ElectionSampleDataGenerator: method __init__ (line 56) | def __init__(self) -> None: method generate (line 62) | def generate( FILE: src/electionguard_tools/strategies/election.py function human_names (line 150) | def human_names(draw: _DrawType) -> str: function election_types (line 162) | def election_types(draw: _DrawType) -> ElectionType: function reporting_unit_types (line 172) | def reporting_unit_types(draw: _DrawType) -> ReportingUnitType: function contact_infos (line 182) | def contact_infos(draw: _DrawType) -> ContactInformation: function two_letter_codes (line 196) | def two_letter_codes(draw: _DrawType, min_size: int = 2, max_size: int =... function languages (line 214) | def languages(draw: _DrawType) -> Language: function language_human_names (line 224) | def language_human_names(draw: _DrawType) -> Language: function internationalized_texts (line 234) | def internationalized_texts(draw: _DrawType) -> InternationalizedText: function internationalized_human_names (line 244) | def internationalized_human_names(draw: _DrawType) -> InternationalizedT... function annotated_strings (line 256) | def annotated_strings(draw: _DrawType) -> AnnotatedString: function annotated_emails (line 268) | def annotated_emails(draw: _DrawType) -> AnnotatedString: function ballot_styles (line 278) | def ballot_styles( function party_lists (line 305) | def party_lists(draw: _DrawType, num_parties: int) -> List[Party]: function geopolitical_units (line 329) | def geopolitical_units(draw: _DrawType) -> GeopoliticalUnit: function candidates (line 343) | def candidates(draw: _DrawType, party_list: Optional[List[Party]]) -> Ca... function _candidate_to_selection_description (line 365) | def _candidate_to_selection_description( function candidate_contest_descriptions (line 380) | def candidate_contest_descriptions( function contest_descriptions_room_for_overvoting (line 437) | def contest_descriptions_room_for_overvoting( function referendum_contest_descriptions (line 466) | def referendum_contest_descriptions( function contest_descriptions (line 503) | def contest_descriptions( function election_descriptions (line 527) | def election_descriptions( function plaintext_voted_ballots (line 581) | def plaintext_voted_ballots( function plaintext_voted_ballot (line 596) | def plaintext_voted_ballot( function ciphertext_elections (line 649) | def ciphertext_elections( function elections_and_ballots (line 689) | def elections_and_ballots( FILE: src/electionguard_tools/strategies/elgamal.py function elgamal_keypairs (line 14) | def elgamal_keypairs(draw: _DrawType) -> Optional[ElGamalKeyPair]: FILE: src/electionguard_tools/strategies/group.py function elements_mod_q (line 19) | def elements_mod_q(draw: _DrawType) -> ElementModQ: function elements_mod_q_no_zero (line 29) | def elements_mod_q_no_zero(draw: _DrawType) -> ElementModQ: function elements_mod_p (line 39) | def elements_mod_p(draw: _DrawType) -> ElementModP: function elements_mod_p_no_zero (line 49) | def elements_mod_p_no_zero(draw: _DrawType) -> ElementModP: FILE: src/electionguard_verify/verify.py class Verification (line 16) | class Verification: function verify_ballot (line 26) | def verify_ballot( function verify_decryption (line 48) | def verify_decryption( function verify_aggregation (line 71) | def verify_aggregation( FILE: stubs/gmpy2.pyi class mpz (line 10) | class mpz(int): method __new__ (line 11) | def __new__( method bit_clear (line 14) | def bit_clear(self, n: int) -> mpz: ... method bit_flip (line 15) | def bit_flip(self, n: int) -> mpz: ... method bit_length (line 16) | def bit_length(self, *args: int, **kwargs: Any) -> int: ... method bit_scan0 (line 17) | def bit_scan0(self, n: int = ...) -> int: ... method bit_scan1 (line 18) | def bit_scan1(self, n: int = ...) -> int: ... method bit_set (line 19) | def bit_set(self, n: int) -> mpz: ... method bit_test (line 20) | def bit_test(self, n: int) -> bool: ... method digits (line 21) | def digits(self) -> str: ... method is_divisible (line 22) | def is_divisible(self, d: int) -> bool: ... method is_even (line 23) | def is_even(self) -> bool: ... method is_odd (line 24) | def is_odd(self) -> bool: ... method is_power (line 25) | def is_power(self) -> bool: ... method is_prime (line 26) | def is_prime(self) -> bool: ... method is_square (line 27) | def is_square(self) -> bool: ... method num_digits (line 28) | def num_digits(self, base: int = ...) -> int: ... method __abs__ (line 29) | def __abs__(self) -> mpz: ... method __add__ (line 30) | def __add__(self, other: int) -> mpz: ... method __and__ (line 31) | def __and__(self, other: int) -> mpz: ... method __bool__ (line 32) | def __bool__(self) -> bool: ... method __ceil__ (line 33) | def __ceil__(self) -> mpz: ... method __divmod__ (line 34) | def __divmod__(self, other: int) -> Tuple[int, int]: ... method __eq__ (line 35) | def __eq__(self, other: object) -> bool: ... method __float__ (line 36) | def __float__(self) -> mpz: ... # maybe not mpz? method __floor__ (line 37) | def __floor__(self) -> mpz: ... method __floordiv__ (line 38) | def __floordiv__(self, other: int) -> mpz: ... method __format__ (line 39) | def __format__(self, *args: Any, **kwargs: Any) -> str: ... method __ge__ (line 40) | def __ge__(self, other: int) -> bool: ... method __getitem__ (line 41) | def __getitem__(self, index: int) -> mpz: ... method __gt__ (line 42) | def __gt__(self, other: int) -> bool: ... method __hash__ (line 43) | def __hash__(self) -> int: ... method __iadd__ (line 44) | def __iadd__(self, other: int) -> mpz: ... method __ifloordiv__ (line 45) | def __ifloordiv__(self, other: int) -> mpz: ... method __ilshift__ (line 46) | def __ilshift__(self, other: int) -> mpz: ... method __imod__ (line 47) | def __imod__(self, other: int) -> mpz: ... method __imul__ (line 48) | def __imul__(self, other: int) -> mpz: ... method __index__ (line 49) | def __index__(self) -> int: ... method __int__ (line 50) | def __int__(self) -> int: ... method __invert__ (line 51) | def __invert__(self) -> mpz: ... method __irshift__ (line 52) | def __irshift__(self, other: int) -> mpz: ... method __isub__ (line 53) | def __isub__(self, other: int) -> mpz: ... method __le__ (line 54) | def __le__(self, other: int) -> bool: ... method __len__ (line 55) | def __len__(self) -> int: ... method __lshift__ (line 56) | def __lshift__(self, other: int) -> mpz: ... method __lt__ (line 57) | def __lt__(self, other: int) -> bool: ... method __mod__ (line 58) | def __mod__(self, other: int) -> mpz: ... method __mul__ (line 59) | def __mul__(self, other: int) -> mpz: ... method __ne__ (line 60) | def __ne__(self, other: object) -> bool: ... method __neg__ (line 61) | def __neg__(self) -> mpz: ... method __or__ (line 62) | def __or__(self, other: int) -> mpz: ... method __pos__ (line 63) | def __pos__(self) -> bool: ... method __pow__ (line 64) | def __pow__(self, other: int, __modulo: Optional[int] = ...) -> Any: .... method __radd__ (line 65) | def __radd__(self, other: int) -> mpz: ... method __rand__ (line 66) | def __rand__(self, other: int) -> mpz: ... method __rdivmod__ (line 67) | def __rdivmod__(self, other: int) -> Tuple[int, int]: ... method __rfloordiv__ (line 68) | def __rfloordiv__(self, other: int) -> mpz: ... method __rlshift__ (line 69) | def __rlshift__(self, other: int) -> mpz: ... method __rmod__ (line 70) | def __rmod__(self, other: int) -> mpz: ... method __rmul__ (line 71) | def __rmul__(self, other: int) -> mpz: ... method __ror__ (line 72) | def __ror__(self, other: int) -> mpz: ... method __rpow__ (line 73) | def __rpow__(self, other: int, __modulo: Optional[int] = ...) -> Any: ... method __rrshift__ (line 74) | def __rrshift__(self, other: int) -> mpz: ... method __rshift__ (line 75) | def __rshift__(self, other: int) -> mpz: ... method __rsub__ (line 76) | def __rsub__(self, other: int) -> mpz: ... method __rtruediv__ (line 77) | def __rtruediv__(self, other: float) -> float: ... method __rxor__ (line 78) | def __rxor__(self, other: int) -> mpz: ... method __sizeof__ (line 79) | def __sizeof__(self) -> int: ... method __sub__ (line 80) | def __sub__(self, other: int) -> mpz: ... method __truediv__ (line 81) | def __truediv__(self, other: float) -> float: ... method __trunc__ (line 82) | def __trunc__(self) -> mpz: ... method __xor__ (line 83) | def __xor__(self, other: int) -> mpz: ... function invert (line 85) | def invert(x: mpz, m: mpz) -> mpz: ... function powmod (line 86) | def powmod(a: int, e: int, p: int) -> mpz: ... function to_binary (line 87) | def to_binary(a: mpz) -> bytes: ... function from_binary (line 88) | def from_binary(b: bytes) -> mpz: ... FILE: tests/base_test_case.py class BaseTestCase (line 9) | class BaseTestCase(TestCase): method __inject_fixtures (line 16) | def __inject_fixtures(self, mocker): method setUpClass (line 20) | def setUpClass(cls): method tearDownClass (line 30) | def tearDownClass(cls): FILE: tests/bench/bench_chaum_pedersen.py class BenchInput (line 21) | class BenchInput: function chaum_pedersen_bench (line 29) | def chaum_pedersen_bench(bi: BenchInput) -> Tuple[float, float]: function identity (line 47) | def identity(x: int) -> int: FILE: tests/integration/test_create_schema.py class TestCreateSchema (line 24) | class TestCreateSchema(TestCase): method test_create_schema (line 33) | def test_create_schema(self) -> None: FILE: tests/integration/test_end_to_end_election.py class TestEndToEndElection (line 85) | class TestEndToEndElection(BaseTestCase): method test_end_to_end_election (line 130) | def test_end_to_end_election(self) -> None: method step_0_configure_election (line 141) | def step_0_configure_election(self) -> None: method step_1_key_ceremony (line 179) | def step_1_key_ceremony(self) -> None: method step_2_encrypt_votes (line 298) | def step_2_encrypt_votes(self) -> None: method step_3_cast_and_spoil (line 333) | def step_3_cast_and_spoil(self) -> None: method step_4_decrypt_tally (line 358) | def step_4_decrypt_tally(self) -> None: method compare_results (line 438) | def compare_results(self) -> None: method step_5_publish (line 502) | def step_5_publish(self) -> None: method deserialize_data (line 553) | def deserialize_data(self) -> None: method _assert_message (line 638) | def _assert_message( method assertEqualAsDicts (line 649) | def assertEqualAsDicts(self, first: object, second: object) -> None: FILE: tests/integration/test_functional_key_ceremony.py class TestKeyCeremony (line 20) | class TestKeyCeremony(BaseTestCase): method test_key_ceremony (line 47) | def test_key_ceremony(self) -> None: method _guardian_generates_keys (line 86) | def _guardian_generates_keys( method _guardian_share_keys (line 98) | def _guardian_share_keys(self, guardian_id: GuardianId) -> None: method _guardian_generates_backups (line 105) | def _guardian_generates_backups(self, sender_id: str) -> None: method _guardian_shares_backups (line 126) | def _guardian_shares_backups(self, sender_id: GuardianId) -> None: method _guardian_verifies_backups (line 137) | def _guardian_verifies_backups(self, verifier_id: str) -> None: method _guardian_shares_verifications (line 153) | def _guardian_shares_verifications(self, verifier_id: str) -> None: method _guardian_checks_returned_verifications (line 166) | def _guardian_checks_returned_verifications(self, key_owner_id: Guardi... method _guardian_challenges (line 176) | def _guardian_challenges(self, guardian_ids: List[GuardianId]) -> None: method _publish_joint_key (line 217) | def _publish_joint_key(self) -> None: FILE: tests/integration/test_hamilton_county_election.py class TestHamiltonCountyElection (line 10) | class TestHamiltonCountyElection(BaseTestCase): method test_manifest_is_valid (line 15) | def test_manifest_is_valid(self) -> None: FILE: tests/property/test_ballot.py class TestBallot (line 13) | class TestBallot(BaseTestCase): method test_ballot_is_valid (line 16) | def test_ballot_is_valid(self): method test_plaintext_ballot_selection_is_valid (line 41) | def test_plaintext_ballot_selection_is_valid( method test_plaintext_ballot_selection_is_invalid (line 61) | def test_plaintext_ballot_selection_is_invalid( FILE: tests/property/test_chaum_pedersen.py class TestDisjunctiveChaumPedersen (line 27) | class TestDisjunctiveChaumPedersen(BaseTestCase): method test_djcp_proofs_simple (line 30) | def test_djcp_proofs_simple(self): method test_djcp_proof_invalid_inputs (line 55) | def test_djcp_proof_invalid_inputs(self): method test_djcp_proof_zero (line 77) | def test_djcp_proof_zero( method test_djcp_proof_one (line 96) | def test_djcp_proof_one( method test_djcp_proof_broken (line 115) | def test_djcp_proof_broken( class TestChaumPedersen (line 132) | class TestChaumPedersen(BaseTestCase): method test_cp_proofs_simple (line 135) | def test_cp_proofs_simple(self): method test_cp_proof (line 167) | def test_cp_proof( class TestConstantChaumPedersen (line 194) | class TestConstantChaumPedersen(BaseTestCase): method test_ccp_proofs_simple_encryption_of_zero (line 197) | def test_ccp_proofs_simple_encryption_of_zero(self): method test_ccp_proofs_simple_encryption_of_one (line 211) | def test_ccp_proofs_simple_encryption_of_one(self): method test_ccp_proof (line 237) | def test_ccp_proof( FILE: tests/property/test_decrypt_with_secrets.py class TestDecryptWithSecrets (line 50) | class TestDecryptWithSecrets(BaseTestCase): method test_decrypt_selection_valid_input_succeeds (line 66) | def test_decrypt_selection_valid_input_succeeds( method test_decrypt_selection_valid_input_tampered_fails (line 121) | def test_decrypt_selection_valid_input_tampered_fails( method test_decrypt_selection_tampered_nonce_fails (line 201) | def test_decrypt_selection_tampered_nonce_fails( method test_decrypt_contest_valid_input_succeeds (line 248) | def test_decrypt_contest_valid_input_succeeds( method test_decrypt_contest_invalid_input_fails (line 409) | def test_decrypt_contest_invalid_input_fails( method test_decrypt_ballot_valid_input_succeeds (line 506) | def test_decrypt_ballot_valid_input_succeeds(self, keypair: ElGamalKey... method test_decrypt_ballot_valid_input_missing_nonce_fails (line 674) | def test_decrypt_ballot_valid_input_missing_nonce_fails( FILE: tests/property/test_decryption_mediator.py class TestDecryptionMediator (line 53) | class TestDecryptionMediator(BaseTestCase): method setUp (line 63) | def setUp(self): method test_announce (line 194) | def test_announce(self): method test_get_plaintext_with_all_guardians_present (line 226) | def test_get_plaintext_with_all_guardians_present(self): method test_get_plaintext_with_a_missing_guardian (line 269) | def test_get_plaintext_with_a_missing_guardian(self): method test_get_plaintext_tally_with_all_guardians_present (line 323) | def test_get_plaintext_tally_with_all_guardians_present( method _generate_encrypted_tally (line 359) | def _generate_encrypted_tally( function _convert_to_selections (line 384) | def _convert_to_selections(tally: PlaintextTally) -> Dict[str, int]: FILE: tests/property/test_discrete_log.py function _discrete_log_uncached (line 24) | def _discrete_log_uncached(e: ElementModP) -> int: class TestDiscreteLogFunctions (line 37) | class TestDiscreteLogFunctions(BaseTestCase): method test_uncached (line 41) | def test_uncached(self, exp: int) -> None: method test_cached (line 53) | def test_cached(self, exp: int) -> None: method test_cached_one (line 66) | def test_cached_one(self) -> None: method test_cached_one_async (line 75) | def test_cached_one_async(self) -> None: method test_precompute_discrete_log (line 93) | def test_precompute_discrete_log(self, exponent: int) -> None: class TestDiscreteLogClass (line 107) | class TestDiscreteLogClass(BaseTestCase): method test_precompute (line 111) | def test_precompute(self, exponent: int) -> None: method test_cached (line 127) | def test_cached(self, exp: int) -> None: method test_cached_one (line 138) | def test_cached_one(self) -> None: method test_cached_one_async (line 149) | def test_cached_one_async(self) -> None: FILE: tests/property/test_elgamal.py class TestElGamal (line 40) | class TestElGamal(BaseTestCase): method test_simple_elgamal_encryption_decryption (line 43) | def test_simple_elgamal_encryption_decryption(self) -> None: method test_elgamal_encrypt_requires_nonzero_nonce (line 69) | def test_elgamal_encrypt_requires_nonzero_nonce( method test_elgamal_keypair_from_secret_requires_key_greater_than_one (line 74) | def test_elgamal_keypair_from_secret_requires_key_greater_than_one(sel... method test_elgamal_encryption_decryption_inverses (line 79) | def test_elgamal_encryption_decryption_inverses( method test_elgamal_encryption_decryption_with_known_nonce_inverses (line 88) | def test_elgamal_encryption_decryption_with_known_nonce_inverses( method test_elgamal_generated_keypairs_are_within_range (line 97) | def test_elgamal_generated_keypairs_are_within_range( method test_elgamal_add_homomorphic_accumulation_decrypts_successfully (line 111) | def test_elgamal_add_homomorphic_accumulation_decrypts_successfully( method test_elgamal_add_requires_args (line 126) | def test_elgamal_add_requires_args(self) -> None: method test_elgamal_keypair_produces_valid_residue (line 130) | def test_elgamal_keypair_produces_valid_residue(self, keypair) -> None: method test_elgamal_keypair_random (line 133) | def test_elgamal_keypair_random(self) -> None: method test_elgamal_combine_public_keys (line 144) | def test_elgamal_combine_public_keys(self) -> None: method test_gmpy2_parallelism_is_safe (line 158) | def test_gmpy2_parallelism_is_safe(self) -> None: method test_hashed_elgamal_encryption (line 190) | def test_hashed_elgamal_encryption(self) -> None: FILE: tests/property/test_encrypt.py class TestEncrypt (line 64) | class TestEncrypt(BaseTestCase): method test_encrypt_simple_selection_succeeds (line 67) | def test_encrypt_simple_selection_succeeds(self): method test_encrypt_simple_selection_malformed_data_fails (line 97) | def test_encrypt_simple_selection_malformed_data_fails(self): method test_encrypt_selection_valid_input_succeeds (line 146) | def test_encrypt_selection_valid_input_succeeds( method test_encrypt_selection_valid_input_tampered_encryption_fails (line 189) | def test_encrypt_selection_valid_input_tampered_encryption_fails( method test_encrypt_contest_valid_input_succeeds (line 260) | def test_encrypt_contest_valid_input_succeeds( method test_encrypt_contest_valid_input_tampered_proof_fails (line 309) | def test_encrypt_contest_valid_input_tampered_proof_fails( method test_encrypt_contest_overvote_fails (line 373) | def test_encrypt_contest_overvote_fails( method test_encrypt_contest_manually_formed_contest_description_valid_succeeds (line 400) | def test_encrypt_contest_manually_formed_contest_description_valid_suc... method test_encrypt_contest_duplicate_selection_object_ids_fails (line 445) | def test_encrypt_contest_duplicate_selection_object_ids_fails(self): method test_encrypt_ballot_simple_succeeds (line 495) | def test_encrypt_ballot_simple_succeeds(self): method test_encrypt_ballot_with_composer_succeeds (line 539) | def test_encrypt_ballot_with_composer_succeeds(self): method test_encrypt_simple_ballot_from_file_with_composer_succeeds (line 566) | def test_encrypt_simple_ballot_from_file_with_composer_succeeds(self): method test_encrypt_simple_ballot_from_files_succeeds (line 594) | def test_encrypt_simple_ballot_from_files_succeeds(self) -> None: method test_encrypt_ballot_with_derivative_nonces_regenerates_valid_proofs (line 634) | def test_encrypt_ballot_with_derivative_nonces_regenerates_valid_proofs( method test_encrypt_ballot_with_verify_proofs_false_passed_on (line 727) | def test_encrypt_ballot_with_verify_proofs_false_passed_on(self): FILE: tests/property/test_encrypt_hypotheses.py class TestElections (line 29) | class TestElections(BaseTestCase): method test_generators_yield_valid_output (line 38) | def test_generators_yield_valid_output(self, manifest: Manifest): method test_accumulation_encryption_decryption (line 57) | def test_accumulation_encryption_decryption( function _accumulate_encrypted_ballots (line 156) | def _accumulate_encrypted_ballots( FILE: tests/property/test_group.py class TestEquality (line 45) | class TestEquality(BaseTestCase): method test_p_not_equal_to_q (line 49) | def test_p_not_equal_to_q(self, q: ElementModQ, q2: ElementModQ) -> None: class TestModularArithmetic (line 77) | class TestModularArithmetic(BaseTestCase): method test_add_q (line 81) | def test_add_q(self, q: ElementModQ) -> None: method test_a_plus_bc_q (line 87) | def test_a_plus_bc_q(self, q: ElementModQ) -> None: method test_a_minus_b_q (line 93) | def test_a_minus_b_q(self, q: ElementModQ) -> None: method test_div_q (line 99) | def test_div_q(self, q: ElementModQ) -> None: method test_div_p (line 105) | def test_div_p(self, p: ElementModQ) -> None: method test_no_mult_inv_of_zero (line 110) | def test_no_mult_inv_of_zero(self) -> None: method test_mult_inverses (line 114) | def test_mult_inverses(self, elem: ElementModP) -> None: method test_mult_identity (line 119) | def test_mult_identity(self, elem: ElementModP) -> None: method test_mult_noargs (line 122) | def test_mult_noargs(self) -> None: method test_add_noargs (line 125) | def test_add_noargs(self) -> None: method test_properties_for_constants (line 128) | def test_properties_for_constants(self) -> None: method test_simple_powers (line 138) | def test_simple_powers(self) -> None: method test_in_bounds_q (line 144) | def test_in_bounds_q(self, q: ElementModQ) -> None: method test_in_bounds_p (line 158) | def test_in_bounds_p(self, p: ElementModP) -> None: method test_in_bounds_q_no_zero (line 172) | def test_in_bounds_q_no_zero(self, q: ElementModQ): method test_in_bounds_p_no_zero (line 183) | def test_in_bounds_p_no_zero(self, p: ElementModP) -> None: method test_large_values_rejected_by_int_to_q (line 194) | def test_large_values_rejected_by_int_to_q(self, q: ElementModQ) -> None: class TestOptionalFunctions (line 199) | class TestOptionalFunctions(BaseTestCase): method test_unwrap (line 202) | def test_unwrap(self) -> None: method test_match (line 209) | def test_match(self) -> None: method test_get_or_else (line 216) | def test_get_or_else(self) -> None: method test_flatmap (line 223) | def test_flatmap(self) -> None: FILE: tests/property/test_hash.py class TestHash (line 15) | class TestHash(BaseTestCase): method test_same_answer_twice_in_a_row (line 19) | def test_same_answer_twice_in_a_row(self, a: ElementModQ, b: ElementMo... method test_basic_hash_properties (line 26) | def test_basic_hash_properties(self, a: ElementModQ, b: ElementModQ): method test_hash_of_big_integer_with_leading_zero_bytes (line 35) | def test_hash_of_big_integer_with_leading_zero_bytes( method test_hash_of_big_integer_with_single_leading_zero (line 54) | def test_hash_of_big_integer_with_single_leading_zero( method test_hash_for_zero_number_is_zero_string (line 71) | def test_hash_for_zero_number_is_zero_string(self): method test_hash_for_non_zero_number_string_same_as_explicit_number (line 74) | def test_hash_for_non_zero_number_string_same_as_explicit_number(self): method test_different_strings_casing_not_the_same_hash (line 77) | def test_different_strings_casing_not_the_same_hash(self): method test_hash_for_none_same_as_null_string (line 83) | def test_hash_for_none_same_as_null_string(self): method test_hash_of_save_values_in_list_are_same_hash (line 86) | def test_hash_of_save_values_in_list_are_same_hash(self): method test_hash_null_equivalents (line 89) | def test_hash_null_equivalents(self): method test_hash_not_null_equivalents (line 97) | def test_hash_not_null_equivalents(self): method test_hash_value_from_nested_list_and_result_of_hashed_list_by_taking_the_hex (line 101) | def test_hash_value_from_nested_list_and_result_of_hashed_list_by_taki... FILE: tests/property/test_nonces.py class TestNonces (line 13) | class TestNonces(BaseTestCase): method test_nonces_iterable (line 17) | def test_nonces_iterable(self, seed: ElementModQ): method test_nonces_deterministic (line 25) | def test_nonces_deterministic(self, seed: ElementModQ, i: int): method test_nonces_seed_matters (line 34) | def test_nonces_seed_matters(self, seed1: ElementModQ, seed2: ElementM... method test_nonces_with_slices (line 41) | def test_nonces_with_slices(self, seed: ElementModQ): method test_nonces_type_errors (line 57) | def test_nonces_type_errors(self): FILE: tests/property/test_schnorr.py class TestSchnorr (line 27) | class TestSchnorr(BaseTestCase): method test_schnorr_proofs_simple (line 30) | def test_schnorr_proofs_simple(self) -> None: method test_schnorr_proofs_valid (line 38) | def test_schnorr_proofs_valid( method test_schnorr_proofs_invalid_u (line 46) | def test_schnorr_proofs_invalid_u( method test_schnorr_proofs_invalid_h (line 57) | def test_schnorr_proofs_invalid_h( method test_schnorr_proofs_invalid_public_key (line 68) | def test_schnorr_proofs_invalid_public_key( method test_schnorr_proofs_bounds_checking (line 79) | def test_schnorr_proofs_bounds_checking( FILE: tests/property/test_tally.py class TestTally (line 29) | class TestTally(BaseTestCase): method test_tally_cast_ballots_accumulates_valid_tally (line 40) | def test_tally_cast_ballots_accumulates_valid_tally( method test_tally_spoiled_ballots_accumulates_valid_tally (line 89) | def test_tally_spoiled_ballots_accumulates_valid_tally( method test_tally_ballot_invalid_input_fails (line 141) | def test_tally_ballot_invalid_input_fails( method _decrypt_with_secret (line 228) | def _decrypt_with_secret( method _cannot_erroneously_mutate_state (line 242) | def _cannot_erroneously_mutate_state( FILE: tests/property/test_verify.py class TestVerify (line 45) | class TestVerify(BaseTestCase): method test_verify_ballot (line 56) | def test_verify_ballot(self, keypair: ElGamalKeyPair): method test_verify_decryption (line 77) | def test_verify_decryption(self): method test_verify_aggregation (line 131) | def test_verify_aggregation(self, election_details: ElectionsAndBallot... FILE: tests/unit/electionguard/test_ballot.py function get_sample_contest_description (line 15) | def get_sample_contest_description() -> ContestDescriptionWithPlaceholders: class TestBallot (line 41) | class TestBallot(BaseTestCase): method test_contest_valid (line 44) | def test_contest_valid(self) -> None: method test_contest_valid_with_null_vote (line 59) | def test_contest_valid_with_null_vote(self) -> None: method test_contest_valid_with_under_vote (line 68) | def test_contest_valid_with_under_vote(self) -> None: method test_contest_valid_with_over_vote (line 81) | def test_contest_valid_with_over_vote(self) -> None: FILE: tests/unit/electionguard/test_ballot_box.py class TestBallotBox (line 20) | class TestBallotBox(BaseTestCase): method setUp (line 23) | def setUp(self) -> None: method test_ballot_box_cast_ballot (line 36) | def test_ballot_box_cast_ballot(self) -> None: method test_ballot_box_spoil_ballot (line 69) | def test_ballot_box_spoil_ballot(self) -> None: method test_submit_ballot_to_box (line 102) | def test_submit_ballot_to_box(self) -> None: method test_cast_ballot (line 154) | def test_cast_ballot(self) -> None: method test_spoil_ballot (line 173) | def test_spoil_ballot(self) -> None: method test_submit_ballot (line 192) | def test_submit_ballot(self) -> None: FILE: tests/unit/electionguard/test_ballot_code.py class TestBallotCode (line 12) | class TestBallotCode(BaseTestCase): method test_rotate_ballot_code (line 15) | def test_rotate_ballot_code(self): FILE: tests/unit/electionguard/test_ballot_compact.py class TestCompactBallot (line 23) | class TestCompactBallot(BaseTestCase): method setUp (line 32) | def setUp(self) -> None: method test_compact_plaintext_ballot (line 51) | def test_compact_plaintext_ballot(self) -> None: method test_compact_submitted_ballot (line 68) | def test_compact_submitted_ballot(self) -> None: FILE: tests/unit/electionguard/test_constants.py class TestConstants (line 22) | class TestConstants(BaseTestCase): method test_get_standard_primes (line 26) | def test_get_standard_primes(self): method test_get_test_primes (line 40) | def test_get_test_primes(self): FILE: tests/unit/electionguard/test_decrypt_with_shares.py class TestDecryptWithShares (line 45) | class TestDecryptWithShares(BaseTestCase): method setUp (line 52) | def setUp(self): method tearDown (line 168) | def tearDown(self): method test_decrypt_selection_with_all_guardians_present (line 173) | def test_decrypt_selection_with_all_guardians_present(self): method test_decrypt_ballot_with_all_guardians_present (line 210) | def test_decrypt_ballot_with_all_guardians_present(self): method test_decrypt_ballot_with_missing_guardians (line 246) | def test_decrypt_ballot_with_missing_guardians(self): FILE: tests/unit/electionguard/test_decryption.py class TestDecryption (line 58) | class TestDecryption(BaseTestCase): method setUp (line 65) | def setUp(self): method tearDown (line 183) | def tearDown(self): method test_compute_decryption_share (line 189) | def test_compute_decryption_share(self): method test_compute_compensated_decryption_share (line 225) | def test_compute_compensated_decryption_share(self): method test_compute_selection (line 247) | def test_compute_selection(self): method test_compute_compensated_selection (line 263) | def test_compute_compensated_selection(self): method test_compute_compensated_selection_failure (line 429) | def test_compute_compensated_selection_failure(self): method test_reconstruct_decryption_share (line 459) | def test_reconstruct_decryption_share(self): method test_reconstruct_decryption_shares_for_ballot (line 500) | def test_reconstruct_decryption_shares_for_ballot(self): method test_reconstruct_decryption_share_for_ballot (line 547) | def test_reconstruct_decryption_share_for_ballot(self): FILE: tests/unit/electionguard/test_election_polynomial.py class TestElectionPolynomial (line 19) | class TestElectionPolynomial(BaseTestCase): method test_generate_polynomial (line 22) | def test_generate_polynomial(self): method test_compute_polynomial_coordinate (line 29) | def test_compute_polynomial_coordinate(self): method test_verify_polynomial_coordinate (line 47) | def test_verify_polynomial_coordinate(self): FILE: tests/unit/electionguard/test_elgamal.py class TestElgamal (line 13) | class TestElgamal(BaseTestCase): method test_hashed_elgamal_with_session_key_that_starts_with_0 (line 16) | def test_hashed_elgamal_with_session_key_that_starts_with_0(self) -> N... method test_hashed_elgamal_with_session_key_that_starts_with_1 (line 32) | def test_hashed_elgamal_with_session_key_that_starts_with_1(self) -> N... method do_hashed_elgamal (line 46) | def do_hashed_elgamal( FILE: tests/unit/electionguard/test_encrypt.py function get_sample_contest_description (line 27) | def get_sample_contest_description() -> ContestDescriptionWithPlaceholders: class TestEncrypt (line 57) | class TestEncrypt(TestCase): method test_contest_data_conversion (line 60) | def test_contest_data_conversion(self) -> None: method _padding_cycle (line 87) | def _padding_cycle(self, data: ContestData) -> None: method test_encrypt_simple_contest_referendum_succeeds (line 103) | def test_encrypt_simple_contest_referendum_succeeds(self) -> None: method test_contest_encrypt_with_overvotes (line 131) | def test_contest_encrypt_with_overvotes(self) -> None: method test_contest_encrypt_with_write_ins (line 177) | def test_contest_encrypt_with_write_ins(self): method test_contest_data_integration (line 226) | def test_contest_data_integration(self) -> None: FILE: tests/unit/electionguard/test_guardian.py class TestGuardian (line 23) | class TestGuardian(BaseTestCase): method test_import_from_guardian_private_record (line 26) | def test_import_from_guardian_private_record(self) -> None: method test_set_ceremony_details (line 52) | def test_set_ceremony_details(self) -> None: method test_share_key (line 69) | def test_share_key(self) -> None: method test_save_guardian_key (line 85) | def test_save_guardian_key(self) -> None: method test_all_guardian_keys_received (line 101) | def test_all_guardian_keys_received(self) -> None: method test_share_backups (line 118) | def test_share_backups(self) -> None: method test_save_election_partial_key_backup (line 144) | def test_save_election_partial_key_backup(self) -> None: method test_all_election_partial_key_backups_received (line 162) | def test_all_election_partial_key_backups_received(self) -> None: method test_verify_election_partial_key_backup (line 183) | def test_verify_election_partial_key_backup(self) -> None: method test_verify_election_partial_key_challenge (line 212) | def test_verify_election_partial_key_challenge(self) -> None: method test_publish_election_backup_challenge (line 242) | def test_publish_election_backup_challenge(self) -> None: method test_save_election_partial_key_verification (line 266) | def test_save_election_partial_key_verification(self) -> None: method test_all_election_partial_key_backups_verified (line 292) | def test_all_election_partial_key_backups_verified(self) -> None: method test_publish_joint_key (line 319) | def test_publish_joint_key(self) -> None: FILE: tests/unit/electionguard/test_hmac.py class TestHmac (line 6) | class TestHmac(BaseTestCase): method test_get_hmac (line 9) | def test_get_hmac(self) -> None: FILE: tests/unit/electionguard/test_key_ceremony.py class TestKeyCeremony (line 35) | class TestKeyCeremony(BaseTestCase): method test_generate_election_key_pair (line 38) | def test_generate_election_key_pair(self) -> None: method test_generate_election_partial_key_backup (line 54) | def test_generate_election_partial_key_backup(self) -> None: method test_encrypt_then_verify_coordinate (line 73) | def test_encrypt_then_verify_coordinate(self) -> None: method test_verify_election_partial_key_backup (line 95) | def test_verify_election_partial_key_backup(self) -> None: method test_generate_election_partial_key_challenge (line 122) | def test_generate_election_partial_key_challenge(self) -> None: method test_verify_election_partial_key_challenge (line 148) | def test_verify_election_partial_key_challenge(self) -> None: method test_combine_election_public_keys (line 174) | def test_combine_election_public_keys(self) -> None: FILE: tests/unit/electionguard/test_key_ceremony_mediator.py class TestKeyCeremonyMediator (line 21) | class TestKeyCeremonyMediator(BaseTestCase): method setUp (line 28) | def setUp(self) -> None: method test_reset (line 38) | def test_reset(self) -> None: method test_take_attendance (line 46) | def test_take_attendance(self) -> None: method test_exchange_of_backups (line 71) | def test_exchange_of_backups(self) -> None: method test_partial_key_backup_verification_success (line 117) | def test_partial_key_backup_verification_success(self) -> None: method test_partial_key_backup_verification_failure (line 151) | def test_partial_key_backup_verification_failure(self) -> None: FILE: tests/unit/electionguard/test_logs.py class TestLogs (line 16) | class TestLogs(BaseTestCase): method test_log_methods (line 19) | def test_log_methods(self): method test_log_handlers (line 32) | def test_log_handlers(self): FILE: tests/unit/electionguard/test_manifest.py class TestManifest (line 26) | class TestManifest(BaseTestCase): method _set_selection (line 30) | def _set_selection( method _set_candidate (line 47) | def _set_candidate( method test_get_selection_names_with_valid_selection (line 58) | def test_get_selection_names_with_valid_selection(self) -> None: method test_get_selection_names_with_missing_language (line 71) | def test_get_selection_names_with_missing_language(self) -> None: method test_get_selection_names_with_missing_candidate (line 84) | def test_get_selection_names_with_missing_candidate(self) -> None: method test_get_selection_names_with_write_in (line 97) | def test_get_selection_names_with_write_in(self) -> None: method test_simple_manifest_is_valid (line 110) | def test_simple_manifest_is_valid(self) -> None: method test_simple_manifest_can_serialize (line 120) | def test_simple_manifest_can_serialize(self) -> None: method test_manifest_has_deterministic_hash (line 132) | def test_manifest_has_deterministic_hash(self) -> None: method test_manifest_hash_is_consistent_regardless_of_format (line 141) | def test_manifest_hash_is_consistent_regardless_of_format(self) -> None: method test_manifest_from_file_generates_consistent_internal_description_contest_hashes (line 175) | def test_manifest_from_file_generates_consistent_internal_description_... method test_contest_description_valid_input_succeeds (line 189) | def test_contest_description_valid_input_succeeds(self) -> None: method test_contest_description_invalid_input_fails (line 223) | def test_contest_description_invalid_input_fails(self) -> None: FILE: tests/unit/electionguard/test_scheduler.py function _callable (line 10) | def _callable(data: int): function _exception_callable (line 14) | def _exception_callable(something: int): class TestScheduler (line 18) | class TestScheduler(BaseTestCase): method test_schedule_callable_throws (line 21) | def test_schedule_callable_throws(self): method test_safe_map (line 33) | def test_safe_map(self): FILE: tests/unit/electionguard/test_singleton.py class TestSingleton (line 5) | class TestSingleton(BaseTestCase): method test_singleton (line 8) | def test_singleton(self): method test_singleton_when_not_initialized (line 14) | def test_singleton_when_not_initialized(self): FILE: tests/unit/electionguard/test_utils.py class TestUtils (line 8) | class TestUtils(BaseTestCase): method test_conversion_to_ticks_from_utc (line 11) | def test_conversion_to_ticks_from_utc(self): method test_conversion_to_ticks_from_local (line 18) | def test_conversion_to_ticks_from_local(self): method test_conversion_to_ticks_with_tz (line 25) | def test_conversion_to_ticks_with_tz(self): method test_conversion_to_ticks_produces_valid_epoch (line 46) | def test_conversion_to_ticks_produces_valid_epoch(self): FILE: tests/unit/electionguard_gui/test_decryption_dto.py class TestDecryptionDto (line 9) | class TestDecryptionDto(BaseTestCase): method test_no_spoiled_ballots (line 12) | def test_no_spoiled_ballots(self) -> None: method test_get_status_with_no_guardians (line 22) | def test_get_status_with_no_guardians(self) -> None: method test_get_status_with_all_guardians_joined_but_not_completed (line 37) | def test_get_status_with_all_guardians_joined_but_not_completed(self) ... method test_get_status_with_all_guardians_joined_and_completed (line 49) | def test_get_status_with_all_guardians_joined_and_completed(self) -> N... method test_admins_can_not_join_key_ceremony (line 66) | def test_admins_can_not_join_key_ceremony(self, auth_service: MagicMoc... method test_users_can_join_key_ceremony_if_not_already_joined (line 81) | def test_users_can_join_key_ceremony_if_not_already_joined( method test_users_cant_join_twice (line 98) | def test_users_cant_join_twice(self, auth_service: MagicMock) -> None: FILE: tests/unit/electionguard_gui/test_eel_utils.py class TestEelUtils (line 6) | class TestEelUtils(BaseTestCase): method test_utc_to_str_with_valid_utc_date (line 9) | def test_utc_to_str_with_valid_utc_date(self): method test_utc_to_str_with_empty (line 15) | def test_utc_to_str_with_empty(self): FILE: tests/unit/electionguard_gui/test_election_dto.py class TestElectionDto (line 7) | class TestElectionDto(BaseTestCase): method test_get_status_with_no_guardians (line 10) | def test_get_status_with_no_guardians(self) -> None: method test_sum_two_ballots (line 30) | def test_sum_two_ballots(self) -> None: method test_sum_zero_ballots (line 53) | def test_sum_zero_ballots(self) -> None: FILE: tests/unit/electionguard_gui/test_plaintext_ballot_service.py class TestPlaintextBallotService (line 10) | class TestPlaintextBallotService(BaseTestCase): method test_get_tally_report_with_no_contests (line 13) | def test_get_tally_report_with_no_contests(self) -> None: method test_given_one_contest_with_valid_name_when_get_tally_report_then_name_returned (line 34) | def test_given_one_contest_with_valid_name_when_get_tally_report_then_... method test_given_one_contest_with_invalid_name_when_get_tally_report_then_name_is_na (line 59) | def test_given_one_contest_with_invalid_name_when_get_tally_report_the... method test_given_two_contests_with_duplicate_names_when_get_tally_report_then_both_names_returned (line 85) | def test_given_two_contests_with_duplicate_names_when_get_tally_report... method test_zero_sections (line 119) | def test_zero_sections(self) -> None: method test_one_non_write_in (line 137) | def test_one_non_write_in(self, plaintext_tally_selection: MagicMock) ... method test_duplicate_section_names (line 169) | def test_duplicate_section_names( method test_one_write_in (line 219) | def test_one_write_in(self, plaintext_tally_selection: MagicMock) -> N... method test_zero_write_in (line 241) | def test_zero_write_in(self, plaintext_tally_selection: MagicMock) -> ...