Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 904 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 904 Bytes

SUSTech-MOSS-Detection

Python3 MOSS-Detection scripts for SUSTech student assignments which are downloaded from Sakai

Modified mosspy

Forked code from https://github.com/soachishti/moss.py

My code is also in https://github.com/liziwl/moss.py

Install

pip install BeautifulSoup4 loguru lxml

Add your moss id in moss_id.py

like

my_moss_id = 12345678

Moss Detection Procedure

  1. extract_pack.py

    recursively unpack compressed file which are downloaded from Sakai

  2. moss_checker.py

    Main part for MOSS-Detection scripts

    • set detect language
    • set file extension to check
    • set proxy if needed
    • set Base Files path
    • set student submission Files path
  3. result_html2csv.py

    Already used in moss_checker.py, parse html report to csv report and remove duplicate item for the same student ID.