civics-cdf-validator 1.69.dev4__tar.gz → 1.69.dev6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {civics_cdf_validator-1.69.dev4/civics_cdf_validator.egg-info → civics_cdf_validator-1.69.dev6}/PKG-INFO +1 -1
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6/civics_cdf_validator.egg-info}/PKG-INFO +1 -1
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/common_rules.py +6 -6
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_results_rules.py +31 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_rules.py +69 -48
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/version.py +1 -1
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/CONTRIBUTING.md +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/LICENSE-2.0.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/MANIFEST.in +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/README.md +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/__init__.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/base.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/civics_cdf_validator.egg-info/SOURCES.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/civics_cdf_validator.egg-info/dependency_links.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/civics_cdf_validator.egg-info/entry_points.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/civics_cdf_validator.egg-info/requires.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/civics_cdf_validator.egg-info/top_level.txt +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/gpunit_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/loggers.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/office_utils.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/__init__.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/committee_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_dates_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/metadata_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/officeholder_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/rule_util.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/voter_information_rules.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/setup.cfg +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/setup.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/stats.py +0 -0
- {civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/validator.py +0 -0
|
@@ -705,14 +705,14 @@ class BadCharactersInPersonFullName(base.BaseRule):
|
|
|
705
705
|
)
|
|
706
706
|
|
|
707
707
|
|
|
708
|
-
class IndependentPartyName(base.
|
|
708
|
+
class IndependentPartyName(base.SchemaRule):
|
|
709
709
|
"""Warns on parties that contain common names indicating they are an independent party.
|
|
710
710
|
|
|
711
711
|
These should instead supply the IsIndependent attribute.
|
|
712
712
|
"""
|
|
713
713
|
|
|
714
|
-
def elements(self):
|
|
715
|
-
return ["Party"]
|
|
714
|
+
def elements(self) -> list[str]:
|
|
715
|
+
return ["Party"] + list(self.get_all_subtypes("Party"))
|
|
716
716
|
|
|
717
717
|
def check(self, party: etree._Element) -> None:
|
|
718
718
|
is_independent_element = party.find("IsIndependent")
|
|
@@ -1786,11 +1786,11 @@ class MultipleInternationalizedTextWithSameLanguageCode(base.BaseRule):
|
|
|
1786
1786
|
)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
-
class DeprecatedPartyLeadershipSchema(base.
|
|
1789
|
+
class DeprecatedPartyLeadershipSchema(base.SchemaRule):
|
|
1790
1790
|
"""Errors if the deprecated party leadership schema is used."""
|
|
1791
1791
|
|
|
1792
|
-
def elements(self):
|
|
1793
|
-
return ["Party"]
|
|
1792
|
+
def elements(self) -> list[str]:
|
|
1793
|
+
return ["Party"] + list(self.get_all_subtypes("Party"))
|
|
1794
1794
|
|
|
1795
1795
|
def check(self, element: etree._Element) -> None:
|
|
1796
1796
|
if len(rule_util.get_external_id_values(element, "party-leader-id")) or len(
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_results_rules.py
RENAMED
|
@@ -23,6 +23,8 @@ _REQUIRED_CONTEST_RESULTS_FIELDS = (
|
|
|
23
23
|
"ResultsReportingStageCollection",
|
|
24
24
|
)
|
|
25
25
|
|
|
26
|
+
_SUB_UNITS_FIELD_NAMES = ("SubUnitsReported", "TotalSubUnits")
|
|
27
|
+
|
|
26
28
|
|
|
27
29
|
class RequiredContestResultsFieldsSet(base.SchemaRule):
|
|
28
30
|
"""Checks that every Contest sets its results reporting stage fields.
|
|
@@ -69,9 +71,38 @@ class DataSourcesRequired(base.BaseRule):
|
|
|
69
71
|
)
|
|
70
72
|
|
|
71
73
|
|
|
74
|
+
class ValidatePercentReporting(base.SchemaRule):
|
|
75
|
+
"""Checks that every Contest sets the fields used for its percent reporting.
|
|
76
|
+
|
|
77
|
+
Election results feeds must set either EstimatedExpectedVotePercentage or
|
|
78
|
+
both SubUnitsReported and TotalSubUnits on every Contest.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
def elements(self) -> list[str]:
|
|
82
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
83
|
+
|
|
84
|
+
def check(self, element: etree._Element) -> None:
|
|
85
|
+
if element.find("EstimatedExpectedVotePercentage") is not None:
|
|
86
|
+
return
|
|
87
|
+
missing_sub_units_fields = [
|
|
88
|
+
field for field in _SUB_UNITS_FIELD_NAMES if element.find(field) is None
|
|
89
|
+
]
|
|
90
|
+
if missing_sub_units_fields:
|
|
91
|
+
raise loggers.ElectionError.from_message(
|
|
92
|
+
f"Contest {element.get('objectId')} is missing field(s)"
|
|
93
|
+
" EstimatedExpectedVotePercentage,"
|
|
94
|
+
f" {', '.join(missing_sub_units_fields)}."
|
|
95
|
+
" Election results feeds must set either"
|
|
96
|
+
" EstimatedExpectedVotePercentage or both SubUnitsReported and"
|
|
97
|
+
" TotalSubUnits on every Contest.",
|
|
98
|
+
[element],
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
|
|
72
102
|
ELECTION_RESULTS_RULES = election_rules.ELECTION_RULES + (
|
|
73
103
|
# go/keep-sorted start
|
|
74
104
|
DataSourcesRequired,
|
|
75
105
|
RequiredContestResultsFieldsSet,
|
|
106
|
+
ValidatePercentReporting,
|
|
76
107
|
# go/keep-sorted end
|
|
77
108
|
)
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_rules.py
RENAMED
|
@@ -59,11 +59,24 @@ def _get_type_or_other_type(element: etree._Element) -> str:
|
|
|
59
59
|
return other_type_text if type_text == "other" else type_text
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
class PercentSum(base.
|
|
63
|
-
"""Check that Contest elements have percents summing to 0 or 100.
|
|
62
|
+
class PercentSum(base.SchemaRule):
|
|
63
|
+
"""Check that Contest elements have percents summing to 0 or 100.
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
Sums the total-percent VoteCounts of every BallotSelection and of the
|
|
66
|
+
Contest's AggregateBallotSelection, BlankBallotSelection,
|
|
67
|
+
NoneOfTheAboveBallotSelection and NullBallotSelection.
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
_BALLOT_SELECTION_TAGS = (
|
|
71
|
+
"BallotSelection",
|
|
72
|
+
"AggregateBallotSelection",
|
|
73
|
+
"BlankBallotSelection",
|
|
74
|
+
"NoneOfTheAboveBallotSelection",
|
|
75
|
+
"NullBallotSelection",
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
def elements(self) -> list[str]:
|
|
79
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
67
80
|
|
|
68
81
|
@staticmethod
|
|
69
82
|
def fuzzy_equals(a: float, b: float, epsilon: float = 1e-6) -> bool:
|
|
@@ -71,9 +84,9 @@ class PercentSum(base.BaseRule):
|
|
|
71
84
|
|
|
72
85
|
def check(self, element: etree._Element) -> None:
|
|
73
86
|
sum_percents = 0.0
|
|
74
|
-
for
|
|
75
|
-
for vote_counts in
|
|
76
|
-
"VoteCounts"
|
|
87
|
+
for ballot_selection_tag in self._BALLOT_SELECTION_TAGS:
|
|
88
|
+
for vote_counts in element.findall(
|
|
89
|
+
f"{ballot_selection_tag}/VoteCountsCollection/VoteCounts"
|
|
77
90
|
):
|
|
78
91
|
other_type = vote_counts.find("OtherType")
|
|
79
92
|
if other_type is not None and other_type.text == "total-percent":
|
|
@@ -691,7 +704,7 @@ class ContestHasMultipleOffices(base.BaseRule):
|
|
|
691
704
|
)
|
|
692
705
|
|
|
693
706
|
|
|
694
|
-
class VoteCountTypesCoherency(base.
|
|
707
|
+
class VoteCountTypesCoherency(base.SchemaRule):
|
|
695
708
|
"""Ensure VoteCount types describe the appropriate votable."""
|
|
696
709
|
|
|
697
710
|
PARTY_VC_TYPES = {
|
|
@@ -707,27 +720,29 @@ class VoteCountTypesCoherency(base.BaseRule):
|
|
|
707
720
|
# Ibid.
|
|
708
721
|
CAND_VC_TYPES = {"candidate-votes"}
|
|
709
722
|
|
|
710
|
-
def elements(self):
|
|
711
|
-
return ["Contest"]
|
|
723
|
+
def elements(self) -> list[str]:
|
|
724
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
712
725
|
|
|
713
726
|
def check(self, element: etree._Element) -> None:
|
|
714
727
|
invalid_vc_types = None
|
|
715
728
|
contest_type = ""
|
|
716
|
-
|
|
729
|
+
element_class = self.get_element_class(element)
|
|
730
|
+
if element_class == "CandidateContest":
|
|
717
731
|
invalid_vc_types = self.PARTY_VC_TYPES
|
|
718
732
|
contest_type = "Candidate"
|
|
719
|
-
elif
|
|
733
|
+
elif element_class == "PartyContest":
|
|
720
734
|
invalid_vc_types = self.CAND_VC_TYPES
|
|
721
735
|
contest_type = "Party"
|
|
722
736
|
if invalid_vc_types:
|
|
723
737
|
errors = []
|
|
724
|
-
for
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
738
|
+
for other_type in element.findall(
|
|
739
|
+
"BallotSelection/VoteCountsCollection/VoteCounts/OtherType"
|
|
740
|
+
):
|
|
741
|
+
if not rule_util.element_has_text(other_type):
|
|
742
|
+
continue
|
|
743
|
+
vc_type = other_type.text.strip()
|
|
744
|
+
if vc_type in invalid_vc_types:
|
|
745
|
+
errors.append(vc_type)
|
|
731
746
|
if errors:
|
|
732
747
|
msg = (
|
|
733
748
|
f"VoteCount types {', '.join(errors)} should not be nested in"
|
|
@@ -740,8 +755,10 @@ class VoteCountValidSeatsDeltaTypes(base.SchemaRule):
|
|
|
740
755
|
"""Ensure VoteCount seats delta types are valid."""
|
|
741
756
|
|
|
742
757
|
def elements(self) -> list[str]:
|
|
743
|
-
return
|
|
744
|
-
|
|
758
|
+
return (
|
|
759
|
+
["BallotSelection"]
|
|
760
|
+
+ list(self.get_all_subtypes("BallotSelection"))
|
|
761
|
+
+ list(self.get_element_names_for_type("SpecialBallotSelection"))
|
|
745
762
|
)
|
|
746
763
|
|
|
747
764
|
def check(self, element: etree._Element) -> None:
|
|
@@ -786,11 +803,11 @@ class OfficeHasjurisdictionSameAsElectoralDistrict(base.BaseRule):
|
|
|
786
803
|
)
|
|
787
804
|
|
|
788
805
|
|
|
789
|
-
class ContestHasValidContestStage(base.
|
|
806
|
+
class ContestHasValidContestStage(base.SchemaRule):
|
|
790
807
|
"""Each Contest must have a valid contest-stage."""
|
|
791
808
|
|
|
792
|
-
def elements(self):
|
|
793
|
-
return ["
|
|
809
|
+
def elements(self) -> list[str]:
|
|
810
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
794
811
|
|
|
795
812
|
def check(self, element: etree._Element) -> None:
|
|
796
813
|
contest_stage_values = [
|
|
@@ -1171,13 +1188,15 @@ class FullTextMaxLength(base.BaseRule):
|
|
|
1171
1188
|
raise loggers.ElectionWarning.from_message(msg, [element])
|
|
1172
1189
|
|
|
1173
1190
|
|
|
1174
|
-
class FullTextOrBallotText(base.
|
|
1191
|
+
class FullTextOrBallotText(base.SchemaRule):
|
|
1175
1192
|
"""Warn if BallotText is missing and FullText is short."""
|
|
1176
1193
|
|
|
1177
1194
|
SUGGESTION_CUTOFF_LENGTH = 2500 # about 3 paragraphs, 250-300 words
|
|
1178
1195
|
|
|
1179
|
-
def elements(self):
|
|
1180
|
-
return ["BallotMeasureContest"]
|
|
1196
|
+
def elements(self) -> list[str]:
|
|
1197
|
+
return ["BallotMeasureContest"] + list(
|
|
1198
|
+
self.get_all_subtypes("BallotMeasureContest")
|
|
1199
|
+
)
|
|
1181
1200
|
|
|
1182
1201
|
def check(self, element: etree._Element) -> None:
|
|
1183
1202
|
full_text_map = rule_util.get_language_to_text_map(element.find("FullText"))
|
|
@@ -1607,15 +1626,15 @@ class ComposingContestIdsAreValidRelatedContests(base.BaseRule):
|
|
|
1607
1626
|
raise loggers.ElectionError(error_log)
|
|
1608
1627
|
|
|
1609
1628
|
|
|
1610
|
-
class ContestContainsValidStartDate(base.DateRule):
|
|
1629
|
+
class ContestContainsValidStartDate(base.DateRule, base.SchemaRule):
|
|
1611
1630
|
"""Contest elements should contain valid start dates.
|
|
1612
1631
|
|
|
1613
1632
|
A warning will be raised for start dates in the past. These dates are still
|
|
1614
1633
|
valid because the validator could be run during an ongoing election.
|
|
1615
1634
|
"""
|
|
1616
1635
|
|
|
1617
|
-
def elements(self):
|
|
1618
|
-
return ["Contest"]
|
|
1636
|
+
def elements(self) -> list[str]:
|
|
1637
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1619
1638
|
|
|
1620
1639
|
def check(self, element: etree._Element) -> None:
|
|
1621
1640
|
self.reset_instance_vars()
|
|
@@ -1628,15 +1647,15 @@ class ContestContainsValidStartDate(base.DateRule):
|
|
|
1628
1647
|
raise loggers.ElectionWarning(self.error_log)
|
|
1629
1648
|
|
|
1630
1649
|
|
|
1631
|
-
class ContestContainsValidEndDate(base.DateRule):
|
|
1650
|
+
class ContestContainsValidEndDate(base.DateRule, base.SchemaRule):
|
|
1632
1651
|
"""Contest elements should contain valid end dates.
|
|
1633
1652
|
|
|
1634
1653
|
A warning will be raised for end dates in the past. These dates are still
|
|
1635
1654
|
valid because the validator could be run during an ongoing election.
|
|
1636
1655
|
"""
|
|
1637
1656
|
|
|
1638
|
-
def elements(self):
|
|
1639
|
-
return ["Contest"]
|
|
1657
|
+
def elements(self) -> list[str]:
|
|
1658
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1640
1659
|
|
|
1641
1660
|
def check(self, element: etree._Element) -> None:
|
|
1642
1661
|
self.reset_instance_vars()
|
|
@@ -1649,11 +1668,11 @@ class ContestContainsValidEndDate(base.DateRule):
|
|
|
1649
1668
|
raise loggers.ElectionWarning(self.error_log)
|
|
1650
1669
|
|
|
1651
1670
|
|
|
1652
|
-
class ContestEndDateOccursAfterStartDate(base.DateRule):
|
|
1671
|
+
class ContestEndDateOccursAfterStartDate(base.DateRule, base.SchemaRule):
|
|
1653
1672
|
"""Contest elements should have end dates that occur after the start dates."""
|
|
1654
1673
|
|
|
1655
|
-
def elements(self):
|
|
1656
|
-
return ["Contest"]
|
|
1674
|
+
def elements(self) -> list[str]:
|
|
1675
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1657
1676
|
|
|
1658
1677
|
def check(self, element: etree._Element) -> None:
|
|
1659
1678
|
self.reset_instance_vars()
|
|
@@ -1717,15 +1736,17 @@ class ContestEndDateOccursBeforeSubsequentContestStartDate(base.DateRule):
|
|
|
1717
1736
|
raise loggers.ElectionError(self.error_log)
|
|
1718
1737
|
|
|
1719
1738
|
|
|
1720
|
-
class ContestStartDateContainsCorrespondingEndDate(
|
|
1739
|
+
class ContestStartDateContainsCorrespondingEndDate(
|
|
1740
|
+
base.DateRule, base.SchemaRule
|
|
1741
|
+
):
|
|
1721
1742
|
"""Contest start dates must always have corresponding end dates.
|
|
1722
1743
|
|
|
1723
1744
|
A Contest can either have both StartDate and EndDate populated or neither at
|
|
1724
1745
|
all.
|
|
1725
1746
|
"""
|
|
1726
1747
|
|
|
1727
|
-
def elements(self):
|
|
1728
|
-
return ["Contest"]
|
|
1748
|
+
def elements(self) -> list[str]:
|
|
1749
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1729
1750
|
|
|
1730
1751
|
def check(self, element: etree._Element) -> None:
|
|
1731
1752
|
self.reset_instance_vars()
|
|
@@ -1746,11 +1767,11 @@ class ContestStartDateContainsCorrespondingEndDate(base.DateRule):
|
|
|
1746
1767
|
)
|
|
1747
1768
|
|
|
1748
1769
|
|
|
1749
|
-
class ValidatePollsCloseDatetimes(base.
|
|
1770
|
+
class ValidatePollsCloseDatetimes(base.SchemaRule):
|
|
1750
1771
|
"""Checks that LatestPollsClose is not before EarliestPollsClose."""
|
|
1751
1772
|
|
|
1752
|
-
def elements(self):
|
|
1753
|
-
return ["Contest"]
|
|
1773
|
+
def elements(self) -> list[str]:
|
|
1774
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1754
1775
|
|
|
1755
1776
|
def check(self, element: etree._Element) -> None:
|
|
1756
1777
|
earliest_polls_close_element = element.find("EarliestPollsClose")
|
|
@@ -1787,15 +1808,15 @@ class ValidatePollsCloseDatetimes(base.BaseRule):
|
|
|
1787
1808
|
)
|
|
1788
1809
|
|
|
1789
1810
|
|
|
1790
|
-
class ValidateResultsExpected(base.
|
|
1811
|
+
class ValidateResultsExpected(base.SchemaRule):
|
|
1791
1812
|
"""Checks that ResultsExpected is not before the first ResultsReportingStage.
|
|
1792
1813
|
|
|
1793
1814
|
The ResultsExpected datetime must not be before the ExpectedStartDateTime
|
|
1794
1815
|
of the earliest ResultsReportingStage excluding the no-results stage.
|
|
1795
1816
|
"""
|
|
1796
1817
|
|
|
1797
|
-
def elements(self):
|
|
1798
|
-
return ["Contest"]
|
|
1818
|
+
def elements(self) -> list[str]:
|
|
1819
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1799
1820
|
|
|
1800
1821
|
def check(self, element: etree._Element) -> None:
|
|
1801
1822
|
results_expected_element = element.find("ResultsExpected")
|
|
@@ -1854,11 +1875,11 @@ class ValidateResultsExpected(base.BaseRule):
|
|
|
1854
1875
|
)
|
|
1855
1876
|
|
|
1856
1877
|
|
|
1857
|
-
class ValidateResultsEmbargoEnd(base.
|
|
1878
|
+
class ValidateResultsEmbargoEnd(base.SchemaRule):
|
|
1858
1879
|
"""Checks that ResultsEmbargoEnd is not after the official ResultsReportingStage start."""
|
|
1859
1880
|
|
|
1860
|
-
def elements(self):
|
|
1861
|
-
return ["Contest"]
|
|
1881
|
+
def elements(self) -> list[str]:
|
|
1882
|
+
return ["Contest"] + list(self.get_all_subtypes("Contest"))
|
|
1862
1883
|
|
|
1863
1884
|
def check(self, element: etree._Element) -> None:
|
|
1864
1885
|
results_embargo_end_element = element.find("ResultsEmbargoEnd")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/committee_rules.py
RENAMED
|
File without changes
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/election_dates_rules.py
RENAMED
|
File without changes
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/metadata_rules.py
RENAMED
|
File without changes
|
{civics_cdf_validator-1.69.dev4 → civics_cdf_validator-1.69.dev6}/rulesets/officeholder_rules.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|