Repository navigation
Conversation
…wcase
- src/arrays.rs: for standalone evaluation (CLI eval, MCP/API eval, Ask
preview) each {..} constant is written to scratch cells and the formula
points at that range, so IRR({..}), COUNTIF, ROWS, AVERAGEIFS, SUMPRODUCT
({1,2,3},{4,5,6}) = 32 etc. behave as in Excel. Workbook cells untouched.
- patches/0002: engine MATCH type 1 returns the largest value <= lookup
(was first >=, so MATCH(25,{10,20,30},1) gave 3); INDEX(row, n) on a
single-row range picks the column, as in Excel.
- Homepage: 56 examples in 9 groups as click-to-run chips, an Ask AI box
(c0mpute) on the page, a fuller default demo. A test evaluates every
example against the real engine so a broken one cannot ship.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er process) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User asks: the demo showed
#ARG! IRR: values must be a range("fix it if it's supposed to work"), "add some more examples, we want to showcase everything", and "we added the ask ai button right?".{1,2,3}) now behave like ranges in standalone evaluation (CLIeval, API/MCPeval, Ask previews): IRR, COUNTIF, ROWS, AVERAGEIFS, SUMPRODUCT and friends give Excel's answers. Workbook cells are never rewritten. Note:{3,1,2}is a ROW, so SORT/UNIQUE/TAKE on it return it unchanged exactly as Excel does; columns use;.MATCH(25,{10,20,30},1)gave 3, now 2); INDEX(single_row, n) picks the column like Excel (was blank).bun test; any error fails CI.Tests: cargo test --release 10/10 (new arrays tests incl. MATCH/INDEX/IRR), cloud bun test 19/19.
🤖 Generated with Claude Code