Repository: usds/justice40-tool (language: python)

Issue:
Update isDAC logic to use SN_C to create alignment between BE and FE
@KameronKerger 

This is the new truth table, is this accurate?

![Screen Shot 2022-10-19 at 12 45 03 PM](https://user-images.githubusercontent.com/86254807/196788987-67c94f23-6916-43c3-9442-3e936bb587b1.png)




Discussion / hints:

Fix patch:
diff --git a/client/src/components/AreaDetail/AreaDetail.tsx b/client/src/components/AreaDetail/AreaDetail.tsx
index 464bc106b..4836e4a44 100644
--- a/client/src/components/AreaDetail/AreaDetail.tsx
+++ b/client/src/components/AreaDetail/AreaDetail.tsx
@@ -803,9 +803,8 @@ const AreaDetail = ({properties, hash}: IAreaDetailProps) => {
         {/* YES, NO or PARTIALLY disadvantaged  */}
         <div className={styles.communityOfFocus}>
           <TractPrioritization
-            totalCategoriesPrioritized={properties[constants.COUNT_OF_CATEGORIES_DISADV]}
-            isAdjacencyThreshMet={properties[constants.ADJACENCY_EXCEEDS_THRESH]}
-            isAdjacencyLowIncome={properties[constants.ADJACENCY_LOW_INCOME_EXCEEDS_THRESH]}
+            scoreNCommunities={properties[constants.SCORE_N_COMMUNITIES] === true ?
+              properties[constants.SCORE_N_COMMUNITIES] : false}
             tribalCountAK={properties[constants.TRIBAL_AREAS_COUNT_AK] >= 1 ?
               properties[constants.TRIBAL_AREAS_COUNT_AK] : null}
             tribalCountUS={properties[constants.TRIBAL_AREAS_COUNT_CONUS] >= 1 ?
diff --git a/client/src/components/J40Map.tsx b/client/src/components/J40Map.tsx
index bfa876534..675428f3e 100644
--- a/client/src/components/J40Map.tsx
+++ b/client/src/components/J40Map.tsx
@@ -304,7 +304,7 @@ const J40Map = ({location}: IJ40Interface) => {
   };
 
   const mapBoxBaseLayer = {
-    streetsWithTribal: `mapbox://styles/justice40/cl2qimpi2000014qeb1egpox8`,
+    customColorsWithUpdatedTribal: `mapbox://styles/justice40/cl9g30qh7000p15l9cp1ftw16`,
     streetsWithUpdatedTribal: `mapbox://styles/justice40/cl98rlidr002c14obpsvz6zzs`,
   };
 
@@ -348,7 +348,7 @@ const J40Map = ({location}: IJ40Interface) => {
           // http://visgl.github.io/react-map-gl/docs/api-reference/interactive-map#map-state
           {...viewport}
           mapStyle={process.env.MAPBOX_STYLES_READ_TOKEN ?
-            mapBoxBaseLayer.streetsWithUpdatedTribal : getOSBaseMap()}
+            mapBoxBaseLayer.customColorsWithUpdatedTribal : getOSBaseMap()}
           width="100%"
           // Ajusting this height with a conditional statement will not render the map on staging.
           // The reason for this issue is unknown. Consider styling the parent container via SASS.
diff --git a/client/src/components/TractPrioritization/TractPrioritization.tsx b/client/src/components/TractPrioritization/TractPrioritization.tsx
index 5aab11f54..c959520ed 100644
--- a/client/src/components/TractPrioritization/TractPrioritization.tsx
+++ b/client/src/components/TractPrioritization/TractPrioritization.tsx
@@ -5,9 +5,7 @@ import * as styles from './TractPrioritization.module.scss';
 import * as EXPLORE_COPY from '../../data/copy/explore';
 
 interface ITractPrioritization {
-  totalCategoriesPrioritized: number
-  isAdjacencyThreshMet: boolean,
-  isAdjacencyLowIncome: boolean,
+  scoreNCommunities: boolean,
   tribalCountAK: number | null,
   tribalCountUS: number | null,
   percentTractTribal: number | null,
@@ -16,31 +14,25 @@ interface ITractPrioritization {
 /**
  * This component will return the appropriate designation for the tract's prioritization
  *
- * @param {number} totalCategoriesPrioritized
- * @param {boolean} isAdjacencyThreshMet
- * @param {boolean} isAdjacencyLowIncome
+ * @param {boolean} scoreNCommunities
  * @param {number | null} tribalCountAK
  * @param {number | null} tribalCountUS
  * @param {number | null} percentTractTribal
  * @return {JSX}
  */
 const TractPrioritization = (
-    {totalCategoriesPrioritized,
-      isAdjacencyThreshMet,
-      isAdjacencyLowIncome,
+    {scoreNCommunities,
       tribalCountAK,
       tribalCountUS,
       percentTractTribal}:ITractPrioritization) => {
-  if (totalCategoriesPrioritized === 0) {
-    if (isAdjacencyThreshMet && isAdjacencyLowIncome) {
-      return <h3 className={styles.invert}>{EXPLORE_COPY.COMMUNITY.OF_FOCUS}</h3>;
-    } else if (percentTractTribal === null && tribalCountAK === null && tribalCountUS === null) {
+  if (scoreNCommunities === true) {
+    return <h3 className={styles.invert}>{EXPLORE_COPY.COMMUNITY.OF_FOCUS}</h3>;
+  } else {
+    if (percentTractTribal === null && tribalCountAK === null && tribalCountUS === null) {
       return <h3>{EXPLORE_COPY.COMMUNITY.NOT_OF_FOCUS}</h3>;
     } else {
       return <h3>{EXPLORE_COPY.COMMUNITY.PARTIAL}</h3>;
     }
-  } else {
-    return <h3 className={styles.invert}>{EXPLORE_COPY.COMMUNITY.OF_FOCUS}</h3>;
   }
 };
 
diff --git a/client/src/data/constants.tsx b/client/src/data/constants.tsx
index b4ef875e1..cc6dc79e6 100644
--- a/client/src/data/constants.tsx
+++ b/client/src/data/constants.tsx
@@ -70,6 +70,8 @@ export const SCORE_BOUNDARY_THRESHOLD = 0.6;
 export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = 'TC';
 export const TOTAL_NUMBER_OF_INDICATORS = 'THRHLD';
 export const COUNT_OF_CATEGORIES_DISADV = 'CC';
+export const SCORE_N_COMMUNITIES = 'SN_C';
+export const SCORE_N_TRIBAL = 'SN_T';
 
 export const SIDE_PANEL_STATE = 'UI_EXP';
 export const SIDE_PANEL_STATE_VALUES = {
diff --git a/client/src/data/copy/explore.tsx b/client/src/data/copy/explore.tsx
index 4976142e0..cf8066fdd 100644
--- a/client/src/data/copy/explore.tsx
+++ b/client/src/data/copy/explore.tsx
@@ -640,8 +640,8 @@ export const getPrioFRTCopy = (amount:string, isAlso:boolean = false) => {
   return (
     <FormattedMessage
       id={'explore.map.page.side.panel.prio.copy.prio.frt.n.perc'}
-      defaultMessage={ 'The {amount} of this tract that are Federally-Recognized Tribal lands are {also} considered disadvantaged.'}
-      description={`Navigate to the explore the map page. Click on tract, The {amount} of this tract that are Federally-Recognized Tribal lands are {also} considered disadvantaged.`}
+      defaultMessage={ 'The Federally-Recognized Tribal lands that cover {amount} of this tract are {also} considered disadvantaged.'}
+      description={`Navigate to the explore the map page. Click on tract, The Federally-Recognized Tribal lands that cover [#%] of this tract are considered disadvantaged.`}
       values={{
         amount: amount,
         also: isAlso? 'also' : '',
@@ -686,8 +686,8 @@ export const getPrioPercAndNumPointsAlsoCopy = (amount:string, numPoints:number)
   return (
     <FormattedMessage
       id={'explore.map.page.side.panel.prio.copy.prio.frt.n.perc'}
-      defaultMessage={ 'The {amount} of this tract that are Federally-Recognized Tribal lands and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.'}
-      description={`Navigate to the explore the map page. Click on tract, The {amount} of this tract that are Federally-Recognized Tribal lands and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.`}
+      defaultMessage={ 'The Federally-Recognized Tribal lands that cover {amount} of this tract and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.'}
+      description={`Navigate to the explore the map page. Click on tract, The Federally-Recognized Tribal lands that cover {amount} of this tract and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.`}
       values={{
         amount: amount,
         numPoints: numPoints,
diff --git a/client/src/intl/en.json b/client/src/intl/en.json
index c25cbd7a8..28346f8b8 100644
--- a/client/src/intl/en.json
+++ b/client/src/intl/en.json
@@ -1108,8 +1108,8 @@
     "description": "Navigate to the explore the map page. Click on tract, The side panel will show This tract is considered disadvantaged. It is completely surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold. The adjustment does not apply to any of the categories."
   },
   "explore.map.page.side.panel.prio.copy.prio.frt.n.perc": {
-    "defaultMessage": "The {amount} of this tract that are Federally-Recognized Tribal lands and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.",
-    "description": "Navigate to the explore the map page. Click on tract, The {amount} of this tract that are Federally-Recognized Tribal lands and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged."
+    "defaultMessage": "The Federally-Recognized Tribal lands that cover {amount} of this tract and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged.",
+    "description": "Navigate to the explore the map page. Click on tract, The Federally-Recognized Tribal lands that cover {amount} of this tract and the {numPoints} tribes that are Federally-Recognized are also considered disadvantaged."
   },
   "explore.map.page.side.panel.prio.copy.prio.n.burden": {
     "defaultMessage": "This tract is considered disadvantaged because it meets {burdens} burden threshold AND the associated socio-economic threshold.",


Test patch:
diff --git a/client/src/components/PrioritizationCopy2/PrioritizationCopy2.test.tsx b/client/src/components/PrioritizationCopy2/PrioritizationCopy2.test.tsx
index 6d26e57ee..652e65b9c 100644
--- a/client/src/components/PrioritizationCopy2/PrioritizationCopy2.test.tsx
+++ b/client/src/components/PrioritizationCopy2/PrioritizationCopy2.test.tsx
@@ -14,7 +14,7 @@ describe('rendering of PrioritizationCopy2 Component', () => {
       tribalCountUS: null,
       percentTractTribal: 2,
       // eslint-disable-next-line max-len
-      para1: `The 2% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
+      para1: `The Federally-Recognized Tribal lands that cover 2% of this tract are also considered disadvantaged.`,
     },
     {
       totalCategoriesPrioritized: 0,
@@ -25,7 +25,7 @@ describe('rendering of PrioritizationCopy2 Component', () => {
       tribalCountUS: 3,
       percentTractTribal: 4,
       // eslint-disable-next-line max-len
-      para1: `The 4% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
+      para1: `The Federally-Recognized Tribal lands that cover 4% of this tract are also considered disadvantaged.`,
     },
   ];
 
diff --git a/client/src/components/PrioritizationCopy2/__snapshots__/PrioritizationCopy2.test.tsx.snap b/client/src/components/PrioritizationCopy2/__snapshots__/PrioritizationCopy2.test.tsx.snap
index dc0c0ea92..01c77615c 100644
--- a/client/src/components/PrioritizationCopy2/__snapshots__/PrioritizationCopy2.test.tsx.snap
+++ b/client/src/components/PrioritizationCopy2/__snapshots__/PrioritizationCopy2.test.tsx.snap
@@ -1,17 +1,17 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`rendering of PrioritizationCopy2 Component checks if component renders The 2% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged. when totCats = 0, totBurds = 0, isAdj = true, isAdjLI = true, tribal % = 2, 1`] = `
+exports[`rendering of PrioritizationCopy2 Component checks if component renders The Federally-Recognized Tribal lands that cover 2% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 0, isAdj = true, isAdjLI = true, tribal % = 2, 1`] = `
 <DocumentFragment>
   <div>
-    The 2% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.
+    The Federally-Recognized Tribal lands that cover 2% of this tract are also considered disadvantaged.
   </div>
 </DocumentFragment>
 `;
 
-exports[`rendering of PrioritizationCopy2 Component checks if component renders The 4% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged. when totCats = 0, totBurds = 1, isAdj = true, isAdjLI = true, tribal % = 4, 1`] = `
+exports[`rendering of PrioritizationCopy2 Component checks if component renders The Federally-Recognized Tribal lands that cover 4% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 1, isAdj = true, isAdjLI = true, tribal % = 4, 1`] = `
 <DocumentFragment>
   <div>
-    The 4% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.
+    The Federally-Recognized Tribal lands that cover 4% of this tract are also considered disadvantaged.
   </div>
 </DocumentFragment>
 `;
diff --git a/client/src/components/TractPrioritization/TractPrioritization.test.tsx b/client/src/components/TractPrioritization/TractPrioritization.test.tsx
index d1822cc0d..adfe3c6b3 100644
--- a/client/src/components/TractPrioritization/TractPrioritization.test.tsx
+++ b/client/src/components/TractPrioritization/TractPrioritization.test.tsx
@@ -5,79 +5,29 @@ import TractPrioritization from './TractPrioritization';
 
 describe('rendering of TractPrioritization Component', () => {
   const testCases = [
-    // total categories >= 1 all other are don't care
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: .45, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
-
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: .45, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
-
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: .45, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
-
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: .45, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 1, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
-
-    // Total categories == 0, while Adjacency index = True and Adjacency low income = True
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: null, percentTribal: .13, isDAC: 'YES'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: true, tribalCountAK: 3, percentTribal: .13, isDAC: 'YES'},
-
-    // Total categories == 0, while Adjacency index = True and Adjacency low income = False
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: null, isDAC: 'No'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: null, percentTribal: .13, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 1, percentTribal: null, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: true, AJDLI_ET: false, tribalCountAK: 3, percentTribal: .13, isDAC: 'Partially'},
-
-    // Total categories == 0, while Adjacency index = False and Adjacency low income = True
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: null, isDAC: 'No'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: null, percentTribal: .13, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 1, percentTribal: null, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: true, tribalCountAK: 3, percentTribal: .13, isDAC: 'Partially'},
-
-    // Total categories == 0, while Adjacency index = False
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: null, isDAC: 'No'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: null, percentTribal: .13, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 1, percentTribal: null, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'Partially'},
-    {totCats: 0, ADJ_ET: false, AJDLI_ET: false, tribalCountAK: 3, percentTribal: .13, isDAC: 'Partially'},
-
+    {scoreNComm: true, tribalCountAK: null, percentTribal: null, isDAC: 'YES'},
+    {scoreNComm: true, tribalCountAK: null, percentTribal: 0, isDAC: 'YES'},
+    {scoreNComm: true, tribalCountAK: null, percentTribal: .45, isDAC: 'YES'},
+    {scoreNComm: true, tribalCountAK: 1, percentTribal: null, isDAC: 'YES'},
+    {scoreNComm: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
+    {scoreNComm: true, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
+
+    {scoreNComm: false, tribalCountAK: null, percentTribal: null, isDAC: 'No'},
+    {scoreNComm: false, tribalCountAK: null, percentTribal: 0, isDAC: 'Partially'},
+    {scoreNComm: false, tribalCountAK: null, percentTribal: .13, isDAC: 'Partially'},
+    {scoreNComm: false, tribalCountAK: 1, percentTribal: null, isDAC: 'Partially'},
+    {scoreNComm: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'Partially'},
+    {scoreNComm: false, tribalCountAK: 3, percentTribal: .13, isDAC: 'Partially'},
 
   ];
 
   testCases.forEach((testCase) => {
     // eslint-disable-next-line max-len
-    it(`checks if component renders ${testCase.isDAC} when category count = ${testCase.totCats}, isAdjacency = ${testCase.ADJ_ET}, isAdjLowInc = ${testCase.AJDLI_ET}, tribal points in AK = ${testCase.tribalCountAK} tribal % = ${testCase.percentTribal}`, () => {
+    it(`checks if component renders ${testCase.isDAC} when score N communities = ${testCase.scoreNComm}, tribal points in AK = ${testCase.tribalCountAK} tribal % = ${testCase.percentTribal}`, () => {
       const {asFragment} = render(
           <LocalizedComponent>
             <TractPrioritization
-              totalCategoriesPrioritized={testCase.totCats}
-              isAdjacencyThreshMet={testCase.ADJ_ET}
-              isAdjacencyLowIncome={testCase.AJDLI_ET}
+              scoreNCommunities={testCase.scoreNComm}
               tribalCountAK={testCase.tribalCountAK}
               tribalCountUS={null}
               percentTractTribal={testCase.percentTribal}
diff --git a/client/src/components/TractPrioritization/__snapshots__/TractPrioritization.test.tsx.snap b/client/src/components/TractPrioritization/__snapshots__/TractPrioritization.test.tsx.snap
index 0c73f7d8a..a794b7acc 100644
--- a/client/src/components/TractPrioritization/__snapshots__/TractPrioritization.test.tsx.snap
+++ b/client/src/components/TractPrioritization/__snapshots__/TractPrioritization.test.tsx.snap
@@ -1,6 +1,6 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`rendering of TractPrioritization Component checks if component renders No when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = null 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders No when score N communities = false, tribal points in AK = null tribal % = null 1`] = `
 <DocumentFragment>
   <h3>
     No
@@ -8,79 +8,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders No when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    No
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders No when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    No
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 3 tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 3 tribal % = 0.13 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 1 tribal % = null 1`] = `
 <DocumentFragment>
   <h3>
     Partially
@@ -88,7 +16,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = 0 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 2 tribal % = 0 1`] = `
 <DocumentFragment>
   <h3>
     Partially
@@ -96,7 +24,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = 0.13 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 3 tribal % = 0.13 1`] = `
 <DocumentFragment>
   <h3>
     Partially
@@ -104,7 +32,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 1 tribal % = null 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = null tribal % = 0 1`] = `
 <DocumentFragment>
   <h3>
     Partially
@@ -112,7 +40,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 2 tribal % = 0 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = null tribal % = 0.13 1`] = `
 <DocumentFragment>
   <h3>
     Partially
@@ -120,223 +48,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 3 tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders Partially when category count = 0, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    Partially
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 3 tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = 0.13 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 0, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = 3 tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = false, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = 3 tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = false, isAdjLowInc = true, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 1 tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 2 tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = 3 tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = 0 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = 0.45 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = false, tribal points in AK = null tribal % = null 1`] = `
-<DocumentFragment>
-  <h3>
-    YES
-  </h3>
-</DocumentFragment>
-`;
-
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 1 tribal % = null 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = 1 tribal % = null 1`] = `
 <DocumentFragment>
   <h3>
     YES
@@ -344,7 +56,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 2 tribal % = 0 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = 2 tribal % = 0 1`] = `
 <DocumentFragment>
   <h3>
     YES
@@ -352,7 +64,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = 3 tribal % = 0.45 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = 3 tribal % = 0.45 1`] = `
 <DocumentFragment>
   <h3>
     YES
@@ -360,7 +72,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = 0 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = null tribal % = 0 1`] = `
 <DocumentFragment>
   <h3>
     YES
@@ -368,7 +80,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = 0.45 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = null tribal % = 0.45 1`] = `
 <DocumentFragment>
   <h3>
     YES
@@ -376,7 +88,7 @@ exports[`rendering of TractPrioritization Component checks if component renders
 </DocumentFragment>
 `;
 
-exports[`rendering of TractPrioritization Component checks if component renders YES when category count = 1, isAdjacency = true, isAdjLowInc = true, tribal points in AK = null tribal % = null 1`] = `
+exports[`rendering of TractPrioritization Component checks if component renders YES when score N communities = true, tribal points in AK = null tribal % = null 1`] = `
 <DocumentFragment>
   <h3>
     YES