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 {
|
type StageResult struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Results NonNullSlice[ParserResult] `json:"results"`
|
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 {
|
type CaseDetail struct {
|
||||||
Index int
|
Index int `json:"index"`
|
||||||
ExecutorResult ExecutorResult
|
ExecutorResult ExecutorResult `json:"executorResult"`
|
||||||
ParserScores map[string]int
|
ParserScores map[string]int `json:"parserScores"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StageDetail struct {
|
type StageDetail struct {
|
||||||
Name string
|
Name string `json:"name"`
|
||||||
CaseDetails []CaseDetail
|
CaseDetails []CaseDetail `json:"caseDetails"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user