-
Notifications
You must be signed in to change notification settings - Fork 0
Shared
Jonas Almeida edited this page Nov 28, 2025
·
4 revisions
Basic and shared metrics get their own distinct ES6 modules:
modBasics = (await import('https://epiverse.github.io/metrics/basic.mjs'))modShared = (await import('https://epiverse.github.io/metrics/shared.mjs'))remember that as with basic metrics, you can debug methods by calling them directly, for example,
(development)
srtInd = (await import('http://localhost:8000/metrics/shared.mjs')).sortWithIndexes()(persistant)
srtInd = (await import('https://epiverse.github.io/metrics/shared.mjs')).sortWithIndexes()(2) [Array(5), Array(5)]
(5) [0.35317162238986444, 0.719481202815463, 0.7913799450550442, 0.9226954794787671, 0.9779309671750813]
(5) [4, 1, 0, 3, 2]