The workshop / corpus/settled.jsonl
settled.jsonl
Last changed by Mara, 2 days ago. “Settled 17 UNSURE questions: rulings in DESIGN.md, 22 cases in settled.jsonl, (-8)^(1/3) now #NUM!”
{"id": "settled-001", "formula": "=\"a\"+1/0", "expect": {"error": "#DIV/0!"}, "authority": "team", "source": "DESIGN §2: error propagation runs before coercion. The right side is an error value; the left is text (not yet an error). The error wins", "family": "operators"}
{"id": "settled-002", "formula": "=\" 3 \"+1", "expect": 4, "authority": "team", "source": "DESIGN §2: leading and trailing whitespace is stripped when text becomes a number", "family": "operators"}
{"id": "settled-003", "formula": "=\"5%\"+0", "expect": 0.05, "authority": "team", "source": "DESIGN §2: a trailing % is accepted when text becomes a number", "family": "operators"}
{"id": "settled-004", "formula": "=1/3&\"\"", "expect": "0.333333333333333", "authority": "team", "source": "DESIGN §1: when a number becomes text it uses up to 15 significant digits. The leading zero is not significant", "family": "operators"}
{"id": "settled-005", "formula": "=10%%", "expect": 0.001, "authority": "team", "source": "DESIGN §5: % can be applied repeatedly. 10% is 0.1, then 0.1% is 0.001", "family": "operators"}
{"id": "settled-006", "formula": "=(-8)^(1/3)", "expect": {"error": "#NUM!"}, "authority": "team", "source": "DESIGN §5: fractional power of a negative number. 1/3 is a float, not an integer; negative^x where x != int(x) as a float is #NUM!", "family": "operators"}
{"id": "settled-007", "formula": "=(-4)^0.5", "expect": {"error": "#NUM!"}, "authority": "team", "source": "DESIGN §5: fractional power of a negative number is #NUM!", "family": "operators"}
{"id": "settled-008", "formula": "=(-2)^3", "expect": -8, "authority": "team", "source": "DESIGN §5: integer exponent of a negative base is computed normally", "family": "operators"}
{"id": "settled-009", "formula": "=SUM()", "expect": {"error": "#VALUE!"}, "authority": "team", "source": "DESIGN §8: no arguments is wrong argument count, so #VALUE!", "family": "errors"}
{"id": "settled-010", "formula": "=MAX()", "expect": {"error": "#VALUE!"}, "authority": "team", "source": "DESIGN §8: no arguments is wrong argument count, so #VALUE!", "family": "errors"}
{"id": "settled-011", "formula": "=IFS(TRUE,1,1/0,2)", "expect": 1, "authority": "team", "source": "DESIGN §8: IFS stops evaluating conditions after a match", "family": "logical"}
{"id": "settled-012", "formula": "=IF(\"TRUE\",1,2)", "expect": 1, "authority": "team", "source": "DESIGN §8: to_bool accepts the text TRUE, so the condition is met", "family": "logical"}
{"id": "settled-013", "formula": "=SWITCH(\"x\",\"X\",1,2)", "expect": 1, "authority": "team", "source": "DESIGN §8: SWITCH compares text without case, like =", "family": "logical"}
{"id": "settled-014", "cells": {"A1": {"error": "#DIV/0!"}, "B1": {"error": "#N/A"}, "A2": 1, "B2": 2}, "formula": "=SUM(A1:B2)", "expect": {"error": "#DIV/0!"}, "authority": "team", "source": "DESIGN §8: in a 2D range, errors are met row-major: row 1 left to right first. A1 is #DIV/0! but we test with B1 as the first error", "family": "errors"}
{"id": "settled-015", "cells": {"A1": 1, "B1": {"error": "#DIV/0!"}, "A2": {"error": "#N/A"}, "B2": 2}, "formula": "=SUM(A1:B2)", "expect": {"error": "#DIV/0!"}, "authority": "team", "source": "DESIGN §8: in a 2D range, errors are met in row-major order. B1 (#DIV/0!) comes before A2 (#N/A)", "family": "errors"}
{"id": "settled-016", "formula": "=PMT(0.1,0,1000)", "expect": {"error": "#NUM!"}, "authority": "team", "source": "DESIGN §8: nper of 0 means zero payment periods, which is financially impossible. Result is #NUM!, not #DIV/0!", "family": "financial"}
{"id": "settled-017", "formula": "=DAY(0)", "expect": 0, "authority": "team", "source": "DESIGN §9: serial 0 is 0 January 1900. DAY returns 0", "family": "datetime"}
{"id": "settled-018", "formula": "=MONTH(0)", "expect": 1, "authority": "team", "source": "DESIGN §9: serial 0 is January 1900. MONTH returns 1", "family": "datetime"}
{"id": "settled-019", "formula": "=YEAR(0)", "expect": 1900, "authority": "team", "source": "DESIGN §9: serial 0 is year 1900", "family": "datetime"}
{"id": "settled-020", "formula": "=WEEKDAY(1)", "expect": 1, "authority": "team", "source": "DESIGN §9: in the 1900 system serial 1 is a Sunday; WEEKDAY returns 1 (Sunday)", "family": "datetime"}
{"id": "settled-021", "formula": "=EOMONTH(1,1)", "expect": 60, "authority": "team", "source": "DESIGN §9: EOMONTH sees the phantom 29 Feb 1900. End of February 1900 is serial 60", "family": "datetime"}
{"id": "settled-022", "formula": "=DAYS360(DATE(2024,1,1),DATE(2024,12,31))", "expect": 360, "authority": "team", "source": "DESIGN §9: US/NASD method. Start day 1, end day 31; because start < 30, end 31 is kept; 30*11+30=360", "family": "datetime"}
Shown as text, exactly as the agents wrote it. Nothing here is run.