r/AskComputerScience • u/charlesmenlo • Jul 29 '21
Should GitHub Copilot be considered plagiarism in schools?
31
u/ChrisC1234 BSCS, MSCS, CS Pro (20+) Jul 29 '21
Turning in something you didn't do yourself and claiming that you did is plagiarism. It doesn't matter how the work got done, it only matters that you did NOT do it yourself.
1
11
u/S-S-R Jul 29 '21
I wouldn't consider it to be plagiarism.
Computer assisted code is usually bad and generic, and even if it wasn't you can simply check for competency by requiring an essay or extensive comments on how the program works.
Coding itself isn't the hard part about CS.
4
u/srpsycho Jul 30 '21
I think it depends. My general policy is that if you can't back something up/explain what you created in detail...then I'm going to assume that you cheated.
Let's start with this question: Would using Grammarly to assist in writing an essay be considered plagiarism? Grammarly only checks the mechanics of the language, not your ideas.
If CoPilot is used in a similar way, then I think it would be fine. For example, a student attempts to implement a function and then uses CoPilot as a check (either as a sense check that they're in the right direction, or they are looking at alternative ways to implement it). At the end of the day, it's up to the developer to make a decision.
If CoPilot was used as a shortcut and the student just blindly accepts the auto-generated code without any question, then I would consider this to be an abuse of the system and a form of plagiarism. This would be like someone using Google Translate to "do" their foreign language homework. If they somehow fall through the cracks though, it will show on exam day.
3
u/g105b Jul 30 '21
Writing code is the easy part of software development. The hard part is understanding, planning and designing the algorithms you choose.
Copilot is just a faster way of copy-pasting from Stack Overflow. If the students can pass their assessments without understanding what they're doing and why, then the assessment is wrong.
3
u/yikes_42069 Jul 30 '21
To your last point - paper coding exams FTW
If the point is to teach students about arrays in C by writing string functions, sure that's trivial to find online. But if they get to use a computer, why even teach how those functions work at all?
2
u/theGabbyGabs Mar 22 '23
As a computer operator who lives for AI and works in a college, we are definitely going to have to talk about this with the rest of the tech team! I'll be speaking about this with my boss today. I love AI, but the school probably won't allow using this tool... but how on earth do you prevent it? Our official widespread platform is microsoft 365... if it were an add-on, it could be delt with, but as a feature I don't see how we could prevent anyone from using it once the update roles out... and not updating is considered non secure... we always update everything right away... can't wait to have all these conversations with people who would never have imagined this day would come within their career/lifetime hahaha
3
Jul 30 '21
If copilot worked as intended, it wouldn't be plagiarism, but I could see some schools considering it cheating. However, considering it regularly copies code without credit, in my opinion, it should be considered plagiarism.
1
u/yikes_42069 Jul 30 '21
Depending on the policy, even crediting others could be a violation. I've had everything from profs who don't care at all to profs that will crush you for talking too in depth about the project. Co-pilot would absolutely violate the latter's policy, but it wouldn't exactly be useful in a course like Compilers
1
u/VanshCodes Jul 30 '21
My thoughts on this are if you describe the problem so well that the A. I could understand then you can do the problem yourself.
On the other hand, It is quite easy to use Copilot for small functions that you can look up on google and are a small part of the code. It is at this time impossible to write a whole project using it.
1
u/Tylnesh Jul 30 '21
If so, you should also turn off Intellisense in your IDE.
2
u/yikes_42069 Jul 30 '21
intellisense is more in the realm of using docs. It's for when you're translating your own thought into code, quicker. Intellisense doesn't write entire functions for you including the naming of variables.
-2
u/TonyTheEvil Jul 29 '21
No. You're not claiming someone else's work as your own.
7
7
u/Tai9ch Jul 29 '21
In practice even that's probably not true. Copilot regularly duplicates specific inputs from its training data.
0
Jul 29 '21
[deleted]
9
u/FlaskBreaker Jul 29 '21
Well, but doing that is still plagiarism if you do not give credit to the original author. Doing something frequently doesn't make it good.
0
1
54
u/CapitanM Jul 29 '21
If you make a drawing and fulfill the colours with Photoshop, it is done by you?
What if you use a filter?
If you use a math library in C instead of building it yourself, are you plagiarizing?
It depend of what you are trying to teach. If you want to teach your students the building of libraries and that kind of things, using a library is plagiarism.
But if students doesn't learn to use the tools available they will just make the same than their predecessors and we will not evolve as specie
Sorry for my English.