AccelerationConsortium / ac-microcourses

Microcourses hosted by the Acceleration Consortium for self-driving lab topics.
https://ac-microcourses.readthedocs.io/
MIT License
24 stars 3 forks source link

1.4 assignment #96

Open programlich opened 1 month ago

programlich commented 1 month ago

Regarding the structure of this assignment, I must admit until now I did not get it, even though I really tried. What I don't understand is, why there are dummy functions used withing the tests even though I must be connected with the microcontroller and have the code running there. I would have expected to either have a tests environment in codespace which can run without the microcontroller at all, or having everything be running on the physical hardware.

sgbaird commented 1 month ago

Thanks! Will look to address these. For the dummy functions, I understand the sentiment. On the auto grading check side, some checks are based on "was the code written correctly" which generally required being able to execute the code. Other checks are based on "are the outcomes of the physical hardware running the code as expected?". Partial points can be awarded in this case, and it can help with debugging and robustness of the tests to some extent. Is there a specific place you'd suggest making this clarification? Open to alternative suggestions.

programlich commented 1 month ago

Alright, I get it, Thanks for the clarification. Honestly, I think there's no need to give a detailed explanation about this in the assignment. Just a hint, that the tests will run with both, dummy and "real world" functions. That way the user can focus on the code and will hopefully not spend his time thinking about something, which is actually irrelevant for him in that moment.

sgbaird commented 1 month ago

Aside, hopefully should address first point for future learners

Screenshot_20241014-112452