#!/usr/bin/env node // AERE Device Reputation (roadmap 26, 2026-10-20): a DETERMINISTIC function, published with its formula (README.md, "The reputation // formula"), over the facts the operation verifier derived from a log (operation.mjs, `facts`). It returns the figures AND the evidence // they come from (the record of each window, the gaps, the proofs of equivocation, the retirements), never one opaque number. It is not a // token, it is not traded, and it is written on no chain as a value: anyone who holds the log recomputes it. // // Integers only. Every time is a whole number of milliseconds since 1970, every division is an exact integer division (idiv), and the // bounds below keep each value a safe integer, so a second implementation in any language gives the same text for the same input. The // second implementation is reputation.py (Python, standard library only); the vectors in vectori/ are run against both. // // node reputation.mjs --capabilities | | --batch the conformance contract (../aere-conformance) // node reputation.mjs --facts --from