Skip to content

Instantly share code, notes, and snippets.

View jpolitz's full-sized avatar

Joe Politz jpolitz

View GitHub Profile

Here's a sketch of some of these simulations/games. In each, I give first the library code that uses reactors and tables, and which contains a solution. Then I give a link to the starter code a student would see.

Note that in the solution files, I've modeled how I would want students to have written examples in order to help derive the function body.

First, simple 1-d motion made into a programming game.

Research Questions:

  1. Do students who participate in in-flow peer revew of test cases perform better on assignments than those who simply write tests first?
  2. Does receiving feedback increase performance more than seeing other students’ work and composing feedback, or vice versa?

Study Design

This is an annotated test suite for an equality proposal based on our
discussion yesterday. There are two equality predicates, equal and identical,
which I've written with operators =? and == respectively (we should argue
about that separately). I'm also trying out the is%(pred) syntax, and I've
added a provisional "isnot" testing form that I think seems pretty darn useful
for testing the negation of equality.
I've sketched out a proposal for how we should deal with function errors in
nested comparisons. I think it can be implemented efficiently and has
deterministic semantics. Here's the spec (without refs, but the
@jpolitz
jpolitz / A gist
Created October 26, 2010 22:24
Public test gist
function testGist() {
console.log("Gisting away");
}