1# OpenFormula 1.4 Small Group semantic test inventory. 2# Columns (tab separated): ReqID, Section, TestID, Formula, Expected, Actual, Status, Note 3# ReqID: References openformula-small-group-1.4.tsv requirement ID 4# Section: ODF 1.4 Part 4 section 5# TestID: Unique test identifier 6# Formula: AOO API syntax (English function names, ';' separators), leading '=' 7# Expected: Expected result per ODF 1.4 normative text ('-', number, '#N/A', '#ERR', 's:text') 8# Actual: Actual result from calcval execution (leave empty if not yet tested) 9# Status: UNVERIFIED, PASSED, FAILED 10# Note: Additional context 11 12# ===== Basic Limits (§3.7) ===== 13SG-BL-001 3.7 BL-001-1024chars =1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1 513 - UNVERIFIED Formula expression length 1026 chars (>=1024); result 513 14SG-BL-002 3.7 BL-002-30params =MAX(1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30) 30 - UNVERIFIED 30 parameters in MAX 15SG-BL-003 3.7 BL-003-32767chars =REPT("a";32767) s:aaa...a (32767 a's) - UNVERIFIED String of 32767 ASCII characters 16SG-BL-004 3.7 BL-004-7nesting =IF(TRUE;IF(TRUE;IF(TRUE;IF(TRUE;IF(TRUE;IF(TRUE;IF(TRUE;1;2);2);2);2);2);2);2) 1 - UNVERIFIED 7 genuinely nested function levels (7 nested IF calls), balanced parens 17 18# ===== Syntax (§5) ===== 19 20SG-SYN-001 4.11.11 SYN-001-criteria =DCOUNT(R1:T6;;V1:V2) 4 - UNVERIFIED Criteria syntax §4.11.11 via database function (Age>=30 matches B,C,D,E) 21SG-SYN-002 5.2 SYN-002-parens =(2+3)*4 20 - UNVERIFIED Parenthesized expression evaluation order 22SG-SYN-003 5.3 SYN-003-decimal =1.5 1.5 - UNVERIFIED Decimal number literal 23SG-SYN-003 5.3 SYN-003-sci =1.5e2 150 - UNVERIFIED Scientific notation literal 24SG-SYN-004 5.4 SYN-004-string ="hello" s:hello - UNVERIFIED String literal 25SG-SYN-004 5.4 SYN-004-quote ="he said ""hi""" s:he said "hi" - UNVERIFIED Quote escaping in string 26SG-SYN-005 5.5 SYN-005-precedence =2+3*4 14 - UNVERIFIED Operator precedence: * before + 27SG-SYN-005 5.5 SYN-005-power =2^3^2 64 - UNVERIFIED Power operator left-associativity (5.5 Note 1) 28SG-SYN-006 5.6 SYN-006-func =ABS(-5) 5 - UNVERIFIED Function call with argument 29SG-SYN-007 5.7 SYN-007-nonstandard =NONEXISTENT() #ERR - UNVERIFIED Nonstandard function name error 30SG-SYN-008 5.8 SYN-008-ref =D1 10 - UNVERIFIED Cell reference resolves value (D1=10 per calcval fixture) 31SG-SYN-008 5.8 SYN-008-range =SUM(D1:D3) 60 - UNVERIFIED Range reference (D1:D3 = 10,20,30) 32SG-SYN-009 5.11 SYN-009-named =MYNAME - - UNVERIFIED Simple named expression requires a pre-defined name (MYNAME) not set up in calcval harness; not directly executable as-is 33SG-SYN-010 5.12 SYN-010-error =NA() #N/A - UNVERIFIED Error constant #N/A 34SG-SYN-011 5.14 SYN-011-whitespace =2 + 3 * 4 14 - UNVERIFIED Whitespace does not affect evaluation 35 36# ===== Operators (§6.4) ===== 37SG-OP-001 6.4.9 OP-001-lt =1<2 TRUE - UNVERIFIED Less than 38SG-OP-001 6.4.9 OP-001-le =2<=2 TRUE - UNVERIFIED Less than or equal 39SG-OP-001 6.4.9 OP-001-gt =3>2 TRUE - UNVERIFIED Greater than 40SG-OP-001 6.4.9 OP-001-ge =2>=2 TRUE - UNVERIFIED Greater than or equal 41SG-OP-002 6.4.10 OP-002-concat ="a"&"b" s:ab - UNVERIFIED String concatenation 42SG-OP-003 6.4.2 OP-003-add =2+3 5 - UNVERIFIED Addition 43SG-OP-004 6.4.3 OP-004-sub =5-3 2 - UNVERIFIED Subtraction 44SG-OP-005 6.4.4 OP-005-mul =2*3 6 - UNVERIFIED Multiplication 45SG-OP-006 6.4.5 OP-006-div =6/3 2 - UNVERIFIED Division 46SG-OP-006 6.4.5 OP-006-div0 =1/0 #ERR - UNVERIFIED Division by zero error 47SG-OP-007 6.4.6 OP-007-pow =2^3 8 - UNVERIFIED Power 48SG-OP-008 6.4.7 OP-008-eq =2=2 TRUE - UNVERIFIED Equality 49SG-OP-009 6.4.8 OP-009-ne =2<>3 TRUE - UNVERIFIED Not equal 50SG-OP-010 6.4.14 OP-010-pct =50% 0.5 - UNVERIFIED Postfix percent 51SG-OP-011 6.4.15 OP-011-pos =+5 5 - UNVERIFIED Prefix plus 52SG-OP-012 6.4.16 OP-012-neg =-5 -5 - UNVERIFIED Prefix minus 53SG-OP-013 6.4.12 OP-013-intersect =SUM(D1:F3!E1:F2) 336 - UNVERIFIED Reference intersection D1:F3!E1:F2 yields E1:F2 (11,101,22,202), SUM 336 54SG-OP-014 6.4.11 OP-014-range =SUM(D1:D3) 60 - UNVERIFIED Reference range (D1:D3=10,20,30) 55 56# ===== Implicit Conversions (§6.3) ===== 57SG-CONV-001 6.3.14 CONV-001-text =TEXT(123;"0") s:123 - UNVERIFIED Number to text conversion 58SG-CONV-002 6.3.5 CONV-002-number =VALUE("123") 123 - UNVERIFIED Text to number conversion 59SG-CONV-003 4.8 CONV-003-ref =N(D1) 10 - UNVERIFIED Reference to scalar conversion (D1=10) 60SG-CONV-004 6.3.12 CONV-004-logical =N(TRUE) 1 - UNVERIFIED Logical to number conversion 61SG-CONV-004 6.3.12 CONV-004-logical2 =IF(0;TRUE;FALSE) FALSE - UNVERIFIED Number to logical conversion (0 = FALSE) 62SG-CONV-005 5.12 CONV-005-error =ISERR(1/0) TRUE - UNVERIFIED Error propagation: division by zero 63 64# ===== Functions (§6.x) — Priority 1: COUNTA/COUNTBLANK empty cells ===== 65SG-FN-013 6.13.7 FN-013-COUNTA-range =COUNTA(D1:D3) 3 - UNVERIFIED COUNTA over numeric range (D1:D3=10,20,30) 66SG-FN-013 6.13.7 FN-013-COUNTA-empty-cells =COUNTA(D6:D7) 0 - UNVERIFIED COUNTA over truly empty cells (D6:D7 unset) 67SG-FN-013 6.13.7 FN-013-COUNTA-empty-string =COUNTA(1;"";"x") 3 - UNVERIFIED COUNTA counts empty string "" as non-blank per §6.13.7 68SG-FN-014 6.13.8 FN-014-COUNTBLANK-nonempty =COUNTBLANK(D1:D3) 0 - UNVERIFIED COUNTBLANK over range with no empty cells 69SG-FN-014 6.13.8 FN-014-COUNTBLANK-empty-cells =COUNTBLANK(D6:D7) 2 - UNVERIFIED COUNTBLANK over truly empty cells (D6:D7 unset) 70SG-FN-014 6.13.8 FN-014-COUNTBLANK-empty-string =COUNTBLANK(D6:D7) - - UNVERIFIED DIAGNOSTIC: does NOT test cell containing "" — D6:D7 are genuinely empty cells, already covered by FN-014-COUNTBLANK-empty-cells. Required ""-in-cell fixture cannot be established by calcval harness (scratch AA1:AF12 cleared each case; no pre-populated "" data cells). ""-in-cell blankness is impl-defined per §6.13.8. 71 72# ===== Functions (§6.x) — Priority 2: DATE pre-1583 ===== 73SG-FN-016 6.10.2 FN-016-DATE-pre1583 =DATE(1500;1;1) - - UNVERIFIED DATE(1500;1;1) outside §6.10.2 constraints (Year>=1904); result impl-defined/diagnostic, NOT a mandatory ODF error. AOO observed #VALUE! as a diagnostic only — not a conformance assertion. 74SG-FN-067 6.13.27 FN-067-NA =NA() #N/A - UNVERIFIED NA function returns #N/A error 75 76# ===== Functions (§6.x) — Priority 3: INDEX ===== 77SG-FN-042 6.14.6 FN-042-INDEX-2d =INDEX(D1:F3;2;3) 202 - UNVERIFIED INDEX two-dimensional: row 2, col 3 of D1:F3 (row2 is 20,22,202) 78SG-FN-042 6.14.6 FN-042-INDEX-row-outrange =INDEX(D1:D5;6) #ERR - UNVERIFIED INDEX row out of range 79SG-FN-042 6.14.6 FN-042-INDEX-rowvec-single =INDEX(H1:L1;3) #ERR - UNVERIFIED INDEX row vector single arg: ODF 1.4 error (Milestone A fix) 80SG-FN-042 6.14.6 FN-042-INDEX-rowvec-colarg =INDEX(H1:L1;;3) 30 - UNVERIFIED INDEX row vector with column arg only (H1:L1=10,20,30,40,50) 81 82# ===== Operators — reference intersection ===== 83SG-OP-013 6.4.12 OP-013-intersect-num =SUM(D1:F3!E1:F2) 336 - UNVERIFIED Reference intersection D1:F3!E1:F2 = E1:F2 (11,101,22,202), SUM 336 84