Hacker News new | ask | show | jobs
by mr_cyborg 1554 days ago
As a student I’ve taken computer science classes with and without some kind of autograder. I’ll say that depending on how it’s set up it can be complete nightmare fuel. In one class I recall that 3/4 of my time was formatting comments correctly to not trip the chest detection that came from not “properly attributing” the code I wrote.

Also the assignments were written to the autograder. So instead of saying “write a method that does X” it would say “write a method named NAME that takes in XYZ parameters and outputs exactly in QRS format”.

After having taken so many open-ended assignment classes that really hurt my brain.

2 comments

> “write a method named NAME that takes in XYZ parameters and outputs exactly in QRS format”.

That's a pretty realistic requirement, though, isn't it? If you're writing a class that's supposed to interoperate with other systems, it's not like you can just name things whatever you feel like. They have to fit the expected interface.

Ugh automating the cheat detector sounds awful. The tool we used had a nice similarity detection feature for me to look at, and I used it by hand a few times, but of course it had false positives.

> write a method named NAME that takes in XYZ parameters and outputs exactly in QRS format

Yeah I hate that too. Personally I went with "your program should read JSON from stdin and write JSON to stdout". For students who had never seen JSON before, that was definitely some extra friction. But the upside is that it's something they're going to see a lot of in the real world.