@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
|
@@ -1981,9 +1981,13 @@ function scorePlan(s, p, bLog = false, overridesJSON) {
|
|
|
1981
1981
|
// Add minority notes
|
|
1982
1982
|
scorecard.minority.details['majorityMinority'] = M.getMajorityMinority(s);
|
|
1983
1983
|
scorecard.minority.details['vraPreclearance'] = M.getVRASection5(s);
|
|
1984
|
+
// TODO - KIWYSI
|
|
1984
1985
|
// Add KIWYSI compactness score
|
|
1985
|
-
|
|
1986
|
-
|
|
1986
|
+
if (('kiwysi' in s.config) && (s.config['kiwysi'])) {
|
|
1987
|
+
console.log("Scoring KIWYSI compactness ...");
|
|
1988
|
+
const kiwysiScore = C.scoreKIWYSICompactness(s, bLog);
|
|
1989
|
+
scorecard.compactness.details['kiwysi'] = kiwysiScore;
|
|
1990
|
+
}
|
|
1987
1991
|
return scorecard;
|
|
1988
1992
|
}
|
|
1989
1993
|
exports.scorePlan = scorePlan;
|