types

package
v0.30.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: LGPL-3.0 Imports: 2 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
}

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