TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JPlag – Detecting Software Plagiarism

102 点作者 drapado9 个月前

10 条评论

emeryberger9 个月前
JPlag, like similar plagiarism detectors, is vulnerable to attack. We outline the attack in this paper and show its effectiveness against JPlag and another widely used plagiarism detector, Moss. Note that this was written in 2020, in the pre “CheatGPT” era!<p><a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2010.01700" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2010.01700</a><p>Mossad: Defeating Software Plagiarism Detection<p>Breanna Devore-McDonald, Emery D. Berger<p>Automatic software plagiarism detection tools are widely used in educational settings to ensure that submitted work was not copied. These tools have grown in use together with the rise in enrollments in computer science programs and the widespread availability of code on-line. Educators rely on the robustness of plagiarism detection tools; the working assumption is that the effort required to evade detection is as high as that required to actually do the assigned work.<p>This paper shows this is not the case. It presents an entirely automatic program transformation approach, Mossad, that defeats popular software plagiarism detection tools. Mossad comprises a framework that couples techniques inspired by genetic programming with domain-specific knowledge to effectively undermine plagiarism detectors. Mossad is effective at defeating four plagiarism detectors, including Moss and JPlag. Mossad is both fast and effective: it can, in minutes, generate modified versions of programs that are likely to escape detection. More insidiously, because of its non-deterministic approach, Mossad can, from a single program, generate dozens of variants, which are classified as no more suspicious than legitimate assignments. A detailed study of Mossad across a corpus of real student assignments demonstrates its efficacy at evading detection. A user study shows that graduate student assistants consistently rate Mossad-generated code as just as readable as authentic student code. This work motivates the need for both research on more robust plagiarism detection tools and greater integration of naturally plagiarism-resistant methodologies like code review into computer science education.
评论 #41268229 未加载
评论 #41267555 未加载
评论 #41266225 未加载
评论 #41269102 未加载
drapado9 个月前
I recently had to check code from some of my students at the university as I suspected plagiarism. I discovered JPlag which works like a charm and generates nice reports
评论 #41266542 未加载
评论 #41266204 未加载
评论 #41266853 未加载
评论 #41265936 未加载
thiht9 个月前
I was actually looking for something like this a few days ago!<p>There’s an open source tool which I love the idea of (basically a tool for declarative integration tests), but I really don’t like it’s implementation. I tried to contribute to improve it, but it’s too much work and it will never fit my ideal.<p>So I basically decided to &quot;redo it but better&quot;, and I’m also tempted to make it a paid, proprietary tool because my implementation diverges enough that I consider it a different codebase altogether (and it would bring legitimate value to companies). I wrote my code from scratch but still had some knowledge of the original code base so I’d be interested in running something like JPlag to make sure I didn’t accidentally plagiarize open source code.<p>I hope I find a way to make it compare 2 codebases :)
评论 #41267646 未加载
viralpraxis9 个月前
One of the key outcomes of my master&#x27;s thesis was the development of an extendable solution for Code Clone Detection (CCD), primarily focused on code and tested with undergraduates at my university [1]. Although I didn&#x27;t have time to complete the adapter for JPlag, I believe it would be highly beneficial.<p>Interestingly, whenever I discussed my thesis, the first reaction from others often revolved around moral concerns.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;studyfair&#x2F;studyfair">https:&#x2F;&#x2F;github.com&#x2F;studyfair&#x2F;studyfair</a>
评论 #41267342 未加载
Retr0id9 个月前
Presumably, this needs a corpus of software to check against. Does it include one, or do you have to bring your own?
评论 #41266041 未加载
评论 #41266053 未加载
westurner9 个月前
Should a plagiarism score be considered when generating code with an infinite monkeys algorithm with selection or better?<p>Would that result in inability to write code in a clean room, even; because eventually all possible code strings and mutations thereof would already be patented.<p>For example, are three notes or chords copyrightable?
ocean_moist9 个月前
pro tip: change variable&#x2F;function names, switch from if&#x2F;else to switch, invert if&#x2F;else statements, switch for and while loops, group code differently, create helper functions or collapse helper functions, rewrite loops as streams&#x2F;ranges&#x2F;list comprehensions, etc. The ide can do most automatically.<p>It is pretty much impossible to detect software plagiarism, especially on leetcode style questions as only 1 style or pattern is the most efficient answer.<p>Though if a student changes it sufficiently enough, they might begin to actually see the invariants and ideas and actually learn the material.
hooverd9 个月前
It&#x27;s funny how we drill the idea that everything must be reimplemented from first principles into students, only to flip that when they join the workforce.
评论 #41266397 未加载
评论 #41266235 未加载
评论 #41266410 未加载
评论 #41266575 未加载
评论 #41266134 未加载
评论 #41267480 未加载
评论 #41266164 未加载
评论 #41266253 未加载
playingalong9 个月前
Can I use it to detect Copy &amp; Paste within my company&#x27;s own codebase?
评论 #41267238 未加载
评论 #41268578 未加载
评论 #41268708 未加载
JosephRedfern9 个月前
Is this also effective at detecting code duplication within a codebase?