Skip to content

Pedagogy: Hide the answers #7

Closed

Description

@wildwestrom

Pretty self explanatory. You should not see see the #guard clauses that gate the answers to the exercises. No idea how complicated it is to make that happen.

Activity

  1. SamuelSchlesinger commented on Jun 2, 2026

    @SamuelSchlesinger
    Owner

    Fixed in #12 (merged to main). Every #guard block is moved out of the exercise files into a hidden courses/intro/tests/ tree; the runner still enforces them (compiling the exercise with the hidden checks) but reports a friendly message instead of revealing them. CI now also verifies each solution against its hidden checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions