API Reference

Code Review Problems

Quick start

Statement and input type

In the challenge.yml file, modify the input type to be CodeReview. Now, change the statement to describe what you are trying to test. This is what the user will see.

Test cases

For each comment, add these other two required fields to the testcases array:

testcases:
    - id: TEST_1
      description: This is a rubric comment.
      maxPoints: 100
      newFileName: main.cpp     # <-------
      newFileCommentLine: 150   # <--------

Workspace

Create a before and after folder structure.

Publish

Now that you have made modifications to this challenge locally, built it a final time with npm run devmatch -- validate to make sure it builds and then commit and push your changes to the same branch. Now go to DevMatch and publish the version. Now you can go to the preview tab and open the problem, then send a submission.