by spcebar · 4y ago · 0 comments
The most effective policy might not be to try and mechanically prevent cheating, but to explain that, this is information that you're going to need if you actually want to go into the field and if you're using copilot here you are damaging yourself in the long run.
Maybe it's not fair to give as good grades to students who are cheating on assignments as those who are actually doing the assignments, but at the end of the day is the purpose of the course to measure the student or to teach the student?
Eventually, some of us came to the realization that you can never prove that somebody is cheating. People have been known to hire tutors to do their assignments for them. There is just no end.
As a result, we evaluate students on four dimensions. Programming assignments,* homework assignments, but also class discussions and group participation. Those last two count for a small, but non-trivial percentage of the grade, and are usually enough to separate and identify those who understand what they are doing, from those who are just "following along" solutions that they find on the internet.
* one addition to programming assignments includes an analysis write up. Tell me in human words what is happening. Why do you see that effect. What is the running time. And separately, comment your code to tell me how it works. Those two parts count significantly towards the grade.
Any other professors here, what have you found that works?
when i was interviewing candidates this was the fastest way to filter those who understood and those who didnt.
ask someone to talk you through how to solve some real-life problem. to look at a stack trace and describe what they see, or to run a profile and trace through the cause of a hotspot/contention. show them an issue and have them live debug to root-cause and fix. it's okay if they use the internet, SO, etc. -- that's how we all do it. see what they have to look up! just listening to the amount of depth someone can verbally communicate during novel problem solving (including additional questions they ask you) turns a 60min interview that wastes time into a 10min one that tells you if you can move on.
a favorite one of mine was to ask the candidate to describe in as much detail as possible what happens between a keystroke typed into a google search box and the search results appearing. the diversity of replies is facinating. some will tell you "google returns results from its database", others will ask you if you want them to first describe how the keyboard works at an electrical level through the USB or bluetooth driver stack.
"Never memorize something that you can look up." --someone smart
It's a shame our mass education systems cannot use it. They simply cannot apply such a humane method to hundreds or thousands of students. They are reduced to applying their bullshit test questions because it's the best they can come up with at their scale.
Like they picked some random port configuration issue that had stumped them for days in the past and thought cool let’s remove the internet, the command line, and ask people to solve it on the spot.
I offered plenty of plans for how I would go about debugging, but I didn’t know the one simple trick.
I agree with trying to use challenges that are closer to the real work, but it’s really hard to do that without over-testing domain knowledge.
For instance, I ask candidates to do some asynchronous control flow. These are all candidates with js listed as their best language and I offer to let them look things up or to show them the promise apis they need, but a certain percent just refuse to engage with the problem because they don’t have the domain knowledge and seem to feel they’re being tested unfairly.
The problem does a really good job of showing a candidates grasp of all the tricky parts of js, so I keep using it despite the drawbacks.
i dont mean that the problem is only verbally communicated. i mean that the debugging process the candidate does is verbally communicated.
in the scenario you're describing you'd be sitting at that machine with access to the internet on another machine. like, you know, in real life.
> The problem does a really good job of showing a candidates grasp of all the tricky parts of js, so I keep using it despite the drawbacks.
async stuff in js is pretty good, but it's also easy to go too deep on it with some bizzarely poorly architected code. many js devs still fail to grasp all the implications of closures, or how to avoid memory leaks, or how to work with the GC rather than against it.
Cheating on programming assignments has been rampant forever at every undergrad institution I have experience with and somewhat present among graduate students. My experience spans about 25 years in that space now.
When I taught an introductory class, I gave open-book exams with no laptops or phones allowed. About 1/3 of the class was unable to write a syntactically correct for loop in Python despite our textbook being an introductory Python-based book chock full of examples. It was pretty clear that a subset of students were either working together on project assignments or out-and-out having someone else do the assignments for them. I mainly compensated for this by having a large part of the grade being a 1-1 meeting with me to talk me through the code. That and the exam had the effect of actually making cheating somewhat less worthwhile. But this approach simply doesn't scale these days - my max class was around 32-33 students and the time I spent meeting with students was insane. I haven't taught in a few years and understand that class sizes of 150+ are not uncommon. I could have never used the same approach with that many students. I probably would have doubled-down on exams and made exam length darn near impossible to finish without actually knowing the material well enough to do without referring to the textbook.
I was teaching more from a practice-based viewpoint so mostly I came up with "weird" projects that mirrored problems I spend time on (data cleaning, using existing libraries to do neat little things, and also having students pick a personal project to implement that I helped them scope appropriately).
We bitch and moan about interview whiteboarding but given grade inflation its kind of hard to trust university credentials. Grade inflation was kind of disheartening in that the worst students didn't really get a poor grade. But I also didn't have any problems with the top 1/3 of the class getting a very high grade - these students were motivated, understood the material, and often impressed me with where they got in a single semester.
He had to basically interview each student individually and ask for an explanation of the code. Most could not explain what their code was doing (because they didn't write it).
They were all given an opportunity to resubmit original work. Many could not do it, because they simply didn't understand the basics of programming, or the language they were using, or how computers even worked.
These were Masters students.
But I'm on the other side and don't have the stress of "my whole life depends on looking like an all-star" at university. Like, what do you do if you leave school with such a severe lack of actual skill?
OTOH, the last year I taught, every student in the program I was an adjunct for graduated with a job offer in hand. Maybe it all works out fine.
The other side is real world pressure for good grades and when you're young you want to party and experience life. You finished that assignment by copy pasting it. It's better than not finishing it. However you get that anywhere in life. Why is, sorry, was Stackoverflow so popular? Why is religion still a thing? People want easy answers to hard questions.
As for analysis write-up: turns out, language models can also explain what the code does really well, in convincing vernacular. They generate reasonable comments.
https://twitter.com/emeryberger/status/1560618825208320001?s...
As an illustrative example, I just typed in a little test into Copilot. I only typed the first line and the text that starts with "a paragraph explaining...", and typed a "#" for each comment. Copilot filled in the rest.
def compute_sum_recursively(n):
"""A paragraph explaining what this function does and why, and explaining its running time:
This function computes the sum of the first n natural numbers.
The running time of this function is O(n).
"""
# Base case: n = 0
if n == 0:
# The sum of the first 0 natural numbers is 0
return 0
else:
# Recursive case: n > 0
# The sum of the first n natural numbers is n + the sum of the first n-1 natural numbers
return n + compute_sum_recursively(n-1)I really, really hated those parts of school, second only to group projects. I do appreciate why teachers want that, and I hear you about how it can surface those who are cheating, but I do wonder if it's causing the class to suffer for the alleged misdeeds of a few
No person an island.
And if they are, I don't want to be on a work team with them.
How is that going to stop cheating? Surely that will just make people more inclined to cheat, since they have less chance of solving it on their own.
With grading like that cheating on the homework is basically pointless, so few did it.
My assignments are similar to everyone else's (CLRS, JeffE, Leetcode) yet different enough that simply copy and pasting will not work.
All I ask is that they comment their code, analyze complexity and cite sources.
I've been using copilot for the last year in my live coding sessions. It saves so much time (especially in comments). If students want to use Copilot I do not see a problem. It is just another tool.
Copilot is near useless without decent programming knowledge. 80% of time it is fantastic. About 10% of time Copilot gives you subpar snippets. O(n2) instead of O(n) etc. Then 10% of time it just gives you wrong snippets.
Just like GPT-3, once you go beyond a paragraph it loses context.
Honestly I think moving away from grades is going to be the way forward. Part of this is also making university, etc cheaper so you’re not financially incentivized to not take a class one, or multiple more times.
I'd rather people had better opportunities in life that didn't depend on education. There's a lot of people who hate school and are just going through the motions because they believe it's the only path to success in life.
There's real life consequences to this kind of evaluation. Huge consequences. Students cannot afford to make mistakes. There's huge pressure and anxiety before and during a test because the stakes are so high. Failing at this stuff can cost someone their future: future jobs, future career, even the student loans that enable them to study in the first place may only be afforded to students who get good grades.
Is it any wonder people cheat?
A lot of people hate how tech interviews are done, right? Cause they have nothing to do with the job the majority of the time. Those are places where I can see improvements.
However, some jobs do genuinely need you to interact with a diverse set of people all the time, for those you need to make sure for the sake of your company & the candidate that they match the criteria. Other jobs, you need only maintain strong relations with small groups, and the requirements for those are a lot easier to hit - even the most introverted people can do well in smaller groups that don't change a lot.
I do really think a lot of evaluations that happen during education though makes a confrontational relationship with learning. You're constantly judged about your _ability to learn_and that has far reaching impacts beyond your first twoish decades of your life. You get scared of making mistakes, you get scared of taking risks, etc.
So, evaluate when it's important for the function & safety of the job, and the candidate. Skip evaluation when its evaluation for the sake of evaluation.
I don't teach CS, but I teach an online course in a STEM field. I give out a similar message ("you're only hurting yourself in the long run").
My anecdotal evidence is that my warning does nothing--I have trap questions on various quizzes/exams and the frequency of cheating hasn't changed with or without the warning.
My suspicion is that the students who cheat feel this way: "This is just some bullshit hoop that I have to jump through, so it's okay if I cheat. I'll figure out the important stuff when the time comes."
I mean, they're delusional, but I understand the mindset for cheating.
edit: amusing story.
Faculty members in my department are required to take an on-line course on how to handle hazardous waste. There are a few hours worth of videos to watch and a test that you need to pass at the end.
Last year, one of the faculty members took the test, compiled the answers and emailed them around to everyone else (to save them the time for this "bullshit task.").
I said to him, "Isn't this precisely the kind of shit that makes every faculty member angry when the students do it?"
That being said, it was a bullshit test.
Parental (other similar) pressure can indeed be quite strong. Absent of that pressure they wouldn't be there in the first place, so perhaps it is not so much being delusional as a rational response to their environment? If they cheat their way through the parents are happy and then they can return to the life they otherwise would have lived. The time lost is unfortunate in some respects, but at the same time if you're cheating, the time investment likely isn't that great and an acceptable cost given the circumstances.
> the kind of shit that makes every faculty member angry
I find it curious that the customer using the product in an unintended way would be upsetting to the vendor. What drives such emotions? In my businesses, I couldn't care less how the customer uses my product. If they're happy, I'm happy.
Because your customer, in so doing, is stealing from your other customers and undermining your reputation as a vendor.
Plus, you're disheartened because this interaction is a waste of time, regardless of the fact you get paid: if money was all you cared about, you wouldn't be in education.
That's always going to be the case, though. Imagine you built software that helped businesses find customers. Using it the intended way they can realize a small number of new customer each day distributed across your customer base. Now, someone finds a new way to use your software in a manner that you never envisioned and they're attracting all the customers, taking from those who used the software as expected.
But, really, who cares? You just pivot to the embrace the new way and carry on with life. That's your market now. It's fun and all to want to be the elevator operator of old, but at some point you have to realize that nobody cares about your nostalgia. Markets change.
> Plus, you're disheartened because this interaction is a waste of time
But it is not. The students are only there to abade social pressures and cheating their way through gives them what they want out of the deal. Very few students care about the academics.
> if money was all you cared about, you wouldn't be in education.
If you don't care about money, why are you marketing the social need so hard? This is like a car manufacturer marketing that their cars are great gateway vehicles when committing crimes and then lamenting that criminals are using their vehicles to get away...
Before the ridiculous, albeit successful, "If you don't go to college you will end up flipping burgers" marketing campaign, college only attracted a small number of students who were serious about learning and all was well with the world. Colleges still spend an inordinate amount of time justifying why the cost is worthwhile to keep up the social need illusion.
It's not hard to revert to the natural state. Fact of the matter is that you (not you personally, perhaps, but the group) don't want to.
There's a lot more going on here than maybe you realize.
First, the students are not your only customers. The administration is also one of your customers. If you make the course TOO difficult and fail everyone, your "administration customer" will find a way to get rid of you.
Conversely, if you make the course too easy and everyone gets to cheat and everyone gets an "A", then many students who pass your class may not pass various professional certification exams that are more rigorously controlled (i.e., no cheating). If that happens, then the school may lose accreditation for programs that you are associated with (i.e., if all the nursing majors fail their certification exam, your nursing program may get nuked). Then you get nuked.
Third, whether you like it or not, your relationships with your students is something you have to deal with. Students who don't cheat have a tendency to get really upset if they find out you turn a blind eye to cheating. Happy cheating customers leads to unhappy honest customers.
Fourth, if your fellow faculty members feel like you're going easy on the students to get favorable reviews (or because you're lazy or because you hate confrontation), they can make life unpleasant for you, too. They also aren't too happy if they teach upper level courses and you send a bunch of garbage students their way.
If not, you might want to try a new business. You may not be cut out for the one you're in. The business world is not very forgiving, nor should it be. Those who can't adapt need to perish.
It is possible for the customer to also be the product. Especially in the age of salable data, that is becoming more and more common. However, when that is the case there is incentives given to the customers to shape them into what selling them as a product requires. In context here, that would mean something like giving discounts to those who don't cheat, which I am not familiar with any college doing, so... That brings us back to why would a vendor get emotional about the customer not using the product as intended?
The only remaining question is how to engage these people. I have seen good approaches to that problem and really, really terrible approaches, and it seems that most professors go for the terrible approaches. Unfortunately, engaging people who don't want to be there is a lot harder than just having a bunch of required tests.
These students are not all wrong that some courses are BS hoops to jump through. Meet them in the middle. Teach them something.
In general, they appreciate my candor.
That being said, in my experience, the students who cheat often delude themselves into thinking that they understand the material--and they really don't.*
Then they seem shocked when they take a certification exam (where they have to leave phones at the door and are closely monitored) and they bomb the exam.*
* I'm speaking in generalities here. I'm sure there are some cheaters who are being "smart" about their cheating.
Because of this, there will always be considerable pressure to detect cheating and remove offending parties from the program, be that the students copying answers from the internet, or the institutions failing to detect the problem before handing out a degree.
I feel we'd probably get the same value to society if we just made grades 9-12 optional. It would remove the people that don't want to be there, improve the quality of instruction, and college would actually be a meaningful achievement so we no longer have requirements for entry level jobs to require a Master's degree.
If someone is cheating and actually expects to land a decent CS job, my response is "good luck on the leetcode questions and the 5-7 hours of questions you'll have to answer between the intro call, panels, and an offer".
And if someone magically manages to get all that way without actually learning the material they will get absolutely crushed at work. Meetings where you have to give your professional opinion will induce fits of anxiety. Making changes to your code based on feedback and not having any idea what the feedback means. Even just the amount of work alone that needs to be done at most tech places crushes great engineers. Without the knowledge it will just stack up on you even further.
Evetually I gave a copy of my code / solution to Friends Group A and also to another Group B. They didn't know each other. I said, "Be careful! If you copy, disguise it."* Deadline comes. Everyone hands in their work.
The following week, we go to lecture. Prof walks in and writes a list of names on the board. I knew each name. I knew what was happening. I waited for the shoe to drop (i.e., my name on the list). The shoe never dropped**
I believe they were all given Ds. Not sure why they didn't fail (F).
* In retrospect, this was a stupid on my part. If they knew how to alter enough it's likely they'd be able to write it themselves. That is, I all but suggested they walk on water.
** Also in retrospect, the TAs + prof had to realize I was the source. The class was big but not that big. And if only some completed the assignment correctly, the source had to be not difficult to identify. I'm not sure why I was never pulled aside and spoken to. Thank gawd.
That has never, ever stopped anyone motivated to cheat. Even here on highly-educated HN, you get posters with open disdain for what they learned in college.
> "... at the end of the day is the purpose of the course to measure the student or to teach the student?"
Both. Otherwise, the college diploma really does become the meaningless scrap of sheepskin that its detractors claim it is.
The very basis of the scientific method is measurement. If you can not measure your learning progress, how are you to know if your training methods are adequate or failing?
I really don't understand this idea that testing and measuring students is a problem. Even the dreaded "teaching to the test", sounds like a good idea. If doing so would somehow exclude important learning, that just identifies an area where the testing needs to be improved.
When you say into the field, do you mean academia or industry?
Because the things copilot does for you are absolutely not the things you need to know yourself to be in industry. They're, for the most part, things we tried to put in libraries (or more ideally language standard libraries for a lot of things).
The fact that is solves a lot of interview questions just means our interview process was absolutely garbage.
And I'm skeptical of the academic side of this as well. It sounds like professors from the early 60s being annoyed that students have compilers (another tool that saves a ton of work and repetition). Y'all are forgetting that this is the ultimate lazy man's field. This isn't the first time the basics have been swept away and replaced with something easier to work with (and hopefully won't be the last).
We need some people who can do things like making those libraries. It also seems plausible that the people who have at least some of the knowledge and judgement to do that effectively will, on average, be more effective on more mundane tasks as well.
Larry Wall is one who wrote (somewhat drolly) about the virtues of laziness, but there was nothing lazy about what he did.
Do we? For things as simple as copilot tends to put out? Why?
Do you also believe we need to keep people around that do other automated things? Plowing fields by hand? Hand compiling higher level languages (as the first lisp compiler was bootstrapped)?
I mean, keep the information around. Don't go burning textbooks on subjects just because we automated something. But, what exactly is the value proposition of having students do these things?
> It also seems plausible that the people who have at least some of the knowledge and judgement to do that effectively will, on average, be more effective on more mundane tasks as well.
And your claim is also that this is the only way to get the requisite knowledge and judgement? Have students take in a string from stdin with a format that changes every semester, munge it around, and do things with it instead.
> Larry Wall is one who wrote (somewhat drolly) about the virtues of laziness, but there was nothing lazy about what he did.
As someone who has done string munging in C, I'm not entirely convinced that creating perl isn't an effort saving defense mechanism (only half joking).
The thing is, regardless of which way you meant it, we need some people who can make the sort of libraries we need in part precisely because automation such as Copilot is no substitute (at least not yet.)
This observation does not (and is not intended to) endorse current methods of instruction or hiring; on the contrary, it supports spcebar's view that riding your way to a degree, certificate or entry-level position on the back of Copilot is not doing yourself any favors.
The point about Larry Wall is that we don't get labor-saving tools without someone making an effort.
They may lose in the long run, but the non cheaters aren't even allowed to run
instead of writing an article crying about it, the professor could try making some unique questions to test knowledge of the underlying concepts