🏗️」 wip: work in progress, not done yet.

This commit is contained in:
2025-10-12 20:15:01 +02:00
parent 12f68fd67e
commit 225ce679fa
7 changed files with 3827 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,688 @@
<!DOCTYPE html>
<html lang="en"><script src="Intra%20Projects%20Learn2Slither%20Edit_files/inject.js"></script><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects Learn2Slither Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="ADSmyjmLdWQAfuJd7f7dSXfjArMmW84XB2zZgLdcLpadGUW5QGAUEqO1Xf5KR3HvHyTFj1qNwiZsv+wFInoMgQ==">
<link rel="stylesheet" media="all" href="Intra%20Projects%20Learn2Slither%20Edit_files/application-4521e8903afd8765f2285e3c31ec78586ca09c83d617c579.css">
<link rel="stylesheet" media="screen" href="Intra%20Projects%20Learn2Slither%20Edit_files/bzd7hlb.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
<script>
(function() {
this._user = {
"login": "bapasqui",
"id": 166905,
"url": "https://profile.intra.42.fr/users/bapasqui"
};
this._consumer_address = 'wss://profile.intra.42.fr/cable';
}).call(this);
</script><link type="text/css" rel="stylesheet" href="Intra%20Projects%20Learn2Slither%20Edit_files/dark.css">
<script>
(function() {
this._environment = "production";
this._git_commit = "";
this._release = this._git_commit;
}).call(this);
</script>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 7;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 443.283px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="Intra%20Projects%20Learn2Slither%20Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
<form action="https://profile.intra.42.fr/searches/search" class="main-navbar-search hidden-xs js-search" data-project-url="https://projects.intra.42.fr/" data-user-url="https://profile.intra.42.fr/users/" method="get">
<span class="twitter-typeahead" style="position: relative; display: inline-block;"><input autocomplete="off" autofocus="" class="search-input tt-input" name="query" placeholder="search..." spellcheck="false" dir="auto" style="position: relative; vertical-align: top;" aria-activedescendant="" aria-owns="undefined_listbox" role="combobox" aria-readonly="true" aria-autocomplete="list"><span role="status" aria-live="polite" class="visuallyhidden"></span><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: &quot;futura-pt&quot;, &quot;Helvetica&quot;, &quot;Sans serif&quot;; font-size: 20.8px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: optimizelegibility; text-transform: none;"></pre><div role="listbox" class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;"><div role="presentation" class="tt-dataset tt-dataset-0"></div><div role="presentation" class="tt-dataset tt-dataset-1"></div></div></span>
</form>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
<div class="user-actions hidden-xs">
<a class="user-action labelable" data-notification-drop="" href="#"><span class="fal fa-bell"></span>
<span class="user-action-count labeled" data-counter-count="7">7</span>
</a></div>
<span class="dropdown">
<a data-toggle="dropdown" href="#">
<span data-login="bapasqui">
bapasqui
</span>
<div class="user-profile-picture visible-sidebars" style="background-image: url(https://cdn.intra.42.fr/users/65ca7a946948378f5cf99fb253ea4907/bapasqui.jpg)"></div>
</a>
<ul aria-labelledby="User menu" class="dropdown-menu" role="menu">
<li>
<a href="https://profile.intra.42.fr/slots"><span class="iconf-calendar"></span>
Manage slots
</a></li>
<li>
<a href="https://profile.intra.42.fr/users/bapasqui/edit">Settings</a>
</li>
<li><a href="https://iintra.freekb.es/v2/options" target="_self">Improved Intra Settings</a></li><li>
<a rel="nofollow" data-method="delete" href="https://signin.intra.42.fr/users/sign_out?all=false"><span class="iconf-power-off"></span>
<b>Logout</b>
</a></li>
</ul>
</span>
</div>
</div>
<div class="page">
<div class="left-sidebar-fix with-main-menu"></div>
<div class="page-sidebar left-main-container page-sidebar-fixed-left under-main-navbar"><ul class="main-left-navbar">
<div class="_">
<li>
<a class="inactive" href="https://profile.intra.42.fr/"><span class="icon-user-2"></span>
<span class="visible-overlay">
Profile
</span>
</a></li>
<li>
<a class="active" href="https://projects.intra.42.fr/"><span class="icon-network-2-1"></span>
<span class="visible-overlay">
Projets
</span>
</a></li>
<li>
<a class="inactive" href="https://elearning.intra.42.fr/"><span class="icon-movie-play-1"></span>
<span class="visible-overlay">
E-learning
</span>
</a></li>
<li>
<a class="inactive" href="https://stackoverflowteams.com/c/42network"><span class="icon-bubble-conversation-5"></span>
<span class="visible-overlay">
Forum
</span>
</a></li>
<li>
<a class="inactive" href="https://companies.intra.42.fr/"><span class="icon-briefcase"></span>
<span class="visible-overlay">
Companies
</span>
</a></li>
<li>
<a class="inactive" href="https://meta.intra.42.fr/"><span class="icon-compass-2"></span>
<span class="visible-overlay">
Meta
</span>
</a></li>
<li>
<a class="inactive" href="https://shop.intra.42.fr/"><span class="icon-shopping-1"></span>
<span class="visible-overlay">
Shop
</span>
</a></li>
</div>
<div class="admin-links">
</div>
</ul><div class="app-sidebar-left"><button class="sidebar-hide-button emote icon-arrow-37" title="Hide sidebar"></button>
<div class="marked-title">Menu</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/"><span class="icon-briefcase project-status-icon"></span>
My projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/graph"><span class="icon-globe project-status-icon"></span>
Holy Graph
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/list"><span class="icon-list-1 project-status-icon"></span>
List projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/cursus_subscriptions"><span class="icon-list-1 project-status-icon"></span>
Available Cursus
</a></div>
<div class="marked-title">Your projects</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-ft_linux"><span class="icon-box-2 project-status-icon"></span>
ft_linux
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/inception-of-things"><span class="icon-box-2 project-status-icon"></span>
Inception-of-Things
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-swifty-companion"><span class="icon-box-2 project-status-icon"></span>
swifty-companion
</a></div>
</div></div>
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/learn2slither">Learn2Slither</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 1 student in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="team-users-list d-flex justify-content-center">
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/f859a9f2483ef863aaa728a520ec95a7/adamiens.jpg)" title="" data-original-title="adamiens"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
<span class="iconf-star-1 leader-user" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Team leader"></span>
</div>
</div>
</div>
<small class="full-width text-muted">Git repository</small>
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
<input class="repo-url form-control" disabled="disabled" type="text" value="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-1fca7bf9-f104-4e17-b522-11b0e5629c69-6183349-adamiens">
<span class="copy input-group-addon" data-clipboard-text="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-1fca7bf9-f104-4e17-b522-11b0e5629c69-6183349-adamiens">
<span class="icon-paste"></span>
</span>
</div>
</div>
<hr>
<div class="p-0 scale-introduction dancer from-down" id="introduction-37498">
<h3 class="font-weight-bold mb-1">Introduction</h3>
<p>
Hello!<br>- remain polite, courteous, respectful and constructive<br>throughout the evaluation process. The well-being of the community<br>depends on it.<br><br>- identify with the person (or the group) evaluated the potential<br>dysfunctions of the work. Take the time to discuss<br>and debate the problems you have identified.<br><br>- you must consider that there might be some difference in how your<br>peers might have understood the project's instructions and the<br>scope of its functionalities. Always keep an open mind and grade<br>as honestly as possible. The pedagogy is valid only and<br>only if peer-evaluation is conducted seriously.<br>
</p>
</div>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-37498">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
- Only grade the work that is in the student or group's<br>GiT repository.<br><br>- Double-check that the GiT repository belongs to the student<br>or the group. Ensure that the work is for the relevant project<br>and also check that "git clone" is used in an empty folder.<br><br>- Check carefully that no malicious aliases were used to fool you<br>and make you evaluate something other than the content of the<br>official repository.<br><br>- To avoid any surprises, carefully check that both the evaluating<br>and the evaluated students have reviewed the possible scripts used<br>to facilitate the grading.<br><br>- If the evaluating student has not completed that particular<br>project yet, it is mandatory for this student to read the<br>entire subject prior to starting the defence.<br><br>- Use the flags available on this scale to signal an empty repository,<br>non-functioning program, a norm error, cheating etc. In these cases,<br>the grading is over and the final grade is 0 (or -42 in case of<br>cheating). However, with the exception of cheating, you are<br>encouraged to continue to discuss your work (even if you have not<br>finished it) in order to identify any issues that may have caused<br>this failure and avoid repeating the same mistake in the future.<br><br>- Remember that for the duration of the defence, no segfault,<br>no other unexpected, premature, or uncontrolled termination of<br>the program, is allowed, or the final grade is 0. Use the appropriate flag. <br>You should never have to edit any file except the configuration file if it exists.<br>If you want to edit a file, take the time to explain the reasons with the <br>evaluated student and make sure both of you are okay with this.<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-37498">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-note-paper-2"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/144416/en.subject.pdf">subject.pdf</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_7757579" action="/projects/learn2slither/project_sessions/11317/evaluations/9050/scales/37498/scale_teams/7757579" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="ADSmyjmLdWQAfuJd7f7dSXfjArMmW84XB2zZgLdcLpadGUW5QGAUEqO1Xf5KR3HvHyTFj1qNwiZsv+wFInoMgQ=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-102169">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Mandatory Part</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Error Management</h4>
<p class="scale-section-guidelines">
</p><ul>
<li>During the defense, as soon as you need help verifying a point, the student
evaluated must help you.</li>
<li>If the language used is Python you must check the norm (use the flag if there's a norm error)
pip install flake8
alias norminette_python=flake8
norminette_python "student's project directory"</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348308" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Part 1 Environment/Board</h4>
<p class="scale-section-guidelines">
</p><p>Does the board resemble a game of Snake? <br>
You can start a training session with a new model to verify.</p>
<p>Check the board rules:<br>
• Board size: 10 by 10.<br>
• Two green apples in a random cell.<br>
• One red apple in a random cell.<br>
• The snake starts with a length of 3 cells and randomly placed.<br>
• If the snake hits a wall: Game over.<br>
• If the snake collides with its own tail: Game over.<br>
• The snake eats a green apple: increase snake's length by 1 and place a new green apple.<br>
• The snake eats a red apple: decrease snake's length by 1 and place a new red apple.<br>
• If the snakes length drops to 0: Game over.<br>
(Verify the main rules; some, like dying by eating only red apples, are difficult to test).</p>
<p>The board's speed should be appropriate for human observation.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348309" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Part 2 State</h4>
<p class="scale-section-guidelines">
</p><p>The agent's vision (snake's head) should be displayed on the terminal with each movement of your snake.</p>
<p>The student should be able to demonstrate in their code that only the
vision of the snake's head is provided to the agent (the AI making
decisions).<br>
If more information than just the state is sent to the agent, you must set the "Forbidden function" flag.<br>
You are encouraged to review the subject thoroughly to fully understand which data is expected.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348310" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Part 3 Action</h4>
<p class="scale-section-guidelines">
</p><p>The agent must make choices between (UP, LEFT, DOWN, RIGHT), and display the choice in the terminal.<br>
The snake should move on the board accordingly.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348311" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Part 4 Rewards</h4>
<p class="scale-section-guidelines">
</p><p>The student should be able to show you a training session where the snake eats apples.<br>
They should also be able to explain how the rewards work<br>
and the points given for each type of action:</p>
<p>• Eating a green apple<br>
• Eating a red apple<br>
• Snake's death<br>
• ...</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348312" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Part 5 Q-learning</h4>
<p class="scale-section-guidelines">
</p><p>The student should be able to explain the Q-value and how they calculate it.<br>
Only a Q-table or a Neural Network is allowed.<br>
Use the "Forbidden function" tag/flag if any other model is used.<br>
The implemented algorithm includes some random from time to time.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348313" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Features and structure</h4>
<p class="scale-section-guidelines">
</p><p>Control that the remaining features are implemented:</p>
<ul>
<li>it is possible to train your model with a defined set of training sessions</li>
<li>it is possible to import and export models before and after a series of training sessions, and
multiple models with various training levels exist in the repository.</li>
<li>it is possible to simply use a model without training it, for verification purposes</li>
<li>a session can be carefully studied using the step-by-step flag.
Verify also that the suggested architecture is present, or eventually a more suitable and/or efficient one.</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348314" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Testing trained models</h4>
<p class="scale-section-guidelines">
</p><p>Launch a few rounds with the best "backup" of the model (multiple ones are allowed, using<br>
various parameters in the Q learning). Use the "non-training" switch, to keep the model<br>
untouched.<br>
Is the snake's length equal to or greater than 10 at the end of a session?<br>
(The snake must have eaten 7 green apples, for example, without eating any red apples.)<br>
This should happen more than 50% of the time with at least one model.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348315" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-102170">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus part</h3>
<p class="font-italic">Evaluate the bonus part if, and only if, the mandatory part has been entirely and perfectly done.
In case all the mandatory points were not passed during the defense, bonus points must be totally ignored.
</p>
</div>
<h4 class="scale-question-name">Bonus Length test</h4>
<p class="scale-section-guidelines">
</p><p>Launch a few rounds with the best "backup" of the model.<br>
You should award one point for every 5 units of length.<br>
For example:<br>
&lt; 15 = 0 point<br>
• 15 &lt;= x &lt; 20 = 1 point<br>
• 20 &lt;= x &lt; 25 = 2 point<br>
• 25 &lt;= x &lt; 30 = 3 point<br>
• 30 &lt;= x &lt; 35 = 4 point<br>
• =&gt; 35 = 5 points (you can give the "Outstanding project" flag in case of success in this test)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348316" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][8][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Bonus Part 1</h4>
<p class="scale-section-guidelines">
</p><p>Is the board visually appealing, with starting and ending interfaces showing the score?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348317" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Bonus Part 2</h4>
<p class="scale-section-guidelines">
</p><p>If the board size is modified using the same model file,<br>
the snake should be able to continue playing without issues.<br>
If the snake cannot achieve a minimum length of 7 for a map size between 8x8 and 15x15 (not 10x10),<br>
this bonus should not be accepted.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][10][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="348318" name="[scale_team][answers_attributes][10][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-37498">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Dont forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-iconf-folder-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_work negative on-active" for="scale_team_flag_id_3" name="scale_team[flag_id]">
<span class="iconf-file-attention"></span>
Incomplete work
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_concerning_situation negative on-active" for="scale_team_flag_id_11" name="scale_team[flag_id]">
<span class="iconf-alert-2"></span>
Concerning situation
</label>
<label class="btn btn-danger btn-default label_flag_cant_support_/_explain_code negative on-active" for="scale_team_flag_id_14" name="scale_team[flag_id]">
<span class="iconf-bubble-attention-4"></span>
Cant support / explain code
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_3"><input class="radio_buttons optional" type="radio" value="3" name="scale_team[flag_id]" id="scale_team_flag_id_3">Incomplete work</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_11"><input class="radio_buttons optional" type="radio" value="11" name="scale_team[flag_id]" id="scale_team_flag_id_11">Concerning situation</label></span><span class="radio"><label for="scale_team_flag_id_14"><input class="radio_buttons optional" type="radio" value="14" name="scale_team[flag_id]" id="scale_team_flag_id_14">Cant support / explain code</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-37498">
<p class="marked-title">Leave a comment on this evaluation ( 2048 chars max )</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
<footer class="legal-mentions text-center text-muted my-4 col-sm-12 flex justify-content-center flex-column flex-sm-row"><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/33">API General Terms of Use</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/2">Declaration on the use of cookies</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/6">General term of use of the site</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/3">Legal notices</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/5">Privacy policy</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/9">Règlement Intérieur</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/1">Terms of use for video surveillance</a></footer>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
<script async="" await="" src="Intra%20Projects%20Learn2Slither%20Edit_files/google-analytics_analytics.js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BJ34XNRJCV');
</script>
<script>
var jsClasses = ["new_message", "topic-reply"];
jsClasses.forEach(function(className) {
Array.prototype.forEach.call(document.getElementsByClassName(className), function (e) {
e.classList.add("js-hidden");
});
});
</script>
<script src="Intra%20Projects%20Learn2Slither%20Edit_files/application-95ef25cbe695711a70570334290328b739c8fb6c2d07a6641.js"></script>
</body></html>

View File

@ -0,0 +1,699 @@
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects ft_linux Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="Ed2Rx2czZ5OZjcYJ2CboOHbQY/5vAxINjRQntSMrvUckonk7olOS3aadsKlDkKPFBfpNJUMqqeO+3nTeS+KT0A==">
<link rel="stylesheet" media="all" href="Intra%20Projects%20ft_linux%20Edit_files/application-4521e8903afd8765f2285e3c31ec78586ca09c83d617c579.css">
<link rel="stylesheet" media="screen" href="Intra%20Projects%20ft_linux%20Edit_files/bzd7hlb.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
<script>
(function() {
this._user = {
"login": "bgoron",
"id": 156720,
"url": "https://profile.intra.42.fr/users/bgoron"
};
this._consumer_address = 'wss://profile.intra.42.fr/cable';
}).call(this);
</script>
<script>
(function() {
this._environment = "production";
this._git_commit = "";
this._release = this._git_commit;
}).call(this);
</script>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 0;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 1433.1px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="Intra%20Projects%20ft_linux%20Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
<form action="https://profile.intra.42.fr/searches/search" class="main-navbar-search hidden-xs js-search" data-project-url="https://projects.intra.42.fr/" data-user-url="https://profile.intra.42.fr/users/" method="get">
<span class="twitter-typeahead" style="position: relative; display: inline-block;"><input autocomplete="off" autofocus="" class="search-input tt-input" name="query" placeholder="search..." spellcheck="false" dir="auto" style="position: relative; vertical-align: top;" aria-activedescendant="" aria-owns="undefined_listbox" role="combobox" aria-readonly="true" aria-autocomplete="list"><span role="status" aria-live="polite" class="visuallyhidden"></span><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: &quot;futura-pt&quot;, &quot;Helvetica&quot;, &quot;Sans serif&quot;; font-size: 20.8px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: optimizelegibility; text-transform: none;"></pre><div role="listbox" class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;"><div role="presentation" class="tt-dataset tt-dataset-0"></div><div role="presentation" class="tt-dataset tt-dataset-1"></div></div></span>
</form>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
<div class="user-actions hidden-xs">
<a class="user-action labelable" data-notification-drop="" href="#"><span class="fal fa-bell"></span>
<span class="user-action-count labeled" data-counter-count="0">0</span>
</a></div>
<span class="dropdown">
<a data-toggle="dropdown" href="#">
<span data-login="bgoron">
bgoron
</span>
<div class="user-profile-picture visible-sidebars" style="background-image: url(https://cdn.intra.42.fr/users/bdb39e655c34fa9267bb51a75d40f2a3/bgoron.jpg)"></div>
</a>
<ul aria-labelledby="User menu" class="dropdown-menu" role="menu">
<li>
<a href="https://profile.intra.42.fr/slots"><span class="iconf-calendar"></span>
Manage slots
</a></li>
<li>
<a href="https://profile.intra.42.fr/users/bgoron/edit">Settings</a>
</li>
<li>
<a rel="nofollow" data-method="delete" href="https://signin.intra.42.fr/users/sign_out?all=false"><span class="iconf-power-off"></span>
<b>Logout</b>
</a></li>
</ul>
</span>
</div>
</div>
<div class="page">
<div class="left-sidebar-fix with-main-menu"></div>
<div class="page-sidebar left-main-container page-sidebar-fixed-left under-main-navbar"><ul class="main-left-navbar">
<div class="_">
<li>
<a class="inactive" href="https://profile.intra.42.fr/"><span class="icon-user-2"></span>
<span class="visible-overlay">
Profile
</span>
</a></li>
<li>
<a class="active" href="https://projects.intra.42.fr/"><span class="icon-network-2-1"></span>
<span class="visible-overlay">
Projets
</span>
</a></li>
<li>
<a class="inactive" href="https://elearning.intra.42.fr/"><span class="icon-movie-play-1"></span>
<span class="visible-overlay">
E-learning
</span>
</a></li>
<li>
<a class="inactive" href="https://stackoverflowteams.com/c/42network"><span class="icon-bubble-conversation-5"></span>
<span class="visible-overlay">
Forum
</span>
</a></li>
<li>
<a class="inactive" href="https://companies.intra.42.fr/"><span class="icon-briefcase"></span>
<span class="visible-overlay">
Companies
</span>
</a></li>
<li>
<a class="inactive" href="https://meta.intra.42.fr/"><span class="icon-compass-2"></span>
<span class="visible-overlay">
Meta
</span>
</a></li>
<li>
<a class="inactive" href="https://shop.intra.42.fr/"><span class="icon-shopping-1"></span>
<span class="visible-overlay">
Shop
</span>
</a></li>
</div>
<div class="admin-links">
</div>
</ul><div class="app-sidebar-left">
<div class="marked-title">Menu</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/"><span class="icon-briefcase project-status-icon"></span>
My projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/graph"><span class="icon-globe project-status-icon"></span>
Holy Graph
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/list"><span class="icon-list-1 project-status-icon"></span>
List projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/cursus_subscriptions"><span class="icon-list-1 project-status-icon"></span>
Available Cursus
</a></div>
<div class="marked-title">Your projects</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/libasm"><span class="icon-box-2 project-status-icon"></span>
libasm
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/libftpp"><span class="icon-box-2 project-status-icon"></span>
libftpp
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-rainfall"><span class="icon-box-2 project-status-icon"></span>
rainfall
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-swingy"><span class="icon-box-2 project-status-icon"></span>
swingy
</a></div>
</div></div>
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/42cursus-ft_linux">ft_linux</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 1 student in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="team-users-list d-flex justify-content-center">
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/b587b724b3486066c9b9f43e6b877cfe/tomoron.jpg)" title="" data-original-title="tomoron"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
<span class="iconf-star-1 leader-user" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Team leader"></span>
</div>
</div>
</div>
<small class="full-width text-muted">Git repository</small>
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
<input class="repo-url form-control" disabled="disabled" type="text" value="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-dd2a7d2d-0027-44be-b715-3f0273010fb0-6601764-tomoron">
<span class="copy input-group-addon" data-clipboard-text="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-dd2a7d2d-0027-44be-b715-3f0273010fb0-6601764-tomoron">
<span class="icon-paste"></span>
</span>
</div>
</div>
<hr>
<div class="p-0 scale-introduction dancer from-down" id="introduction-48356">
<h3 class="font-weight-bold mb-1">Introduction</h3>
<p>
<br>To ensure this evaluation goes smoothly, please respect the<br>following set of rules :<br><br>- Please remain courteous, polite, respectful and constructive at<br> all times during this exchange. The trust bond between the<br> school's community and yourself depends on it.<br><br>- Should you notice any malfunctions within the submitted project,<br> make sure you take the time to discuss those with the student (or<br> group of students) being graded.<br><br>- Keep in mind that some subjects can be interpreted differently. If<br> you come accross a situation where the student you're grading has<br> interpreted the subject differently than you, try and judge fairly<br> whether their interpretation is acceptable or not, and grade them<br> accordingly. Our peer-evaluation system can only work if you both<br> take it seriously.<br>
</p>
</div>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-48356">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
<br>- Because of the size of a disk image, the student must have his<br> disk image for the evaluation.<br><br>- Before anything, compare the sum in the git of the student and the<br> sum of the actual disk image. This might take time, don't wait for<br> it and begin the evaluation.<br><br>- Of course, if the sum does not match the git one, the scale stop<br> here.<br><br>- Make sure to check wether the GiT submission directory belongs to<br> the student (or group) you're grading, and that it's the right<br> project.<br><br>- Make sure no mischievous aliases have been used to trick you into<br> correcting something that is not actually in the official<br> submitted directory.<br><br>- Any script created to make this evaluation session easier -<br> whether it was produced by you or the student being graded - must<br> be checked rigorously in order to avoid bad surprises.<br><br>- If the student who is grading this project hasn't done the project<br> him/herself yet, he/she must read the whole topic before starting<br> the evaluation session.<br><br>- Use the flags available to you on this scale in order to report a<br> submission directory that is empty, non-functional, that contains<br> a norm errors or a case of cheating, etc... In this case, the<br> evaluation session ends and the final grade is 0 (or -42, in case<br> of cheating). However, unless the student has cheated, we advise<br> you to go through the project together in order for the two (or<br> more) of you to identify the problems that may have led for this<br> project to fail, and avoid repeating those mistakes for future<br> projects.<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-48356">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/37689/ft_linux_basic.sh">ft_linux_basic.sh</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/37690/ft_linux_others.sh">ft_linux_others.sh</a>
</h4>
</div>
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/172837/en.subject.pdf">subject.pdf</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_8428966" action="/projects/42cursus-ft_linux/project_sessions/3457/evaluations/1681/scales/48356/scale_teams/8428966" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="Ed2Rx2czZ5OZjcYJ2CboOHbQY/5vAxINjRQntSMrvUckonk7olOS3aadsKlDkKPFBfpNJUMqqeO+3nTeS+KT0A=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-133692">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Basics</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Linux Kernel</h4>
<p class="scale-section-guidelines">
</p><p>Is the kernel a Linux one ? (If the kernel is a BSD, the scale<br>
stops here, if it's a DOS one, burn the student alive, kill his<br>
entire family, and grade -42.)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454647" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Linux Version</h4>
<p class="scale-section-guidelines">
</p><p>Is the Linux kernel version &gt;= 4.0?</p>
<p>Check that the source code located in /usr/src/linux-&lt;version&gt; matches a kernel version &gt;= 4.0.</p>
<p>Check the kernel version in the logs. It should include the students login, e.g.:<br>
Linux version &lt;version&gt;-&lt;student_login&gt;</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454648" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Partitions</h4>
<p class="scale-section-guidelines">
</p><p>Is there at least 3 partitions on the system ? (root, /boot,<br>
swap)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454649" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Kernel Module loader</h4>
<p class="scale-section-guidelines">
</p><p>Is there a module loader on the system ? (udev like)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454650" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Bootloader</h4>
<p class="scale-section-guidelines">
</p><p>Is there a bootloader ? (LILO / GRUB / ...)</p>
<p>Check the kernel binary name in /boot. Must be something like<br>
vmlinuz-&lt;linux_version&gt;-&lt;student_login&gt;</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454651" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Daemon manager</h4>
<p class="scale-section-guidelines">
</p><p>Is there a daemon manager ? (SysV, SystemD, ...)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454652" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-133693">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Binaries</h3>
<p class="font-italic">
Installed binaries
</p>
</div>
<h4 class="scale-question-name">Basic Linux tools</h4>
<p class="scale-section-guidelines">
</p><p>Test the script ft_linux_basic.sh, available at the top of the<br>
correction page. If the score is not perfect, the scale stop<br>
here.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454653" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Other binaries</h4>
<p class="scale-section-guidelines">
</p><p>Test the following script ft_linux_others.sh, available at the<br>
top of the correction page. Report the score below</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454654" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][7][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Editor</h4>
<p class="scale-section-guidelines">
</p><p>Test if an editor is present on the system. (More points if it's<br>
vim :D)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454655" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-133694">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">The interweb</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Internet connection</h4>
<p class="scale-section-guidelines">
</p><p>Internet working ? (Net module + ping / curl / ...)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454656" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-133695">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">The real test</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">screen</h4>
<p class="scale-section-guidelines">
</p><p>Now the real test.</p>
<p>Ask the student to install the screen package. The package can<br>
be found<br>
<a href="https://ftp.gnu.org/gnu/screen/screen-4.5.1.tar.gz">Here.</a></p>
<p>If the student can't install the package the evaluation stop<br>
here, grade 0.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][10][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454657" name="[scale_team][answers_attributes][10][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-133696">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Bonus Binaries</h4>
<p class="scale-section-guidelines">
</p><p>Time to make your demo ! Present your distribution, and the<br>
software on it. Bonus point for X Applications (Windows Manager,<br>
X Server)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][11][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="454658" name="[scale_team][answers_attributes][11][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][11][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-1"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-48356">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Dont forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive active" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-iconf-folder-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_work negative on-active" for="scale_team_flag_id_3" name="scale_team[flag_id]">
<span class="iconf-file-attention"></span>
Incomplete work
</label>
<label class="btn btn-danger btn-default label_flag_no_author_file negative on-active" for="scale_team_flag_id_4" name="scale_team[flag_id]">
<span class="iconf-file-1"></span>
No author file
</label>
<label class="btn btn-danger btn-default label_flag_invalid_compilation negative on-active" for="scale_team_flag_id_5" name="scale_team[flag_id]">
<span class="iconf-skull-2"></span>
Invalid compilation
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_forbidden_function negative on-active" for="scale_team_flag_id_13" name="scale_team[flag_id]">
<span class="iconf-delete-2"></span>
Forbidden function
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_3"><input class="radio_buttons optional" type="radio" value="3" name="scale_team[flag_id]" id="scale_team_flag_id_3">Incomplete work</label></span><span class="radio"><label for="scale_team_flag_id_5"><input class="radio_buttons optional" type="radio" value="5" name="scale_team[flag_id]" id="scale_team_flag_id_5">Invalid compilation</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_13"><input class="radio_buttons optional" type="radio" value="13" name="scale_team[flag_id]" id="scale_team_flag_id_13">Forbidden Function</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span><span class="radio"><label for="scale_team_flag_id_4"><input class="radio_buttons optional" type="radio" value="4" name="scale_team[flag_id]" id="scale_team_flag_id_4">No author file</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-48356">
<p class="marked-title">Leave a comment on this evaluation ( 2048 chars max )</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
<footer class="legal-mentions text-center text-muted my-4 col-sm-12 flex justify-content-center flex-column flex-sm-row"><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/33">API General Terms of Use</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/2">Declaration on the use of cookies</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/5">Privacy policy</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/6">General term of use of the site</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/9">Règlement Intérieur</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/1">Terms of use for video surveillance</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/3">Legal notices</a></footer>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
<script async="" await="" src="Intra%20Projects%20ft_linux%20Edit_files/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BJ34XNRJCV');
</script>
<script>
var jsClasses = ["new_message", "topic-reply"];
jsClasses.forEach(function(className) {
Array.prototype.forEach.call(document.getElementsByClassName(className), function (e) {
e.classList.add("js-hidden");
});
});
</script>
<script src="Intra%20Projects%20ft_linux%20Edit_files/application-95ef25cbe695711a70570334290328b739c8fb6c2d07a6641.js"></script>
</body></html>

View File

@ -0,0 +1,679 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects h42n42 Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="aIQKQVP6SQYaSduoeX1iO3te5rTFpZ+EbmEQj3kAetYsnT/1EES4Su0DjE+tj+dlFQdNI0ZS+dA8qACSF5tPog==">
<link rel="stylesheet" media="all" href="./Intra Projects h42n42 Edit_files/application-4521e8903afd8765f2285e3c31ec78586ca09c83d617c579141fe7e86adc2491.css">
<link rel="stylesheet" media="screen" href="./Intra Projects h42n42 Edit_files/bzd7hlb.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
<script>
(function() {
this._user = {
"login": "kiroussa",
"id": 156843,
"url": "https://profile.intra.42.fr/users/kiroussa"
};
this._consumer_address = 'wss://profile.intra.42.fr/cable';
}).call(this);
</script>
<script>
(function() {
this._environment = "production";
this._git_commit = "";
this._release = this._git_commit;
}).call(this);
</script>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 0;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 1422.12px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="./Intra Projects h42n42 Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41b16255106c12.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
<form action="https://profile.intra.42.fr/searches/search" class="main-navbar-search hidden-xs js-search" data-project-url="https://projects.intra.42.fr/" data-user-url="https://profile.intra.42.fr/users/" method="get">
<span class="twitter-typeahead" style="position: relative; display: inline-block;"><input autocomplete="off" autofocus="" class="search-input tt-input" name="query" placeholder="search..." spellcheck="false" dir="auto" style="position: relative; vertical-align: top;" aria-activedescendant="" aria-owns="undefined_listbox" role="combobox" aria-readonly="true" aria-autocomplete="list"><span role="status" aria-live="polite" class="visuallyhidden"></span><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: futura-pt, Helvetica, &quot;Sans serif&quot;; font-size: 20.8px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><div role="listbox" class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;"><div role="presentation" class="tt-dataset tt-dataset-0"></div><div role="presentation" class="tt-dataset tt-dataset-1"></div></div></span>
</form>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
<div class="user-actions hidden-xs">
<a class="user-action labelable" data-notification-drop="" href="https://projects.intra.42.fr/scale_teams/8525663/edit#"><span class="fal fa-bell"></span>
<span class="user-action-count labeled" data-counter-count="0">0</span>
</a></div>
<span class="dropdown">
<a data-toggle="dropdown" href="https://projects.intra.42.fr/scale_teams/8525663/edit#">
<span data-login="kiroussa">
kiroussa
</span>
<div class="user-profile-picture visible-sidebars" style="background-image: url(https://cdn.intra.42.fr/users/1fd72a2be6d99e984a9ad53559455cb7/kiroussa.jpg)"></div>
</a>
<ul aria-labelledby="User menu" class="dropdown-menu" role="menu">
<li>
<a href="https://profile.intra.42.fr/slots"><span class="iconf-calendar"></span>
Manage slots
</a></li>
<li>
<a href="https://profile.intra.42.fr/users/kiroussa/edit">Settings</a>
</li>
<li>
<a rel="nofollow" data-method="delete" href="https://signin.intra.42.fr/users/sign_out?all=false"><span class="iconf-power-off"></span>
<b>Logout</b>
</a></li>
</ul>
</span>
</div>
</div>
<div class="page">
<div class="left-sidebar-fix with-main-menu"></div>
<div class="page-sidebar left-main-container page-sidebar-fixed-left under-main-navbar"><ul class="main-left-navbar">
<div class="_">
<li>
<a class="inactive" href="https://profile.intra.42.fr/"><span class="icon-user-2"></span>
<span class="visible-overlay">
Profile
</span>
</a></li>
<li>
<a class="active" href="https://projects.intra.42.fr/"><span class="icon-network-2-1"></span>
<span class="visible-overlay">
Projets
</span>
</a></li>
<li>
<a class="inactive" href="https://elearning.intra.42.fr/"><span class="icon-movie-play-1"></span>
<span class="visible-overlay">
E-learning
</span>
</a></li>
<li>
<a class="inactive" href="https://stackoverflowteams.com/c/42network"><span class="icon-bubble-conversation-5"></span>
<span class="visible-overlay">
Forum
</span>
</a></li>
<li>
<a class="inactive" href="https://companies.intra.42.fr/"><span class="icon-briefcase"></span>
<span class="visible-overlay">
Companies
</span>
</a></li>
<li>
<a class="inactive" href="https://meta.intra.42.fr/"><span class="icon-compass-2"></span>
<span class="visible-overlay">
Meta
</span>
</a></li>
<li>
<a class="inactive" href="https://shop.intra.42.fr/"><span class="icon-shopping-1"></span>
<span class="visible-overlay">
Shop
</span>
</a></li>
</div>
<div class="admin-links">
</div>
</ul><div class="app-sidebar-left">
<div class="marked-title">Menu</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/"><span class="icon-briefcase project-status-icon"></span>
My projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/graph"><span class="icon-globe project-status-icon"></span>
Holy Graph
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/list"><span class="icon-list-1 project-status-icon"></span>
List projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/cursus_subscriptions"><span class="icon-list-1 project-status-icon"></span>
Available Cursus
</a></div>
<div class="marked-title">Your projects</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i-work-experience-i-company-final-evaluation"><span class="icon-box-2 project-status-icon"></span>
Work Experience I - Company Final Evaluation
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i-work-experience-i-company-mid-evaluation"><span class="icon-box-2 project-status-icon"></span>
Work Experience I - Company Mid Evaluation
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-override"><span class="icon-box-2 project-status-icon"></span>
override
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-rainfall"><span class="icon-box-2 project-status-icon"></span>
rainfall
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-red-tetris"><span class="icon-box-2 project-status-icon"></span>
red-tetris
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i"><span class="icon-box-2 project-status-icon"></span>
Work Experience I
</a></div>
</div></div>
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/42cursus-h42n42">h42n42</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 1 student in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="team-users-list d-flex justify-content-center">
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/4dce0d2a90c6bdb5662b4844bd48fa49/kbrousse.JPG)" title="" data-original-title="kbrousse"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
<span class="iconf-star-1 leader-user" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Team leader"></span>
</div>
</div>
</div>
<small class="full-width text-muted">Git repository</small>
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
<input class="repo-url form-control" disabled="" type="text" value="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-fe18729b-8a70-467b-a157-9ef15e26b5a8-6846960-kbrousse">
<span class="copy input-group-addon" data-clipboard-text="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-fe18729b-8a70-467b-a157-9ef15e26b5a8-6846960-kbrousse">
<span class="icon-paste"></span>
</span>
</div>
</div>
<hr>
<div class="p-0 scale-introduction dancer from-down" id="introduction-44078">
<h3 class="font-weight-bold mb-1">Introduction</h3>
<p>
<br>For the smooth running of this evaluation, please respect the following rules:<br><br>- Remain polite, kind, respectful and constructive whatever happens during<br> this conversation. It's a matter of confidence between you and the<br> 42 community.<br><br>- Highlight the potential problems you ve had with the work you're presented<br> to the person or the group you're grading, and take the time to talk about<br> and discuss those issues.<br><br>- Accept the fact that the exam subject or required functions might lead<br> to different interpretations. Listen to your discussion partner's<br> perspective with an open mind (are they right or wrong ?) and grade them as<br> fairly as possible.<br> 42's teaching methods can make sense only if peer-evaluation is<br> taken seriously.<br>
</p>
</div>
<div class="p-0 scale-disclaimer dancer from-down" id="disclaimer-44078">
<h3 class="font-weight-bold mb-1">Disclaimer</h3>
<p>
<br>Ocsigen is a open software issued by CNRS, University of Paris<br>Diderot and Inria public research labs. It is developed in collaboration<br>with BeSport SAS. It is a collaborative project growing with each user<br>contributions.<br><br>This project will only give you a small glimpse of what Ocsigen<br>can do and it won't use its most significant functionalities (client-<br>server programming, mobile applications...). These points will be<br>tackled in a coming project.<br><br>This project is an introduction to web programming in OCaml on the client<br>side with Ocsigen. It helps us evaluate:<br><br>- First, your ability to approach a new technology with an open mind,<br> to find your way in a substantial documentation in English and to<br> join a community around an open software.<br><br>- Your understanding of the web programming basics with HTML, CSS<br> and DOM on the client side.<br><br>- Your understanding of the programming basics in OCaml, Tyxml<br> and Lwt libraries and interaction between OCaml and the DOM.<br><br>- Your ability to achieve a clean and comfortable application with playable<br> rules.<br>
</p>
</div>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-44078">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
<br>- You must only evaluate what you will find in the student's or group's<br> GiT repository.<br><br>- Take the time to check that the GiT repository matches the student or<br> group and the project.<br><br>- Double check that no malicious alias was used to mislead you and make you<br> grade something different from the official repository content.<br><br>- If a script supposed to help evaluate the exam is supplied by either side, the<br> other side will have to strictly check it to avoid nasty surprises.<br><br>- If the evaluating student has not yet taken this project, they will have to<br> read the exam subject in its entirety before starting the evaluation.<br><br>- Use the flags available on this grading system to signal an empty or non-<br> functional project, a norm flaw, cheating, etc. In that case, evaluation stops<br> and final grade is 0 (or -42 if it's a cheating problem). However, if it's<br> not a cheating problem, you are invited to keep talking about the work that<br> has been done (or not done, as a matter of fact) in order to identify the<br> issues that lead to this stalemate and avoid it next time.<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-44078">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/163442/en.subject.pdf">subject.pdf</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_8525663" action="https://projects.intra.42.fr/projects/42cursus-h42n42/project_sessions/3471/evaluations/1759/scales/44078/scale_teams/8525663" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="aIQKQVP6SQYaSduoeX1iO3te5rTFpZ+EbmEQj3kAetYsnT/1EES4Su0DjE+tj+dlFQdNI0ZS+dA8qACSF5tPog=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-122206">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Playability and respect of the guidelines</h3>
<p class="font-italic">
This part will evaluate the mandatory part of the subject and check that
all the points required by the subject are valid.
</p>
</div>
<h4 class="scale-question-name">Creatures movements</h4>
<p class="scale-section-guidelines">
</p><p>Creatures movements must be smooth and realistic (rebounds in particular).<br>
There should be no creature outside the play area, even the berserk when<br>
they're close to the edge. Creatures must be able to go to the edges of<br>
the terrain.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413237" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Contamination</h4>
<p class="scale-section-guidelines">
</p><p>Sick creatures must disappear after a while. (1 point) Touch<br>
contamination with the river or a sick creature must be<br>
implemented. (2 points) Distance calculation must be accurate<br>
(no contamination without touch, potential contamination if<br>
touch). (2 points)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413238" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][1][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Berserk and mean creatures</h4>
<p class="scale-section-guidelines">
</p><p>Some sick creatures will go berserk. They grow bigger, thus increasing the<br>
risk of touching another creature. (2 points) Berserk size must be taken<br>
into account in the contamination's calculation. (1 point) Some sick<br>
creatures must get mean. They run after the healthy creatures to<br>
contaminate them. (2 points)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413239" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][2][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-1"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Hospital</h4>
<p class="scale-section-guidelines">
</p><p>When sick creatures are taken to the hospital, they must be healed when<br>
they get out.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413240" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Game</h4>
<p class="scale-section-guidelines">
</p><p>The difficulty must evolve and the game must be playable.(2<br>
points) No new creature should spawn if there is no healthy creature<br>
left.(3 points)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413241" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][4][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-2"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-122207">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Technical points</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Competition</h4>
<p class="scale-section-guidelines">
</p><p>Each creature will be animated by a LWT thread, excluding any kind of<br>
competition (don't use a Javascript function like setTimeout in<br>
particular). Creature movement must be smooth(not jerky).</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413242" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Handling HTML</h4>
<p class="scale-section-guidelines">
</p><p>Each creature must be an HTML element. All the dynamically<br>
generated elements of the page should be thanks to the TyXML<br>
library (Eliom_content.Html5 for instance).</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413243" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Interacting with the DOM</h4>
<p class="scale-section-guidelines">
</p><p>When there's no more creature on the map, a message must appear,<br>
indicating the game is over.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413244" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Mouse events</h4>
<p class="scale-section-guidelines">
</p><p>The mouse events must be exclusively programmed with the Lwt_js_events<br>
library. Creatures should be easily movable and dropped anywhere in the<br>
page. Test the creature drop out of the game area and out of the window.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413245" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-122208">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus</h3>
<p class="font-italic">
Bonus will be taken into account only if the mandatory part is PERFECT.
Perfect means it showed no error or random behavior during the test and the
evaluation.
</p>
</div>
<h4 class="scale-question-name">Grapnic design</h4>
<p class="scale-section-guidelines">
</p><p>The game is graphically pleasant. For instance:</p>
<ul>
<li>Each different type of creature show a specific graphic detail that
sets them apart.</li>
<li>The game environment is consistently and pleasantly stylised.</li>
<li>Etc.</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413246" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Curseurs</h4>
<p class="scale-section-guidelines">
</p><p>A form allows to set the different parameters of the game. Overall,<br>
the assessed student has used cursors, radio knobs and check boxes to<br>
fix the game's and environment's parameters. Changing the form settings<br>
has a real impact on the game's environment.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][10][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413247" name="[scale_team][answers_attributes][10][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][10][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-3"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Effective collision detection</h4>
<p class="scale-section-guidelines">
</p><p>Ask the assessed student if the collision detection between<br>
the creatures has been optimized. Is it effectively implemented?<br>
Did the student use a quadtree type solution, for instance?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][11][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="413248" name="[scale_team][answers_attributes][11][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][11][value]" id="radio_[scale_team][answers_attributes][11]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][11]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][11][value]" id="radio_[scale_team][answers_attributes][11]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][11]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-44078">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Dont forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-iconf-folder-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_no_author_file negative on-active" for="scale_team_flag_id_4" name="scale_team[flag_id]">
<span class="iconf-file-1"></span>
No author file
</label>
<label class="btn btn-danger btn-default label_flag_invalid_compilation negative on-active" for="scale_team_flag_id_5" name="scale_team[flag_id]">
<span class="iconf-skull-2"></span>
Invalid compilation
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_group negative on-active" for="scale_team_flag_id_10" name="scale_team[flag_id]">
<span class="iconf-user-delete-2"></span>
Incomplete group
</label>
<label class="btn btn-danger btn-default label_flag_forbidden_function negative on-active" for="scale_team_flag_id_13" name="scale_team[flag_id]">
<span class="iconf-delete-2"></span>
Forbidden function
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_5"><input class="radio_buttons optional" type="radio" value="5" name="scale_team[flag_id]" id="scale_team_flag_id_5">Invalid compilation</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_10"><input class="radio_buttons optional" type="radio" value="10" name="scale_team[flag_id]" id="scale_team_flag_id_10">Incomplete group</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_13"><input class="radio_buttons optional" type="radio" value="13" name="scale_team[flag_id]" id="scale_team_flag_id_13">Forbidden Function</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span><span class="radio"><label for="scale_team_flag_id_4"><input class="radio_buttons optional" type="radio" value="4" name="scale_team[flag_id]" id="scale_team_flag_id_4">No author file</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-44078">
<p class="marked-title">Leave a comment on this evaluation ( 2048 chars max )</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
<footer class="legal-mentions text-center text-muted my-4 col-sm-12 flex justify-content-center flex-column flex-sm-row"><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/33">API General Terms of Use</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/2">Declaration on the use of cookies</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/5">Privacy policy</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/6">General term of use of the site</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/9">Règlement Intérieur</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/1">Terms of use for video surveillance</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/3">Legal notices</a></footer>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
<script async="" await="" src="./Intra Projects h42n42 Edit_files/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BJ34XNRJCV');
</script>
<script>
var jsClasses = ["new_message", "topic-reply"];
jsClasses.forEach(function(className) {
Array.prototype.forEach.call(document.getElementsByClassName(className), function (e) {
e.classList.add("js-hidden");
});
});
</script>
<script src="./Intra Projects h42n42 Edit_files/application-95ef25cbe695711a70570334290328b739c8fb6c2d07a6641f6e0528acc327eb.js"></script>
</body></html>

View File

@ -0,0 +1,811 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects krpsim Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="B9aEsMIJjaRkkz3xVHHE0C6Havhs7+YkN0T9Zo2VX7jkVQ70wjsIsNOqnifpjNP1VrLAIevTyiY17Tgwhh/dlQ==">
<link rel="stylesheet" media="all" href="./Intra Projects krpsim Edit_files/application-4521e8903afd8765f2285e3c31ec78586ca09c83d617c579141fe7e86adc2491.css">
<link rel="stylesheet" media="screen" href="./Intra Projects krpsim Edit_files/bzd7hlb.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
<script>
(function() {
this._user = {
"login": "erey-bet",
"id": 117526,
"url": "https://profile.intra.42.fr/users/erey-bet"
};
this._consumer_address = 'wss://profile.intra.42.fr/cable';
}).call(this);
</script>
<script>
(function() {
this._environment = "production";
this._git_commit = "";
this._release = this._git_commit;
}).call(this);
</script>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 13;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 1424.67px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="./Intra Projects krpsim Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41b16255106c12.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
<form action="https://profile.intra.42.fr/searches/search" class="main-navbar-search hidden-xs js-search" data-project-url="https://projects.intra.42.fr/" data-user-url="https://profile.intra.42.fr/users/" method="get">
<span class="twitter-typeahead" style="position: relative; display: inline-block;"><input autocomplete="off" autofocus="" class="search-input tt-input" name="query" placeholder="search..." spellcheck="false" dir="auto" style="position: relative; vertical-align: top;" aria-activedescendant="" aria-owns="undefined_listbox" role="combobox" aria-readonly="true" aria-autocomplete="list"><span role="status" aria-live="polite" class="visuallyhidden"></span><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: futura-pt, Helvetica, &quot;Sans serif&quot;; font-size: 20.8px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><div role="listbox" class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;"><div role="presentation" class="tt-dataset tt-dataset-0"></div><div role="presentation" class="tt-dataset tt-dataset-1"></div></div></span>
</form>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
<div class="user-actions hidden-xs">
<a class="user-action labelable" data-notification-drop="" href="https://projects.intra.42.fr/scale_teams/8559517/edit#"><span class="fal fa-bell"></span>
<span class="user-action-count labeled" data-counter-count="13">13</span>
</a></div>
<span class="dropdown">
<a data-toggle="dropdown" href="https://projects.intra.42.fr/scale_teams/8559517/edit#">
<span data-login="erey-bet">
erey-bet
</span>
<div class="user-profile-picture visible-sidebars" style="background-image: url(https://cdn.intra.42.fr/users/ac45f3bafbaa034d737c1a14b339f83a/erey-bet.jpg)"></div>
</a>
<ul aria-labelledby="User menu" class="dropdown-menu" role="menu">
<li>
<a href="https://profile.intra.42.fr/slots"><span class="iconf-calendar"></span>
Manage slots
</a></li>
<li>
<a href="https://profile.intra.42.fr/users/erey-bet/edit">Settings</a>
</li>
<li>
<a rel="nofollow" data-method="delete" href="https://signin.intra.42.fr/users/sign_out?all=false"><span class="iconf-power-off"></span>
<b>Logout</b>
</a></li>
</ul>
</span>
</div>
</div>
<div class="page">
<div class="left-sidebar-fix with-main-menu"></div>
<div class="page-sidebar left-main-container page-sidebar-fixed-left under-main-navbar"><ul class="main-left-navbar">
<div class="_">
<li>
<a class="inactive" href="https://profile.intra.42.fr/"><span class="icon-user-2"></span>
<span class="visible-overlay">
Profile
</span>
</a></li>
<li>
<a class="active" href="https://projects.intra.42.fr/"><span class="icon-network-2-1"></span>
<span class="visible-overlay">
Projets
</span>
</a></li>
<li>
<a class="inactive" href="https://elearning.intra.42.fr/"><span class="icon-movie-play-1"></span>
<span class="visible-overlay">
E-learning
</span>
</a></li>
<li>
<a class="inactive" href="https://stackoverflowteams.com/c/42network"><span class="icon-bubble-conversation-5"></span>
<span class="visible-overlay">
Forum
</span>
</a></li>
<li>
<a class="inactive" href="https://companies.intra.42.fr/"><span class="icon-briefcase"></span>
<span class="visible-overlay">
Companies
</span>
</a></li>
<li>
<a class="inactive" href="https://meta.intra.42.fr/"><span class="icon-compass-2"></span>
<span class="visible-overlay">
Meta
</span>
</a></li>
<li>
<a class="inactive" href="https://shop.intra.42.fr/"><span class="icon-shopping-1"></span>
<span class="visible-overlay">
Shop
</span>
</a></li>
</div>
<div class="admin-links">
</div>
</ul><div class="app-sidebar-left">
<div class="marked-title">Menu</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/"><span class="icon-briefcase project-status-icon"></span>
My projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/graph"><span class="icon-globe project-status-icon"></span>
Holy Graph
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/list"><span class="icon-list-1 project-status-icon"></span>
List projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/cursus_subscriptions"><span class="icon-list-1 project-status-icon"></span>
Available Cursus
</a></div>
<div class="marked-title">Your projects</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i-work-experience-i-company-final-evaluation"><span class="icon-box-2 project-status-icon"></span>
Work Experience I - Company Final Evaluation
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i-work-experience-i-company-mid-evaluation"><span class="icon-box-2 project-status-icon"></span>
Work Experience I - Company Mid Evaluation
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/libasm"><span class="icon-box-2 project-status-icon"></span>
libasm
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-malloc"><span class="icon-box-2 project-status-icon"></span>
malloc
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/work-experience-i"><span class="icon-box-2 project-status-icon"></span>
Work Experience I
</a></div>
</div></div>
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/42cursus-krpsim">krpsim</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 3 students in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="team-users-list d-flex justify-content-center">
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/237cce88ef82b71f6a6a0fb5adc2bb37/brenaudo.JPG)" title="" data-original-title="brenaudo"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
</div>
</div>
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/318d6da03a90a8c7fd5479d70868652c/lfarina.jpg)" title="" data-original-title="lfarina"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
<span class="iconf-star-1 leader-user" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Team leader"></span>
</div>
</div>
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/0646e9e23b378835a96e3b0a50fd3d3c/nskiba.jpg)" title="" data-original-title="nskiba"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
</div>
</div>
</div>
<small class="full-width text-muted">Git repository</small>
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
<input class="repo-url form-control" disabled="" type="text" value="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-1277b6b0-d7a0-4e0d-ac24-54ad161f9d08-6866842-lfarina">
<span class="copy input-group-addon" data-clipboard-text="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-1277b6b0-d7a0-4e0d-ac24-54ad161f9d08-6866842-lfarina">
<span class="icon-paste"></span>
</span>
</div>
</div>
<hr>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-16684">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
<br>This is the KrpSim grading system. Keep in mind that only a few display<br>require an accurate formatting. The main focus of this project is<br>ressource optimisation, hence, the efficiency of your program. On a similar<br>process description file, the program may not systematically give the same<br>answer each time you run it. This should not be a decisive factor.<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-16684">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/60875/en.subject.pdf">subject.pdf</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/11049/resources.tgz">resources.tgz</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_8559517" action="https://projects.intra.42.fr/projects/42cursus-krpsim/project_sessions/3434/evaluations/1762/scales/16684/scale_teams/8559517" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="B9aEsMIJjaRkkz3xVHHE0C6Havhs7+YkN0T9Zo2VX7jkVQ70wjsIsNOqnifpjNP1VrLAIevTyiY17Tgwhh/dlQ=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-47726">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Preliminaries</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Basics</h4>
<p class="scale-section-guidelines">
</p><p>Let's look at the basic obligations:</p>
<ul>
<li>the entire group is here and on time.</li>
<li>the repo is complete.</li>
<li>it includes 3 elements: the krpsim program, the krpsim_verif program,
at least one of your own process files (several is better).</li>
</ul>
<p>If one of the conditions has not been met, evaluation stops.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159718" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">The swiss army lib</h4>
<p class="scale-section-guidelines">
</p><p>Make sure no module/library has been set to make the optimization job<br>
for you. You will be graded in regards of the time you've spent thinking<br>
about the subject, find answers by yourself and impplement your own<br>
solutions. This is not an integration project. If an external element is<br>
responsible for solving the problem, evaluation stops. The group goes<br>
back to work and tries harder this time.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159719" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-47727">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Simple tests</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Simple</h4>
<p class="scale-section-guidelines">
</p><p>We use simple tests, ideally provided with resources. But other<br>
kinds of tests are also fine. It's a simple chain, with a starting<br>
stock that is consumed and triggers processes one after the other.<br>
Does the krpsim reach the end of the process? Everytime? When you run<br>
the tests, keep in mind a short timeframe will give less opportunities to<br>
optimize or reach the objective. In contrast, a longer timeframe will<br>
make the objective more reachable (whether it's an accurate result or<br>
a better optimization) more often.<br>
You can run a test with the krpsim_verif, but this should<br>
not be necessary for these simple tests. Your own process description<br>
files must, depending on their natures and difficulties, be used for the<br>
sections/questions that suit them best.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159720" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Simple returns</h4>
<p class="scale-section-guidelines">
</p><p>Using the same process file, do you always reach the end in the minimum<br>
time? Everytime? Minimum time must logically be the simple addition of<br>
each process duration (since it's a simple process chain).</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159721" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Ikea</h4>
<p class="scale-section-guidelines">
</p><p>Now, let's try an Ikea type configuration. Once again, it's better<br>
if there's a little more than an Ikea file. The goal, here, is to repeat<br>
and/or parallelize some actions to reach the objective. The stock should<br>
be used wisely to get all the necessary elements. There are only two<br>
stairs of process (all the stocks' possible paths from beginning to end<br>
include no more than 2 processes). Do we get the result each time (even<br>
if it's not completely accurate, once again)?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159722" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Ikea also returns</h4>
<p class="scale-section-guidelines">
</p><p>Is the time taken to reach the goal of Ikea (or any other similar file)<br>
otipimized? =&gt; ikea is achieved in 50 cycles for instance.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159723" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">More complicated</h4>
<p class="scale-section-guidelines">
</p><p>This time, test a simple configuration containing at least one dead<br>
branch that consumes one resource (and cripples or stops the goal's<br>
achievement). Does it work? Do we reach the goal each time or so?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159724" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Fancy steak?</h4>
<p class="scale-section-guidelines">
</p><p>Test the steak file. If your krpsim is right, it should cook the whole<br>
thing in 30 sec every time.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159725" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-47728">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Checking errors</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">syntax error</h4>
<p class="scale-section-guidelines">
</p><p>A file with misformed process/stock/optim: an error is displayed every<br>
time.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159726" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Missing parts</h4>
<p class="scale-section-guidelines">
</p><p>Are there any missing parts in te process description file ?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159727" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">krpsim_verif</h4>
<p class="scale-section-guidelines">
</p><p>Make sure the krpsim_verif program displays an error message when the<br>
tranmitted file is not right. Also make sure the krpsim_verif displays<br>
an error message when the transmitted file contains an action made<br>
impossible because of the stock condition in the cycle in question.<br>
Finally, does the krpsim_verif indicate that everything is OK if it is<br>
so with a data tracing?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][10][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159728" name="[scale_team][answers_attributes][10][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][10][value]" id="radio_[scale_team][answers_attributes][10]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][10]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-47729">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Open processes</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">non-stop</h4>
<p class="scale-section-guidelines">
</p><p>Test the "recre" configuration or any other simple process file that's<br>
self-sustained. There must be potential blocking situations, occurences<br>
where no process can be executed, that your krpsim should know how to<br>
avoid (as always, the more time it has, the better he will optimize the<br>
goal in order to avoid those blockings).</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][11][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159729" name="[scale_team][answers_attributes][11][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][11][value]" id="radio_[scale_team][answers_attributes][11]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][11]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][11][value]" id="radio_[scale_team][answers_attributes][11]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][11]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Performance</h4>
<p class="scale-section-guidelines">
</p><p>Is the performance better if you're playing with the timeframe offered<br>
to the program? (if the group can explain the performance is already<br>
optimized and they cannot do better, it's fine).</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][12][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159730" name="[scale_team][answers_attributes][12][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][12][value]" id="radio_[scale_team][answers_attributes][12]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][12]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][12][value]" id="radio_[scale_team][answers_attributes][12]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][12]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Bigger</h4>
<p class="scale-section-guidelines">
</p><p>Test with "apple" or any other process complex description, containing<br>
dead branches, loops (like the eggs), potential blocking situations... well,<br>
a lot of difficulties, that is :) Check with the assessor. Check with<br>
the controller.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][13][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159731" name="[scale_team][answers_attributes][13][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][13][value]" id="radio_[scale_team][answers_attributes][13]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][13]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][13][value]" id="radio_[scale_team][answers_attributes][13]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][13]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-47730">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Performance</h4>
<p class="scale-section-guidelines">
</p><p>If you have already made this project, use your own krpsim to compare<br>
performances, for instance. Otherwise, here is a possible performance<br>
scale for apple after 50000 cycles:</p>
<ul>
<li>less thant 50 000 euros (no box sold) : 0pt</li>
<li>up to 100 000 euros</li>
<li>up to 200 000 euros</li>
<li>up to 500 000 euros</li>
<li>up to 1M euros</li>
<li>higher than 1M euros : 5pt. This scale will probably change along with
the evaluation and the various projects' results.</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][14][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="159732" name="[scale_team][answers_attributes][14][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][14][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-16684">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Dont forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-iconf-folder-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_no_author_file negative on-active" for="scale_team_flag_id_4" name="scale_team[flag_id]">
<span class="iconf-file-1"></span>
No author file
</label>
<label class="btn btn-danger btn-default label_flag_invalid_compilation negative on-active" for="scale_team_flag_id_5" name="scale_team[flag_id]">
<span class="iconf-skull-2"></span>
Invalid compilation
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_group negative on-active" for="scale_team_flag_id_10" name="scale_team[flag_id]">
<span class="iconf-user-delete-2"></span>
Incomplete group
</label>
<label class="btn btn-danger btn-default label_flag_forbidden_function negative on-active" for="scale_team_flag_id_13" name="scale_team[flag_id]">
<span class="iconf-delete-2"></span>
Forbidden function
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_5"><input class="radio_buttons optional" type="radio" value="5" name="scale_team[flag_id]" id="scale_team_flag_id_5">Invalid compilation</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_10"><input class="radio_buttons optional" type="radio" value="10" name="scale_team[flag_id]" id="scale_team_flag_id_10">Incomplete group</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_13"><input class="radio_buttons optional" type="radio" value="13" name="scale_team[flag_id]" id="scale_team_flag_id_13">Forbidden Function</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span><span class="radio"><label for="scale_team_flag_id_4"><input class="radio_buttons optional" type="radio" value="4" name="scale_team[flag_id]" id="scale_team_flag_id_4">No author file</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-16684">
<p class="marked-title">Leave a comment on this evaluation ( 2048 chars max )</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
<footer class="legal-mentions text-center text-muted my-4 col-sm-12 flex justify-content-center flex-column flex-sm-row"><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/33">API General Terms of Use</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/2">Declaration on the use of cookies</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/5">Privacy policy</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/6">General term of use of the site</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/9">Règlement Intérieur</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/1">Terms of use for video surveillance</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/3">Legal notices</a></footer>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'976521902d1efe9a',t:'MTc1NjM5Nzk5OS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;" src="./Intra Projects krpsim Edit_files/saved_resource.html"></iframe>
<script async="" await="" src="https://www.googletagmanager.com/gtag/js?id=G-BJ34XNRJCV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BJ34XNRJCV');
</script>
<script>
var jsClasses = ["new_message", "topic-reply"];
jsClasses.forEach(function(className) {
Array.prototype.forEach.call(document.getElementsByClassName(className), function (e) {
e.classList.add("js-hidden");
});
});
</script>
<script src="./Intra Projects krpsim Edit_files/application-95ef25cbe695711a70570334290328b739c8fb6c2d07a6641f6e0528acc327eb.js"></script>
</body></html>

View File

@ -0,0 +1,950 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects malloc Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="Qr//DCnxpbeqskXTT89V0N4/4Dj+BOlAN426FFHJiAx3cphJ9FS6rH4rJ9Q/J6LWy+QrK+tO+kB386IV+JoHkg==">
<link rel="stylesheet" media="all" href="./Intra Projects malloc Edit_files/application-4521e8903afd8765f2285e3c31ec78586ca09c83d617c579141fe7e86adc2491.css">
<link rel="stylesheet" media="screen" href="./Intra Projects malloc Edit_files/bzd7hlb.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
<script>
(function() {
this._user = {
"login": "tomoron",
"id": 156777,
"url": "https://profile.intra.42.fr/users/tomoron"
};
this._consumer_address = 'wss://profile.intra.42.fr/cable';
}).call(this);
</script>
<script>
(function() {
this._environment = "production";
this._git_commit = "";
this._release = this._git_commit;
}).call(this);
</script>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 15;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 458.141px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="./Intra Projects malloc Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41b16255106c12.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
<form action="https://profile.intra.42.fr/searches/search" class="main-navbar-search hidden-xs js-search" data-project-url="https://projects.intra.42.fr/" data-user-url="https://profile.intra.42.fr/users/" method="get">
<span class="twitter-typeahead" style="position: relative; display: inline-block;"><input autocomplete="off" autofocus="" class="search-input tt-input" name="query" placeholder="search..." spellcheck="false" dir="auto" style="position: relative; vertical-align: top;" aria-activedescendant="" aria-owns="undefined_listbox" role="combobox" aria-readonly="true" aria-autocomplete="list"><span role="status" aria-live="polite" class="visuallyhidden"></span><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: futura-pt, Helvetica, &quot;Sans serif&quot;; font-size: 14.56px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><div role="listbox" class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;"><div role="presentation" class="tt-dataset tt-dataset-0"></div><div role="presentation" class="tt-dataset tt-dataset-1"></div></div></span>
</form>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
<div class="user-actions hidden-xs">
<a class="user-action labelable" data-notification-drop="" href="https://projects.intra.42.fr/scale_teams/7783145/edit#"><span class="fal fa-bell"></span>
<span class="user-action-count labeled" data-counter-count="15">15</span>
</a></div>
<span class="dropdown">
<a data-toggle="dropdown" href="https://projects.intra.42.fr/scale_teams/7783145/edit#">
<span data-login="tomoron">
tomoron
</span>
<div class="user-profile-picture visible-sidebars" style="background-image: url(https://cdn.intra.42.fr/users/b587b724b3486066c9b9f43e6b877cfe/tomoron.jpg)"></div>
</a>
<ul aria-labelledby="User menu" class="dropdown-menu" role="menu">
<li>
<a href="https://profile.intra.42.fr/slots"><span class="iconf-calendar"></span>
Manage slots
</a></li>
<li>
<a href="https://profile.intra.42.fr/users/tomoron/edit">Settings</a>
</li>
<li>
<a rel="nofollow" data-method="delete" href="https://signin.intra.42.fr/users/sign_out?all=false"><span class="iconf-power-off"></span>
<b>Logout</b>
</a></li>
</ul>
</span>
</div>
</div>
<div class="page">
<div class="left-sidebar-fix with-main-menu"></div>
<div class="page-sidebar left-main-container page-sidebar-fixed-left under-main-navbar"><ul class="main-left-navbar">
<div class="_">
<li>
<a class="inactive" href="https://profile.intra.42.fr/"><span class="icon-user-2"></span>
<span class="visible-overlay">
Profile
</span>
</a></li>
<li>
<a class="active" href="https://projects.intra.42.fr/"><span class="icon-network-2-1"></span>
<span class="visible-overlay">
Projets
</span>
</a></li>
<li>
<a class="inactive" href="https://elearning.intra.42.fr/"><span class="icon-movie-play-1"></span>
<span class="visible-overlay">
E-learning
</span>
</a></li>
<li>
<a class="inactive" href="https://stackoverflowteams.com/c/42network"><span class="icon-bubble-conversation-5"></span>
<span class="visible-overlay">
Forum
</span>
</a></li>
<li>
<a class="inactive" href="https://companies.intra.42.fr/"><span class="icon-briefcase"></span>
<span class="visible-overlay">
Companies
</span>
</a></li>
<li>
<a class="inactive" href="https://meta.intra.42.fr/"><span class="icon-compass-2"></span>
<span class="visible-overlay">
Meta
</span>
</a></li>
<li>
<a class="inactive" href="https://shop.intra.42.fr/"><span class="icon-shopping-1"></span>
<span class="visible-overlay">
Shop
</span>
</a></li>
</div>
<div class="admin-links">
</div>
</ul><div class="app-sidebar-left">
<div class="marked-title">Menu</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/"><span class="icon-briefcase project-status-icon"></span>
My projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/graph"><span class="icon-globe project-status-icon"></span>
Holy Graph
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/list"><span class="icon-list-1 project-status-icon"></span>
List projects
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/cursus_subscriptions"><span class="icon-list-1 project-status-icon"></span>
Available Cursus
</a></div>
<div class="marked-title">Your projects</div>
<div class="projects-menu-list">
<a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-ft_printf"><span class="icon-box-2 project-status-icon"></span>
ft_printf
</a><a class="project-item sidebar-item" href="https://projects.intra.42.fr/projects/42cursus-malloc"><span class="icon-box-2 project-status-icon"></span>
malloc
</a></div>
</div></div>
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/42cursus-malloc">malloc</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 1 student in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="team-users-list d-flex justify-content-center">
<div class="team-user-item">
<div class="bg-image-item rounded square-s" data-placement="bottom" data-toggle="tooltip" style="background-image: url(https://cdn.intra.42.fr/users/ca510f02fdbfc5a8325e5f4e19fdf3d6/hubourge.jpg)" title="" data-original-title="hubourge"></div>
<div class="team-user-item-actions">
<div class="team-user-role rounded bprima"></div>
<span class="iconf-star-1 leader-user" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Team leader"></span>
</div>
</div>
</div>
<small class="full-width text-muted">Git repository</small>
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
<input class="repo-url form-control" disabled="" type="text" value="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-e1f3debc-7c86-4779-9573-d2c18651a1b9-6365958-hubourge">
<span class="copy input-group-addon" data-clipboard-text="git@vogsphere.42angouleme.fr:vogsphere/intra-uuid-e1f3debc-7c86-4779-9573-d2c18651a1b9-6365958-hubourge">
<span class="icon-paste"></span>
</span>
</div>
</div>
<hr>
<div class="p-0 scale-introduction dancer from-down" id="introduction-34625">
<h3 class="font-weight-bold mb-1">Introduction</h3>
<p>
<br>Please respect the following rules:<br><br>- Remain polite, courteous, respectful and constructive throughout<br> the correction process. The well-being of the community depends on<br> it.<br><br>- Identify with the person (or the group) graded the eventual<br> dysfunctions of the work. Take the time to discuss and debate the<br> problems you have identified.<br><br>- You must consider that there might be some difference in how your<br> peers might have understood the project's instructions and the<br> scope of its functionalities. Always keep an open mind and grade<br> him/her as honestly as possible. The pedagogy is valid only and<br> only if peer-evaluation is conducted seriously.<br>
</p>
</div>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-34625">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
<br>You MUST run the requested tests.<br><br>Warning: This project is quite complex, the result and it's<br>implementation are subjective. You have to keep in mind the aim of<br>this project:<br><br>"This project is about implementing a dynamic memory allocation<br>mechanism."<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-34625">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25861/test4.c">test4.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25862/test3.c">test3.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25863/run_linux.sh">run_linux.sh</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25864/test2.c">test2.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25865/test0.c">test0.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25866/test5.c">test5.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25867/test1.c">test1.c</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/document/document/25868/run_mac.sh">run_mac.sh</a>
</h4>
</div>
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/133715/en.subject.pdf">subject.pdf</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_7783145" action="https://projects.intra.42.fr/projects/42cursus-malloc/project_sessions/3510/evaluations/1712/scales/34625/scale_teams/7783145" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="Qr//DCnxpbeqskXTT89V0N4/4Dj+BOlAN426FFHJiAx3cphJ9FS6rH4rJ9Q/J6LWy+QrK+tO+kB386IV+JoHkg=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-93869">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Preliminaries</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Preliminary tests</h4>
<p class="scale-section-guidelines">
</p><p>First check the following elements :</p>
<ul>
<li>There is something in the git repository</li>
<li>A Makefile is present and has all the requested rules</li>
<li>No cheating (unauthorized functions...)</li>
<li>2 globals are authorised : one to manage the allocations, and
one to manage the thread-safe</li>
</ul>
<p>If an element of this list isn't respected, the grading ends.<br>
Use the appropriate flag. You're allowed to debate some more<br>
about the project, but the grading will not be applied.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321132" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Library compilation</h4>
<p class="scale-section-guidelines">
</p><p>First we will check that the compilation of the library does<br>
generate the requested files by modifying HOSTTYPE:</p>
<pre><code>$&gt; export HOSTTYPE=Testing
$&gt; make re
********
$&gt; ln -s libft_malloc_Testing.so libft_malloc.so
$&gt; ls -l libft_malloc.so
lrwxrwxrwx 1 ** ** ** ** ** ** libft_malloc.so -&gt; libft_malloc_Testing.so
$&gt;
</code></pre>
<p>The Makefile does use HOSTTYPE to define the name of the library<br>
(libft_malloc_$HOSSTYPE.so) and does create a symbolic link<br>
libft_malloc.so pointing towards libft_malloc_$HOSSTYPE.so ?</p>
<p>If that's not the case, the defense stops.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321133" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Functions export</h4>
<p class="scale-section-guidelines">
</p><p>Check with nm that the library does export the functions malloc,<br>
free, realloc and show_alloc_mem.</p>
<pre><code>$&gt; nm -g libft_malloc.so
0000000000000000 T _free
0000000000000000 T _malloc
0000000000000000 T _realloc
0000000000000000 T_show_alloc_mem
U _mmap
U _munmap
U _getpagesize (getpagesize under OSX or sysconf(_SC_PAGESIZE) under linux)
U _write
$&gt;
</code></pre>
<p>The functions exported by the library are marked with a T, the<br>
used one with a U (adresses have been replaced by 0, they change<br>
from one library to the next, same as the order of the lines).</p>
<p>If the functions are not exported, defense stops.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321134" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-93870">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Feature's testing</h3>
<p class="font-italic">
Please find the attached (MacOS X or Linux) script that will
only modifiy the environment variables while you run a test program.
</p>
</div>
<h4 class="scale-question-name">Malloc test</h4>
<p class="scale-section-guidelines">
</p><p>We are first going to make a first test program that does not<br>
use malloc, so that we have a base to compare to.</p>
<p>Use test0.c file attached in the scale<br>
WARNING: If you are using a linux vm, make sure that you are using the <br>
time binary that you can get with apt (sudo apt install time), else<br>
you won't have access to the -v option.</p>
<p>MAC:</p>
<pre><code> $&gt; gcc -o test0 test0.c &amp;&amp; /usr/bin/time -l ./test0
</code></pre>
<p>LINUX:</p>
<pre><code> $&gt; gcc -o test0 test0.c &amp;&amp; /usr/bin/time -v ./test0
</code></pre>
<p>We will then add a malloc and write in each allocation to make<br>
sure that the memory page is allocated in physical memory by<br>
MMU. The system will only really allocate the memory of a page<br>
if you write in it, so even if we do a bigger mmap than the<br>
malloc request it won't modify the "page reclaims".</p>
<p>For Linux =&gt; Major, Minor </p>
<p>For Mac OS X =&gt; page reclaims, page faults</p>
<p>Using the test1.c file given as attachment, run the following tests<br>
MAC:</p>
<pre><code> $&gt; gcc -o test1 test1.c &amp;&amp; /usr/bin/time -l ./test1
</code></pre>
<p>LINUX:</p>
<pre><code> $&gt; gcc -o test1 test1.c &amp;&amp; /usr/bin/time -v ./test1
</code></pre>
<p>Our test1 program requested 1024 times 1024 bytes, so 1Mbyte. We<br>
can therefore check by doing the difference with the test0<br>
program:</p>
<ul>
<li>either between the "maximum resident set size" lines, we
obtain a little more than 1Mbyte</li>
<li>or between the page reclaims lines that we will multiply by
the value of getpagesize(3) under OSX or sysconf(_SC_PAGESIZE) under linux.</li>
</ul>
<h2 id="let-39-s-test-now-both-programs-with-our-library">Let's test now both programs with our library:</h2>
<p>MAC:</p>
<pre><code>$&gt;chmod 777 run_mac.sh
</code></pre>
<pre><code>$&gt;./run_mac.sh /usr/bin/time -l ./test0
********
202 page reclaims
0 page faults
********
</code></pre>
<pre><code>$&gt;./run_mac.sh /usr/bin/time -l ./test1
********
525 page reclaims
0 page faults
********
$&gt;
</code></pre>
<hr>
<p>LINUX:</p>
<pre><code>$&gt;chmod 777 run_linux.sh
</code></pre>
<pre><code>$&gt;./run_linux.sh /usr/bin/time -v ./test0
********
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 64
********
</code></pre>
<pre><code>$&gt;./run_linux.sh /usr/bin/time -v ./test1
********
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 323
********
</code></pre>
<hr>
<p>Count the number of pages used in addition to the real malloc and adjust the score accordingly:</p>
<ul>
<li>less pages than the real malloc, allocated memory is insufficiant: 0</li>
<li>181 pages and over, malloc works but the
overhead is very too big: 1</li>
<li>between 91 pages and 180 pages, malloc works but the
overhead is too big: 2</li>
<li>between 51 pages and 90 pages, malloc works but the overhead
is very big: 3</li>
<li>between 21 pages and 50 pages than real malloc, malloc works but the overhead
is big: 4</li>
<li>between 0 pages and 20 pages than real malloc, malloc works and the overhead is
fine: 5</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321135" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][3][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Pre-allocated zones</h4>
<p class="scale-section-guidelines">
</p><p>Check inside the source code that the pre-allocated zones for<br>
the different malloc sizes allow to store at least 100 times the<br>
maximum size for this type of zone. Check also that the size of<br>
the zones is a multiple of getpagesize() under OSX or<br>
sysconf(_SC_PAGESIZE) under linux.</p>
<p>If one of these points is missing, click NO.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321136" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Tests of free</h4>
<p class="scale-section-guidelines">
</p><p>We will simply add a free to our test program:</p>
<pre><code>$&gt; cat test2.c
</code></pre>
<p>We will compare the number of "page reclaims / page faults" to those in test0<br>
and test1. If there are as many or more "page reclaims" than<br>
test1, the free doesn't work.</p>
<p>MAC:</p>
<pre><code> $&gt; gcc -o test2 test2.c &amp;&amp; ./run_mac.sh /usr/bin/time -l ./test2
</code></pre>
<p>LINUX:</p>
<pre><code> $&gt; gcc -o test2 test2.c &amp;&amp; ./run_linux.sh /usr/bin/time -v ./test2
</code></pre>
<p>Does the free function? (less "page reclaims / page faults" than test1)</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321137" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][5][value]" id="radio_[scale_team][answers_attributes][5]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][5]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Quality of the free function</h4>
<p class="scale-section-guidelines">
</p><p>Run test0 and test2. Test2 should not have more than 10 page reclaims <br>
compared to test0.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321138" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][6][value]" id="radio_[scale_team][answers_attributes][6]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][6]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Realloc test</h4>
<p class="scale-section-guidelines">
</p><p>Using test3.c file given as attachment, test the following:</p>
<p>MAC:</p>
<pre><code>$&gt; gcc -o test3 test3.c -L. -lft_malloc &amp;&amp; ./run_mac.sh ./test3
Hello world!
Hello world!
$&gt;
</code></pre>
<p>LINUX:</p>
<pre><code>$&gt; gcc -o test3 test3.c -L. -lft_malloc &amp;&amp; ./run_linux.sh ./test3
Hello world!
Hello world!
$&gt;
</code></pre>
<p>The test must print out "Hello world!" two times.</p>
<p>Does it work as expected?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321139" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Show_alloc_mem test</h4>
<p class="scale-section-guidelines">
</p><p>Using test4.c file given as attachment, test the following:</p>
<p>MAC:</p>
<pre><code>$&gt; gcc -o test4 test4.c -L. -lft_malloc &amp;&amp; ./run_mac.sh ./test4
$&gt;
</code></pre>
<p>LINUX:</p>
<pre><code>$&gt; gcc -o test4 test4.c -L. -lft_malloc &amp;&amp; ./run_linux.sh ./test4
$&gt;
</code></pre>
<p>Does the display corresponds the subject and the TINY/SMALL/LARGE<br>
allocation of the project?</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321140" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Alignement test</h4>
<p class="scale-section-guidelines">
</p><p>Using test5.c file given as attachment, test the following:</p>
<p>MAC:</p>
<pre><code>$&gt; gcc -o test5 test5.c -L. -lft_malloc &amp;&amp; ./run_mac.sh ./test5
$&gt;
</code></pre>
<p>LINUX:</p>
<pre><code>$&gt; gcc -o test5 test5.c -L. -lft_malloc &amp;&amp; ./run_linux.sh ./test5
$&gt;
</code></pre>
<p>You have no alignment errors.</p>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321141" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0" checked="checked">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-93871">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus</h3>
<p class="font-italic"></p>
</div>
<h4 class="scale-question-name">Competitive access</h4>
<p class="scale-section-guidelines">
</p><p>The project manages the competitive access of the threads with<br>
the support of the pthread library and with mutexes.</p>
<p>Count the applicable cases:</p>
<ul>
<li>a mutex prevents multiple threads to simulteanously enter
inside the malloc function</li>
<li>a mutex prevents multiple threads to simulteanously enter
inside the free function</li>
<li>a mutex prevents multiple threads to simulteanously enter
inside the realloc function</li>
<li>a mutex prevents multiple threads to simulteanously enter
inside the show_alloc_mem function</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][10][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321142" name="[scale_team][answers_attributes][10][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][10][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-1"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Additional bonuses</h4>
<p class="scale-section-guidelines">
</p><p>If there are more bonuses, grade them here. Bonuses must be 100%<br>
functional and a minimum useful. (up to the grader)</p>
<p>Bonus example:</p>
<ul>
<li>During a free, the projet "defragments" the free memory while
regrouping the available simultaneous blocks.</li>
<li>Malloc has debugging environnement variables</li>
<li>A function allows to make an hexadecimal dump of the allocated
zones</li>
<li>A fonction allows to display an history of the memory
allocations done.</li>
<li>If there are other bonuses, add them up here. Bonuses
must be 100% functional and a minimum useful (at the
corrector's discretion)</li>
</ul>
<p></p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][11][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="321143" name="[scale_team][answers_attributes][11][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="" max="5" name="[scale_team][answers_attributes][11][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-2"><div class="rangeslider__fill" style="width: 20px;"></div><div class="rangeslider__handle" style="left: 0px;"></div></div>
<hr>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-34625">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Dont forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-iconf-folder-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_work negative on-active" for="scale_team_flag_id_3" name="scale_team[flag_id]">
<span class="iconf-file-attention"></span>
Incomplete work
</label>
<label class="btn btn-danger btn-default label_flag_no_author_file negative on-active" for="scale_team_flag_id_4" name="scale_team[flag_id]">
<span class="iconf-file-1"></span>
No author file
</label>
<label class="btn btn-danger btn-default label_flag_invalid_compilation negative on-active" for="scale_team_flag_id_5" name="scale_team[flag_id]">
<span class="iconf-skull-2"></span>
Invalid compilation
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_forbidden_function negative on-active" for="scale_team_flag_id_13" name="scale_team[flag_id]">
<span class="iconf-delete-2"></span>
Forbidden function
</label>
<label class="btn btn-danger btn-default label_flag_cant_support_/_explain_code negative on-active" for="scale_team_flag_id_14" name="scale_team[flag_id]">
<span class="iconf-bubble-attention-4"></span>
Cant support / explain code
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_3"><input class="radio_buttons optional" type="radio" value="3" name="scale_team[flag_id]" id="scale_team_flag_id_3">Incomplete work</label></span><span class="radio"><label for="scale_team_flag_id_5"><input class="radio_buttons optional" type="radio" value="5" name="scale_team[flag_id]" id="scale_team_flag_id_5">Invalid compilation</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_13"><input class="radio_buttons optional" type="radio" value="13" name="scale_team[flag_id]" id="scale_team_flag_id_13">Forbidden Function</label></span><span class="radio"><label for="scale_team_flag_id_14"><input class="radio_buttons optional" type="radio" value="14" name="scale_team[flag_id]" id="scale_team_flag_id_14">Cant support / explain code</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span><span class="radio"><label for="scale_team_flag_id_4"><input class="radio_buttons optional" type="radio" value="4" name="scale_team[flag_id]" id="scale_team_flag_id_4">No author file</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-34625">
<p class="marked-title">Leave a comment on this evaluation ( 2048 chars max )</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
<footer class="legal-mentions text-center text-muted my-4 col-sm-12 flex justify-content-center flex-column flex-sm-row"><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/33">API General Terms of Use</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/5">Privacy policy</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/2">Declaration on the use of cookies</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/6">General term of use of the site</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/3">Legal notices</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/9">Règlement Intérieur</a><a class="text-muted small px-4" href="https://profile.intra.42.fr/legal/terms/1">Terms of use for video surveillance</a></footer>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
<script async="" await="" src="./Intra Projects malloc Edit_files/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BJ34XNRJCV');
</script>
<script>
var jsClasses = ["new_message", "topic-reply"];
jsClasses.forEach(function(className) {
Array.prototype.forEach.call(document.getElementsByClassName(className), function (e) {
e.classList.add("js-hidden");
});
});
</script>
<script src="./Intra Projects malloc Edit_files/application-95ef25cbe695711a70570334290328b739c8fb6c2d07a6641f6e0528acc327eb.js"></script>
</body></html>