Skip to content

v0.1.0-alpha.12

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Nov 04:53
· 52 commits to main since this release
9c3fd6f

Upgrading

The first time this hc opens a practice workspace, it updates the workspace on its own:

  • Skills and AGENTS.md: hc's skills (.claude/skills/, .agents/skills/) and the hc block of AGENTS.md are brought in step with this hc, and from now on with every release that opens the workspace. Copies you edited are kept, and reported once (#143).
  • .gitignore: hc's block is refreshed to leave out the files hc writes next to solutions (#145).
  • Python runtime: Python solutions share one hc_runtime.py in .hc/runtime/python/; the copies next to solutions are removed on their next run (#146).
  • Python environment: a .hc/venv on a Python older than 3.12 is recreated on first use, when uv or a Python 3.12+ is on PATH (#142).

What hc now refuses: hc test (and t in the TUI) runs only the cases marked "example": true, and refuses a problem without any. Mark the statement's examples in cases.jsonl, or choose cases with --case or --all (#141).

Pack checkouts are not changed on open: their skills move only with hc skill install, and this release's hc-pack lists ty.toml among the files not to commit. hc pack init now ignores /ty.toml; add it to an existing checkout's .gitignore.

History needs nothing: submissions recorded from now on also keep which cases they ran on, so the TUI can show a passed case's input and expected output; older submissions show the details of their failed cases, as before (#156).

Changelog

Features

  • 0e93341 feat: Python code runs with a recursion limit of 10^6 and a large stack (#148)
  • cb1fd98 feat: Python solutions share one hc_runtime.py per workspace (#146)
  • b47762a feat: a practice workspace keeps hc's skills and AGENTS.md block in step with hc (#143)
  • 8e5ebcf feat: a practice workspace's .gitignore leaves out what hc generates next to solutions (#145)
  • 9c3fd6f feat: browse the cases of a run in the result and submission screens (#156)
  • 814711d feat: restyle the TUI (#154)

Bug fixes

  • e6a734b fix: a practice workspace's Python environment below the minimum is recreated (#142)
  • 06f9759 fix: hc test runs only the marked examples, and refuses a problem without any (#141)
  • e7eedbc fix: the statement follows the terminal between light and dark (#153)

Others

  • 3592cbb refactor: move the TUI to the Charm v2 libraries (#151)