~/talk

Assurance of Learning Through Testing

Talkat PyCon AU 2023 · 2023-08-18..08-22· [testing, python]
links:none on file
links:none on file
slides:none on file

Claim: automated marking can detect shortcuts and ensure learning by running students' programs, not just diffing outputs. Uses p expect to spawn and feed random inputs repeatedly, unitest.mock monkeypatches to assert use of super, and AST checks to find literal dicts; also inspects imports with modulefinder. Deploys as an arbitrary marking script on Ed/edstem, tolerates Monte Carlo variance with regex matching, and flags hard‑coding by sampling many cases.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Assurance of learning
  3. 2:30Diff-based testing limits
  4. 4:56Student vs teacher paradigm
  5. 8:25Pexpect for dynamic testing
  6. 13:46Complex interactive programs
  7. 14:07OOP and literals techniques
  8. 18:05Illegal imports detection
  9. 19:30Recommendations and trade-offs
  10. 23:22Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.