push_swap
push_swap
(https://profile.intra.42.fr/searches) eleusik
(https://profile.intra.42.fr)
Git repository
git@vogsphere.42warsaw.pl:vogsphere/intra-uuid-228d5e96-892c-4098-ba7
Introduction
Please comply with the following rules:
- Identify with the student or group whose work is evaluated the possible
dysfunctions in their project. Take the time to discuss and debate the
problems that may have been identified.
- You must consider that there might be some differences in how your peers
might have understood the project's instructions and the scope of its
functionalities. Always keep an open mind and grade them as honestly as
possible. The pedagogy is useful only and only if the peer-evaluation is
done seriously.
Guidelines
- Only grade the work that was turned in the Git repository of the evaluated
student or group.
- Double-check that the Git repository belongs to the student(s). Ensure that
the project is the one expected. Also, check that 'git clone' is used in an
empty folder.
- Check carefully that no malicious aliases was used to fool you and make you
evaluate something that is not the content of the official repository.
- To avoid any surprises and if applicable, review together any scripts used
to facilitate the grading (scripts for testing or automation).
- If you have not completed the assignment you are going to evaluate, you have
to read the entire subject prior to starting the evaluation process.
- You must also verify the absence of memory leaks. Any memory allocated on
the heap must be properly freed before the end of execution.
You are allowed to use any of the different tools available on the computer,
such as leaks, valgrind, or e_fence. In case of memory leaks, tick the
appropriate flag.
Attachments
https://projects.intra.42.fr/scale_teams/7321562/edit 1/5
9/24/24, 11:59 AM Intra Projects push_swap Edit
subject.pdf (https://cdn.intra.42.fr/pdf/pdf/124673/en.subject.pdf)
checker_Mac (https://cdn.intra.42.fr/document/document/24378/checker_Mac)
checker_linux (https://cdn.intra.42.fr/document/document/24379/checker_linux)
Mandatory part
Reminder : Remember that for the duration of the defence, no segfault, nor other unexpected, premature,
uncontrolled or unexpected termination of the program, else the final grade is 0. Use the appropriate flag. This rule
is active thoughout the whole defence.
Memory leaks
Yes No
Error management
Yes No
Yes No
https://projects.intra.42.fr/scale_teams/7321562/edit 2/5
9/24/24, 11:59 AM Intra Projects push_swap Edit
Run "$>ARG="2 1 0"; ./push_swap $ARG | ./checker_OS $ARG".
Check that the checker program displays "OK" and that the
size of the list of instructions from push_swap is 2 OR 3.
Otherwise the test fails.
Yes No
Yes No
Run "$>ARG="<100 random values>"; ./push_swap $ARG | ./checker_OS $ARG" and replace the
placeholder by 100 random valid values. Check that the checker program displays "OK" and that the size of
the list of instructions. Give points in accordance:
less than 700: 5
less than 900: 4
less than 1100: 3
less than 1300: 2
less than 1500: 1 You'll have to specifically check that the program wasn't developed to only answer
correctly on the test included in this scale. You should repeat this test couple of times with several
permutations before you validate it.
Run "$>ARG="<500 random values>"; ./push_swap $ARG | ./checker_OS $ARG" and replace the
placeholder by 500 random valid values (One is not called John/Jane Script for nothing). Check that the
checker program displays "OK" and that the size of the list of instructions
less than 5500: 5
less than 7000: 4
less than 8500: 3
less than 10000: 2
less than 11500: 1 You'll have to specifically check that the program wasn't developed to only answer
correctly on the test included in this scale. You should repeat this test couple of times with several
permutations before you validate it.
https://projects.intra.42.fr/scale_teams/7321562/edit 3/5
9/24/24, 11:59 AM Intra Projects push_swap Edit
Bonus
Reminder : Remember that for the duration of the defence, no segfault, nor other unexpected, premature,
uncontrolled or unexpected termination of the program, else the final grade is 0. Use the appropriate flag. This rule
is active throughout the whole defence. We will look at your bonuses if and only if your mandatory part is
EXCELLENT. This means that you must complete the mandatory part, beginning to end, and your error
management needs to be flawless, even in cases of twisted or bad usage. So if the mandatory part didn't score all
the point during this defence bonuses will be totally IGNORED.
Yes No
Yes No
https://projects.intra.42.fr/scale_teams/7321562/edit 4/5
9/24/24, 11:59 AM Intra Projects push_swap Edit
Don't forget to press CTRL+D to stop reading during the
instruction phase.
Yes No
Ratings
Don’t forget to check the flag corresponding to the defense
Ok Outstanding project
Conclusion
Leave a comment on this evaluation
Finish evaluation
Declaration on the use of cookies Privacy policy General term of use of the site Rules of procedure Terms of use for video
(https://profile.intra.42.fr/legal/terms/2) (https://profile.intra.42.fr/legal/terms/5) (https://profile.intra.42.fr/legal/terms/6) (https://profile.intra.42.fr/legal/terms/4) (https://profile.intra.42.f
https://projects.intra.42.fr/scale_teams/7321562/edit 5/5