Skip to content

docs: add a worked curriculum contribution guide #39

Open

Description

@abhiksark

Motivation

Curriculum contributions touch several aligned trees and hidden checks. A worked path makes the real contract approachable to a first-time contributor while protecting learner-facing quality.

Current evidence

  • A curriculum change must align exercises/, checks/, solutions/, and info.toml.
  • Readme.md mentions the mirrored exercise/check filenames but does not provide an end-to-end worked contribution walkthrough.
  • Reference solutions are verified by tests/integration/test_solution_verify.py.

Exact scope

Add a linked guide that walks through one representative curriculum contribution: learner exercise, hidden check, direct solution, hint and docs metadata, naming, hidden-check quality, and verification. Keep the example Python 3.9 compatible.

Acceptance checklist

  • Explain the roles of exercises/, checks/, solutions/, and info.toml.
  • Show a coherent worked example that covers a topic/ordinal filename, manifest entry, hint, official docs URL, learner code, hidden assertions, and solution.
  • Explain how to keep checks focused on the taught behavior without revealing them to learners.
  • State that any curriculum addition keeps the four trees/metadata aligned and preserves Python 3.9 compatibility.
  • Link the guide from the public contributing documentation.

Explicit exclusions

Do not add or change an actual exercise, weaken hidden-check isolation, migrate solution stubs, or redesign the curriculum.

Likely files

  • docs-site/contributing.md
  • docs-site/curriculum-contribution-guide.md (new)
  • mkdocs.yml

Verification

mkdocs build --strict
python -m pytest -q
python -m pytest tests/integration/test_solution_verify.py -q
pythonlings --root tests/fixtures/passing_curriculum verify

Manually verify that the example paths and commands exist and that the guide does not expose production hidden checks.

Sprint coordination

See the sprint Discussion. This issue is unassigned and is not a reservation.

Activity

  1. coderabbitai commented on Aug 9, 2026

    @coderabbitai
    🔗 Related PRs

    #31 - feat: overall progress, completion celebration, first-launch welcome (#14, #15, #16) [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added
    documentation
    enhancement
    good first issue
    help wanted
    on Aug 9, 2026
  3. added
    dev sprint
    area: curriculum
    size: M
    and removed
    enhancement
    help wanted
    on Aug 9, 2026
  4. abhiksark commented on Aug 18, 2026

    @abhiksark
    OwnerAuthor

    Deep QA at e1d4dae37234b75124bd6a53f06734296ebbbdee found a documentation detail that belongs in this guide rather than a separate issue.

    docs-site/curriculum.md currently labels solutions/<exercise>.py as the reference answer, and docs-site/contributing.md lists that file without explaining solutions/_answers.py. In the current implementation, each per-exercise solution file is a loader; the answer body lives in _answers.py.

    Please make that loader-to-answer relationship explicit in the worked file model and example. This remains documentation-only and does not change the production solution representation or the separate readable-solution work in #48 through #51.

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

    area: curriculumdev sprintdocumentationgood first issuesize: M

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions