Skip to content

R20-T058: validate crypto-square metadata paths and document file roles - #1060

Closed
DAKA-017 wants to merge 2 commits into
exercism:mainfrom
s-and-ai-ru-4:R20-T058
Closed

DAKA-017 wants to merge 2 commits into
exercism:mainfrom
s-and-ai-ru-4:R20-T058

Conversation

@DAKA-017

Copy link
Copy Markdown

Task R20-T058 (3 of 5). Related issue: #N

  • Added tools/course_checks/r20-t058.py: reads the files object of exercises/practice/crypto-square/.meta/config.json, resolves each path, rejects parent traversal and absolute paths, and checks every declared file exists inside the exercise.
  • Added docs/maintenance/crypto-square.md: file-role map naming the real stub, reference and test paths, the generated artifacts, and a reproducible validation command.
  • Evidence in work/R20-T058/ (check.py, tool versions, evidence.json, reference test output): the real config passes; three invalid fixtures (missing reference, missing test, path outside the exercise) each fail for the intended reason; the reference passes all enabled test cases.
  • config.json: unchanged, because the check found no mismatch.
  • Learner stub and test files are unchanged.

@github-actions

Copy link
Copy Markdown
Contributor

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions Bot closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant