-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
266 lines (238 loc) · 13.8 KB
/
index.html
File metadata and controls
266 lines (238 loc) · 13.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="Responsible Problem Solving">
<link rel="icon" href="/favicon.ico">
<title>Responsible Problem Solving</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug
<link href="bootstrap/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
-->
<!-- Custom styles for this template
<script src="bootstrap/assets/js/ie-emulation-modes-warning.js"></script>
-->
<link href="navbar.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Main component -->
<div class="jumbotron">
<div class="container">
<h1>Responsible Problem Solving: course components</h1>
<h2>Focusing on the societal consequences of design choices in data structures and algorithms</h2>
<p>
A computer science student first learns problem solving in data structures and algorithms. She learns to define a problem
clearly, break it into solvable components, reason about the correctness of any proposed solution, measure
resources used by her solution (space and time) and how to use them efficiently.
<p>
But when computer scientists apply these problemsolving skills to questions and systems that impact society,
responsible problem design and solution requires that we model societal costs and resources accurately.
In these curricular components, we aim to bring questions and issues from impacted societal domains into the
data structures and algorithms curriculum where computer science students first learn a problemsolving mindset.
We aim to create computer scientists who naturally consider issues such as sustainability, racism, and community impact (e.g., of
surveillance) alongside matters of data structure design and complexity.
<p>
On this site, we post the slides and assignments for curricular modules that are core components of the standard data structures
and algorithms curriculum reimagined to include a focus on responsibility.
<p>
<h3>Computational Topics</h3>
<ul>
<li><a href="#crimjustice">Java objects, classes, and data structure design</a>
<li><a href="#elections">Binary trees and heaps</a>
<li><a href="#complexity">Hash tables and sorting</a>
<li><a href="#additional">Stable matching</a>
<li><a href="#complexity">Complexity</a>
<li><a href="#additional">Greedy algorithms</a>
<li><a href="#dataintegrity">Immutable Data Structures</a>
</ul>
<p>
<h3>Societal Topics</h3>
<ul>
<li><a href="#crimjustice">Criminal Justice</a>
<li><a href="#elections">Elections</a>
<li><a href="#complexity">Environmental Impact</a>
<li><a href="#additional">Additional Topics</a>
<li><a href="#socialthreats">Social Threat Modeling</a>
</ul>
<br>
<p>
<a class="btn btn-lg btn-primary" href="#about" role="button">About Us</a>
</p>
</div></div>
<div class="jumbotron"><a name="crimjustice"></a>
<div class="container">
<h2>Criminal Justice</h2>
<p>
This assignment introduces students to the idea of risk assessments in the context of an introductory data structures assignment introducing the idea of classes.
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Data Structures (CS 2) Lesson: ProPublica Machine Bias article and Object-oriented programming</h3>
<b>Level</b>: This lesson is designed to be one of the first assignments in a standard Java-based CS 2 course.
<p>
<b>Topics</b>: objects, classes, ArrayList, data structure design, reading in data
<p>
<b>Background</b>: We suggest that you have students prepare for this assignment by, in order, watching / reading the below:
<ol>
<li>Watching this <a href="https://youtu.be/17eDz5HA_qI">video about the ProPublica article</a> (~1.5 min) - we recommend showing this in class.
<li>Reading the <a href="https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing">ProPublica Machine Bias article</a>
<li>Watching this <a href="http://sorelle.friedler.net/riskassessmentsintro.mp4">background video</a> (~5 min) of Haverford student Steve Lee '21 describing risk assessments and the surrounding criminal justice context.
<li>Additional reference for details about the lab: <a href="propublica/understanding_Propublica.pdf">Understanding the ProPublica Article</a> (<a href="propublica/understanding_Propublica.tex">tex</a>)
</ol>
<a class="btn btn-primary" href="propublica/data_design.pdf" role="button">Programming Assignment Part 1 (pdf)</a>
<a class="btn btn-primary" href="propublica/data_design.tex" role="button">Part 1 (tex)</a>
<p>
<a class="btn btn-primary" href="propublica/arraylist.pdf" role="button">Programming Assignment Part 2 (pdf)</a>
<a class="btn btn-primary" href="propublica/arraylist.tex" role="button">Part 2 (tex)</a>
<p>
<a class="btn btn-primary" href="propublica/compas-scores.csv" role="button">Cleaned data (csv)</a>
</div>
</div>
</div>
<div class="jumbotron"><a name="elections"></a>
<div class="container">
<h2>Elections</h2>
<p>These assignments focus on the U.S. elections process in the context of an introductory data structures course. One lesson can be found below and the other is the deduplication of
voting rolls assignment that also includes a focus on <a href="#complexity">sustainability and complexity</a>.
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3> Data Structures (CS 2) Lesson: Polling Data, Binary Trees, and Heaps</h3>
<b>Level</b>: This lesson is designed to be part of the introduction to data structures for binary trees and priority queues in a standard Java-based CS 2 course. Part 1 covers recursive linked binary trees and part 2 builds array-based heaps.
<p>
<b>Topics</b>: recursive binary tree design, array-based heaps
<p>
<a class="btn btn-primary" href="elections/bintrees.html" role="button">Programming Assignment Part 1</a>
<a class="btn btn-primary" href="elections/heaps.html" role="button">Part 2</a>
<p>
</div>
</div>
</div>
<div class="jumbotron"><a name="complexity"></a>
<div class="container">
<h2>Sustainability and Complexity</h2>
<p>
The goal of these lessons and assignments is to introduce students to the environmental impacts of computing.
<p>
<i>These lessons were created with the help of <a href="https://www.haverford.edu/users/jwilson">Jon Wilson</a> in Haverford College's Environmental Studies Department.</i>
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Data Structures (CS 2) Lesson: Energy Usage, Complexity, Deduplication, and Voting Rolls</h3>
<b>Level</b>: This lesson is designed to be part of a standard data structures curriculum where notions of complexity are being introduced for the first time. The lesson is designed to come late in the course and could even be used as a final project.
<p>
<b>Topics</b>: energy usage, complexity, sorting, hash tables, deduplication, voting
<p>
<a class="btn btn-primary" href="deduplication/deduplication-voting.pdf" role="button">Programming Assignment (pdf)</a>
<a class="btn btn-primary" href="deduplication/deduplication-voting.tex" role="button">Programming Assignment (tex)</a>
<p>
<i>With thanks to <a href="https://www.haverford.edu/users/agrissom">Alvin Grissom II</a> for the idea of considering deduplication of voting rolls.</i>
</div>
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Analysis of Algorithms Lesson: Energy Usage and Complexity</h3>
<p>
<b>Level</b>: This lesson is designed to accompany Chapter 2 of Algorithm Design by Kleinberg and Tardos, and could also generally be used
as a second lesson on complexity after the initial introduction of the high level and/or formal definitions in a data structures or algorithms
course.
<p>
<b>Background</b>: In order to determine the energyusage and CO2 emissions of a function, the Python 3 package <a href="https://pypi.org/project/energyusage/">energyusage</a> uses methodology outlined in this <a href="https://arxiv.org/abs/1911.08354">paper</a>.
<p>
<a class="btn btn-primary" href="complexity/complexity_hw.pdf" role="button">Homework (pdf)</a>
<a class="btn btn-primary" href="complexity/complexity_hw.tex" role="button">Homework (tex)</a>
<a class="btn btn-primary" href="complexity/complexity_beyond_time.pptx" role="button">Slides (pptx)</a>
</div>
</div>
</div>
<div class="jumbotron"><a name="dataintegrity"></a>
<div class="container">
<h2>Data Integrity</h2>
<p>These materials look at how (im)mutable data
structures interact with data integrity.
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Thinking about Data Integrity</h3>
<b>Level</b>: These questions can be added to an assignment in which students are implementing
both mutable and immutable versions of the same data structure.
<p>
<b>Topics</b>: data integrity, (im)mutable data structures
<p>
<a class="btn btn-primary" href="https://docs.google.com/document/d/1vuGGlTHVP9zsRg-xVLPrUglQC-i_XYYbRUTPtMVAR18/" role="button">Questions (gdoc)</a>
</div>
</div>
</div>
<div class="jumbotron"><a name="socialthreats"></a>
<div class="container">
<h2>Social Threat Modeling</h2>
<p>These materials expose students to techniques for
identifying social threats in systems built around data
structures and algorithms.
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Lecture Notes: Identifying Social Threats</h3>
<b>Level</b>: Notes from a lecture on why and how to consider
social-responsibility in data-structures and
algorithms. Designed for a 2nd or 3rd semester course for CS students.
<p>
<b>Topics</b>: threat modeling
<p>
<a class="btn btn-primary"
href="threatmodeling/intro-lecturenotes.pdf" role="button">Lecture Notes (pdf)</a>
<a class="btn btn-primary"
href="https://tinyurl.com/social-threats-framework"
role="button">Modeling Framework (gdoc)</a>
</div>
</div>
</div>
<div class="jumbotron"><a name="additional"></a>
<div class="container">
<h2>Additional Algorithms Assignments</h2>
<p>
These additional assignments are designed to supplement a traditional Algorithms curriculum. A version of these and additional assignments aligned with the Kleinberg and Tardos Algorithm Design textbook was created in collaboration with <a href="https://cse.buffalo.edu/faculty/atri/">Atri Rudra</a> and can be found <a href="https://github.com/responsibleproblemsolving/algorithmdesign">here</a>.
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Analysis of Algorithms: Stable Matching</h3>
<b>Level</b>: This problem set is designed to align with Chapter 1 of Algorithm Design by Kleinberg and Tardos.
<p>
<b>Topics</b>: stable matching, human impact
<p>
<a class="btn btn-primary" href="algorithms/stable_matching.pdf" role="button">Homework (pdf)</a>
<a class="btn btn-primary" href="deduplication/stable_matching.tex" role="button">Homework (tex)</a>
</div>
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Analysis of Algorithms: Greedy Algorithms</h3>
<b>Level</b>: This problem set is designed to align with Chapter 4 of Algorithm Design by Kleinberg and Tardos.
<p>
<b>Topics</b>: greedy algorithms, human impact
<p>
<a class="btn btn-primary" href="algorithms/greedy.pdf" role="button">Homework (pdf)</a>
<a class="btn btn-primary" href="deduplication/greedy.tex" role="button">Homework (tex)</a>
</div>
<div class="jumbotron" style="background-color: #ebe9e1;">
<h3>Considering Stakeholders of Search Algorithms</h3>
<b>Level</b>: These questions can be added to a search-engine
implementation project in which students have implemented TF-IDF and PageRank.
<p>
<b>Topics</b>: search engines, non-ascii character sets, human impact
<p>
<a class="btn btn-primary" href="https://docs.google.com/document/d/11UVaFaWF4TP9v23KaAyrSVTAgX0CR6qtmykJAillMlM/" role="button">Questions (gdoc)</a>
</div>
</div>
<div class="jumbotron"><a name="about"></a>
<div class="container">
<h2>About Us</h2>
<p>
<a href="http://www.cs.utah.edu/~suresh/">Suresh Venkatasubramanian</a>, <a href="http://sorelle.friedler.net">Sorelle Friedler</a>, <a href="http://cs.brown.edu/~seny/">Seny Kamara</a>, and <a href="https://cs.brown.edu/~kfisler/">Kathi Fisler</a>.
<p>
This project is funded by the
<a href="https://blog.mozilla.org/blog/2019/04/30/2-4-million-in-prizes-for-schools-teaching-ethics-alongside-computer-science/">Mozilla Responsible Computer Science Challenge</a>.
</div></div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="bootstrap/assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="bootstrap/dist/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="bootstrap/assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>