DSH Tool Stat
omdsh-dev/dsh-tool-stat · tools
DSH statistical tool plug-in: descriptive statistics/percentile/frequency distribution/correlation, zero-dependence pure function determinism
★ 7GitHub stars
0Forks
2026-09-07Last updated
TypeScriptLanguage
MITLicense
Key features
- Zero dependenceNeumaier compensated summation, Welford online variance, linear interpolation percentile, Spearman midrank all handwritten, no third-party numerical library
- Neumaier compensated sumsum uses the compensation term to correct the rounding loss of the addition of large numbers + decimals
- 0 normalizes to 0 in both input and output
- Overflow checkbackAll results are checked again for finite numbers before being returned. Overflow of intermediate or final results returns a numeric-overflow error - canonical output never contains non-finite values.
- Pure functionthe input array is never modified (read-only traversal
Requirements
- This plugin has been migrated to the DSH 0.1.3-alpha.2 dependency line and completed full-link verification in the isolated consumer of local harness 0.1.3-alpha.2 (npm private package)
- Consumption verificationtarball loads DSH 0.1.3-alpha.2 (npm) consumer → dsh --profile compat --dump-config and this plug-in appears row → the actual registration and execution of the tool pass
Install command
dsh plugin --profile web add github:omdsh-dev/dsh-tool-stat