ID | Result | Grade | L | Exercise | Percentage | Points | Passed tests? | Notes | ||
214047 | NOT PASSED | 5 | A1 parse_db | 0.3 | 2.7 | / 9 | n | + there is some idea about moving i - doesn’t compile - didn't call line.split() - not using ‘for’ to parse words nor pointers | ||
A2 to_adj | 0 | 0 | / 9 | n | - no code | |||||
A3 hist | 0 | 0 | / 5 | n | - no code | |||||
B1 theory | 0.9 | 1.8 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - using _tails as a node pointer instead of a dictionary ... - using a while (so complexity can’t be O(1)) | |||||
B3 dequeue | 0 | 0 | / 9 | n | - not updating _tails | |||||
style | 0 | 0 | / 1 | n | ||||||
213907 | NOT PASSED | 12 | A1 parse_db | 0.3 | 2.7 | / 9 | n | - words is parsed as a dictionary instead a list of dictionaries - returns only one synset - no pointers - various errors in parsing | ||
A2 to_adj | 0.3 | 2.7 | / 9 | n | + some idea - many problems | |||||
A3 hist | 0 | 0 | / 5 | n | - some copied code, but missing all the passages relevant to exercise | |||||
B1 theory | 0.1 | 0.2 | / 2 | -- | ||||||
B2 enqueue | 0.2 | 1.8 | / 9 | n | - many problems - using _tails["g"] instead of _tails[g] - always inserting at head instead of _tails[g] - testing if a group is new by checking at head instead of _tails keys - found_group not always initialized | |||||
B3 dequeue | 0.5 | 4.5 | / 9 | n | - comparing size to None instead of 0 - always removing group, should remove only when group is empty - removing data instead of group
| |||||
style | 0 | 0 | / 1 | -- | ||||||
213718 | PASSED | 19 | A1 parse_db | 0.6 | 5.4 | / 9 | n | + overall code structure is kind of correct - assuming first pointer always starts with @ (top synset in full database can’t possibly have hypernyms) - extra for parole in ptrs.split(" ") - word parsing produces an extra empty word - not using i*4 multiplier in pointer parsing - minor: using absolute path instead of relative | ||
A2 to_adj | 0 | 0 | / 9 | n | - no code | |||||
A3 hist | 0 | 0 | / 5 | n | - no code | |||||
B1 theory | 0.7 | 1.4 | / 2 | -- | ||||||
B2 enqueue | 0.7 | 6.3 | / 9 | n | + correct code structure - forgot to chain new to previous tail, both in existing group case and new group case - returning self, but text doesn't say anything about returning stuff
| |||||
B3 dequeue | 0.7 | 6.3 | / 9 | n | + correct code structure - forgot handling emptied queue case - forgot to check we’re removing last element of an existing group | |||||
style | 0 | 0 | / 1 | -- | ||||||
b.t. | NOT PASSED | 3 | A1 parse_db | 0.1 | 0.9 | / 9 | n | some code using regexes + parses gloss, p_cnt | ||
A2 to_adj | 0 | 0 | / 9 | n | some code with regexes | |||||
A3 hist | 0.3 | 1.5 | / 5 | n | + produces plot - uses constant y numbers instead of actual data - no relabeling of xs | |||||
B1 theory | 0.5 | 1 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - not updating _tails , just copied code | |||||
B3 dequeue | 0 | 0 | / 9 | n | - not updating _tails , just copied code | |||||
style | 0 | 0 | / 1 | -- | ||||||
211506 | PASSED | 20 | A1 parse_db | 0.9 | 8.1 | / 9 | n | + mostly correct ! - w_cnt is converted as decimal instead of hexadecimal - lex_id is converted as decimal instead of hexadecimal - assuming first pointer is an hypernym, but in full db root synset can’t possibly have an hypernym - in ptrs parsing, forgot a *4 multiplier
| ||
A2 to_adj | 1 | 9 | / 9 | n | ||||||
A3 hist | 0.5 | 2.5 | / 5 | n | - forgot to reverse - no relabeling of xs - no filtering | |||||
B1 theory | 0.4 | 0.8 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - not updating _tails, some copied code | |||||
B3 dequeue | 0 | 0 | / 9 | n | - no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
211663 | NOT PASSED | 10 | A1 parse_db | 0.6 | 5.4 | / 9 | n | + overall code structure is correct + mostly correct words parsing - forgot *2 index multiplier in words - mostly wrong ptrs parsing - forgot hexadecimal conversion for lex_id - assuming first pointer always starts with @ (top synset in full database can’t possibly have hypernyms)
- minor: detecting synsets by checking 0 - style: too many line.split() calls, can bring performance issues
| ||
A2 to_adj | 0 | 0 | / 9 | n | - some code attempt | |||||
A3 hist | 0.3 | 1.5 | / 5 | n | + outputs a graph - no sorting - not reversed - no filtering - no x relabeling | |||||
B1 theory | 0.9 | 1.8 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - some code attempt | |||||
B3 dequeue | 0.1 | 0.9 | / 9 | n | - some code attempt | |||||
style | 0 | 0 | / 1 | -- | ||||||
211515 | NOT PASSED | 2 | A1 parse_db | 0.2 | 1.8 | / 9 | n | - some code attempt | ||
A2 to_adj | 0 | 0 | / 9 | n | ||||||
A3 hist | 0 | 0 | / 5 | n | ||||||
B1 theory | 0.1 | 0.2 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - no code | |||||
B3 dequeue | 0 | 0 | / 9 | n | - no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
214561 | PASSED | 18 | A1 parse_db | 0.95 | 8.55 | / 9 | n | + mostly correct ! - forgot to use hexadecimal base for pci - forgot to convert synset_offset int - using w_count instead of w_cnt | ||
A2 to_adj | 1 | 9 | / 9 | y | - style note: code should expand in vertical, not horizontally :-P | |||||
A3 hist | 0.1 | 0.5 | / 5 | n | - some code attempt - style note: write only code (= unreadable) | |||||
B1 theory | 0 | 0 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | no code | |||||
B3 dequeue | 0 | 0 | / 9 | n | no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
g.d. | NOT PASSED | 3 | A1 parse_db | 0.3 | 2.7 | / 9 | n | - ugly parsing - words only work with two names - ptrs don’t work
| ||
A2 to_adj | 0 | 0 | / 9 | n | no code | |||||
A3 hist | 0 | 0 | / 5 | n | no code | |||||
B1 theory | 0 | 0 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | no code | |||||
B3 dequeue | 0 | 0 | / 9 | n | no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
211591 | NOT PASSED | 2 | A1 parse_db | 0.1 | 0.9 | / 9 | n | - some code attempt - doesn't compile | ||
A2 to_adj | 0 | 0 | / 9 | n | no code | |||||
A3 hist | 0 | 0 | / 5 | n | no code | |||||
B1 theory | 0.3 | 0.6 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | no code | |||||
B3 dequeue | 0 | 0 | / 9 | n | no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
212033 | PASSED | 30 | A1 parse_db | 0.7 | 6.3 | / 9 | n | + kind of correct - forgot to initialize d - forgot to convert w_cnt as hexadecimal - assuming first pointer always starts with @ (top synset in full database can’t possibly have hypernyms) - wrong word parsing
| ||
A2 to_adj | 0.5 | 5 | / 9 | n | + correct structure - forgot k definition - using chiave instead of k - wrong square bracket at db[ … ] | |||||
A3 hist | 0 | 0 | / 5 | n | ||||||
B1 theory | 0.9 | 1.8 | / 2 | -- | ||||||
B2 enqueue | 0.95 | 8.55 | / 9 | n | + almost completely correct - no need to convert group to str - using == instead of = | |||||
B3 dequeue | 1 | 9 | / 9 | y | - no need to convert group to str | |||||
style | 0 | 0 | / 1 | -- | ||||||
214150 | NOT PASSED | 5 | A1 parse_db | 0.1 | 0.9 | / 9 | n | - found two copies of the code, this does not improve my mood. Graded first one - very messy, doesn’t even compile - in particular outer ‘for i’ ruins everything | ||
A2 to_adj | 0.15 | 1.35 | / 9 | n | + some idea - doesn't compile | |||||
A3 hist | 0.3 | 1.5 | / 5 | n | + some code - several errors | |||||
B1 theory | 0.7 | 1.6 | / 2 | -- | ||||||
B2 enqueue | 0 | 0 | / 9 | n | - no code | |||||
B3 dequeue | 0 | 0 | / 9 | n | - no code | |||||
style | 0 | 0 | / 1 | -- | ||||||
213538 | NOT PASSED | 3 | A1 parse_db | 0.1 | 0.9 | / 9 | n | - doesn't parse words - doesn't parse ptrs - doesn’t build dict to return | ||
A2 to_adj | 0 | 0 | / 9 | n | - no code | |||||
A3 hist | 0 | 0 | / 5 | n | - no code | |||||
B1 theory | 0.7 | 1.4 | / 2 | -- | ||||||
B2 enqueue | 0.05 | 0.45 | / 9 | n | - mostly copied code from slow version - uses _tails only for empty head case | |||||
B3 dequeue | 0 | 0 | / 9 | n | - doesn't use _tails at all | |||||
style | 0 | 0 | / 1 | -- | ||||||
214050 | NOT PASSED | 15 | A1 parse_db | 0.6 | 5.4 | / 9 | n | - parsing for words and pointers split in several cells, I pasted it in the first one with necessary corrections - words parsing: doesn’t reinitializes i, doesn’t convert lex_id to int - pointer parsing: doesn’t reinitializes i, wrong access of pointers list | ||
A2 to_adj | 0.6 | 5.4 | / 9 | n | - not cycling through pointers - doesn’t check If target synset is actually in db (not all synsets are in the excerpt) | |||||
A3 hist | 0 | 0 | / 5 | n | - no code | |||||
B1 theory | 0.8 | 1.6 | / 2 | -- | ||||||
B2 enqueue | 0.2 | 1.8 | / 9 | n | - using a while, can’t be O(1) | |||||
B3 dequeue | 0.1 | 0.9 | / 9 | n | - not updating _tails | |||||
style | 0 | 0 | / 1 | -- | ||||||