1
0
forked from JOJ/JOJ3

chore(stage): detail log field name

This commit is contained in:
张泊明518370910136 2025-03-02 20:59:29 -05:00
parent d51fb9f35d
commit 187b5f7057
Signed by untrusted user: 张泊明518370910136
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"`
}