This is the obvious solution to chatgpt essays. You could also just add more lab sections to CS classes, and force students to do assignments with no access to AI.
When I took physics we had weekly 3.5 hour lab sections. That should be enough for most CS assignments.
The lab sections were enough time to run the experiments. Writing up the lab report took additional time outside of that, at least that's how my lab sections went in school.
Yep, absolutely the case for my labs.