Skills
This course will teach the following skills, repeated assessment of which will form the primary source of final grades.
Each skill will be assessed as "Doesn't meet expectations", "Approaching expectations", and "Meets expectations", and students may attempt any skill assessment up to five times (four independently, and once via the bulk assessments, see below), with the best result being used for their grade.
-
Design basic functions (Pyret)
Meets Expectations • Correct type annotation
• Docstring that describes behavior, doesn't repeat type annotation.
• A few (2+) correct tests
• Well-formatted implementation -- clear naming for function arguments, no unnecessary if expressions, etc.Approaching Expectations • Missing docstring, or long, includes redundant type information, etc.
• 1+ correct tests.
• Correct implementation. -
Construct / Transform Tables (Pyret)
Meets Expectations • Function designed has signature, docstring, and at least one test
• Function uses correct table function (filter-with, build-column, etc)
• Row helper does what is expected, whether defined withlam
or namedApproaching Expectations • Function uses correct table function (filter-with, build-column, etc)
• Row helper accesses fields from row, but not in a way that solves the problem -
Iteration: Lists (Pyret)
Meets Expectations • Uses for each
properly, drawing elements from the list
• Mutates a single variable within the loop to correctly accumulate the result
• Returns the final result after the loopApproaching Expectations • Uses for each
, drawing elements from the list
• Either: Mutates within the loop, but in such a way that doesn't produce the correct accumulated answer, or doesn't use the final result properly at the end of the loop -
Structured & Conditional Data (Pyret)
Meets Expectations • Uses data
with variants as needed, fields with appropriate type annotations
• Function uses either field projection orcases
as needed
• Function has signature, doc string, and testsApproaching Expectations • Uses data
with variants as needed, fields if needed (possibly missing or incorrect annotations)
• Function should use either field projection or cases, but may not do it correctly, or to match the problem -
Recursion: Lists (Pyret)
Meets Expectations • Function has appropriate type signature, doc string, and tests
• Function usescases
to handleempty
case andlink
case
• Inlink
case, calls function recursively on rest of list appropriatelyApproaching Expectations • Uses cases
to break apart list, and has recursive call to rest of list -
Recursion: Trees (Pyret)
Meets Expectations • Function has appropriate type signature, doc string, and tests
• Function usescases
to handle base case and recursive case
• In recursive case, calls function recursively on subtrees appropriatelyApproaching Expectations • Uses cases
to break apart tree, and has recursive call on subtrees -
Variable Scope (Python)
Meets Expectations • Output of given code, that uses variables, defined locally, in functions, globally, etc, is correct
• Explanation of behavior, including global keyword if needed, is correctApproaching Expectations • Explanation mentions key idea, but does not use it to correctly characterize behavior -
Design basic functions (Python)
Meets Expectations • Correct type annotation
• Docstring that describes behavior, doesn't repeat type annotation
• A few (2+) correct tests
• Correct implementationApproaching Expectations • Missing docstring, or long, includes redundant type information, etc.
• 1+ correct tests
• Correct implementation -
Iteration: Lists (Python)
Meets Expectations • Uses for ... in ...
properly, drawing elements from the list
• Mutates a single variable within the loop to correctly accumulate the result
• Returns the final result after the loopApproaching Expectations • Uses for ... in ...
, drawing elements from the list
• Either: Mutates within the loop, but in such a way that doesn't produce the correct accumulated answer, or doesn't use the final result properly at the end of the loop -
Aliasing & Mutation (Python)
Meets Expectations • Output of given code that uses mutation of values like lists, aliasing, etc, is correct
• Explanation of behavior is correctApproaching Expectations • Explanation mentions key idea, but does not use it to correctly characterize behavior -
Identifying Privacy Issues in Problem Formulation
Meets Expectations • Privacy analysis chart is complete and each entry is correct
• Identify named privacy issue in a new context
• Proposed mitigation strategy is appropriate given contextApproaching Expectations • Chart is complete but at least one entry is not correct
• Attempts to identify named privacy issue but mis-identifies, or explanation is unclear
• Proposed mitigation of known privacy issue would not address the privacy threat -
Identifying Stakeholders in Problem Formulation
Meets Expectations • Complete stakeholder matrix that lists all relevant stakeholders and at least one relevant interest at stake for each stakeholder
• Answer identifies the specified number of conflicts between stakeholder interests/values (e.g., if the task is to identify 2 values conflicts, the answer identifies 2 values conflicts)Approaching Expectations • If prompted to provide a complete chart, chart fails to identify relevant stakeholders OR fails to identify their relevant interests/values
• Chart does not identify relevant interests
• Identifies some, but fewer than specified number of conflicts between stakeholder interests/values (e.g., if the task is to identify 2 values conflicts, the answer identifies 1 values conflict)
Skill Introduction
Skills will be introduced in certain weeks (and may be re-inforced in later weeks), via class, recitation, labs, and HW. Each of these will be marked with what skill is being introduced or reinforced by the material.
Skill Assessment
Assessment of skills can be done at many different opportunities.
Assessable@Hours
Every week, there will be several special hours held by instructors, course coordinators, or graduate TAs, that exist solely for the purpose of taking assessments. The skills assessable at these hours are those that were introduced the previous several weeks -- see the table below to see what skill is assessable in any given week via this mechanism.
This is intended to allow you several attempts at the skill after the content is introduced, but require you to keep up with the material -- all assessments cannot be deferred to the end of the semester, since only the last few skills can be attempted at the end of the semester.
Skill Days
Several class days exist as gaps in our schedule, and some of the class may be used to catch up on material, but 30+ mins of class will be used for skill assessments. Instructors will bring a set of assessments -- students are able to attempt any of those available (likely, due to time, 1-2 of them). See the schedule below to see what weeks these occur in, and what skills are assessable during each one.
Skill Bundles
Finally, there are two bulk assessment slots, which take place during normal lab time, during the semester. These collectively cover all of the skills for the semester, and students are welcome to attempt all of the assessments available -- every student will be given a packet with a set of assessments when they come to the lab session. If they have already completed a given skill, they can skip that one, and if they have already completed all the skills, they are welcome to skip the bulk assessment entirely. The two bundles are:
Skill Schedule
Week | Topic | Skill Introduced | Assessable@Hours | Skill Day | Skill Bundle |
---|---|---|---|---|---|
1 | Programming with numbers, strings, images: IDE, interactions, operations on standard values | ||||
2 | Definitions, functions, conditionals: type annotations, test cases | 1 | |||
3 | Ethics, intro to tables: constructing, importing, extracting | 2, 11, 12 | 1 | ||
4 | More on tables: transforming, filtering | 2, 11, 12 | 1, 11, 12 | ||
5 | From tables to lists: extracting columns, performing operations on them, visualizing data | 1, 2, 11, 12 | SkillDay1 | ||
6 | Computing with lists: iteration & mutable local variables | 3 | 2, 11, 12 | ||
7 | Structured & conditional data | 4 | 2, 3, 11, 12 | ||
8 | Working with trees: recursive functions | 5 | 3, 4, 11, 12 | SkillBundle1 | |
9 | More with trees | 6 | 3, 4, 5, 11, 12 | SkillDay2 | |
10 | Transition to Python: IDE, files, definitions, testing | 7, 8 | 4, 5, 6 | ||
11 | Transition to Python: more state & aliasing, loops, mutable data structures | 9, 10 | 5, 6, 7, 8 | ||
12 | Tables in Python: pandas & matplotlib | 6, 7, 8, 9, 10 | SkillBundle2 | ||
13 | File I/O: csv files, via pandas and manually | 7, 8, 9, 10 | |||
14 | More with Python: catch up, bonus content, etc | 9, 10 | SkillDay3 |