- fixed Year-Prefix Bug in MetricParser - added metric_confidence and metric_proof_text to database - added Entity-Check and Annual-Priority to LLM prompt - improved UI: added confidence traffic light and mouse-over proof tooltip - restored missing API endpoints (create, bulk, wiki-override)
10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
'use strict';
|
|
|
|
var $floor = require('./floor');
|
|
|
|
/** @type {import('./mod')} */
|
|
module.exports = function mod(number, modulo) {
|
|
var remain = number % modulo;
|
|
return $floor(remain >= 0 ? remain : remain + modulo);
|
|
};
|