spaxel/dashboard/node_modules/math-intrinsics
jedarden c817e96802 feat: implement repeated-setting change detection with guided calibration
Detects when user changes same config setting 3+ times within 24 hours.
Shows non-intrusive prompt offering help with guided calibration flow.

Guided calibration features:
- Test for false positives (walk around room)
- Test for missed motion (sit still)
- Suggest optimal value based on diurnal baseline SNR and link health
- Apply suggested value button

Files:
- dashboard/js/proactive.js: Complete implementation with localStorage tracking

Acceptance:
- Help prompt fires after 3+ changes in 24h
- Calibration flow tests both directions
- Suggests value based on system data
- Apply button works
2026-04-11 00:18:19 -04:00
..
.github feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
constants feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
test feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
.eslintrc feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
abs.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
abs.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
CHANGELOG.md feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
floor.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
floor.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isFinite.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isFinite.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isInteger.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isInteger.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isNaN.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isNaN.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isNegativeZero.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
isNegativeZero.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
LICENSE feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
max.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
max.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
min.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
min.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
mod.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
mod.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
package.json feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
pow.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
pow.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
README.md feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
round.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
round.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
sign.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
sign.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
tsconfig.json feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00

math-intrinsics Version Badge

github actions coverage License Downloads

npm badge

ES Math-related intrinsics and helpers, robustly cached.

  • abs
  • floor
  • isFinite
  • isInteger
  • isNaN
  • isNegativeZero
  • max
  • min
  • mod
  • pow
  • round
  • sign
  • constants/maxArrayLength
  • constants/maxSafeInteger
  • constants/maxValue

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.