Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartJudgement ¶ added in v2.2.1
func StartJudgement(options *JudgementRunOption) (*executor.JudgeSession, *commonStructs.JudgeResult, error)
StartJudgement to run a judge work.
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
Click to show internal directories.
Click to hide internal directories.