Repository navigation
Reckon 0.4.0
Reckon 0.4.0 adds method comparison, with data imported straight from Excel or CSV, and math for AI and GPU work.
Method comparison
For comparing two ways of measuring the same samples, such as a reference method and a new analyser. The three usual line fits can be read side by side; the methods agree when the slope's 95% confidence interval holds 1 and the intercept's holds 0.
- Passing-Bablok regression:
pb_slope,pb_intercept, and their 95% confidence intervalspb_slope_ciandpb_intercept_ci. Outliers barely move it. Up to 1,000 samples. - Deming regression:
deming_slope,deming_intercept,deming_slope_cianddeming_intercept_ci, allowing for measurement error in both methods. An optional third value gives the error ratio (x's error variance over y's, as in the R package mcr); it defaults to 1. - Confidence intervals for the ordinary line fit:
slope_ciandintercept_ci. - Checked against R: every fit and interval matches reference values computed in R by independent code.
- Import from Excel and CSV: File › Import Data reads
.xlsx,.csvand tab-separated files. Each column of numbers becomes a list named after its heading, and rows with a missing value are left out so the pairs stay matched. Cells pasted from a spreadsheet become lists too, and Edit › Paste as Lists does it for a single column. - On the command line:
reckon -d samples.xlsx 'pb_slope_ci(reference, new)'. - New sample sheet "Method comparison" shows all three fits on thirty samples.
pb_slope_ci(reference, new) → [0.9994, 1.0602]
deming_slope_ci(reference, new) → [0.9973, 1.0549]
slope_ci(reference, new) → [0.986, 1.0576]
AI and GPU math
Back-of-envelope sums for models: memory, compute, time and cost.
- Units: parameters, tokens, FLOP and FLOPS, with
70B paramsand2T tokensread as billions and trillions. Number formats such asbf16,fp8andint4are values in bytes. Tokens, parameters and FLOP never mix by mistake. - Functions:
sigmoid,logit,softmax,logsumexp,log2andperplexity. - Comparing two models on the same questions:
accuracy_ci(Wilson interval),mcnemar,paired_ci,items_neededandholm, checked against R. - New sample sheet "AI and GPU math": model memory and KV cache, training compute and days, serving cost, an API bill and a model comparison.
70B params * bf16 in GB → 140 GB
6 * 70B params * 2T tokens in ZFLOP → 840 ZFLOP
accuracy_ci(431, 500) → [82.8998%, 88.9482%]
$2.50/h / (1500 tokens/s) in $/Mtok → $0.46/Mtok
Also in this release
- Long lists fold onto one line while the cursor is elsewhere, with a count of their values; click to edit every value.
- Clicking a list's result copies every value, ready to paste into a spreadsheet. A list's result also uses the room its line leaves, so more values show.
- Money per something shows its sign, whether you type the sign or the code:
$5/h,₹37.04/Mtok,£2/kg. - Amounts under ten cents are no longer rounded to a cent: 2,000 tokens at $3 per million tokens shows as
$0.006. - A mistyped unit gets a suggestion:
989TFLOPZsays "did you mean TFLOPS?". Ordinary notes such as2pcs at $5work as before. - One line holds up to 10,000 values, enough for a column of data.
The phone apps get the new functions and sample sheets; importing files is in the desktop app and the command line for now.
Install or update
Mac app, with Homebrew:
brew install --cask appliedsyntax/tap/reckonIf you already have it:
brew upgrade --cask appliedsyntax/tap/reckonCommand-line tool, on macOS or Linux:
brew install appliedsyntax/tap/reckon-cliOr download a package below.
Notes
- The Mac app is not yet signed with an Apple Developer ID, so macOS blocks the first launch. Open it once and dismiss the warning, then go to System Settings › Privacy & Security and click Open Anyway. On macOS 14 and earlier, right-click the app and choose Open instead.
- The Windows installer is unsigned, so SmartScreen may warn before running it.
- The Android APK is signed with a debug key and is meant for sideloading.
- Linux:
reckon_0.4.0_amd64.debfor Debian and Ubuntu (sudo apt install ./reckon_0.4.0_amd64.deb), or the.tar.gzfor other x86-64 distributions.