types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: LGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlipAnswerStats

type FlipAnswerStats struct {
	Index      int
	Respondent common.Address
	Answer     types.Answer
	Grade      types.Grade
	Point      float32
	Considered bool
}

type FlipStats

type FlipStats struct {
	ShortAnswers []FlipAnswerStats
	LongAnswers  []FlipAnswerStats
	Status       byte
	Answer       types.Answer
	Grade        types.Grade
	GradeScore   decimal.Decimal
}

type IdentityStats

type IdentityStats struct {
	ShortPoint        float32
	ShortFlips        uint32
	LongPoint         float32
	LongFlips         uint32
	Approved          bool
	Missed            bool
	ShortFlipsToSolve []int
	LongFlipsToSolve  []int
}

type ValidationShardStats added in v0.27.0

type ValidationShardStats struct {
	IdentitiesPerAddr map[common.Address]*IdentityStats
	FlipsPerIdx       map[int]*FlipStats
	FlipCids          [][]byte
}

func NewValidationStats

func NewValidationStats() *ValidationShardStats

type ValidationStats

type ValidationStats struct {
	Shards map[common.ShardId]*ValidationShardStats
	Failed bool
}

Jump to

Keyboard shortcuts

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