- 金标单一真相源:go/internal/api/routes/testdata/golden-set.json 为唯一数据文件; Python 量具 golden-check.py 直接读仓库版(旧 ~/.hermes/scripts/tools/golden-set.json 副副本已归档到 .archive/20260921-golden-set-legacy-dup/) - 基线校准:item4「牧尘喜欢什么样的工作方式」expected_ids 更新为当前稳定值 mem_1789834428978989104(旧基线 mem_1789837840173161705 已掉出 top-5) - 两量具(Go TestEvalGolden_Live + Python golden-check.py)同批金标 14 条 分类差异 diff=0(独立复算确认) - candidates_scanned 字段契约:RecallWithMeta 额外返回候选池真实大小 (ANN 粗检索池,非最终产出数),不再用 len(results) 覆盖 - 构建+测试:go build ./... 通过;go test ./internal/storage 通过; routes 包 TestCommitConflictGate_E2E 在改动前后均挂(预存,非本次引入)
32 lines
1.1 KiB
AMPL
32 lines
1.1 KiB
AMPL
module github.com/xiaoxue/memoryweave
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/prometheus/client_golang v1.23.2
|
|
modernc.org/sqlite v1.59.0
|
|
)
|
|
|
|
require (
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/prometheus/client_model v0.6.2 // indirect
|
|
github.com/prometheus/common v0.66.1 // indirect
|
|
github.com/prometheus/procfs v0.16.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
go.yaml.in/yaml/v2 v2.4.2 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
google.golang.org/protobuf v1.36.8 // indirect
|
|
modernc.org/libc v1.75.7 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|