Compare commits

...

1 Commits

Author SHA1 Message Date
znetsixe
d7cb8e1072 latest version 2025-10-21 12:45:06 +02:00

View File

@@ -255,8 +255,8 @@ console.log(` History: [${allValues.values.join(', ')}]\n`);
console.log('--- Lagged sample comparison ---'); console.log('--- Lagged sample comparison ---');
const latest = stats.getCurrentValue(); // existing helper const latest = stats.getCurrentValue(); // existing helper
const prevSample = stats.getLaggedValue(1); // new helper const prevSample = stats.getLaggedValue(2); // new helper
const prevPrevSample = stats.getLaggedValue(2); // optional const prevPrevSample = stats.getLaggedValue(3); // optional
if (prevSample) { if (prevSample) {
const delta = latest - prevSample.value; const delta = latest - prevSample.value;