]> git.codecow.com Git - nano-pow.git/commitdiff
Fix scoring metric.
authorChris Duncan <chris@zoso.dev>
Tue, 17 Jun 2025 13:03:06 +0000 (06:03 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 17 Jun 2025 13:03:06 +0000 (06:03 -0700)
src/bin/cli.ts

index 8242b57e653a86f691f4a07f214edc11b63f8ec3..c6c17fd61f0570a6661c384382ff9a2c88a3c049 100755 (executable)
@@ -275,7 +275,7 @@ async function score (): Promise<void> {
                try {
                        const result = await benchmark()
                        logger.log(result)
-                       if (result != null) rates.push(result.truncatedArithmetic)
+                       if (result != null) rates.push(result.truncatedRate)
                } catch (err) {
                        logger.log(err)
                }