🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Moulinette Overview and Functionality
37 Questions
0 Views

Moulinette Overview and Functionality

Created by
@GoldenPennywhistle

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of the Moulinette in the 42 pedagogical system?

  • To replace peer evaluations entirely.
  • To provide a minimum coding level for candidates.
  • To automate the evaluation process for projects. (correct)
  • To assist students in coding during the piscine.
  • Which projects currently utilize the Moulinette for evaluation?

  • Only the Libft project.
  • The first 3 C projects of the Common Core. (correct)
  • All projects from the piscine.
  • Only rushes and piscine projects.
  • How does the Moulinette process the evaluation of student projects?

  • By analyzing the code structure and style.
  • By using peer evaluations from other students.
  • By calculating grades based on student feedback.
  • By running tests on a dedicated computer on campus. (correct)
  • When is the Moulinette useful, according to its purpose?

    <p>When peer evaluation is deemed unreliable.</p> Signup and view all the answers

    What happens after the Moulinette runs the evaluation tests?

    <p>The results are sent back through various services.</p> Signup and view all the answers

    Why was the Moulinette established in the 42 context?

    <p>To ensure quality control in coding evaluations.</p> Signup and view all the answers

    Which file configuration indicates the inclusion of a Moulinette for a project?

    <p>scale/scale_common.yml</p> Signup and view all the answers

    What might a student argue if they are unhappy with their Moulinette output?

    <p>That the Moulinette is incorrect in its assessment.</p> Signup and view all the answers

    What triggers the moulinette to automatically calculate marks?

    <p>Ending of the time boxed project</p> Signup and view all the answers

    How is the team_mark calculated if no specific eval_compilation rule is set?

    <p>It is the average of moulinette and peer evaluations.</p> Signup and view all the answers

    What happens if the difference between the moulinette mark and peer evaluations exceeds 15 points?

    <p>The team_mark will solely be based on the moulinette mark.</p> Signup and view all the answers

    What determines the calculation of the project_mark?

    <p>It is determined by the final_compilation rule.</p> Signup and view all the answers

    What indication does a student see when the moulinette is being run?

    <p>Waiting for upload</p> Signup and view all the answers

    What common final_compilation rules exist for calculating project marks?

    <p>Last_mark and best_mark</p> Signup and view all the answers

    What is the target architecture of the installed Clang version?

    <p>x86_64-pc-linux-gnu</p> Signup and view all the answers

    What will a student receive if the moulinette is configured for public trace?

    <p>A mail with the trace of tests performed</p> Signup and view all the answers

    Which command is used to view the git history in the given context?

    <p>git -C /tmp/tmpnnorznl3/user log --pretty='%H - %an, %ad : %s'</p> Signup and view all the answers

    What occurs when a student retries a project?

    <p>A new team_mark is generated.</p> Signup and view all the answers

    What is the size of the file 'ft_putchar.c' located in the 'ex00' directory?

    <p>958 bytes</p> Signup and view all the answers

    What kind of file is '__GIT_HISTORY' in the context provided?

    <p>A log file</p> Signup and view all the answers

    Which user was responsible for the first commit in the git log?

    <p>Gabriel Moreno</p> Signup and view all the answers

    What occurs first when a student finishes a project in relation to the Moulinette?

    <p>The intra checks if the project has a Moulinette.</p> Signup and view all the answers

    Under what condition does the intra wait for peer evaluations before executing the Moulinette?

    <p>If peer evaluations are required for the project.</p> Signup and view all the answers

    Which piece of information does the intra NOT send to the Moulinette program?

    <p>Project deadlines</p> Signup and view all the answers

    What is the primary function of the Moulinette after running the tests?

    <p>To upload the mark from the tests to the intra.</p> Signup and view all the answers

    What happens after the intra receives the uploaded marks from the Moulinette?

    <p>It updates the project final mark if necessary.</p> Signup and view all the answers

    What is the role of the endpoint in relation to the Moulinette program?

    <p>To listen for webhooks from the intra.</p> Signup and view all the answers

    What does the Moulinette do with the trace and mark after running the tests?

    <p>Updates them on the Moulinette Website.</p> Signup and view all the answers

    Which statement is true regarding the configuration of the Moulinette?

    <p>It requires specific settings for different projects.</p> Signup and view all the answers

    What part of the trace provides information about the computer where the tests were run?

    <p>Host-specific information</p> Signup and view all the answers

    What must be set to ‘true’ in the yaml file for a student to receive their trace?

    <p>has_trace</p> Signup and view all the answers

    Where can staff members view a student's trace?

    <p>Moulinette Web Interface</p> Signup and view all the answers

    What happens to the trace logging if the configuration is not set correctly?

    <p>Students do not receive traces</p> Signup and view all the answers

    Which command is mentioned as part of the output to check the compiler version in the trace?

    <p>gcc --version</p> Signup and view all the answers

    What is the purpose of the trace generated by the Moulinette?

    <p>To provide feedback on the student's code</p> Signup and view all the answers

    What information is provided in the second line of the yaml file relevant to traces?

    <p>Parameter settings</p> Signup and view all the answers

    When do students receive traces from the Moulinette?

    <p>Once grading is completed</p> Signup and view all the answers

    Study Notes

    Moulinette Overview

    • Moulinette is an automated system used by 42 to grade projects
    • It can be used for both piscine and main cursus projects
    • The goal of Moulinette is to ensure code quality and uniformity, as not all students have the same coding background
    • Moulinette is triggered automatically after peer evaluations for time-boxed projects
    • Moulinette runs on a dedicated VM
    • The intra sends a webhook to the Moulinette program with information about the project, repo, and team
    • Moulinette runs tests on the project and uploads the results to the intra and Moulinette Website
    • When a project uses Moulinette it can be configured to run tests publicly for the students and staff
    • Students can access their traces through email.

    Tracing the Moulinette

    • The trace is a log of the tests performed by Moulinette
    • The trace provides information on the host system where the tests were run, including system details and compiler version
    • User files are collected from Vogsphere, which contains the student's repository
    • Git history for the repo is recorded, including the dates of commits and authors
    • All the collected files from the repo are listed
    • The trace is not always easy to understand but provides important information for debugging

    Student Perspective

    • Students will see a message on their project page indicating that the Moulinette is running
    • When the evaluation is complete, a message with results will be displayed on the project page
    • The student can see their project_mark and is notified with their trace via email if the project is configured as public trace
    • Students should not assume the Moulinette is wrong if they disagree with the results
    • Students should contact the pedago team for help in troubleshooting Moulinette issues

    Peer Evaluation

    • The 42 pedagogical system relies heavily on peer learning and peer evaluations
    • Since students at 42 may have different coding levels, Moulinette is used to evaluate projects, especially during the initial projects
    • Some projects, such as rushes during the main cursus, do not use peer evaluations and only rely on Moulinette

    Projects with Moulinette

    • Moulinette is currently used for piscine projects (except rushes) and the first three C projects in the Common Core: Libft, get_next_line, and ft_printf
    • Projects with Moulinette can be identified through the project scale page on 42born2fit
    • Files for Moulinette should be included and configured in the repository on 42born2fit, particularly in the scale/scale_commom.yml file

    Moulinette Mark Calculation

    • Moulinette results are used to calculate both the team_mark and the project_mark
    • team_mark: Calculated based on eval_compilation rule, which may differ depending on the project
    • project_mark: Calculated based on the final_compilation rule, with the most common rules being last_mark and best_mark

    Moulinette Information Resources

    • The Moulinette Website provides comprehensive information, especially about the second and third definitions of Moulinette
    • The Intra & Tools Settings in the Moulinette section offers information about the Moulinette VM
    • To ensure you have all the relevant information, check the specific project's documentation to understand how Moulinette is configured and used.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Moulinette PDF

    Description

    This quiz explores the Moulinette system used by 42 to automate project grading. It covers how Moulinette ensures code quality, manages project evaluations, and provides tracing for test results. Gain insights into its usage for piscine and main cursus projects.

    Use Quizgecko on...
    Browser
    Browser