Add frozen CTF timer behavior and docs updates - #80
Conversation
- Persist ctf_end_time on first successful export after 18/18 - Reuse frozen elapsed time in verify time and export output - Clarify example flag and timer behavior in MOTD and READMEs - Add timer behavior checks to CTF test script Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Problem@madebygps opened issue #79 with a simple but important concern: the CTF timer might not be telling the truth. Specifically, she was not confident that InvestigationThe session started with a deep read of the existing implementation in But that simplicity was also the problem. Walking through the code together, she identified the key gap: "We control when the time keeping starts with init_time but not when it stops." A learner who completed all 18 challenges on Tuesday, then came back Thursday to run Along the way, she caught an error in an early explanation. When it was incorrectly stated that There was also a related issue hiding in the progress counting: the example flag ( DecisionsRather than tracking active keyboard time across sessions, which would require a daemon or stateful accumulator, she decided to keep wall-clock semantics but document them clearly and add a meaningful stop point: "I think we document that it is wall clock time from capture of first flag to capture of last flag and implement a completion_time_file or stop_time." The freeze point would be the first successful ImplementationThe core change was a new The MOTD was updated to explain the example flag requirement and timer behavior clearly. Documentation was updated across all four READMEs: the root README got a dedicated timer and progress behavior section, the AWS and Azure READMEs gained a note that stopped VM time still counts toward elapsed until the timer is frozen, and GCP got a consistency note. Targeted timer tests were added to ResolutionSix files changed across |
resolves #79