package
1.9.70
Repository: https://github.com/omegaup/quark.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CalculateScore calculates the score of a contestantOutput by comparing it with the expectedOutput under the specified validator settings.
Grade compiles and runs a contestant-provided program, supplies it with the Input-specified inputs, and computes its final score and verdict.
IsNonWhitespace returns true if the rune is neither an unicode space or a Java whitespace character.
IsNumeric returns true if the rune may be part of a number.
NewCachedInputFactory creates a new CachedInputFactory.
NewInputFactory returns a new InputFactory.
NewOmegajailSandbox creates a new OmegajailSandbox.
NewRunResult returns a new RunResult.
NewTokenizer returns a new Tokenizer that reads from r and uses the specified tokenizer function.
NoopSandboxFixupResult amends the result so that it is AC.
RunHostBenchmark runs the benchmarking suite and returns its results.

# Constants

# Structs

A BenchmarkResult represents the result of a single benchmark run.
CachedInputFactory restores Inputs from a directory in the filesystem.
A CaseResult represents the sub-results of a specific test case.
A GroupResult represents the sub-results of a specific group of test cases.
Input is a common.Input that can fetch the test case data from the grader.
InputFactory is a common.InputFactory that can fetch the test case data from the grader.
NoopSandbox is a sandbox that does nothing and always grades runs as AC.
OmegajailSandbox is an implementation of a Sandbox that uses the omegajail sandbox.
RunMetadata represents the results of an execution.
A RunResult represents the results of a run.
Token represents a token in the stream.
Tokenizer has mostly the same functionality as bufio.Scanner, but also provides the line and column information of the scanned tokens.
TokenMismatch represents a validation error where two tokens are considered to be different.

# Interfaces

A Sandbox provides a mechanism to compile and run contestant-provided programs in a safe manner.

# Type aliases

BenchmarkResults represents the results of running the whole suite of benchmarks.
TokenizerFunc is a callback that returns true if the rune is part of a token.