/ScoreboardCrawler

scoreboard crawler use for SCIST to get all student's scores on other judge

Primary LanguageGo

SCIST ScordBoard crawler

A crawler made by colly to get all user submissions on every judge.

Development

Prerequisitive

Name Version
go 1.17

Environment setup

  1. Download required packages
go mod download
  1. Start run crawler
cd src/
go run main.go

Formatting

This project use gofmt for formatting

make format

Data

This Project support following judge, and will read homework, user file to build request.

Structure

  1. Homework file in src/data/problems/, and make sure that the file name format complies with week*.json.
{
  "problems": [
    {
      "judge_name": "uva",
      "problem_id": "1595"
    },
    {
      "judge_name": "toj",
      "problem_id": "87"
    },
    {
      "judge_name": "tioj",
      "problem_id": "1719"
    }
  ]
}
  1. User file in src/data/user.json.
{
  "arashi87": {
    "toj": "1931",
    "uva": "1002251",
    "tioj": "sa072686"
  }
}