Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
project-2-draft [2021/05/16 17:32] roxana_elena.stiuca [Project Summary (0.5p)] |
project-2-draft [2021/05/16 21:53] (current) roxana_elena.stiuca [Typos (0.5p)] |
||
---|---|---|---|
Line 28: | Line 28: | ||
=== Timeout === | === Timeout === | ||
- | For this task, we will set a timeout of TBA s (//suggestion: 1 min?//). Your implementation must succeed in that time in order to receive the points. | + | For this task, we will set a timeout of 30 seconds. Your implementation must succeed in that time in order to receive the points. |
- | The most time consuming process should be calculating the distance between each value from T and each value from Ref. !!! Nu as scrie asta din enunt, insa as raspunde cu ea la intrebari de pe forum: !!! We suggest **Lazy Dynamic Programming**. | + | The most time consuming process should be calculating the distance between each value from T and each value from Ref. We suggest **Lazy Dynamic Programming**. |
=== Note === | === Note === | ||
Line 53: | Line 53: | ||
* ''lecture_grade = 2 * (sum of all columns, excluding "Email" from table lecture_grades) / (number of columns, excluding "Email")'' //=> Punctaj Curs//; | * ''lecture_grade = 2 * (sum of all columns, excluding "Email" from table lecture_grades) / (number of columns, excluding "Email")'' //=> Punctaj Curs//; | ||
* ''exam_grade = (Q1 + Q2 + Q3 + Q4 + Q6) / 4 + Ex. scris'' //=> Punctaj Exam//; | * ''exam_grade = (Q1 + Q2 + Q3 + Q4 + Q6) / 4 + Ex. scris'' //=> Punctaj Exam//; | ||
- | * ''total = min(hw_grade + lecture_grade, 5) + exam_grade'' or **4** if ''hw_grade + lecture_grade < 2.5'' or ''exam_grade < 2.5'' //=> Punctaj Total//. | + | * ''total = min(hw_grade + lecture_grade, 5) + exam_grade'' or **4.00** if ''hw_grade + lecture_grade < 2.5'' or ''exam_grade < 2.5'' //=> Punctaj Total//. |
The resulting table must be **sorted by column "Nume"**. | The resulting table must be **sorted by column "Nume"**. | ||
Line 59: | Line 59: | ||
=== Note === | === Note === | ||
* Don't forget to use ''correct_table'' on ''email_map_csv''! If this takes too long to test, you can save the output of ''correct_table "Nume" email_map_csv hw_grades_csv'' and use it directly, but only while testing. | * Don't forget to use ''correct_table'' on ''email_map_csv''! If this takes too long to test, you can save the output of ''correct_table "Nume" email_map_csv hw_grades_csv'' and use it directly, but only while testing. | ||
- | * Table lecture_grade has several entries without a value for column "Email". Ignore those. | + | * Table lecture_grade has several entries without a value for column "Email". Ignore those. Also if a name is missing in any of the tables, just complete those columns with "" and consider value to be 0. |
+ | * Use ''printf "%.2f"'' for printing Float values. | ||
+ | * Unlike the previous task, your implementation for ''grades'' can depend on the tables' known structures. | ||
===== Submit ===== | ===== Submit ===== | ||
**Deadline**: 30.05, 23:50. | **Deadline**: 30.05, 23:50. | ||
**Vmchecker**: TBA. | **Vmchecker**: TBA. |