{"id":4135,"date":"2020-11-26T08:35:21","date_gmt":"2020-11-26T13:35:21","guid":{"rendered":"https:\/\/portfolios.cs.earlham.edu\/?p=4135"},"modified":"2025-04-15T15:45:31","modified_gmt":"2025-04-15T19:45:31","slug":"senior-capstone-looking-back","status":"publish","type":"post","link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/","title":{"rendered":"Senior Capstone, Looking Back"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Abstract<\/h2>\n\n\n\n<p>An ever-present problem in the world of politics and governance in the United States is that of unfairly political congressional redistricting, often referred to as gerrymandering. One method for removing gerrymandering that has been proposed is that of using software to create nonpartisan, unbiased congressional district maps, and there have been some researchers who have done work along these very same lines. This project seeks to be a tool with which one can create congressional maps while adjusting the weights of various factors that it takes into account, and further evaluate these maps using the Monte Carlo method to simulate thousands of elections to see how &#8216;fair&#8217; the maps are.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Software Architecture Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"871\" height=\"428\" src=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png\" alt=\"\" class=\"wp-image-4137\" srcset=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png 871w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1-300x147.png 300w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1-768x377.png 768w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>As shown in the figure above, this software will create a congressional district map based off of pre-existing datasets (census and voting history) as well as user-defined factor weighting, which then goes under a Monte Carlo method of simulating thousands of elections in order to evaluate the fairness of this new map. The census data is used both for the user-defined factor weighting and for determining the likelihood to vote for either party (Republican or Democrat), which includes race\/ethnicity, income, age, gender, geographical location (urban, suburban, or rural), and educational attainment. The voting history is based on a precinct-by-precinct voting history in Congressional races, and has a heavy weight on the election simulation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Research Paper<\/h2>\n\n\n\n<p>The current version of my research paper can be found <a href=\"https:\/\/drive.google.com\/file\/d\/1mA98rfR8Sw6hiuKuE1YMiK0Neu3fcgp0\/view?usp=sharing\">here.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Software Demonstration Video<\/h2>\n\n\n\n<p>A demonstration of my software can be found <a href=\"https:\/\/youtu.be\/4Oo6hLS2FGo\">here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract An ever-present problem in the world of politics and governance in the United States is that of unfairly political congressional redistricting, often referred to as gerrymandering. One method for removing gerrymandering that has been proposed is that of using &hellip; <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/\">Read More<\/a><\/p>\n","protected":false},"author":81,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80,96,19],"tags":[],"class_list":["post-4135","post","type-post","status-publish","format-standard","hentry","category-80","category-benjamin-paff","category-student"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Senior Capstone, Looking Back - CS\/DS Student Portfolios<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Senior Capstone, Looking Back - CS\/DS Student Portfolios\" \/>\n<meta property=\"og:description\" content=\"Abstract An ever-present problem in the world of politics and governance in the United States is that of unfairly political congressional redistricting, often referred to as gerrymandering. One method for removing gerrymandering that has been proposed is that of using &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/\" \/>\n<meta property=\"og:site_name\" content=\"CS\/DS Student Portfolios\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-26T13:35:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-15T19:45:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"871\" \/>\n\t<meta property=\"og:image:height\" content=\"428\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Benjamin Paff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin Paff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/\"},\"author\":{\"name\":\"Benjamin Paff\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/93051babfdb853a19c439024c198a193\"},\"headline\":\"Senior Capstone, Looking Back\",\"datePublished\":\"2020-11-26T13:35:21+00:00\",\"dateModified\":\"2025-04-15T19:45:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/\"},\"wordCount\":257,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/framework-1.png\",\"articleSection\":[\"2020\",\"Benjamin Paff\",\"Student\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/\",\"name\":\"Senior Capstone, Looking Back - CS\\\/DS Student Portfolios\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/framework-1.png\",\"datePublished\":\"2020-11-26T13:35:21+00:00\",\"dateModified\":\"2025-04-15T19:45:31+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/93051babfdb853a19c439024c198a193\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#primaryimage\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/framework-1.png\",\"contentUrl\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/framework-1.png\",\"width\":871,\"height\":428},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2020\\\/11\\\/26\\\/senior-capstone-looking-back\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Senior Capstone, Looking Back\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\",\"name\":\"CS\\\/DS Student Portfolios\",\"description\":\"AI and ML, Image Classification, Arduino\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/93051babfdb853a19c439024c198a193\",\"name\":\"Benjamin Paff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g\",\"caption\":\"Benjamin Paff\"},\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/author\\\/bcpaff16\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Senior Capstone, Looking Back - CS\/DS Student Portfolios","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/","og_locale":"en_US","og_type":"article","og_title":"Senior Capstone, Looking Back - CS\/DS Student Portfolios","og_description":"Abstract An ever-present problem in the world of politics and governance in the United States is that of unfairly political congressional redistricting, often referred to as gerrymandering. One method for removing gerrymandering that has been proposed is that of using &hellip; Read More","og_url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/","og_site_name":"CS\/DS Student Portfolios","article_published_time":"2020-11-26T13:35:21+00:00","article_modified_time":"2025-04-15T19:45:31+00:00","og_image":[{"width":871,"height":428,"url":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png","type":"image\/png"}],"author":"Benjamin Paff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Benjamin Paff","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#article","isPartOf":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/"},"author":{"name":"Benjamin Paff","@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/93051babfdb853a19c439024c198a193"},"headline":"Senior Capstone, Looking Back","datePublished":"2020-11-26T13:35:21+00:00","dateModified":"2025-04-15T19:45:31+00:00","mainEntityOfPage":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/"},"wordCount":257,"commentCount":0,"image":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#primaryimage"},"thumbnailUrl":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png","articleSection":["2020","Benjamin Paff","Student"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/","url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/","name":"Senior Capstone, Looking Back - CS\/DS Student Portfolios","isPartOf":{"@id":"https:\/\/portfolios.cs.earlham.edu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#primaryimage"},"image":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#primaryimage"},"thumbnailUrl":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png","datePublished":"2020-11-26T13:35:21+00:00","dateModified":"2025-04-15T19:45:31+00:00","author":{"@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/93051babfdb853a19c439024c198a193"},"breadcrumb":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#primaryimage","url":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png","contentUrl":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2020\/11\/framework-1.png","width":871,"height":428},{"@type":"BreadcrumbList","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/11\/26\/senior-capstone-looking-back\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/portfolios.cs.earlham.edu\/"},{"@type":"ListItem","position":2,"name":"Senior Capstone, Looking Back"}]},{"@type":"WebSite","@id":"https:\/\/portfolios.cs.earlham.edu\/#website","url":"https:\/\/portfolios.cs.earlham.edu\/","name":"CS\/DS Student Portfolios","description":"AI and ML, Image Classification, Arduino","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/portfolios.cs.earlham.edu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/93051babfdb853a19c439024c198a193","name":"Benjamin Paff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/84d83e9e34359ad5ba1e937b1e8b67a9498809775eac7d6cdd6d74c0da32cb59?s=96&d=mm&r=g","caption":"Benjamin Paff"},"url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/author\/bcpaff16\/"}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"Benjamin Paff","author_link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/author\/bcpaff16\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/2020\/\" rel=\"category tag\">2020<\/a> <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/2020\/benjamin-paff\/\" rel=\"category tag\">Benjamin Paff<\/a> <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/\" rel=\"category tag\">Student<\/a>","rttpg_excerpt":"Abstract An ever-present problem in the world of politics and governance in the United States is that of unfairly political congressional redistricting, often referred to as gerrymandering. One method for removing gerrymandering that has been proposed is that of using &hellip; Read More","_links":{"self":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/4135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=4135"}],"version-history":[{"count":1,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/4135\/revisions"}],"predecessor-version":[{"id":4150,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/4135\/revisions\/4150"}],"wp:attachment":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=4135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/categories?post=4135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/tags?post=4135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}