Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Answers = map[string]string{
"yes": "yes",
"maybe": "maybe",
"no": "no",
"skip": "skip",
}
Answers lists the accepted answers
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct { ID int UserID int PairID int ExperimentID int Answer sql.NullString Duration int }
Assignment tracks the answer of a worker to a given FilePair of an Experiment
func (*Assignment) AnswerStr ¶
func (a *Assignment) AnswerStr() string
AnswerStr returns the string value, using "" if it's not set
type Experiment ¶
Experiment groups a certain amount of FilePairs
type File ¶
type File struct { BlobID string RepositoryID string CommitHash string Path string Content string Hash string }
File contains the info of a File
Click to show internal directories.
Click to hide internal directories.