From 43278098b3a543fadab2a0d501fb8f21948edb98 Mon Sep 17 00:00:00 2001 From: Kavi Gupta Date: Fri, 10 Jan 2025 22:31:50 -0500 Subject: [PATCH] add quizzes up to 499 from the site --- quiz_old/496 | 1 + quiz_old/497 | 1 + quiz_old/498 | 1 + quiz_old/499 | 1 + urbanstats/games/fixed.py | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 quiz_old/496 create mode 100644 quiz_old/497 create mode 100644 quiz_old/498 create mode 100644 quiz_old/499 diff --git a/quiz_old/496 b/quiz_old/496 new file mode 100644 index 000000000..449bbe0e2 --- /dev/null +++ b/quiz_old/496 @@ -0,0 +1 @@ +[{"stat_column": "High windspeed (>10mph) days %", "stat_path": "wind_speed_over_10mph_4", "question": "higher % of days with wind speed over 10mph (population weighted)!TOOLTIP Population weighted weather statistics are calculated by computing the weather statistic for each person in the region and then averaging the results.", "longname_a": "Columbia-Jefferson City MO Media Market, USA", "longname_b": "Boston MA (Manchester NH) Media Market, USA", "stat_a": 0.11727494053271711, "stat_b": 0.24663729359000117}, {"stat_column": "Poverty %", "stat_path": "poverty_below_line", "question": "higher % of people who are in poverty", "longname_a": "IL-08, USA", "longname_b": "FL-14, USA", "stat_a": 0.07582162245633371, "stat_b": 0.14353943206556743}, {"stat_column": "Population", "stat_path": "population", "question": "higher population", "longname_a": "Lagos Urban Center, Nigeria", "longname_b": "Busan Urban Center, South Korea", "stat_a": 11727752.0, "stat_b": 3584023.25}, {"stat_column": "Independent living disability %", "stat_path": "INDEPLIVE_cdc_2", "question": "higher % of adults with an independent living disability", "longname_a": "Green Bay-Appleton WI Media Market, USA", "longname_b": "Memphis TN Media Market, USA", "stat_a": 0.0669765762337545, "stat_b": 0.10755309200115368}, {"stat_column": "Boomer %", "stat_path": "generation_boomer", "question": "higher % of people who are boomers!TOOLTIP born between 1946 and 1966", "longname_a": "GA-11, USA", "longname_b": "NY-04, USA", "stat_a": 0.2047517597171631, "stat_b": 0.23896753840109947}] \ No newline at end of file diff --git a/quiz_old/497 b/quiz_old/497 new file mode 100644 index 000000000..904ddbdf0 --- /dev/null +++ b/quiz_old/497 @@ -0,0 +1 @@ +[{"stat_column": "LICO-AT %", "stat_path": "lico_at_canada", "question": "higher % of people who are low income based on the Low-income cut-offs, after tax (LICO-AT)", "longname_a": "Winnipeg Population Center, MB, Canada", "longname_b": "Oshawa Population Center, ON, Canada", "stat_a": 0.08314832366943353, "stat_b": 0.03264860346372259}, {"stat_column": "Vacancy %", "stat_path": "vacancy", "question": "higher % of units that are vacant", "longname_a": "Ft. Myers-Naples FL Media Market, USA", "longname_b": "Indianapolis IN Media Market, USA", "stat_a": 0.2521288909229441, "stat_b": 0.08377924764577356}, {"stat_column": "PW Density (r=4km)", "stat_path": "ad_4", "question": "higher population-weighted density (r=4km)!TOOLTIP Population-weighted density is computed by computing the density within the given radius for each person in the region and then averaging the results. This is a better measure of the density that people actually experience.", "longname_a": "Israel", "longname_b": "Libya", "stat_a": 4394.73681640625, "stat_b": 1317.276611328125}, {"stat_column": "Within 1mi of a grocery store %", "stat_path": "lapop1share_usda_fra_1", "question": "!FULL Which has more access to grocery stores (higher % of people within 1mi of a grocery store)?!TOOLTIP The USDA defines a grocery store as a 'supermarket, supercenter, or large grocery store.'", "longname_a": "IN-09, USA", "longname_b": "CA-26, USA", "stat_a": 0.39213489723433914, "stat_b": 0.7980581875178376}, {"stat_column": "Private Insurance %", "stat_path": "insurance_coverage_private", "question": "higher % of people who are on private insurance", "longname_a": "NJ-09, USA", "longname_b": "IA-01, USA", "stat_a": 0.644703257496175, "stat_b": 0.7612945661839059}] \ No newline at end of file diff --git a/quiz_old/498 b/quiz_old/498 new file mode 100644 index 000000000..84639d587 --- /dev/null +++ b/quiz_old/498 @@ -0,0 +1 @@ +[{"stat_column": "Population Change (2010-2020)", "stat_path": "population_change_2010", "question": "higher % increase in population from 2010 to 2020", "longname_a": "Rockford [Urban Area], IL, USA", "longname_b": "Kansas City [Urban Area], MO-KS, USA", "stat_a": -0.030871273869496476, "stat_b": 0.10102531962733108}, {"stat_column": "PW Density (r=1km)", "stat_path": "ad_1", "question": "higher population-weighted density (r=1km)!TOOLTIP Population-weighted density is computed by computing the density within the given radius for each person in the region and then averaging the results. This is a better measure of the density that people actually experience.", "longname_a": "Reno NV Media Market, USA", "longname_b": "Peoria-Bloomington IL Media Market, USA", "stat_a": 1246.6394572589898, "stat_b": 843.5906211231538}, {"stat_column": "Cohabiting With Partner (Gay) %", "stat_path": "sors_cohabiting_partnered_gay", "question": "higher % of people who are gay and cohabiting with a partner/spouse", "longname_a": "Baltimore Urban Center, USA", "longname_b": "Omaha Urban Center, USA", "stat_a": 0.008441788512977987, "stat_b": 0.005658867967684461}, {"stat_column": "Firefighting and prevention, and other protective service workers including supervisors %", "stat_path": "occupation_firefighting_and_prevention,_and_other_protective_service_workers_including_supervisors", "question": "higher % of workers employed as firefighting and prevention, and other protective service workers including supervisors!TOOLTIP firefighters, fire inspectors, correctional officers, bailiffs, etc. (effectively, all protective service workers except police officers)", "longname_a": "New Orleans [Urban Area], LA, USA", "longname_b": "Minneapolis-St. Paul [Urban Area], MN, USA", "stat_a": 0.01575566771695675, "stat_b": 0.006864560233694647}, {"stat_column": "Cognitive disability %", "stat_path": "COGNITION_cdc_2", "question": "higher % of adults with a cognitive disability", "longname_a": "Gainesville [Urban Area], GA, USA", "longname_b": "Lubbock [Urban Area], TX, USA", "stat_a": 0.13952745656189716, "stat_b": 0.16774723983770767}] \ No newline at end of file diff --git a/quiz_old/499 b/quiz_old/499 new file mode 100644 index 000000000..56cfe86a3 --- /dev/null +++ b/quiz_old/499 @@ -0,0 +1 @@ +[{"stat_column": "High windspeed (>10mph) days %", "stat_path": "wind_speed_over_10mph_4", "question": "higher % of days with wind speed over 10mph (population weighted)!TOOLTIP Population weighted weather statistics are calculated by computing the weather statistic for each person in the region and then averaging the results.", "longname_a": "Virginia, USA", "longname_b": "Maine, USA", "stat_a": 0.12807179783978562, "stat_b": 0.22930902305773213}, {"stat_column": "Poverty %", "stat_path": "poverty_below_line", "question": "higher % of people who are in poverty", "longname_a": "MO-03, USA", "longname_b": "TX-35, USA", "stat_a": 0.0964302658305701, "stat_b": 0.16929387553658326}, {"stat_column": "PW Density (r=4km)", "stat_path": "ad_4", "question": "higher population-weighted density (r=4km)!TOOLTIP Population-weighted density is computed by computing the density within the given radius for each person in the region and then averaging the results. This is a better measure of the density that people actually experience.", "longname_a": "Khartoum Urban Center, Sudan", "longname_b": "Shenyang Urban Center, China", "stat_a": 7192.3056640625, "stat_b": 19404.8515625}, {"stat_column": "Silent %", "stat_path": "generation_silent", "question": "higher % of people who are silent generation!TOOLTIP born before 1946", "longname_a": "Lorain County, Ohio, USA", "longname_b": "Adams County, Colorado, USA", "stat_a": 0.07415942792887883, "stat_b": 0.03783557660992546}, {"stat_column": "Commute Car %", "stat_path": "transportation_means_car", "question": "higher % of people who commute by car", "longname_a": "DeKalb County, Georgia, USA", "longname_b": "St. Lucie County, Florida, USA", "stat_a": 0.7757273009647586, "stat_b": 0.8987047827842841}] \ No newline at end of file diff --git a/urbanstats/games/fixed.py b/urbanstats/games/fixed.py index 5c6e19382..11ad59656 100644 --- a/urbanstats/games/fixed.py +++ b/urbanstats/games/fixed.py @@ -1,2 +1,2 @@ -juxtastat = 495 +juxtastat = 499 retrostat = 61