@dra2020/district-analytics 8.2.2 → 8.2.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 +6 -2
- package/dist/cli.js.map +1 -1
- package/dist/district-analytics.js +6 -2
- package/dist/district-analytics.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -282727,9 +282727,13 @@ function scorePlan(s, p, bLog = false, overridesJSON) {
|
|
|
282727
282727
|
// Add minority notes
|
|
282728
282728
|
scorecard.minority.details['majorityMinority'] = M.getMajorityMinority(s);
|
|
282729
282729
|
scorecard.minority.details['vraPreclearance'] = M.getVRASection5(s);
|
|
282730
|
+
// TODO - KIWYSI
|
|
282730
282731
|
// Add KIWYSI compactness score
|
|
282731
|
-
|
|
282732
|
-
|
|
282732
|
+
if (('kiwysi' in s.config) && (s.config['kiwysi'])) {
|
|
282733
|
+
console.log("Scoring KIWYSI compactness ...");
|
|
282734
|
+
const kiwysiScore = C.scoreKIWYSICompactness(s, bLog);
|
|
282735
|
+
scorecard.compactness.details['kiwysi'] = kiwysiScore;
|
|
282736
|
+
}
|
|
282733
282737
|
return scorecard;
|
|
282734
282738
|
}
|
|
282735
282739
|
exports.scorePlan = scorePlan;
|