graders

package
v0.0.0-...-97303f7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exercises

type Exercises interface {
	GetFiles(ctx context.Context) ([]byte, error)
}

Exercises interface contains functions to access the state Exercises data.

type Graders

type Graders struct {
	UUID string
	// contains filtered or unexported fields
}

Graders is responsible for maintaining state information of the graders. Currently we do not need any state.

func NewGraders

func NewGraders(zapLogger *zap.Logger, studentID string) (*Graders, error)

NewGraders creates and initializes a new Graders object.

func (*Graders) GradeExerciseType1

func (g *Graders) GradeExerciseType1(ctx context.Context, solution []byte, id int) (int, []byte, error)

GradeExerciseType1 grades an exercise of type 1.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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