@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
package/dist/cli.js
CHANGED
|
@@ -102185,7 +102185,7 @@ Compactness: None
|
|
|
102185
102185
|
Proportionality: 27.67% gap
|
|
102186
102186
|
Cohesiveness: 11 unexpected splits, affecting 27.14% of the total population
|
|
102187
102187
|
|
|
102188
|
-
These counties are split unexpectedly:
|
|
102188
|
+
These counties are split unexpectedly (meaning that they're smaller than a district):
|
|
102189
102189
|
|
|
102190
102190
|
• Bladen
|
|
102191
102191
|
• Buncombe
|
|
@@ -102289,6 +102289,7 @@ function doFindCountiesSplitUnexpectedly(s, bLog = false) {
|
|
|
102289
102289
|
}
|
|
102290
102290
|
countiesSplitUnexpectedly = countiesSplitUnexpectedly.sort();
|
|
102291
102291
|
test['score'] = U.trim(unexpectedAffected);
|
|
102292
|
+
test['details']['nSplits'] = nSplits;
|
|
102292
102293
|
test['details']['unexpectedSplits'] = unexpectedSplits;
|
|
102293
102294
|
test['details']['countiesSplitUnexpectedly'] = countiesSplitUnexpectedly;
|
|
102294
102295
|
return test;
|
|
@@ -103043,6 +103044,7 @@ function doAnalyzePostProcessing(s, bLog = false) {
|
|
|
103043
103044
|
scorecard.traditionalPrinciples.details['census'] = datasets.census;
|
|
103044
103045
|
const simpleSplits = s.getTest(5 /* UnexpectedCountySplits */);
|
|
103045
103046
|
scorecard.traditionalPrinciples.details['unexpectedAffected'] = simpleSplits['score'];
|
|
103047
|
+
scorecard.traditionalPrinciples.details['nSplits'] = simpleSplits['details']['nSplits'];
|
|
103046
103048
|
scorecard.traditionalPrinciples.details['countiesSplitUnexpectedly'] = U.deepCopy(simpleSplits['details']['countiesSplitUnexpectedly']);
|
|
103047
103049
|
// NOTE - Add split precincts in dra-client directly
|
|
103048
103050
|
// Derive secondary tests
|