Commit graph

2 commits

Author SHA1 Message Date
Snider
0e11c4487f refactor: extract pkg/heuristic subpackage for CGO-free scoring
Move HeuristicScores type and ScoreHeuristic logic into pkg/heuristic
with zero external deps (stdlib only). pkg/lem delegates via type alias
and wrapper function — fully backward compatible. Enables EaaS to
cross-compile for Linux without dragging in go-ml/go-mlx/go-duckdb.

Also adds missing //go:build tag to backend_mlxlm.go.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-26 04:34:18 +00:00
Claude
70dd18c065
refactor: move Go library to pkg/lem, thin main.go
All scoring/influx/export/expand logic moves to pkg/lem as an
importable package. main.go is now a thin CLI dispatcher.

This lets new commands import the shared library directly —
ready for converting Python scripts to Go subcommands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:30:09 +00:00
Renamed from types.go (Browse further)