chore(stage): detail log field name
All checks were successful
submodules sync / sync (push) Successful in 52s
build / build (push) Successful in 1m34s
build / trigger-build-image (push) Successful in 9s

This commit is contained in:
张泊明518370910136 2025-03-02 20:59:29 -05:00
parent d51fb9f35d
commit 187b5f7057
GPG Key ID: D47306D7062CDA9D

View File

@ -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"`
}