Merge branch 'issue-2119-90th-percentile-bug' of https://github.com/usds/justice40-tool into issue-2119-90th-percentile-bug

This commit is contained in:
Travis Newby 2023-02-28 14:49:22 -06:00
commit 155f479ce9
15 changed files with 3404 additions and 2447 deletions

View file

@ -16781,11 +16781,11 @@
} }
}, },
"react-device-detect": { "react-device-detect": {
"version": "1.17.0", "version": "2.2.2",
"resolved": "https://registry.npmjs.org/react-device-detect/-/react-device-detect-1.17.0.tgz", "resolved": "https://registry.npmjs.org/react-device-detect/-/react-device-detect-2.2.2.tgz",
"integrity": "sha512-bBblIStwpHmoS281JFIVqeimcN3LhpoP5YKDWzxQdBIUP8S2xPvHDgizLDhUq2ScguLfVPmwfF5y268EEQR60w==", "integrity": "sha512-zSN1gIAztUekp5qUT/ybHwQ9fmOqVT1psxpSlTn1pe0CO+fnJHKRLOWWac5nKxOxvOpD/w84hk1I+EydrJp7SA==",
"requires": { "requires": {
"ua-parser-js": "^0.7.24" "ua-parser-js": "^1.0.2"
} }
}, },
"react-dom": { "react-dom": {
@ -20128,9 +20128,9 @@
"dev": true "dev": true
}, },
"ua-parser-js": { "ua-parser-js": {
"version": "0.7.31", "version": "1.0.33",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.33.tgz",
"integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==" "integrity": "sha512-RqshF7TPTE0XLYAqmjlu5cLLuGdKrNu9O1KLA/qp39QtbZwuzwv1dT46DZSopoUMsYgXpB3Cv8a03FI8b74oFQ=="
}, },
"umd": { "umd": {
"version": "3.0.3", "version": "3.0.3",

View file

@ -88,7 +88,7 @@
"maplibre-gl": "^1.14.0", "maplibre-gl": "^1.14.0",
"query-string": "^7.1.3", "query-string": "^7.1.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-device-detect": "^1.17.0", "react-device-detect": "^2.2.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"react-intl": "^5.24.7", "react-intl": "^5.24.7",

View file

@ -18,8 +18,7 @@
"from data_pipeline.score import field_names\n", "from data_pipeline.score import field_names\n",
"from data_pipeline.comparison_tool.src import utils\n", "from data_pipeline.comparison_tool.src import utils\n",
"\n", "\n",
"pd.options.display.float_format = \"{:,.3f}\".format\n", "pd.options.display.float_format = \"{:,.3f}\".format"
"%load_ext lab_black"
] ]
}, },
{ {
@ -433,7 +432,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.10" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -8,9 +8,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"import pandas as pd\n", "import pandas as pd\n",
"import numpy as np\n", "import numpy as np"
"\n",
"%load_ext lab_black"
] ]
}, },
{ {
@ -792,7 +790,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.10" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -9,9 +9,7 @@
"source": [ "source": [
"import pandas as pd\n", "import pandas as pd\n",
"import numpy as np\n", "import numpy as np\n",
"import pathlib\n", "import pathlib"
"\n",
"%load_ext lab_black"
] ]
}, },
{ {
@ -1230,7 +1228,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.10" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -14,9 +14,7 @@
"from pathlib import Path\n", "from pathlib import Path\n",
"import matplotlib.pyplot as plt\n", "import matplotlib.pyplot as plt\n",
"\n", "\n",
"sys.path.append(\"../../data_pipeline/\")\n", "sys.path.append(\"../../data_pipeline/\")"
"\n",
"%load_ext lab_black"
] ]
}, },
{ {
@ -998,7 +996,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.10" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -39,16 +39,6 @@
"import geopandas as gpd" "import geopandas as gpd"
] ]
}, },
{
"cell_type": "code",
"execution_count": 3,
"id": "039d244f-6c97-4b1b-af04-6f879cd2cd86",
"metadata": {},
"outputs": [],
"source": [
"%load_ext lab_black"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 4,
@ -169,7 +159,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.4" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -7,7 +7,6 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"# %load_ext lab_black\n",
"import json\n", "import json\n",
"import pandas as pd\n", "import pandas as pd\n",
"import geopandas as gpd" "import geopandas as gpd"
@ -332,7 +331,7 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "Python 3.8.10 ('data-pipeline-WziHKidv-py3.8')", "display_name": "Python 3 (ipykernel)",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@ -346,7 +345,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.8.10" "version": "3.10.9"
}, },
"vscode": { "vscode": {
"interpreter": { "interpreter": {

View file

@ -24,18 +24,6 @@
")" ")"
] ]
}, },
{
"cell_type": "code",
"execution_count": 2,
"id": "f36fe7ef-2717-48be-ae94-a3f0aa33acc1",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"%load_ext lab_black"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
@ -710,7 +698,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.4" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -24,18 +24,6 @@
"from data_pipeline.utils import unzip_file_from_url" "from data_pipeline.utils import unzip_file_from_url"
] ]
}, },
{
"cell_type": "code",
"execution_count": 2,
"id": "f36fe7ef-2717-48be-ae94-a3f0aa33acc1",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"%load_ext lab_black"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "dbecd665-1c8a-40fe-a7fc-684ecf73f991", "id": "dbecd665-1c8a-40fe-a7fc-684ecf73f991",
@ -2436,7 +2424,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.6" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -41,16 +41,6 @@
"from data_pipeline.etl.sources.us_army_fuds.etl import USArmyFUDS" "from data_pipeline.etl.sources.us_army_fuds.etl import USArmyFUDS"
] ]
}, },
{
"cell_type": "code",
"execution_count": 3,
"id": "598dfe82-04b9-4e9c-a74b-a18c9db6688c",
"metadata": {},
"outputs": [],
"source": [
"%load_ext lab_black"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "53b68b92-e575-4404-b79d-7dceb302f588", "id": "53b68b92-e575-4404-b79d-7dceb302f588",
@ -1490,7 +1480,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.4" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -7,7 +7,6 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"# %load_ext lab_black\n",
"import json\n", "import json\n",
"import pandas as pd\n", "import pandas as pd\n",
"import geopandas as gpd\n", "import geopandas as gpd\n",
@ -499,7 +498,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.13" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

View file

@ -43,7 +43,6 @@
"\n", "\n",
"from data_pipeline.score import field_names\n", "from data_pipeline.score import field_names\n",
"\n", "\n",
"%load_ext lab_black\n",
"# Turn on TQDM for pandas so that we can have progress bars when running `apply`.\n", "# Turn on TQDM for pandas so that we can have progress bars when running `apply`.\n",
"tqdm_notebook.pandas()" "tqdm_notebook.pandas()"
] ]
@ -4203,7 +4202,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.10" "version": "3.10.9"
} }
}, },
"nbformat": 4, "nbformat": 4,

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,7 @@ packages = [
[tool.poetry.dependencies] [tool.poetry.dependencies]
CensusData = "^1.13" CensusData = "^1.13"
certifi = "^2022.12.07" # explicit callout due to https://pyup.io/v/52365/f17/
click = "8.0.4" # pinning for now per https://github.com/psf/black/issues/2964 click = "8.0.4" # pinning for now per https://github.com/psf/black/issues/2964
dynaconf = "^3.1.4" dynaconf = "^3.1.4"
geopandas = "^0.11.0" geopandas = "^0.11.0"
@ -30,7 +31,7 @@ matplotlib = "^3.4.2"
numpy = "^1.22.1" numpy = "^1.22.1"
pandas = "^1.2.5" pandas = "^1.2.5"
pylint = "^2.11.1" pylint = "^2.11.1"
pillow = "9.0.1" pillow = "9.3.0"
python = "^3.8" python = "^3.8"
pypandoc = "^1.6.3" pypandoc = "^1.6.3"
PyYAML = "^6.0" PyYAML = "^6.0"
@ -56,7 +57,6 @@ pytest-mock = "^3.6.1"
tox-poetry = "^0.4.1" tox-poetry = "^0.4.1"
pandas-vet = "^0.2.2" pandas-vet = "^0.2.2"
pytest-snapshot = "^0.8.1" pytest-snapshot = "^0.8.1"
nb-black = "^1.0.7"
seaborn = "^0.11.2" seaborn = "^0.11.2"
papermill = "^2.3.4" papermill = "^2.3.4"
jupyterlab = "3.4.4" jupyterlab = "3.4.4"