{"record":{"id":"0f95aaf237af7284","repo":"sipeed/picoclaw","slug":"ingest-seahorse-w","errorCode":null,"errorMessage":"ingest seahorse: %w","messagePattern":"ingest seahorse: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cmd/membench/main.go","lineNumber":161,"sourceCode":"\t}\n\tlog.Printf(\"Loaded %d samples from %s\", len(samples), flagData)\n\n\tfor _, mode := range modes {\n\t\tswitch mode {\n\t\tcase \"legacy\":\n\t\t\tlegacy := NewLegacyStore()\n\t\t\tfor i := range samples {\n\t\t\t\tlegacy.IngestSample(&samples[i])\n\t\t\t}\n\t\t\tlog.Printf(\"legacy: ingested %d samples\", len(samples))\n\t\tcase \"seahorse\":\n\t\t\tdbPath := filepath.Join(flagOut, \"seahorse.db\")\n\t\t\tif err := os.MkdirAll(flagOut, 0o755); err != nil {\n\t\t\t\treturn fmt.Errorf(\"create out dir: %w\", err)\n\t\t\t}\n\t\t\t_, err := IngestSeahorse(ctx, samples, dbPath)\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"ingest seahorse: %w\", err)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}\n\nfunc runEval(cmd *cobra.Command, args []string) error {\n\tif flagData == \"\" {\n\t\treturn fmt.Errorf(\"--data is required\")\n\t}\n\tmodes := modesFromFlag()\n\tif len(modes) == 0 {\n\t\treturn nil\n\t}\n\n\tctx := context.Background()\n\tsamples, err := LoadDataset(flagData)\n\tif err != nil {","sourceCodeStart":143,"sourceCodeEnd":179,"githubUrl":"https://github.com/sipeed/picoclaw/blob/49183d7e8daed0dba89ddbb6fcb60089401d9680/cmd/membench/main.go#L143-L179","documentation":"Error \"ingest seahorse: %w\" thrown in sipeed/picoclaw.","triggerScenarios":"Thrown at cmd/membench/main.go:161 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"49183d7e8daed0dba89ddbb6fcb60089401d9680","analyzedAt":"2026-08-15T21:55:41.315Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}