Skip to content

Commit fd10918

Browse files
Merge pull request #312 from flibbertigibbet/release/2.0.1
Release/2.0.1
2 parents 7eb4c60 + 2e2b64f commit fd10918

File tree

3 files changed

+11
-80
lines changed

3 files changed

+11
-80
lines changed

taui/src/constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const DOWNTOWN_AREAS = [BOSTON_TOWN_AREA]
2828
// Include at least one downtown result in this many of the top results
2929
export const RESULTS_WITH_DOWNTOWN = 6
3030
// Place in the top results for boosted downtown results
31-
export const BOOST_DOWNTOWN_RESULT_PLACE = 6
31+
export const BOOST_DOWNTOWN_RESULT_PLACE = 3
3232

3333
export const BOSTON_SCHOOL_CHOICE_LINK = 'https://discover.bostonpublicschools.org/'
3434
export const CAMBRIDGE_SCHOOL_CHOICE_LINK = 'https://www.cpsd.us/'

taui/src/selectors/neighborhoods-sorted-with-routes.js

-7
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ export default createSelector(
120120
} else {
121121
educationWeight = 0 // Not important
122122
}
123-
// Re-assign education weight for Boston zipcodes evenly to the other two factors
124-
if (includes(DOWNTOWN_AREAS, properties['town_area'])) {
125-
const halfEdPercent = schoolPercent / 2
126-
crimePercent += halfEdPercent
127-
accessibilityPercent += halfEdPercent
128-
schoolPercent = 0
129-
}
130123
let crimeWeight = 0
131124
// Handle missing values (zero in spreadsheet) by re-assigning crime weight
132125
// evenly to the other two factors. Also do so if crime set as unimportant.

taui/yarn.lock

+10-72
Original file line numberDiff line numberDiff line change
@@ -3843,14 +3843,14 @@ debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@~4.1.1:
38433843
dependencies:
38443844
ms "^2.1.1"
38453845

3846-
debug@^3.1.0, debug@^3.2.6:
3846+
debug@^3.1.0:
38473847
version "3.2.6"
38483848
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
38493849
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
38503850
dependencies:
38513851
ms "^2.1.1"
38523852

3853-
debuglog@*, debuglog@^1.0.1:
3853+
debuglog@^1.0.1:
38543854
version "1.0.1"
38553855
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
38563856
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -3995,11 +3995,6 @@ detect-indent@^5.0.0, detect-indent@~5.0.0:
39953995
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
39963996
integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50=
39973997

3998-
detect-libc@^1.0.2:
3999-
version "1.0.3"
4000-
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
4001-
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
4002-
40033998
detect-newline@^2.1.0:
40043999
version "2.1.0"
40054000
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
@@ -5842,7 +5837,7 @@ humanize-ms@^1.2.1:
58425837
dependencies:
58435838
ms "^2.0.0"
58445839

5845-
[email protected], iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
5840+
[email protected], iconv-lite@^0.4.24, iconv-lite@~0.4.13:
58465841
version "0.4.24"
58475842
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
58485843
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -5944,7 +5939,7 @@ import-local@^2.0.0:
59445939
pkg-dir "^3.0.0"
59455940
resolve-cwd "^2.0.0"
59465941

5947-
imurmurhash@*, imurmurhash@^0.1.4:
5942+
imurmurhash@^0.1.4:
59485943
version "0.1.4"
59495944
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
59505945
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -7522,11 +7517,6 @@ lodash-es@^4.0.0:
75227517
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78"
75237518
integrity sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ==
75247519

7525-
lodash._baseindexof@*:
7526-
version "3.1.0"
7527-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
7528-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
7529-
75307520
lodash._baseuniq@~4.6.0:
75317521
version "4.6.0"
75327522
resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8"
@@ -7535,33 +7525,11 @@ lodash._baseuniq@~4.6.0:
75357525
lodash._createset "~4.0.0"
75367526
lodash._root "~3.0.0"
75377527

7538-
lodash._bindcallback@*:
7539-
version "3.0.1"
7540-
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
7541-
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
7542-
7543-
lodash._cacheindexof@*:
7544-
version "3.0.2"
7545-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
7546-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
7547-
7548-
lodash._createcache@*:
7549-
version "3.1.2"
7550-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
7551-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
7552-
dependencies:
7553-
lodash._getnative "^3.0.0"
7554-
75557528
lodash._createset@~4.0.0:
75567529
version "4.0.3"
75577530
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
75587531
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
75597532

7560-
lodash._getnative@*, lodash._getnative@^3.0.0:
7561-
version "3.9.1"
7562-
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
7563-
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
7564-
75657533
lodash._reinterpolate@^3.0.0:
75667534
version "3.0.0"
75677535
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
@@ -7627,11 +7595,6 @@ lodash.merge@^4.6.0:
76277595
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
76287596
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
76297597

7630-
lodash.restparam@*:
7631-
version "3.6.1"
7632-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
7633-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
7634-
76357598
lodash.set@^4.3.2:
76367599
version "4.3.2"
76377600
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
@@ -8394,15 +8357,6 @@ natural-compare@^1.4.0:
83948357
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
83958358
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
83968359

8397-
needle@^2.2.1:
8398-
version "2.3.2"
8399-
resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.2.tgz#3342dea100b7160960a450dc8c22160ac712a528"
8400-
integrity sha512-DUzITvPVDUy6vczKKYTnWc/pBZ0EnjMJnQ3y+Jo5zfKFimJs7S3HFCxCRZYB9FUZcrzUQr3WsmvZgddMEIZv6w==
8401-
dependencies:
8402-
debug "^3.2.6"
8403-
iconv-lite "^0.4.4"
8404-
sax "^1.2.4"
8405-
84068360
neo-async@^2.6.0:
84078361
version "2.6.1"
84088362
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
@@ -8503,22 +8457,6 @@ node-notifier@^5.4.2:
85038457
shellwords "^0.1.1"
85048458
which "^1.3.0"
85058459

8506-
node-pre-gyp@*:
8507-
version "0.14.0"
8508-
resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83"
8509-
integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==
8510-
dependencies:
8511-
detect-libc "^1.0.2"
8512-
mkdirp "^0.5.1"
8513-
needle "^2.2.1"
8514-
nopt "^4.0.1"
8515-
npm-packlist "^1.1.6"
8516-
npmlog "^4.0.2"
8517-
rc "^1.2.7"
8518-
rimraf "^2.6.1"
8519-
semver "^5.3.0"
8520-
tar "^4.4.2"
8521-
85228460
node-releases@^1.1.49:
85238461
version "1.1.50"
85248462
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.50.tgz#803c40d2c45db172d0410e4efec83aa8c6ad0592"
@@ -8667,7 +8605,7 @@ npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1:
86678605
semver "^5.6.0"
86688606
validate-npm-package-name "^3.0.0"
86698607

8670-
npm-packlist@^1.1.12, npm-packlist@^1.1.6, npm-packlist@^1.4.7:
8608+
npm-packlist@^1.1.12, npm-packlist@^1.4.7:
86718609
version "1.4.8"
86728610
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e"
86738611
integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==
@@ -8847,7 +8785,7 @@ npm@^6.10.3:
88478785
worker-farm "^1.7.0"
88488786
write-file-atomic "^2.4.3"
88498787

8850-
"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.0, npmlog@^4.0.2, npmlog@^4.1.2, npmlog@~4.1.2:
8788+
"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.0, npmlog@^4.1.2, npmlog@~4.1.2:
88518789
version "4.1.2"
88528790
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
88538791
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
@@ -10633,7 +10571,7 @@ range-parser@~1.2.1:
1063310571
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
1063410572
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
1063510573

10636-
rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8:
10574+
rc@^1.0.1, rc@^1.1.6, rc@^1.2.8:
1063710575
version "1.2.8"
1063810576
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
1063910577
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
@@ -11485,7 +11423,7 @@ right-pad@^1.0.1:
1148511423
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
1148611424
integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA=
1148711425

11488-
rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
11426+
rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3:
1148911427
version "2.7.1"
1149011428
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
1149111429
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -11668,7 +11606,7 @@ semver-regex@^2.0.0:
1166811606
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338"
1166911607
integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==
1167011608

11671-
"semver@2 || 3 || 4 || 5", "[email protected] || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1:
11609+
"semver@2 || 3 || 4 || 5", "[email protected] || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1:
1167211610
version "5.7.1"
1167311611
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
1167411612
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@@ -12700,7 +12638,7 @@ tar@^2.0.0:
1270012638
fstream "^1.0.12"
1270112639
inherits "2"
1270212640

12703-
tar@^4.4.10, tar@^4.4.12, tar@^4.4.13, tar@^4.4.2:
12641+
tar@^4.4.10, tar@^4.4.12, tar@^4.4.13:
1270412642
version "4.4.13"
1270512643
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
1270612644
integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==

0 commit comments

Comments
 (0)