SkillAgentSearch skills...

Codediff

A code differ for use in APCS(P) classes

Install / Use

/learn @dymontg/Codediff
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

codediff

A file differencer for use in APCS(P) classes. The unix-based diff is useful for comparing files, but is not intended to use the differences for statistical analysis. codediff is intended primary to catch cheating. 💻 <!--PC icon-->

Installing

To install codediff, clone the git repo using git clone https://github.com/dmontgrmry/codediff.git.

Linux and Mac

codediff is written in Python 3. If Python 3 is not installed or has a version less than version 3.4.0, download and install it here. There are future plans to enable Python 2 compatability. Alternatively, run ./install after cloning the repository. The installation script will download and build Python 3 from source.

Windows

Currently, there is no installation script for Windows. If Python 3 is not installed or has a version less than version 3.4.0, download and install it here.

Great! Let's move on. 👍 <!--clapping hands-->

Usage

Instead of running codediff via python3 codediff.py, run the executable ./codediff. To compare files and/or directories, simply append them to the end of the executable in the console. For example, running ./codediff snap_files/ would compare all the snap files in snap_files.

Additionally, codediff can scrape files off of canvas LMS. Simply tell codediff where the canvas-generated html redirect files are with the --canvas argument. For example, run ./codediff --canvas canvas_html_files/.

Checkout the help (./codediff --help) for further reading.

Also, calling ./install will install codediff for the current user and add the startup executable to PATH.

Note: Currently, only APCSP Snap! xml files are supported.

TODO

  • [ ] 0.0.4: Add .java and .cpp files for APCS classes.
  • [ ] 0.0.3: Add statistical analysis
  • [X] 0.0.2: Install codediff globably
  • [ ] 1.0.0: Add Python2 compatability

License

codediff is licensed under GNU GPLv3.0. See LICENSE to see the full text.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated6y ago
Forks0

Languages

Python

Security Score

70/100

Audited on Apr 26, 2019

No findings