@dra2020/district-analytics 5.0.2 → 5.0.3
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.
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/district-analytics.js +3 -1
- package/dist/district-analytics.js.map +1 -1
- package/package.json +1 -1
|
@@ -969,7 +969,7 @@ Compactness: None
|
|
|
969
969
|
Proportionality: 27.67% gap
|
|
970
970
|
Cohesiveness: 11 unexpected splits, affecting 27.14% of the total population
|
|
971
971
|
|
|
972
|
-
These counties are split unexpectedly:
|
|
972
|
+
These counties are split unexpectedly (meaning that they're smaller than a district):
|
|
973
973
|
|
|
974
974
|
• Bladen
|
|
975
975
|
• Buncombe
|
|
@@ -1073,6 +1073,7 @@ function doFindCountiesSplitUnexpectedly(s, bLog = false) {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
countiesSplitUnexpectedly = countiesSplitUnexpectedly.sort();
|
|
1075
1075
|
test['score'] = U.trim(unexpectedAffected);
|
|
1076
|
+
test['details']['nSplits'] = nSplits;
|
|
1076
1077
|
test['details']['unexpectedSplits'] = unexpectedSplits;
|
|
1077
1078
|
test['details']['countiesSplitUnexpectedly'] = countiesSplitUnexpectedly;
|
|
1078
1079
|
return test;
|
|
@@ -1851,6 +1852,7 @@ function doAnalyzePostProcessing(s, bLog = false) {
|
|
|
1851
1852
|
scorecard.traditionalPrinciples.details['census'] = datasets.census;
|
|
1852
1853
|
const simpleSplits = s.getTest(5 /* UnexpectedCountySplits */);
|
|
1853
1854
|
scorecard.traditionalPrinciples.details['unexpectedAffected'] = simpleSplits['score'];
|
|
1855
|
+
scorecard.traditionalPrinciples.details['nSplits'] = simpleSplits['details']['nSplits'];
|
|
1854
1856
|
scorecard.traditionalPrinciples.details['countiesSplitUnexpectedly'] = U.deepCopy(simpleSplits['details']['countiesSplitUnexpectedly']);
|
|
1855
1857
|
// NOTE - Add split precincts in dra-client directly
|
|
1856
1858
|
// Derive secondary tests
|