chore(stage): detail log field name
This commit is contained in:
parent
d51fb9f35d
commit
187b5f7057
|
@ -222,16 +222,16 @@ func (s NonNullSlice[T]) MarshalJSON() ([]byte, error) {
|
|||
type StageResult struct {
|
||||
Name string `json:"name"`
|
||||
Results NonNullSlice[ParserResult] `json:"results"`
|
||||
ForceQuit bool `json:"force_quit"`
|
||||
ForceQuit bool `json:"force_quit"` // underscore as it will dump to file
|
||||
}
|
||||
|
||||
type CaseDetail struct {
|
||||
Index int
|
||||
ExecutorResult ExecutorResult
|
||||
ParserScores map[string]int
|
||||
Index int `json:"index"`
|
||||
ExecutorResult ExecutorResult `json:"executorResult"`
|
||||
ParserScores map[string]int `json:"parserScores"`
|
||||
}
|
||||
|
||||
type StageDetail struct {
|
||||
Name string
|
||||
CaseDetails []CaseDetail
|
||||
Name string `json:"name"`
|
||||
CaseDetails []CaseDetail `json:"caseDetails"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user