Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.41 KB

File metadata and controls

47 lines (29 loc) · 1.41 KB

dolos-rs

A Rust implementation of the Dolos source code plagiarism detection CLI.

Note: This project is intended to eventually replace the existing Node.js CLI in the main Dolos repository.

Workspace crates

  • dolos — the Rust CLI for running similarity analyses on source code files.
  • tree-sitter-grammars — a unified crate that bundles tree-sitter grammar bindings for 29 programming languages behind a single ergonomic API. See its README for details.

Building

Requires a recent stable Rust toolchain. To build with support for all languages:

cargo build --features all-languages

To build with only specific languages:

cargo build --features lang-python,lang-javascript

Usage

# Analyze a directory of files
dolos run path/to/files/

# Analyze specific files
dolos run file1.py file2.py file3.py

# Output results as CSV
dolos run --output-format csv --output-destination ./results/ path/to/files/

Who made this?

Dolos is an active research project by Team Dodona at Ghent University. If you use this software for your research, please cite:

License

Licensed under the MIT license.