nlcalc 0.1.0

Plugin-based natural language calculator for Rust and the command line
Documentation
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
[
  {
    "input": "sqrt(81) + sqrt(16)",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "13"
  },
  {
    "input": "Compute (12345×67890 + 17) mod 101.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "27"
  },
  {
    "input": "What is ⅔ of 45% of 360?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "108"
  },
  {
    "input": "Express 0.375 as a fraction in lowest terms.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "⅜"
  },
  {
    "input": "For paired observations x=(1,2,4,5) and y=(3,1,6,8), what is the Pearson correlation coefficient?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0.8808303293"
  },
  {
    "input": "Given wavelength = 532 nm and light_speed = 299792458 m/s, calculate light_speed / wavelength in THz.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "563.5196578947 THz"
  },
  {
    "input": "Starting from 2026-06-01 08:00 Europe/London, add 2 calendar days and then 5 elapsed hours; what is the final local timestamp under the timezone rules?",
    "context": {
      "now": "2026-10-02T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "3 June 2026 at 1:00 pm BST"
  },
  {
    "input": "How much time elapsed between 2024-12-31 23:45 UTC and 2025-01-01 00:20 UTC, in seconds?",
    "context": {
      "now": "2026-10-02T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "2,100 s"
  },
  {
    "input": "An account starts with $8,500 and earns 4.2% annual compound interest for 6 years, compounded monthly; calculate the ending balance and interest earned.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "ending balance: $10,931.26; interest earned: $2,431.26"
  },
  {
    "input": "(50km + 24cm + 12m)/day for 13 minutes",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0.4514993889 km"
  },
  {
    "input": "($18 + 50 cents)/hour for 30 minutes",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$9.25"
  },
  {
    "input": "Write 756 as a product of primes and report the count of its positive divisors.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "prime factorization: 2^2 × 3^3 × 7; positive divisors: 24"
  },
  {
    "input": "A machine processes 84 parts in 3.5 hours; calculate its rate in parts per hour and the time in minutes to process 50 parts at that constant rate.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "rate: 24 parts/hour; time: 125 min"
  },
  {
    "input": "A biased coin has P(heads)=3/8 on each independent toss; what is the probability of exactly 4 heads in 7 tosses as a reduced fraction?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "354,375/2,097,152"
  },
  {
    "input": "A cylindrical pipe has outer radius 6 cm, inner radius 5 cm, and length 2 m; what volume of metal does it contain in cubic centimeters, using pi=3.14159?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "6,911.498 cm³"
  },
  {
    "input": "For the model P=V^2/R with V=18 V and R=12 ohms, calculate power and the current given I=V/R.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "power: 27 W; current: 1.5 A"
  },
  {
    "input": "A 2.4 kg cart accelerates at 1.7 m/s^2 under the supplied F=ma model; find net force and momentum at 5.5 m/s.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "net force: 4.08 N; momentum: 13.2 kg·m/s"
  },
  {
    "input": "A sample follows the supplied model Q=mcΔT with m=0.85 kg, c=390 J/(kg K), and temperatures 18°C to 73°C; calculate Q in joules and kilojoules.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "energy: 18,232.5 J; energy: 18.2325 kJ"
  },
  {
    "input": "A gas occupies 3.6 L at 120 kPa; at constant temperature its pressure becomes 90 kPa, so use P1V1=P2V2 to calculate final volume.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "4.8 L"
  },
  {
    "input": "A sound level is L=10 log10(I/I0) decibels, with I=0.001 watts per square meter and supplied reference intensity I0=10^-12 watts per square meter. Find L in decibels.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "90 dB"
  },
  {
    "input": "A converging lens has focal length 0.25 m and object distance 0.40 m; calculate image distance and magnification m=-di/do.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "image distance: 0.6666666667 m; magnification: -1.6666666667"
  },
  {
    "input": "I have 0.75 mol of solute in 1.5 L of solution. Find molarity in mol/L.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0.5 mol/L"
  },
  {
    "input": "A network transmits 1200 bytes of payload in each packet and has 48 bytes of overhead per packet. For exactly 25 packets, calculate total transmitted bytes and payload efficiency as a percentage of transmitted bytes.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total transmitted bytes: 31,200 B; payload efficiency: 96.1538461538%"
  },
  {
    "input": "A warehouse has 1,250 units, ships 18% of them, then receives 240 units; report the final inventory and the net percentage change from the starting inventory.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "final inventory: 1,265 units; net percentage change: 1.2%"
  },
  {
    "input": "Give the prime factorization of 1001.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "7 * 11 * 13"
  },
  {
    "input": "Find the mean of 6, 10, 14, and 18",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "12"
  },
  {
    "input": "How many frames are in a 2-minute 30-second video at 24 fps?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "3,600 frames"
  },
  {
    "input": "Convert 32 degrees Fahrenheit to Celsius and kelvin.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "temperature: 0 °C; temperature: 273.15 K"
  },
  {
    "input": "Solve 3x - 7 = 20, then evaluate 2x^2 - 5 for that value of x.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "157"
  },
  {
    "input": "Given the sequence 81, 27, 9, 3, what is the next term if each term is obtained by dividing the previous term by 3?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "1"
  },
  {
    "input": "Convert 255 from decimal to binary.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0b11111111"
  },
  {
    "input": "Compute 0b101101 XOR 0b110011.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0b11110"
  },
  {
    "input": "(1 m < 2 m) and not (3 seconds < 2 seconds)",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "true"
  },
  {
    "input": "matrix_rank([[1, 2, 3], [2, 4, 6]])",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "1"
  },
  {
    "input": "determinant([[1/2, 1/3], [2/5, 3/7]])",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0.080952381"
  },
  {
    "input": "A 0b10110110 bit mask is ANDed with 0b11101001; give the result in 8-bit binary and decimal.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "binary: 0b10100000; decimal: 160"
  },
  {
    "input": "Find the determinant of [[6, 2], [3, 1]].",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0"
  },
  {
    "input": "is 1 metre equal to 100 centimetres",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "true"
  },
  {
    "input": "3 > 2 > 1",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "true"
  },
  {
    "input": "Use z = sqrt(a² + b²) with a = 3 and b = 4; what is z?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "5"
  },
  {
    "input": "An investment of 800 USD grows 2% monthly for 12 months; convert the resulting balance to GBP using USD=1 and GBP=0.75 per common base, and give effective yield too.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "effective period yield: 26.8241794563%; ending balance: £760.95"
  },
  {
    "input": "A 0b00000001 bit mask is ANDed with 0b11111111; give the result in 8-bit binary and decimal.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "binary: 0b00000001; decimal: 1"
  },
  {
    "input": "A log contains timestamps every 250 milliseconds for 3 minutes, including both the first timestamp at time zero and the final timestamp; how many timestamps are recorded?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "721"
  },
  {
    "input": "random number between 1 and 5",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "kind": "random"
  },
  {
    "input": "is 97 prime",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "true"
  },
  {
    "input": "sqrt(81)",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "9"
  },
  {
    "input": "2 rem in px",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "32px"
  },
  {
    "input": "Price rises from $72 to $81 and quantity falls from 1,250 to 1,080. Using midpoint percentage changes, calculate elasticity as percentage quantity change divided by percentage price change; give two decimals and preserve sign.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "-1.24"
  },
  {
    "input": "A sample of 12 has mean 8.4 and sample SD 1.6. Using t critical 2.201 for 11 df, calculate the 95% confidence interval for population mean, endpoints to two decimals.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "95% confidence interval: [7.38, 9.42]"
  },
  {
    "input": "An ideal transformer has 480 primary turns, 120 secondary turns, and primary voltage 240 V AC. Find secondary voltage and secondary current if primary current is 0.60 A.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "secondary voltage: 60 V; secondary current: 2.4 A"
  },
  {
    "input": "A fund starts at $24,000, earns 5.2% annual interest compounded monthly for 30 months, with no other transactions. Using nominal annual rate divided by 12, find ending balance and total interest, to cents.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "ending balance: $27,324.21; interest earned: $3,324.21"
  },
  {
    "input": "Solve x^2 + 2x + 4 = 0",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = -1 ± i√3"
  },
  {
    "input": "Solve x^2 - 5x + 6 = 0",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = 2, 3"
  },
  {
    "input": "Solve (x - 3)^2 = 0",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = 3"
  },
  {
    "input": "A customer deposits $400 at the end of each month for 36 months into an account earning 5.1% nominal annual interest compounded monthly; what is the accumulated value immediately after the last deposit?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$15,524.45"
  },
  {
    "input": "Calculate the least-squares slope and intercept for points (0, 2), (1, 4), (2, 5), (4, 8).",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "slope: 1.4571428571; y-intercept: 2.2"
  },
  {
    "input": "A pump lifts 0.018 m³/s of water through 22 m with 68% efficiency; using water density 1,000 kg/m³ and g = 9.81 m/s², find input power.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "5,712.8823529412 W"
  },
  {
    "input": "5 ft 3 in to cm",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "160.02 cm"
  },
  {
    "input": "Solve 3(x−4)/5 + 2 = 11 for x.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = 19"
  },
  {
    "input": "Solve z²+4z+13=0 over the complex numbers.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "z = -2 ± 3i"
  },
  {
    "input": "Solve 2u²−5u−3=0; give both roots.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "u = -1/2, 3"
  },
  {
    "input": "Find all real solutions to 4y²−12y+13=0.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "no real solutions"
  },
  {
    "input": "If I invest $750 now and another $750 exactly one year later, at 4% annual compounding, what is the value immediately after the second year’s interest is applied?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$1,591.20"
  },
  {
    "input": "Given paired data x=(1,2,3,4), y=(3,5,4,8), estimate y at x=5 using a least-squares line.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "8.5"
  },
  {
    "input": "Solve (x−3)^2=0; give both roots.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = 3, 3"
  },
  {
    "input": "An account charges a $4 monthly fee and earns 0.3% monthly; starting with $2,000 and making $150 deposits at each month-end for 18 months, calculate the closing balance after the last fee and deposit, with interest applied before fee and deposit each month.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$4,806.90"
  },
  {
    "input": "A time series has observations (day 1, 10), (day 2, 13), (day 4, 17), and (day 5, 22); fit y=a+bt by least squares and predict day 7, while also reporting the residual sum of squares.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "a: 7.1; b: 2.8; prediction at day 7: 26.7; residual sum of squares: 2.6"
  },
  {
    "input": "A cart starts from rest and accelerates uniformly at 2.4 m/s² for 7 seconds; find its final speed and displacement.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "final speed: 16.8 m/s; displacement: 58.8 m"
  },
  {
    "input": "Find all integer solutions to 4x + 7y = 1 with −5 ≤ x ≤ 5 and −1 ≤ y ≤ 0.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: (2, -1)"
  },
  {
    "input": "Compute the determinant and inverse of the matrix with rows (3, 2) and (5, 4), reporting both.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "determinant: 2; inverse: [[2, -1], [-5/2, 3/2]]"
  },
  {
    "input": "A bond pays a 30-dollar coupon every six months for 5 years and repays 1000 dollars with the final coupon; discount all cash flows at an effective 2% per six-month period to find price.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$1,089.83"
  },
  {
    "input": "Given paired observations (1,2), (2,3), (3,5), (4,4), fit the ordinary least-squares line predicting y from x; report slope, intercept, and R-squared.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "slope: 0.8; y-intercept: 1.5; R-squared: 0.64"
  },
  {
    "input": "A beam’s measured deflection y in millimeters is 2.1, 4.0, 5.9, 8.2 at positions x=1,2,4,5 meters; fit a least-squares line and report slope, intercept, and R-squared.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "slope: 1.41 mm/m; y-intercept: 0.82 mm; R-squared: 0.9721760391"
  },
  {
    "input": "A sensor reports 2.00 V with independent standard uncertainty 0.03 V, and a 10.0-ohm resistor has independent standard uncertainty 0.2 ohms; using I=V/R and first-order uncertainty propagation, report current and its standard uncertainty.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "current: 0.2 A; standard uncertainty: 0.005 A"
  },
  {
    "input": "A sensor’s measured response y in seconds is 2,4,6 at positions x=1,2,3 m/s; fit a least-squares line and report slope, intercept, and R-squared.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "slope: 2 s/(m/s); y-intercept: 0 s; R-squared: 1"
  },
  {
    "input": "A bond pays a 1e-20-dollar coupon every 12 months for 1 year and repays 0 dollars with the final coupon; discount all cash flows at an effective -99.999999999999999999% per 12-month period to find price.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$1.00"
  },
  {
    "input": "How many length-8 binary strings contain exactly three 1s and no adjacent 1s?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "20"
  },
  {
    "input": "For the recurrence a₀=2 and aₙ₊₁=3aₙ-1, report a₀ through a₆ as an ordered list.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "terms: 2; 5; 14; 41; 122; 365; 1,094"
  },
  {
    "input": "A household divides $1,275 among 3 people in ratio 2:3:4; report each share to cents using the largest-remainder method for any rounding remainder.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "shares: $283.33; $425.00; $566.67"
  },
  {
    "input": "A $12,000 loan is repaid by 36 equal end-of-month payments at 0.75% monthly interest, first payment one month after origination; report the payment to the nearest cent.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$381.60"
  },
  {
    "input": "A discrete variable X has probabilities P(X=0)=0.2, P(X=1)=0.5, and P(X=3)=0.3; report E[X], Var(X), and P(X≥1).",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "E[X]: 1.4; Var(X): 1.24; P(X≥1): 0.8"
  },
  {
    "input": "A rectangular plate measures 12.0 cm by 8.0 cm, each dimension with independent standard uncertainty 0.1 cm; using first-order uncertainty propagation, report area and propagated standard uncertainty.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "area: 96 cm²; standard uncertainty: 1.4422205102 cm²"
  },
  {
    "input": "A 5 kg object moving at 4 m/s stops uniformly over 2 m; using v²=u²+2as and F=ma, report acceleration and signed net force.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "acceleration: -4 m/s²; net force: -20 N"
  },
  {
    "input": "A household divides $9,000,000,000,000,003 among 3 people in ratio 2:3:4; report each share to cents using the largest-remainder method for any rounding remainder.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "shares: $2,000,000,000,000,000.67; $3,000,000,000,000,001.00; $4,000,000,000,000,001.33"
  },
  {
    "input": "Find every real solution of |2x-5|=9 and list them in increasing order.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = -2, 7"
  },
  {
    "input": "In a simple undirected graph on 8 labeled vertices, exactly 11 edges are chosen; how many such graphs are possible?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "21,474,180"
  },
  {
    "input": "A fitted line is y=1.5x-2 and observed pairs are (0,-1),(1,0),(2,2); report residuals in the listed order and their sum of squares.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "residuals: [1, 0.5, 1]; residual sum of squares: 2.25"
  },
  {
    "input": "A project costs 1000 dollars now and pays 300, 400, and 500 dollars at the ends of years 1, 2, and 3; find the annual effective rate making net present value zero between 0 and 100 percent.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "8.8963394693%"
  },
  {
    "input": "A cylinder has radius 0.4 meters and height 1.5 meters; using π=3.14159, compute volume and lateral surface area.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "volume: 0.7539816 m³; lateral surface area: 3.769908 m²"
  },
  {
    "input": "A reaction consumes 2 moles of A per 3 moles of B; with 10 moles A and 12 moles B initially and complete reaction, identify limiting reactant and moles of product if each reaction event makes 1 mole product.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "limiting reactant: B; product amount: 4 mol"
  },
  {
    "input": "2026-10-04 12:30am London in New York",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "3 October 2026 at 7:30 pm"
  },
  {
    "input": "Solve |2x - 7| + |x + 1| = 10 over the reals and report every solution in increasing order.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x = -4/3, 16/3"
  },
  {
    "input": "For the five cash flows -500 at time 0, 140 at end of year 1, 160 at end of year 2, 180 at end of year 3, and 220 at end of year 4, compute NPV at an effective annual discount rate of 8% and report the sign.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "NPV: 71.4002118768; sign: positive"
  },
  {
    "input": "A rectangular plate measures 20 cm by 12 cm and has a circular hole of radius 2 cm centered inside it. Using π=3.14, report remaining area and the plate perimeter before cutting.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "remaining area: 227.44 cm²; perimeter before cutting: 64 cm"
  },
  {
    "input": "A 4 kg cart moving at 5 m/s couples in a perfectly inelastic collision with a stationary 6 kg cart. Report their common velocity and the signed kinetic energy change, using momentum conservation.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "common velocity: 2 m/s; kinetic energy change: -30 J"
  },
  {
    "input": "A 600 N load is shared by supports A and B, with support A carrying twice the load of B. Report each signed upward reaction and verify their sum balances the load.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "reaction A: 400 N; reaction B: 200 N; balanced: true"
  },
  {
    "input": "A household uses 12 kWh per day for 30 days at $0.28/kWh plus a fixed $9.50 fee. Report energy charge and total bill.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "energy charge: $100.80; total bill: $110.30"
  },
  {
    "input": "Solve |x-1| + |x-3| = 2 over the reals and report every solution in increasing order.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x ∈ [1, 3]"
  },
  {
    "input": "For integer n in [−8, 11], list every solution to |3n − 4| ≤ 17 and give their count.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7; count: 12"
  },
  {
    "input": "Using exact arithmetic, solve the system 3x + 2y = 7/5 and −4x + 5y = 11/6; report x, y, and determinant.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "x: 10/69; y: 111/230; determinant: 23"
  },
  {
    "input": "A fund starts at $2,000 and has annual returns +10%, −5%, and +8% in that order; report ending value and geometric mean annual return over three years.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "ending value: $2,257.20; geometric mean annual return: 4.1150108328%"
  },
  {
    "input": "A two-asset portfolio holds 40% asset A and 60% asset B; expected returns are 5% and 9%, volatilities 10% and 15%, and correlation 0.25. Report expected return and portfolio volatility.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "expected return: 7.4%; portfolio volatility: 10.7238052948%"
  },
  {
    "input": "A dataset is 3, 5, 8, 8, 10, 14; report the 25th and 75th percentiles using linear interpolation at rank 1+(n−1)p.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "25th percentile: 5.75; 75th percentile: 9.5"
  },
  {
    "input": "A 2.4 kg object changes velocity from −3 m/s to +8 m/s; report signed momentum change and kinetic energy change.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "momentum change: 26.4 kg·m/s; kinetic energy change: 66 J"
  },
  {
    "input": "A rectangle 12.0 cm by 8.0 cm has a circular hole of radius 2.0 cm; with π=3.1416, report remaining area and boundary length including the hole circumference.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "remaining area: 83.4336 cm²; boundary length: 52.5664 cm"
  },
  {
    "input": "For data 2, 5, 8, 11, 14, 17, 20, 23, compute P80 under the nearest-rank convention; state the selected value.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "20"
  },
  {
    "input": "An account charges a $2.50 monthly fee and earns 0.4% interest monthly on the balance after the fee. Starting at $2,000, what is the balance after 6 months?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$2,033.27"
  },
  {
    "input": "A parking lot charges $4.50 for the first hour and $2.25 for each additional started hour, plus a one-time $1.20 entry fee. What is the total for 3 hours 10 minutes?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$12.45"
  },
  {
    "input": "A 6 kg trolley at 5 m/s sticks to a 4 kg trolley at −2 m/s. Give final signed velocity and the momentum before impact.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "final signed velocity: 2.2 m/s; momentum before impact: 22 kg·m/s"
  },
  {
    "input": "A 30 cm by 20 cm plate has a radius-4 cm circular hole centered inside it. The rectangle is aluminum, density 2.7 g/cm^3, and the hole is air. With plate thickness 0.5 cm and pi=3.141592653589793, find the plate mass.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "742.1415986825 g"
  },
  {
    "input": "A tank receives 18 L/min for 7 minutes while draining 4.5 L/min throughout. Starting with 12 L, state final volume and net flow rate.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "final volume: 106.5 L; net flow rate: 13.5 L/min"
  },
  {
    "input": "How many integer k obey 2 ≤ 5 − 2k < 19? Give the count and the least such k.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 8; least k: -6"
  },
  {
    "input": "How many integers z in [-18, 18] meet both |3z + 4| ≤ 22 and |z - 2| > 3?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "8"
  },
  {
    "input": "Find every integer n satisfying 3 ≤ n ≤ 40, 2n + 5 > 17, and 7 - 3n ≥ -50; report how many such integers there are and the least one.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 13; least n: 7"
  },
  {
    "input": "Count the integers q in [-25,25] such that |4q + 1| ≤ 21 and |q - 3| ≥ 2, and state the least such q.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 8; least q: -5"
  },
  {
    "input": "The sorted dataset is 5, 5, 9, 14, 22, 31, 40. Report its 90th percentile under both explicitly defined methods: nearest-rank uses rank ceiling(np); interpolation uses h = 1 + (n - 1)p with 1-indexed positions.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "nearest-rank: 40; interpolation: 34.6"
  },
  {
    "input": "Compute the one-month ending amount from $5,000 at 0.5% monthly interest when a $22 fee is deducted only after interest has been applied to the opening balance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$5,003.00"
  },
  {
    "input": "A delivery service charges a fixed $3.25 plus $1.80 for each started 5-kilometer block; any positive partial block counts as a full block. Find the fee for 12 kilometers.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$8.65"
  },
  {
    "input": "An invoice has taxable items of $84.60 and $25.40, a nontaxable item of $12, and sales tax of 7.5% applied only to taxable items. Find the total, rounding tax to cents.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "$130.25"
  },
  {
    "input": "A spherical shell has outer radius 0.12 m and inner radius 0.10 m, with uniform density 1200 kg/m^3. Use pi = 3.14159265 and calculate its mass, treating it as the volume difference of two spheres.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "3.6593271187 kg"
  },
  {
    "input": "A plate consists of a 0.40 m by 0.25 m rectangle plus a semicircle attached along one 0.25 m edge; semicircle radius is 0.125 m, total uniform thickness is 0.008 m, density is 8000 kg/m^3, and pi = 3.14. Find the total mass, with the pieces non-overlapping.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "7.97 kg"
  },
  {
    "input": "For integers x from -12 through 18 inclusive, how many satisfy 3x+7 >= -11, 5-2x > -19, and |x-4| <= 9; give the smallest qualifying x too.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 17; least x: -5"
  },
  {
    "input": "Beginning with $975.50, subtract a $25 fee and then calculate 6.2% simple interest for 120 days on the post-fee amount using a 365-day year; report interest and closing balance to cents, half up.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "interest earned: $19.37; ending balance: $969.87"
  },
  {
    "input": "For a $48.00 principal with a $50.00 fee charged first, then 4% simple annual interest for 90 days on the resulting balance using a 360-day year, give interest and ending amount rounded half up to cents, including any negative amount.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "interest earned: -$0.02; ending balance: -$2.02"
  },
  {
    "input": "Invoice 3 items at $19.95 each and 2 at $8.40 each, with a $6.25 shipping charge that is taxable. Apply 7.25% tax to the full pre-tax subtotal only, round tax half up to cents, and report subtotal, tax, and total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "subtotal: $82.90; tax: $6.01; total: $88.91"
  },
  {
    "input": "Find the mass in kilograms of a hollow sphere with outer diameter 24 cm and uniform wall thickness 1.5 cm, given density 2.7 g/cm^3 and pi = 3.14; use the difference of outer and inner spherical volumes and convert 1000 g to 1 kg.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "6.447519 kg"
  },
  {
    "input": "A recipe uses 275 grams of flour per loaf. How many complete loaves can be made from 2.4 kilograms of flour, and how many grams remain?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "complete loaves: 8; flour remaining: 200 g"
  },
  {
    "input": "A garden bed is 4.8 m long; plants are placed every 0.6 m including both ends. How many plants are needed?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "9"
  },
  {
    "input": "A water tank gains 12 litres per minute for 18 minutes and then loses 7 litres per minute for 5 minutes; starting empty, how many litres remain?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "181 L"
  },
  {
    "input": "For a $49.50 principal with a $50.00 fee charged first, then 4% simple annual interest for 90 days on the resulting balance using a 360-day year, give interest and ending amount rounded half up to cents, including any negative amount.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "interest earned: -$0.01; ending balance: -$0.51"
  },
  {
    "input": "Compute the mass of a non-overlapping composite made from a cuboid 10 cm × 4 cm × 3 cm and a cylinder of radius 2 cm and height 10 cm; use pi = 3.14159, cuboid density 2 g/cm³, cylinder density 5 g/cm³, and return grams.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "868.318 g"
  },
  {
    "input": "A reservoir starts with 2.4 m³, receives 850 L, and then drains 1,125 L. Convert all quantities consistently and report remaining volume in liters.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "2,125 L"
  },
  {
    "input": "On a straight 24-meter wall, place 7 markers equally spaced with one at each end. Find the distance between consecutive markers in meters and list positions from the left end in order.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "spacing: 4 m; positions from left end: 0 m, 4 m, 8 m, 12 m, 16 m, 20 m, 24 m"
  },
  {
    "input": "Calculate simple interest on $2,400 at 5.2% per year for 9 months using a 365-day basis and 273 elapsed days; apply a $18 fee after interest, allow a negative post-fee balance, and return interest then ending balance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "interest earned: $93.34; ending balance: $2,475.34"
  },
  {
    "input": "An invoice lists 10 taxable bars at $1.29 each, 3 exempt bottles at $4.10 each, and taxable shipping of $5.00. Calculate 7.25% tax rounded half up to cents before adding tax; give item-line count, pre-tax amount, tax, and grand total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "item-line count: 2; pre-tax amount: $30.20; tax: $1.30; grand total: $31.50"
  },
  {
    "input": "Count integers z in [0, 100] subject to z² < 20 and 2z + 1 ≥ 1; explicitly treat the square condition as nonlinear and outside affine intent, and return count then minimum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 5; least z: 0"
  },
  {
    "input": "Find the count and minimum among integers s in the empty interval from 9 through 4 inclusive satisfying 2s + 1 < 100 and |s| ≤ 7; use count zero and minimum “none” when there are no eligible integers.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 0; least s: none"
  },
  {
    "input": "How many 6-digit codes can be made using digits 0 through 9 without repetition if the first digit cannot be zero and the code must end in an even digit? Count valid codes.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "68,880"
  },
  {
    "input": "Count integers x in [-5, 5] satisfying (x-2)^2 = 0; return count then minimum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 1; least x: 2"
  },
  {
    "input": "An invoice lists 10 taxable bars at $1.29 each, 3 exempt bottles at $4.10 each, and taxable shipping of $5.00. Shipping counts as an item line. Calculate 7.25% tax rounded half up to cents before adding tax; give item-line count, pre-tax amount, tax, and grand total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "item-line count: 3; pre-tax amount: $30.20; tax: $1.30; grand total: $31.50"
  },
  {
    "input": "How many integers p in [-80, 180] meet 6p + 5 > 101 and |p - 25| ≥ 16? Give the number of matches first and the smallest match second.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 140; least p: 41"
  },
  {
    "input": "A composite block has a copper cylinder of radius 2 cm and height 10 cm joined without overlap to a wood cuboid 5 cm by 4 cm by 3 cm. With π=3.14, copper density 8.9 g/cm³, and wood density 0.6 g/cm³, calculate both masses and their sum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "cylinder mass: 1,117.84 g; cuboid mass: 36 g; total mass: 1,153.84 g"
  },
  {
    "input": "A stock tank has 900 L initially. Stage one adds 250 L, stage two removes 18 L/min for 9 minutes, and stage three adds 6.5 L/min for 12 minutes; calculate stage-end stocks and final amount.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "after stage one: 1,150 L; after stage two: 988 L; after stage three: 1,066 L; final amount: 1,066 L"
  },
  {
    "input": "Three points lie on a straight 100 cm track, with position measured from the left endpoint. Point A is 12 cm from the left end, B is 25 cm to the right of A, and C is 18 cm to the left of the right end. Give their positions in the order left endpoint, A, B, C, right endpoint, and the consecutive gaps.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "positions: 0 cm, 12 cm, 37 cm, 82 cm, 100 cm; consecutive gaps: 12 cm, 25 cm, 45 cm, 18 cm"
  },
  {
    "input": "For $2,000 at 4% simple annual interest over 30 elapsed days on a 360-day basis, charge $100 before accrual and another $25 after accrual; interest applies to the post-first-fee principal, and give interest and signed final balance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "interest earned: $6.33; ending balance: $1,881.33"
  },
  {
    "input": "Prepare an invoice for 4 taxable notebooks at $3.99 each and 2 exempt pens at $1.25 each. Shipping costs $5.00 and is taxable; the tax rate is 6.5%, rounded half up to cents before total. Report taxable product amount, exempt product amount, product-line count excluding shipping, tax, and total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "taxable product amount: $15.96; exempt product amount: $2.50; item-line count: 2; tax: $1.36; grand total: $24.82"
  },
  {
    "input": "There are 8 distinct books, and 3 specified books must be adjacent on a shelf. Count the linear arrangements, treating the specified trio as a single block whose internal order can vary.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "4,320"
  },
  {
    "input": "A circular spinner has 12 equal sectors numbered 1 through 12. It is spun twice; find the probability that the product is divisible by 6, reduced.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "5/12"
  },
  {
    "input": "Prepare an invoice for 4 taxable notebooks at $3.99 each and 2 exempt pens at $1.25 each. Shipping costs $5.00 and is taxable. Shipping counts as an item line. The tax rate is 6.5%, rounded half up to cents before total. Report taxable product amount, exempt product amount, product-line count excluding shipping, tax, and total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "taxable product amount: $15.96; exempt product amount: $2.50; item-line count: 2; tax: $1.36; grand total: $24.82"
  },
  {
    "input": "time in UTC 1 day ago",
    "context": {
      "now": "2026-10-04T10:17:13.079000Z",
      "timezone": "UTC"
    },
    "expected": "3 October"
  },
  {
    "input": "time in UTC 1 day 3 hours ago",
    "context": {
      "now": "2026-10-04T10:17:13.079000Z",
      "timezone": "UTC"
    },
    "expected": "Yesterday at 7:17 am"
  },
  {
    "input": "time in UTC 0.29 weeks ago",
    "context": {
      "now": "2026-10-04T10:42:52.564000Z",
      "timezone": "UTC"
    },
    "expected": "2 October 2026 at 9:59:40 am"
  },
  {
    "input": "For 6 identical steel rods each 1.75 m long with circular diameter 12 mm, density 7,850 kg/m^3 and pi=3.14159, report one-rod volume and mass and total volume and mass using consistent SI units.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "one-rod volume: 0.0001979202 m³; one-rod mass: 1.5536733345 kg; total volume: 0.001187521 m³; total mass: 9.322040007 kg"
  },
  {
    "input": "Place M at 5 cm, N 40 mm to the left of M, P 7 cm to the right of N, and Q 25 mm to the left of P; report every point position in centimetres, sorted left to right, and each neighboring gap.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "positions: N 1 cm, M 5 cm, Q 5.5 cm, P 8 cm; consecutive gaps: 4 cm, 0.5 cm, 2.5 cm"
  },
  {
    "input": "A water pipe with cross-sectional area 12 cm^2 carries water at 1.8 m/s; report volumetric flow in cm^3/s, L/min, and m^3/hour.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "volumetric flow: 2,160 cm³/s; volumetric flow: 129.6 L/min; volumetric flow: 7.776 m³/hour"
  },
  {
    "input": "A $1,250 purchase has a 15% discount applied before 7% sales tax; round the discounted merchandise amount to cents, then tax half up to cents, and report original amount, discount, taxable amount, tax, and total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "original amount: $1,250.00; discount: $187.50; taxable amount: $1,062.50; tax: $74.38; total: $1,136.88"
  },
  {
    "input": "Calculate a utility bill with 420 kWh at $0.164 per kWh, a fixed $9.25 charge, and a $3.00 credit; round energy cost to cents and report each component and net due.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "energy charge: $68.88; fixed charge: $9.25; credit: $3.00; net due: $75.13"
  },
  {
    "input": "Find all integer x satisfying (x-4)^2 <= 25 and |2x-3| >= 5, then report their count, sum, minimum, and maximum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: -1, 4, 5, 6, 7, 8, 9; count: 7; sum: 38; minimum: -1; maximum: 9"
  },
  {
    "input": "For a uniformly selected integer from 1 through 120, what is the exact probability it is divisible by 4 or 6 but not by 12?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "0.25"
  },
  {
    "input": "Plan 3 consecutive tasks lasting 45, 70, and 35 minutes, starting at 09:20 with a 10-minute break between tasks. Give each task's start and finish time.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "task 1 start: 09:20; task 1 finish: 10:05; task 2 start: 10:15; task 2 finish: 11:25; task 3 start: 11:35; task 3 finish: 12:10"
  },
  {
    "input": "An electric bill uses 420 kWh at $0.184 per kWh, a $12.50 fixed service fee, a $9.00 credit, and 5% tax on energy charge plus service fee after credit. Round each monetary component and the final tax half up to cents; itemize energy, fee, credit, taxable base, tax, and total.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "energy charge: $77.28; fixed charge: $12.50; credit: $9.00; taxable base: $80.78; tax: $4.04; total: $84.82"
  },
  {
    "input": "An account owes $860.00. Apply a $25 late fee first, then a $300 payment; allocate the payment to the fee before principal. Report fee, payment allocated to fee, payment allocated to principal, and remaining principal.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "fee: $25.00; payment allocated to fee: $25.00; payment allocated to principal: $275.00; remaining principal: $585.00"
  },
  {
    "input": "A calendar has 31 days, with day 1 on a Thursday. List the dates that fall on Mondays and give their count.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "dates: 5, 12, 19, 26; count: 4"
  },
  {
    "input": "Two resistors of 8 ohms and 12 ohms are in parallel across an ideal 24 V supply. Give equivalent resistance, total current, and current through each branch.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "equivalent resistance: 4.8 Ω; total current: 5 A; first branch current: 3 A; second branch current: 2 A"
  },
  {
    "input": "A savings balance of $6,000 earns 3.5% annual interest compounded monthly for 2 years; assume no transactions and report the ending balance to cents and total interest earned.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "ending balance: $6,434.39; interest earned: $434.39"
  },
  {
    "input": "For x in the integer interval [-20,20], solve |x+3|+|x-5|=12; provide every solution in order, plus count, sum, and minimum and maximum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: -5, 7; count: 2; sum: 2; minimum: -5; maximum: 7"
  },
  {
    "input": "For values -3, 0, 4, 4, 10, find the count, sum, minimum, maximum, mean, median, and population variance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 5; sum: 15; minimum: -3; maximum: 10; mean: 3; median: 4; population variance: 19.2"
  },
  {
    "input": "Plan 1 consecutive tasks lasting 59.99999999999 seconds, starting at 23:59 with a 0-minute break between tasks. Give each task's start and finish time.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "task 1 start: 23:59; task 1 finish: 00:00 (+1 day)"
  },
  {
    "input": "Given exactly 6 observations, 5, 8, 8, 8, 12, 19, find count, sum, minimum, maximum, mean, median, mode, and population variance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 6; sum: 60; minimum: 5; maximum: 19; mean: 10; median: 8; mode: 8; population variance: 20.3333333333"
  },
  {
    "input": "List every integer x from -12 through 15 inclusive satisfying |2x - 3| = 9, then report the solution count, sum, minimum, maximum, and mean.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: -3, 6; count: 2; sum: 3; minimum: -3; maximum: 6; mean: 3/2"
  },
  {
    "input": "Allocate a $125 payment to a $35 late fee first, then to $52 of service charges, then to $48 of taxes; apply funds in that priority order and report paid and unpaid amounts for each category, with any excess held as account credit.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "late fee paid: $35.00; late fee unpaid: $0.00; service charges paid: $52.00; service charges unpaid: $0.00; taxes paid: $38.00; taxes unpaid: $10.00; account credit: $0.00"
  },
  {
    "input": "Three people split a $146.35 restaurant bill equally; calculate each person's share rounded to cents and assign any one-cent rounding remainder to the third person.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "person 1: $48.78; person 2: $48.78; person 3: $48.79"
  },
  {
    "input": "An ideal 5 ohm resistor is in series with a parallel pair of 6 ohms and 3 ohms, supplied by 12 volts; calculate equivalent resistance, source current, and the current and voltage for each resistor.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "equivalent resistance: 7 Ω; source current: 1.7142857143 A; series resistor current: 1.7142857143 A; series resistor voltage: 8.5714285714 V; first parallel resistor current: 0.5714285714 A; first parallel resistor voltage: 3.4285714286 V; second parallel resistor current: 1.1428571429 A; second parallel resistor voltage: 3.4285714286 V"
  },
  {
    "input": "A pipe has inner diameter 40 mm and carries water at an average speed of 1.8 m/s; using pi = 3.141592653589793, calculate cross-sectional area and volumetric flow in cubic metres per second and litres per second.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "cross-sectional area: 0.0012566371 m²; volumetric flow: 0.0022619467 m³/s; volumetric flow: 2.2619467106 L/s"
  },
  {
    "input": "A workday starts at 8:30 AM with tasks of 90, 45, and 60 minutes and a 30 minute lunch break between task two and task three only; show the task intervals and finish time.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "task 1 start: 08:30; task 1 finish: 10:00; task 2 start: 10:00; task 2 finish: 10:45; task 3 start: 11:15; task 3 finish: 12:15; final finish: 12:15"
  },
  {
    "input": "Solve |2x + 5| = 1 over integers x in -10 through 10 inclusive, listing every solution and reporting count, sum, minimum, maximum, and mean.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "solutions: -3, -2; count: 2; sum: -5; minimum: -3; maximum: -2; mean: -5/2"
  },
  {
    "input": "Treat these values as frequencies paired in order with scores 4, 7, 9, 12, 15: scores 4, 7, 9, 12, 15 and frequencies 2, 5, 3, 4, 1. Report total frequency, weighted mean, weighted median (the first score whose cumulative frequency reaches half the total), and weighted population variance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total frequency: 15; weighted mean: 8.8666666667; weighted median: 9; weighted population variance: 9.4488888889"
  },
  {
    "input": "How many subsets of {1,2,...,12} have exactly four elements and contain no two consecutive integers? Give the count, and give the count when the subset must also contain 12.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "count: 126; count including 12: 56"
  },
  {
    "input": "A bill is $84.67 before tax. Apply a $10.00 coupon before 6.25% tax, then a $20.00 gift card after tax; the gift card cannot create a cash refund. Round tax to cents half up. Report taxable amount, tax, gift card applied, and cash due.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "taxable amount: $74.67; tax: $4.67; gift card applied: $20.00; cash due: $59.34"
  },
  {
    "input": "An invoice totals $1,426.38 including 8% tax. A customer pays $500 now and makes three equal end-of-month payments on the unpaid balance, with no interest. Round the equal payment to cents half up, make the third payment the exact remaining cents, and report all payments and their sum.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "payment now: $500.00; month 1 payment: $308.79; month 2 payment: $308.79; month 3 payment: $308.80; total paid: $1,426.38"
  },
  {
    "input": "A 24 V ideal source drives a 4 ohm resistor in series with a parallel network of 12 ohm and 6 ohm resistors. Find total resistance, source current, voltage across each series element and the parallel network, and power in all three resistors.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total resistance: 8 Ω; source current: 3 A; series resistor voltage: 12 V; parallel network voltage: 12 V; series resistor power: 36 W; first parallel resistor power: 12 W; second parallel resistor power: 24 W"
  },
  {
    "input": "A 7 kg cart moving at 3 m/s receives a constant 14 N forward force for 4 seconds on a frictionless level track. Use a=F/m and constant-acceleration kinematics; report acceleration, final speed, displacement during the 4 seconds, and final kinetic energy using KE=mv^2/2.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "acceleration: 2 m/s²; final speed: 11 m/s; displacement: 28 m; final kinetic energy: 423.5 J"
  },
  {
    "input": "Starting at 14:26, complete three work blocks of 52 minutes each with pauses of 10 minutes after the first and 18 minutes after the second. Give each block's start and finish time and the final finish time.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "block 1 start: 14:26; block 1 finish: 15:18; block 2 start: 15:28; block 2 finish: 16:20; block 3 start: 16:38; block 3 finish: 17:30; final finish: 17:30"
  },
  {
    "input": "Take the score-frequency pairs 10:2, 20:5, 30:1, and 40:4; give the number of observations, weighted average, the first score reaching cumulative frequency at least half as the median, and population variance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total frequency: 12; weighted mean: 25.8333333333; weighted median: 20; weighted population variance: 124.3055555556"
  },
  {
    "input": "Using values -3, 0, 4, and 9 with frequencies 2, 3, 2, and 1, report total count, weighted mean, median defined by the first cumulative frequency at least half the count, and population variance.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total frequency: 8; weighted mean: 1.375; weighted median: 0; weighted population variance: 14.484375"
  },
  {
    "input": "How many 4-member subsets of {2,...,13} contain no consecutive integers and include the interior value 8?",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "40"
  },
  {
    "input": "Take 10% off a $75.50 purchase before 7% sales tax, then apply a $90 gift card after tax, capped at the amount owed. Report coupon value, tax base, tax, taxed total, card used, and remaining due.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "coupon value: $7.55; tax base: $67.95; tax: $4.76; taxed total: $72.71; card used: $72.71; remaining due: $0.00"
  },
  {
    "input": "The tax-inclusive invoice is $2,050.00 at 5% tax. Pay $550.00 now, then divide the balance into 9 installments with the first 8 rounded individually to cents using half-up rounding and the ninth equal to the exact residual. Report base, tax, remaining balance, repeated installment, and residual.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "base: $1,952.38; tax: $97.62; remaining balance: $1,500.00; repeated installment: $166.67; residual: $166.64"
  },
  {
    "input": "Connect a 24 V ideal supply to a 5 ohm resistor in series with parallel 10 ohm and 15 ohm resistors. Report total resistance, source current, parallel-section voltage, branch currents, and power in the 5 ohm resistor.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "total resistance: 11 Ω; source current: 2.1818181818 A; parallel network voltage: 13.0909090909 V; first parallel resistor current: 1.3090909091 A; second parallel resistor current: 0.8727272727 A; series resistor power: 23.8016528926 W"
  },
  {
    "input": "An ideal transformer has 1200 primary turns, 200 secondary turns, and 240 V RMS across the primary. Use Vs/Vp=Ns/Np to find the secondary RMS voltage; with a 12 ohm resistive load, find secondary current and load power.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "secondary RMS voltage: 40 V; secondary current: 3.3333333333 A; load power: 133.3333333333 W"
  },
  {
    "input": "I perform 5 tasks, each lasting 12 minutes, with pauses of 2, 7, 1, and 9 minutes after tasks 1, 2, 3, and 4 respectively. Find the full elapsed interval from starting task 1 through finishing task 5 and the clock time of the finish if I start at 09:10.",
    "context": {
      "now": "2026-09-30T12:00:00Z",
      "timezone": "UTC",
      "rates": {
        "USD": 1,
        "AUD": 1.5,
        "EUR": 0.9,
        "GBP": 0.75,
        "JPY": 150
      }
    },
    "expected": "elapsed interval: 79 minutes; finish time: 10:29"
  }
]