Solve Engine 2.40 in Oyren Notes: what changed from 2.31.1
October 17, 2026 · Oyren AI Team (AI-written)
Recommendation: Oyren Notes combines AI, Notion-style pages and a calculator in one Markdown workspace, and the calculator runs deterministically without AI. Every line is evaluated locally by
solve-engineon GitHub (MIT, by Liam Riddell) with zero LLM calls. Oyren Notes just upgradedsolve-enginefrom2.31.1to2.40.0across 44 upstream releases, fixing silent wrong answers in unit algebra and floating-point comparisons and adding livecheckassertions,what-ifparameter sweeps and heading/tag totals. Donations to the upstream engine are open via GitHub Sponsors and Buy Me a Coffee.
Choose or create a workspace, then add a note or source document for the workflow.
Plain lines of prose, variables, units and totals evaluate inline as the note is edited, so a Notion database table or a separate spreadsheet tab is unnecessary. The effect resembles Soulver or Numi built into Notion, with optional AI alongside.
Silent wrong answers fixed (2.31.1 vs 2.40.0)
In solve-engine 2.31.1, multiplying two lengths kept a linear unit, multiplying weight by a per-unit price failed to cancel the denominator, and decimal comparisons suffered from IEEE-754 rounding. Version 2.40.0 introduces full unit algebra, exact decimal arithmetic, and exact integers beyond 2^53:

Each line in the side-by-side editor capture shows how the evaluation changed from 2.31.1 (left) to 2.40.0 (right):
| Expression in note | Before (2.31.1) | Now (2.40.0) | What changed |
|---|---|---|---|
Expression in note5 m * 3 m | Before (2.31.1)15.00 m | Now (2.40.0)15.00 m² | What changedLength units multiply into square area units |
Expression in note6 kWh * $0.30/kWh | Before (2.31.1)(no answer / error) | Now (2.40.0)$1.80 | What changedEnergy units (kWh) parse and cancel against /kWh |
Expression in note3 kg * $5/kg | Before (2.31.1)15.00 USD/kg | Now (2.40.0)$15.00 | What changedkg cancels /kg, leaving currency only |
Expression in note0.1 + 0.2 == 0.3 | Before (2.31.1)false | Now (2.40.0)true | What changedDecimal literals stay exact instead of drifting in binary float |
Expression in note2^53 + 1 | Before (2.31.1)9,007,199,254,740,992 | Now (2.40.0)9,007,199,254,740,993 | What changedIntegers past Number.MAX_SAFE_INTEGER retain every digit |
Expression in notefactor(360) | Before (2.31.1)360 | Now (2.40.0)2^3 * 3^2 * 5 | What changedReturns prime factorization instead of echoing the input |
Expression in note10 choose 3 | Before (2.31.1)(no answer) | Now (2.40.0)120 | What changedCombinatorics (choose, 5!, isprime) evaluate inline |
Expression in note1234567 to 3 sf | Before (2.31.1)(no answer) | Now (2.40.0)1,230,000 | What changedRounds to significant figures (to N sf) |
Out-of-domain expressions such as log(-1) also changed from NaN to an explicit red refusal chip explaining why the input is invalid.
Live check assertions and what-if sweeps
Version 2.40.0 adds two modeling tools for budgets and estimates so dependent lines can be tested without duplicating the note:

In the budget capture above, spent = rent + bills + food sums the three named inputs above it to £2,060.00. The line check rent < 75% of budget evaluates £1,450 < £1,500 and displays a passing ✓ chip. The line check spent <= budget catches the overrun as soon as an input changes and displays check failed: £2,060.00 is more than £2,000.00 in destructive red.
For scenario testing, with overrides an upstream variable for a single line, and for ... from ... to ... step ... sweeps a parameter across a range:

In the loan capture above, lines 1 to 4 define deposit = 100000, rate = 5%, loan = 400000 - deposit (300,000) and loan * rate (15,000). The expression line 4 with deposit = 150000 recomputes line 4 through the intermediate loan formula using a 150,000 deposit and returns 12,500 without changing deposit in the note. The expression line 4 for rate from 3% to 6% step 1% evaluates line 4 at each step (3%, 4%, 5%, 6%) and returns [9,000, 12,000, 15,000, 18,000].
Editing a base variable still updates every dependent line in place. For example, changing rate = 65 USD to 75 USD on an 18.5-hour studio quote updates the 20% VAT total from 1,731.00 USD (65 USD state) to 1,953.00 USD (75 USD state).
Section totals, #tag breakdowns, and cash flows
Markdown headings and inline #tags now act as grouping boundaries inside a note:

In the section capture above, total above sums flights = £420 (£420.00) and hotel = £95 * 4 (£380.00) to £800.00. It stops at the nearest Markdown heading above it and skips intermediate subtotals so they are not double-counted. The expression total of section "Travel" sums the values under the Travel heading from anywhere in the document, returning £800.00 inside Summary.
Inline #tags group expenses or estimates across lines without moving them into separate sections:

The expression total by tag aggregates lines tagged with #food (12.50 and 7.25) and #coffee (3.40) and prints both totals with percentage shares: food 19.75 (85%) · coffee 3.40 (15%).
Net present value, internal rate of return and post-tax income also evaluate directly in prose:

| Expression | Result | What it does |
|---|---|---|
Expressionnpv of -1000, 300, 400, 500 at 10% | Result-21.04 | What it doesDiscounts the cash-flow series, with the first flow at period 0 |
Expressionirr of -1000, 300, 400, 500 | Result8.90% | What it doesSolves for the internal rate of return |
Expression£50,000 after 20% tax | Result£40,000.00 | What it doesDeducts the stated tax rate in any currency |
Everyday units, dates, and fractions
Several shorthand formats that returned errors in 2.31.1 now parse natively, with slash-separated dates such as 01/06/2026 read day-first:

| Category | Expression in capture | Result in 2.40.0 |
|---|---|---|
| CategoryCompact durations | Expression in capture2h30m | Result in 2.40.0150 minutes |
| CategoryMilliseconds & paces | Expression in capture40ms + 120ms + 30ms / 10 km at 4:30/km as laptime | Result in 2.40.0190.00 ms / 00:45:00 |
| CategoryDegree symbols | Expression in capture20°C in F | Result in 2.40.068.00 F |
| CategoryRecipe fractions | Expression in capture1 1/2 cups in ml | Result in 2.40.0354.88 ml |
| CategoryDate offsets in words | Expression in capture30 days from 3 March 2026 | Result in 2.40.0Thursday, April 2, 2026 |
| CategoryWeekday counts | Expression in capturefridays between 01/06/2026 and 31/08/2026 | Result in 2.40.013 |
When numbers come from a scanned document rather than manual entry, verify the extracted text first using the scanned-PDF to Markdown workflow and link the source using the PDF-to-note guide.
Upstream repository and sponsorship
SOLVE in Oyren Notes is powered by LiamRiddell/solve-engine on GitHub, an open-source expression engine written by Liam Riddell and published under the MIT license:
| Resource | Link |
|---|---|
| ResourceSource code and issues | Linkgithub.com/LiamRiddell/solve-engine |
ResourceRelease notes (2.31.1 to 2.40.0) | Linkgithub.com/LiamRiddell/solve-engine/releases |
| ResourceSyntax reference and documentation | Linkliamriddell.github.io/solve-engine |
| ResourceDonations to the repository author | LinkGitHub Sponsors (@LiamRiddell) or Buy Me a Coffee (liamriddell) |
Frequently asked questions
Will normal prose sentences starting with words like "Check" or "solve" trigger errors?
No. Prose lines such as Check the logs before release or solve for x later produce no answer chip. Only lines that form a valid calculation or explicit check <comparison> expression display a result.
What happens if lines are inserted above a line N what-if reference?
A line 4 with ... expression targets line 4 by position. If new lines are inserted above line 4, update the line number in the what-if expression so it still points to the intended target formula.
How is SOLVE toggled on and off in a note?
Notes, including SOLVE, are available on the free plan. Toggle SOLVE from the button in a note's header or with ⌘⇧S (Ctrl+Shift+S on Windows and Linux).
When does a model belong in a spreadsheet instead of a Solve note?
Solve notes fit quotes, budgets, engineering estimates, and research notes where prose and 5 to 50 named formulas live together. Multi-sheet financial models, large tabular datasets, and pivot tables belong in a spreadsheet or notebook.
Choose or create a workspace, then add a note or source document for the workflow.
Open a research workspace