consciousness/poc-memory
ProofOfConcept 3dddc40841 fix unwrap-on-partial_cmp, dedup helpers, O(1) relation dedup
Replace all partial_cmp().unwrap() with total_cmp() in spectral.rs
and knowledge.rs — eliminates potential panics on NaN without
changing behavior for normal floats.

Use existing weighted_distance() and eigenvalue_weights() helpers in
nearest_neighbors() and nearest_to_seeds() instead of inlining the
same distance computation.

Move parse_timestamp_to_epoch() from enrich.rs to util.rs — was
duplicated logic, now shared.

Replace O(n²) relation existence check in init_from_markdown() with
a HashSet of (source, target) UUID pairs. With 26K relations this
was scanning linearly for every link in every markdown unit.
2026-03-08 21:22:05 -04:00
..
defaults split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
schema split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
src fix unwrap-on-partial_cmp, dedup helpers, O(1) relation dedup 2026-03-08 21:22:05 -04:00
build.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
Cargo.toml split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
config.example.jsonl split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00