You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.9 KiB

Reviews

Context

Only unblocked bonus exercises can be reviewed, which are usually the last items of a quest. Bonus exercises are available in quests 02 / 03 / 04 / 05 / 07 / 08 / 09. Screenshot 2019-10-17 at 02.43.31

Making a review involves 2 students who are goning to review each other's exercise. Each user has to :

  • check the code of the other one on Gitea. You must add your reviewer as contributor in your repository so he/she can see your code.
  • bet if it is going to fail or succeed in the Review interface
  • run his own exercise in the Review interface to give a result to compare with the bet, and state if it was right or wrong

Usage

To submit an exercise to review and be reviewed, go to the Review panel on the right of the quest interface and click on the button to submit it :

Screenshot 2019-10-17 at 01.59.32

Then, when a match with another student who also wants to review is found, you will be notified :

Screenshot 2019-10-17 at 02.03.11

Once you and the other student have confirmed the match, you can go and check the code of the other student on his repository in the component Your review :

Screenshot 2019-10-17 at 02.05.46

When you have checked his code, those 4 steps will have to be completed to achieve the review :

  • You have to bet if the exercise of the other student will fail or succeed after running the tester

  • The other student has to do the same with your exercise and make his own bet, that you will see on the component Review of your exercise Screenshot 2019-10-17 at 02.20.18

  • Once the other student's bet is set, the tester button unblocks and you have to run it on your exercise to output the result determining if your exercise has failed or succeeded ; this result is compared to the other student's bet to determine if it was wrong or right

  • The other student also has to run the tester on his exercise to determine his result and so if your bet was wrong or right Screenshot 2019-10-17 at 02.22.30

In fact, a bet is succeeded if it is equal to the tester output : Screenshot 2019-10-17 at 02.24.04

You can have those 4 cases :

bet tester output bet result
fail failed succeeded
fail succeeded failed
succeed succeeded succeeded
succeed failed failed