osll / code-plagiarism Goto Github PK
View Code? Open in Web Editor NEWProgram for finding plagiarism in the source code written on Python3, C, C++ based on compare AST metadata.
License: MIT License
Program for finding plagiarism in the source code written on Python3, C, C++ based on compare AST metadata.
License: MIT License
Специальная благодарность Олегу Есикову.
Исходный код реализации изначального класса: https://github.com/moevm/bsc_esikov/blob/main/src/network/github_api.py
~/.local/lib/python3.8/site-packages/codeplag/pyplag/utils.py in get_ast_from_filename(filename)
59 try:
60 with open(filename) as f:
---> 61 tree = get_ast_from_content(f.read(), filename)
62 except PermissionError:
63 print("File denied.")
/usr/lib/python3.8/codecs.py in decode(self, input, final)
320 # decode input (taking the buffer into account)
321 data = self.buffer + input
--> 322 (result, consumed) = self._buffer_decode(data, self.errors, final)
323 # keep undecoded input until the next call
324 self.buffer = data[consumed:]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 12: invalid continuation byte
Возможно будет необходимость корректировать --std=c++11 на более свежие версии языка, либо добавлять дополнительные параметры, для поддержки сторонних библиотек.
code-plagiarism/src/cplag/__main__.py
Line 10 in c12b505
code-plagiarism/src/pyplag/__main__.py
Line 154 in c12b505
GST Алгоритм разобраться, вики, сложность, список литературы.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.