sipeed/picoclaw · error
no eval results found in
Error message
no eval results found in %s
What it means
Validation guard in runReport: the --out directory was read successfully, but after scanning every entry no eval_*.json file decoded into an EvalResult — either no eval files exist there at all, or every candidate file was skipped by the WARN-and-continue handlers above (unreadable or unparseable). len(allResults)==0 is the trigger; %s is the searched directory.
Solutions
- Point --out at the directory produced by membench eval (containing eval_*.json files)
- Re-run the eval to regenerate result files
- Check the WARN log lines above the error — they name each file that failed to read or parse
- Rename misplaced result files so they match the eval_*.json pattern
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at cmd/membench/main.go:300 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sipeed/picoclaw@49183d7e8d (2026-08-15).
Data as JSON: /api/errors/dfe035d79e39adaa.
Report an issue: GitHub.
Appendix: source
Thrown at cmd/membench/main.go:300
for _, entry := range entries {
if !entry.IsDir() && strings.HasPrefix(entry.Name(), "eval_") && strings.HasSuffix(entry.Name(), ".json") {
path := filepath.Join(flagOut, entry.Name())
var r EvalResult
data, err := os.ReadFile(path)
if err != nil {
log.Printf("WARN: read %s: %v", path, err)
continue
}
if err := json.Unmarshal(data, &r); err != nil {
log.Printf("WARN: parse %s: %v", path, err)
continue
}
allResults = append(allResults, r)
}
}
if len(allResults) == 0 {
return fmt.Errorf("no eval results found in %s", flagOut)
}
var tokenResults, llmResults []EvalResult
for _, r := range allResults {
if strings.HasSuffix(r.Mode, "-llm") {
llmResults = append(llmResults, r)
} else {
tokenResults = append(tokenResults, r)
}
}
PrintComparison(tokenResults, llmResults)
return nil
}
func runAll(cmd *cobra.Command, args []string) error {
return runEval(cmd, args)
}
View on GitHub (pinned to 49183d7e8d)