Salve, ho sottomesso l'HW4 con program01.py e algoritmo.txt e ho ricevuto l'email di conferma sulla consegna. Il codice consegnato presenta tutte le annotazioni tipo delle funzioni originali, ed eseguendo il codice in locale con pytest ottengo 8 test passati e 6 falliti per timeout. Tuttavia, in seguito alla consegna l'HW risulta con un program state "Tested", Numero di test superati "-", tempo di esecuzione dei test "-" e Grade partial 0. Inoltre nella sezione Correttezza ottengo questo log:
python -m pytest -v -s --durations 0 -rA --import-mode=append --tb=short -l --profile --json program01.log.json -p no=hypothesispytest -p no=hypothesis --timeout=2 test_01.py
============================= test session starts ==============================
platform linux -- Python 3.9.13, pytest-7.2.0, pluggy-1.0.0 -- /home/andrea/micromamba/bin/python
cachedir= .pytest_cache
rootdir= /home/andrea/AA22/repo/AA22-HW4-req-it/students/1786279/homework04
plugins= timeout-2.1.0, cov-4.0.0, profiling-1.7.0, typeguard-2.13.3, json-0.4.0
timeout= 2.0s
timeout method= signal
timeout func_only= False
collecting ... collected 15 items
test_01.py==Test==test_example PASSED
test_01.py==Test==test_intricacy PASSED
test_01.py==Test==test_single_01___test02_bullfight_txt____poternusakesness__ PASSED
test_01.py==Test==test_single_02___test03_woodchuck_txt____aanreeaseesable__ PASSED
test_01.py==Test==test_single_03___test04_pampers_txt____ceeelieessseds__ PASSED
test_01.py==Test==test_single_04___test05_avocados_txt____sereeieeesssssncy__ PASSED
test_01.py==Test==test_single_05___test06_strums_txt____sereeeeesssssssynssm__ FAILED
test_01.py==Test==test_single_06___test07_sinew_txt____すひびずじぞぜぃけそみきおょぇどべしこしこれれあねきゞ_ぷ__ PASSED
test_01.py==Test==test_single_07___test08_boilings_txt______________________________________________ FAILED
test_01.py==Test==test_single_08___test09_meddles_txt____ᛢᚦᛝᛡᚤᚬᚬᛍᚸᛘᚣᚢᛜᛥᚳᛜᛖᛄᚢᛊᚬᛟᛈᛅᛞᚹᛯᚼᛁᚺ__ FAILED
test_01.py==Test==test_single_09___test10_aileron_txt____ᛠᚣᚻᛝᚧᛜ_くᚻᛝᚭᛈᚺᛦᚩᛞᛏᚽᛪᚢᚰᚯひᛃだᚯᚨろᚷᚦᛕᚸᛯᛄᛩᛂᚲᛆᛏᚰᛨぼゆᛇᛮᛚᚯᛓやᚼかᚯᚨᛦ_ᚩᚲᛋᚽ__ぜ_ゔ_______ /bin/bash= line 8= 338460 Killed python -m pytest -v -s --durations 0 -rA --import-mode=append --tb=short -l --profile --json program01.log.json -p no=hypothesispytest -p no=hypothesis --timeout=2 test_01.py
MAX TEST TIME (42s) REACHED
Mentre nella sezione efficenza ho il seguente messaggio di errore:
Not timed because some test did not PASS due to some Error.
Le mie domande sono le seguenti:
1. Da cosa è dovuta questo risultato dell'HW?
2. Potrò partecipare al peer assessment e avere fino a mercoledì per migliorare il mio codice e quindi renderlo più efficiente?
3. è un problema dovuto alla VM? Immagino che in queste ore sia messa duramente alla prova.
4. Il grade partial 0 è dovuto al fatto che ho passato 7 test su 15 non raggiungendo la sufficienza di 16 corrispondente a 8/15?