app: rename record => result
app: factor out finishResult
app: add clearResult
app: trivial refactor
app: refactor aborted result finishing
app: refactor evaluate => judgeResult