Documentation ¶
Index ¶
- func Identify(fs afero.Fs, path string) bool
- func Parse(fs afero.Fs, path string) (problems.Problem, error)
- type Problem
- func (p Problem) Attachments() problems.Attachments
- func (p Problem) Checker() problems.Checker
- func (p Problem) EvaluationFiles() []problems.EvaluationFile
- func (p Problem) GetTaskType() problems.TaskType
- func (p Problem) InputOutputFiles() (string, string)
- func (p Problem) Languages() []language.Language
- func (p Problem) MemoryLimit() memory.Amount
- func (p Problem) Name() string
- func (p Problem) Statements() problems.Contents
- func (p Problem) StatusSkeleton(name string) (*problems.Status, error)
- func (p Problem) Tags() []string
- func (p Problem) TimeLimit() int
- func (p Problem) Titles() problems.Contents
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Problem ¶
type Problem struct { Path string ShortName string Title string StatementList problems.Contents AttachmentList problems.Attachments TestCount int MemoryLimitKB int TimeLimitS float64 SubtaskCount int Points []int InputPathPattern string AnswerPathPattern string }
func (Problem) Attachments ¶
func (p Problem) Attachments() problems.Attachments
func (Problem) EvaluationFiles ¶ added in v0.4.0
func (p Problem) EvaluationFiles() []problems.EvaluationFile
func (Problem) GetTaskType ¶
func (Problem) InputOutputFiles ¶
func (Problem) MemoryLimit ¶
func (Problem) Statements ¶
func (Problem) StatusSkeleton ¶
Click to show internal directories.
Click to hide internal directories.