nikita715 / moss-api

API for Moss plagiarism analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Cloud Build Status

moss-api

A service for parsing of Moss plagiarism analysis results.

You can launch it in Docker from the image and send there ids of moss analysis results to extract the analysis data in json format.

Data can be formatted in two types:

  • Simple type with pairs of files and their similarity (and matched lines if required);
  • Graph type that can be used to build a graph of similarity. Fully compatible with data2graph.

The service is launched at localhost:4567 in docker container.

API

  • localhost:4567/parse/{moss_result_id}
  • localhost:4567/parse?url={moss_result_url}
  • localhost:4567/parse-graph/{moss_result_id}
  • localhost:4567/parse-graph?url={moss_result_url}

You can use /parse with url parameter mode=full to extract matched lines of analysed files.

About

API for Moss plagiarism analyzer

License:Apache License 2.0


Languages

Language:Kotlin 93.0%Language:Dockerfile 7.0%