run

package
v2.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartJudgement added in v2.2.1

StartJudgement to run a judge work.

func UserRunJudge

func UserRunJudge(c *cli.Context) error

UserRunJudge 执行评测

Types

type JudgementBenchmark added in v2.1.0

type JudgementBenchmark struct {
	TimeUsed float64        `json:"time_used"`
	Counter  map[string]int `json:"counter"`
	Message  string         `json:"message"`
}

JudgementBenchmark judgement benchmark args

type JudgementRunOption added in v2.2.2

type JudgementRunOption struct {
	Persistence *persistence.JudgeResultPersisOptions
	Clean       bool
	ConfigFile  string
	WorkDir     string
	ShowLog     bool
	LogLevel    int
	Language    string
	LibraryDir  string
	CodePath    string
	SessionID   string
	SessionRoot string
}

JudgementRunOption options for StartJudgement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL