Skip to content
Snippets Groups Projects
Commit eccda4ea authored by Robert Lanzafame's avatar Robert Lanzafame
Browse files

add PA 1.3 solutions and files

parent 7ea97904
No related branches found
No related tags found
No related merge requests found
Pipeline #247600 passed
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html>
<head>
<title>README.md</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<style>
/* https://github.com/microsoft/vscode/blob/master/extensions/markdown-language-features/media/markdown.css */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
body {
font-family: var(--vscode-markdown-font-family, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif);
font-size: var(--vscode-markdown-font-size, 14px);
padding: 0 26px;
line-height: var(--vscode-markdown-line-height, 22px);
word-wrap: break-word;
}
#code-csp-warning {
position: fixed;
top: 0;
right: 0;
color: white;
margin: 16px;
text-align: center;
font-size: 12px;
font-family: sans-serif;
background-color:#444444;
cursor: pointer;
padding: 6px;
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
}
#code-csp-warning:hover {
text-decoration: none;
background-color:#007acc;
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
}
body.scrollBeyondLastLine {
margin-bottom: calc(100vh - 22px);
}
body.showEditorSelection .code-line {
position: relative;
}
body.showEditorSelection .code-active-line:before,
body.showEditorSelection .code-line:hover:before {
content: "";
display: block;
position: absolute;
top: 0;
left: -12px;
height: 100%;
}
body.showEditorSelection li.code-active-line:before,
body.showEditorSelection li.code-line:hover:before {
left: -30px;
}
.vscode-light.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(0, 0, 0, 0.15);
}
.vscode-light.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(0, 0, 0, 0.40);
}
.vscode-light.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-dark.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(255, 255, 255, 0.4);
}
.vscode-dark.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(255, 255, 255, 0.60);
}
.vscode-dark.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-high-contrast.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(255, 160, 0, 0.7);
}
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(255, 160, 0, 1);
}
.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
img {
max-width: 100%;
max-height: 100%;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
border: 0;
height: 2px;
border-bottom: 2px solid;
}
h1 {
padding-bottom: 0.3em;
line-height: 1.2;
border-bottom-width: 1px;
border-bottom-style: solid;
}
h1, h2, h3 {
font-weight: normal;
}
table {
border-collapse: collapse;
}
table > thead > tr > th {
text-align: left;
border-bottom: 1px solid;
}
table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
padding: 5px 10px;
}
table > tbody > tr + tr > td {
border-top: 1px solid;
}
blockquote {
margin: 0 7px 0 5px;
padding: 0 16px 0 10px;
border-left-width: 5px;
border-left-style: solid;
}
code {
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
font-size: 1em;
line-height: 1.357em;
}
body.wordWrap pre {
white-space: pre-wrap;
}
pre:not(.hljs),
pre.hljs code > div {
padding: 16px;
border-radius: 3px;
overflow: auto;
}
pre code {
color: var(--vscode-editor-foreground);
tab-size: 4;
}
/** Theming */
.vscode-light pre {
background-color: rgba(220, 220, 220, 0.4);
}
.vscode-dark pre {
background-color: rgba(10, 10, 10, 0.4);
}
.vscode-high-contrast pre {
background-color: rgb(0, 0, 0);
}
.vscode-high-contrast h1 {
border-color: rgb(0, 0, 0);
}
.vscode-light table > thead > tr > th {
border-color: rgba(0, 0, 0, 0.69);
}
.vscode-dark table > thead > tr > th {
border-color: rgba(255, 255, 255, 0.69);
}
.vscode-light h1,
.vscode-light hr,
.vscode-light table > tbody > tr + tr > td {
border-color: rgba(0, 0, 0, 0.18);
}
.vscode-dark h1,
.vscode-dark hr,
.vscode-dark table > tbody > tr + tr > td {
border-color: rgba(255, 255, 255, 0.18);
}
</style>
<style>
/* Tomorrow Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
color: #8e908c;
}
/* Tomorrow Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #c82829;
}
/* Tomorrow Orange */
.hljs-number,
.hljs-built_in,
.hljs-builtin-name,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #f5871f;
}
/* Tomorrow Yellow */
.hljs-attribute {
color: #eab700;
}
/* Tomorrow Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #718c00;
}
/* Tomorrow Blue */
.hljs-title,
.hljs-section {
color: #4271ae;
}
/* Tomorrow Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #8959a8;
}
.hljs {
display: block;
overflow-x: auto;
color: #4d4d4c;
padding: 0.5em;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
</style>
<style>
/*
* Markdown PDF CSS
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "Meiryo";
padding: 0 12px;
}
pre {
background-color: #f8f8f8;
border: 1px solid #cccccc;
border-radius: 3px;
overflow-x: auto;
white-space: pre-wrap;
overflow-wrap: break-word;
}
pre:not(.hljs) {
padding: 23px;
line-height: 19px;
}
blockquote {
background: rgba(127, 127, 127, 0.1);
border-color: rgba(0, 122, 204, 0.5);
}
.emoji {
height: 1.4em;
}
code {
font-size: 14px;
line-height: 19px;
}
/* for inline code */
:not(pre):not(.hljs) > code {
color: #C9AE75; /* Change the old color so it seems less like an error */
font-size: inherit;
}
/* Page Break : use <div class="page"/> to insert page break
-------------------------------------------------------- */
.page {
page-break-after: always;
}
</style>
<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
</head>
<body>
<script>
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')
? 'dark'
: 'default'
});
</script>
<h1 id="pa-13-a-mixed-bag">PA 1.3: A Mixed Bag</h1>
<p><em><a href="http://mude.citg.tudelft.nl/">CEGM1000 MUDE</a>: Week 1.3. Due: before Friday, September 20, 2024.</em></p>
<p><strong>Remember: this is the first PA that is part of your grade for the Assignment Portfolio!</strong></p>
<p><em>Instructions for turning in this assignment are included in this <code>README.md</code> file.</em></p>
<h2 id="introduction">Introduction</h2>
<p>This PA consists of 2 parts:</p>
<ol>
<li>A short online survey to check in with how you are doing with Programming topics in MUDE.</li>
<li>Complete the Tasks described in the notebook <code>PA_1_3_Data_Clearning_and_Boosting_Productivity.ipynb</code></li>
</ol>
<p>Note that you will also need a GitHub account to access the assignment (instructions below).</p>
<h3 id="passing-the-pa">Passing the PA</h3>
<p>Remember that all PA's are assessed on a pass/no-pass basis. You are very strongly encouraged to complete the PA before the Friday session, as it contains useful content for the Group Assignments. However, you are able to correct and re-submit your work up until the Monday of Week 1.9, by 12:00 (October 28).</p>
<p>Depending on the scope of the PA, each one will have different criteria for earning a passing grade.</p>
<p>You will pass PA 1.3 if:</p>
<ol>
<li>You complete the survey (see link above)</li>
<li>Your notebook <code>PA_1_3_Data_Clearning_and_Boosting_Productivity.ipynb</code> is able to run without errors</li>
</ol>
<p>That's it! The instructions in this README tell you:</p>
<ol>
<li>How to access the assignment</li>
<li>How to submit the assignment</li>
<li>How to check that your notebook passed</li>
</ol>
<h2 id="step-1-create-a-github-account">Step 1: Create a GitHub Account</h2>
<p><strong>This is the first thing you should do for PA 1.3, as you will need to tell us your account username to complete the survey.</strong></p>
<p>To access the assignments, you will need to <strong>create a GitHub account.</strong> Here are a few notes about setting up an account:</p>
<ul>
<li>You can use an existing account if you already have one.</li>
<li>You are free to choose any user name you like.</li>
<li>Your account is not required to be connected in any way to your student email or NetId.</li>
<li>In fact, we recommend using your personal email, as then you will be able to keep your files long after you graduate from TU Delft!</li>
</ul>
<p>To create an account, simply go to <a href="https://github.com/">github.com</a> and click &quot;Sign Up.&quot;</p>
<h2 id="complete-the-survey">Complete the Survey</h2>
<p>Once you have a GitHub account, you can complete the survey using <a href="https://forms.office.com/e/saRwPUyL8d">this link</a>.</p>
<h2 id="how-to-access-the-assignment">How to Access the Assignment</h2>
<p>Once you have a GitHub account, you are able to Access the assignment by clicking on this link and following the steps described below:</p>
<ol>
<li>Click the link here: <a href="https://classroom.github.com/a/uD26Nc0v">classroom.github.com/a/uD26Nc0v</a></li>
<li>Authorize GitHub Access</li>
<li>Join the classroom and identify yourself by finding your Student ID Number in the list of &quot;Identifiers&quot;. If your ID is not there, you can &quot;skip this step&quot; (username will be used for repo name)</li>
<li>Click &quot;Accept this assignment&quot;</li>
<li>you will see a link that looks like this: <code>http://github.com/MUDE-2024/....</code> save the link or bookmark it so you can find it later, then click on the link</li>
</ol>
<p><img src="./auxiliary_files/figures/01.png" alt="Successfully created assignment"></p>
<p>You have now opened up a repository on GitHub. We will learn more about Git, GitHub and repositories next week. For now, we will simply be using it as a place to download and upload files (and check that your notebook has passed).</p>
<p>To work on the assignment, you are expected to first <strong>download</strong> the files, then work in the notebook. When you have finished the activities, save your work in VS Code, then proceed to the next section (submitting the assignment).</p>
<p><img src="./auxiliary_files/figures/02.png" alt="An example of the repository for your assignment"></p>
<p>To <strong>download</strong> the assignment:</p>
<ol>
<li>Click the green &quot;Code&quot; button</li>
<li>At the bottom of the popup window, select &quot;Download ZIP&quot;</li>
<li>Unzip the file on your computer; the unzipped folder will be your working directory for PA 1.3 and contains all necessary files.</li>
</ol>
<p><img src="./auxiliary_files/figures/03.png" alt="How to download the assignment"></p>
<h2 id="how-to-submit-the-assignment">How to Submit the Assignment</h2>
<p>To submit your notebook, return to the repository using the link you saved above when accepting it. Then:</p>
<ol>
<li>Click the &quot;Add file&quot; button and then select &quot;Upload Files&quot;</li>
<li>Drag the file you changed (should be the notebook) to the appropriate box, or find it using the &quot;Browse&quot; feature.</li>
<li>Once the file is there you don't have to edit any text (e.g., the commit messages)</li>
<li>Simply click the green &quot;Commit Changes&quot; button.</li>
<li>That's it!</li>
</ol>
<p><img src="./auxiliary_files/figures/04.png" alt="How to upload a file"></p>
<h2 id="how-to-check-that-your-notebook-passed">How to Check that your Notebook Passed</h2>
<p>To see if your notebook passed:</p>
<ol>
<li>Start in the home page of your PA 1.3 repository (should be taken there automatically after you submit the file).</li>
<li>Click on the &quot;Actions&quot; tab near the top center of the page.</li>
<li>If you recently uploaded a file you should see a yellow dot. This means your submission is being checked; it will change after the checking process is completed.</li>
</ol>
<p><img src="./auxiliary_files/figures/06.png" alt="Notebook checking in progress"></p>
<p>If the dot turns green, your notebook passes.</p>
<p><img src="./auxiliary_files/figures/07.png" alt="Passed notebook"></p>
<p>If the dot turns red with an &quot;x&quot; it means your notebook does not meet the requirements. If this happens, you should check your notebook (on your computer) for errors and re-submit it using the process described above.</p>
<p><img src="./auxiliary_files/figures/05.png" alt="Failed notebook"></p>
<h3 id="pa-13-passing-criteria-reminder">PA 1.3 Passing Criteria (Reminder)</h3>
<p>For this week, note two things:</p>
<ol>
<li>you will pass the assignment PA 1.3 when the dot is green AND you have completed the survey (this will not be automatically cehcked)</li>
<li>the dot turns green if you fix all the cells in your notebook so that they run without errors</li>
</ol>
<p><strong>End of file.</strong></p>
<span style="font-size: 75%">
&copy; Copyright 2024 <a rel="MUDE" href="http://mude.citg.tudelft.nl/">MUDE</a>, TU Delft. This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0 License</a>.
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment