Commit graph

7 commits

Author SHA1 Message Date
Claude
848a5e8036
chore: migrate module path from github.com to forge.lthn.ai
Some checks failed
CI / build-test-gonum (push) Failing after 6m4s
Deploy Documentation / deploy (push) Failing after 9s
Tests / test (push) Failing after 3s
Release / Goreleaser publish (push) Failing after 3s
CI / build-test-wasm (push) Failing after 8m41s
Move module declaration and all internal imports from
github.com/Snider/Poindexter to forge.lthn.ai/Snider/Poindexter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:34:52 +00:00
Claude
4609b7b2bf
feat: Expose networking analytics for KD-Tree NAT routing
Add comprehensive networking analytics to support peer selection based
on performance and trust metrics for KD-Tree based NAT routing:

- Add kdtree_analytics.go with TreeAnalytics, PeerAnalytics,
  DistributionStats, NATRoutingMetrics, TrustMetrics, and
  QualityWeights structures
- Track query/insert/delete operations with timing statistics
- Track per-peer selection frequency and average distances
- Add PeerQualityScore() for composite peer ranking
- Add ComputeTrustScore() for reputation-based selection
- Add distribution statistics (min, max, mean, median, percentiles)
- Add feature normalization helpers for multi-dimensional peer data

WASM/TypeScript integration:
- Expose all analytics via WASM bindings
- Update TypeScript definitions with full type coverage
- Update loader.js with new API methods
- Update TypeScript demo to showcase analytics features

Includes comprehensive test coverage for all analytics functionality.
2025-12-25 12:18:18 +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
054c9af39e Enhance CI workflow with coverage options and add tests for KDTree functionality 2025-11-03 19:46:38 +00:00
Snider
dad508de31 Add lint configuration, benchmarks, and documentation for KDTree 2025-11-03 18:19:12 +00:00