Skip to content

Commit 05bec74

Browse files
style: fix gofmt formatting in eval binaries
1 parent 9d44b65 commit 05bec74

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

cmd/membrane-eval-lifecycle/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// It runs four scenarios where Membrane's structured memory (retraction, reinforcement,
44
// supersession, decay) should outperform naive vector similarity search:
55
//
6-
// 1. Retraction: Wrong facts retracted → Membrane filters them, RAG still returns them.
7-
// 2. Reinforcement: Useful records boosted → Membrane ranks them higher via hybrid scoring.
8-
// 3. Supersession: Outdated facts replaced → Membrane prefers the new version.
9-
// 4. Decay: Stale records lose salience → Membrane deprioritizes them.
6+
// 1. Retraction: Wrong facts retracted → Membrane filters them, RAG still returns them.
7+
// 2. Reinforcement: Useful records boosted → Membrane ranks them higher via hybrid scoring.
8+
// 3. Supersession: Outdated facts replaced → Membrane prefers the new version.
9+
// 4. Decay: Stale records lose salience → Membrane deprioritizes them.
1010
package main
1111

1212
import (

cmd/membrane-eval/main.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ type planEdgeEntry struct {
3737
}
3838

3939
type recordEntry struct {
40-
Type string `json:"type"`
41-
MemoryType string `json:"memory_type"`
42-
Key string `json:"key"`
43-
Text string `json:"text"` // used for embedding
44-
Sensitivity string `json:"sensitivity"`
45-
Scope string `json:"scope"`
46-
Tags []string `json:"tags"`
40+
Type string `json:"type"`
41+
MemoryType string `json:"memory_type"`
42+
Key string `json:"key"`
43+
Text string `json:"text"` // used for embedding
44+
Sensitivity string `json:"sensitivity"`
45+
Scope string `json:"scope"`
46+
Tags []string `json:"tags"`
4747
// Semantic
4848
Subject string `json:"subject"`
4949
Predicate string `json:"predicate"`
@@ -252,12 +252,12 @@ func ingestRecord(ctx context.Context, m *membrane.Membrane, store *postgres.Pos
252252

253253
case "episodic":
254254
r, err := m.IngestEvent(ctx, ingestion.IngestEventRequest{
255-
Source: "eval",
256-
EventKind: rec.EventKind,
257-
Ref: rec.Ref,
258-
Summary: rec.Summary,
259-
Tags: rec.Tags,
260-
Scope: rec.Scope,
255+
Source: "eval",
256+
EventKind: rec.EventKind,
257+
Ref: rec.Ref,
258+
Summary: rec.Summary,
259+
Tags: rec.Tags,
260+
Scope: rec.Scope,
261261
Sensitivity: sens,
262262
})
263263
if err != nil {

0 commit comments

Comments
 (0)