Commit graph

15 commits

Author SHA1 Message Date
Claude
fa998619dc
feat: Add math modules — stats, scale, epsilon, score, signal
Some checks failed
CI / build-test-wasm (pull_request) Has been cancelled
CI / build-test-gonum (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Centralizes common math operations used across core/go-ai, core/go,
and core/mining into Poindexter as the math pillar (alongside Borg=data,
Enchantrix=encryption).

New modules:
- stats: Sum, Mean, Variance, StdDev, MinMax, IsUnderrepresented
- scale: Lerp, InverseLerp, Remap, RoundToN, Clamp, MinMaxScale
- epsilon: ApproxEqual, ApproxZero
- score: WeightedScore, Ratio, Delta, DeltaPercent
- signal: RampUp, SineWave, Oscillate, Noise (seeded RNG)

235 LOC implementation, 509 LOC tests, zero external deps, WASM-safe.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 16:16:49 +00:00
299b01ec73
Remove sample results and notes from perf.md
Removed sample benchmark results and notes from performance documentation.
2025-11-04 13:25:45 +00:00
Snider
38a6c6aad3 Add KDTree normalization helpers and TypeScript demo with Vite 2025-11-04 02:15:04 +00:00
Snider
3c83fc38e4 Add dual-backend support for KDTree with benchmarks and documentation updates 2025-11-04 01:44:16 +00:00
Snider
5d1ee3f0ea Refactor CI configuration and documentation; improve error handling in KDTree functions 2025-11-04 00:38:18 +00:00
Snider
b876c31881 WebAssembly build and add TypeScript definitions for KDTree API 2025-11-03 20:15:55 +00:00
Snider
3886724129 Add Cosine and Weighted Cosine distance metrics, enhance KDTree helpers, and update version to 0.3.0 2025-11-03 18:51:23 +00:00
Snider
3ba2b4fce3 Add normalization stats helpers and builders for KDTree 2025-11-03 18:36:09 +00:00
Snider
f106261216 Enhance CI workflow with coverage and benchmark reporting for KDTree 2025-11-03 18:26:40 +00:00
Snider
dad508de31 Add lint configuration, benchmarks, and documentation for KDTree 2025-11-03 18:19:12 +00:00
Snider
ec61d6afde Add CI workflow and update documentation for KDTree version 2025-11-03 18:10:49 +00:00
Snider
43c37f900f document KDTree helper functions for building normalised, weighted multidimensional points (performance weighted route discovery) 2025-11-03 18:00:33 +00:00
Snider
5da17d8b61 Add multi-dimensional KDTree example and update documentation 2025-11-03 17:33:37 +00:00
Snider
736ce911e0 Add KDTree implementation and example for finding the best DHT peer by ping 2025-11-03 16:49:31 +00:00
copilot-swe-agent[bot]
195924fb9e Bootstrap Go library with EUPL-1.2, goreleaser, mkdocs, and sorting functions
Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2025-11-03 15:37:45 +00:00