How we build and test
FLXCode is run by Leszek Rupnicki. This page says what is checked, and what is not.
Test vectors
A test vector is a list of inputs with the answers an independent program gave. We write the list once with that program (Python, scipy, pyproj), save it as a file, and a test feeds every row to our engine and compares the output. If one row differs, the test fails.
Where a page has such a test, it says so under the tool: "Checked against" the reference, on a number of cases. The reference and the number are read from the test files by script when the site is built. We do not type them.
What the tests compare with
| Family | Compared with | Pages | Cases |
|---|---|---|---|
| audio | Python, scipy, numpy | 16 | 3,338 |
| chem | Python, sympy | 5 | 832 |
| codes | Python | 7 | 1,980 |
| converters | Python | 9 | 280 |
| Dates and time | Python, numpy | 15 | 15,598 |
| developer | Python | 9 | 4,340 |
| device-test | Python | 1 | 160 |
| Fractions and percent | Python | 9 | 3,036 |
| Geometry and trig | Python, sympy | 17 | 7,075 |
| gif | Python | 4 | 480 |
| home | Python | 13 | 4,361 |
| image-formats | Python, numpy | 2 | 84 |
| images | Python, numpy | 44 | 16,581 |
| Maps | Python, pyproj | 4 | 1,507 |
| Numbers | Python, numpy, sympy | 26 | 10,505 |
| Python | 3 | 690 | |
| photography | Python | 1 | 260 |
| running | Python | 6 | 1,636 |
| Statistics | Python, scipy, numpy, statsmodels, NIST StRD datasets | 25 | 5,776 |
| text | Python | 4 | 1,786 |
Pages that share one vector file are counted once in the cases column.
Of 310 live tool pages, 220 have a test against an independent reference and say so on the page. 25 have unit tests with expected values we worked out by hand, and 65 have no test of the engine yet. Hand-checked values catch the mistakes we thought of. That is why those pages carry no "checked against" line.
The test suites
The site has 331 unit-level test files and 196 browser test files. All of them run before every release. The browser tests open each page in a phone and a desktop profile of Chromium, check that nothing scrolls sideways at 320 px, run an accessibility scan in light and dark, and watch a size budget for every page.
They do not prove a result is right where no reference exists, and they do not cover your device. Before each release the owner also opens the preview and tries it.
Sources
Open, primary sources come first: standards bodies, specifications, official documentation. Paywalled standards are named with their title, number and year, and we do not link them as if you could read them. A source is added only after it was opened and the passage that backs the page's formula or claim was read. Before a release a second agent opens a sample of them again, and the owner reviews the release. Broken links are fixed at the next review.
Dates
- The date on a tool page is the day its main content last changed: the engine, a result, or the page text in substance.
- Adding a source line, the trust block, a privacy line or a template change does not move it.
- We never set every date to the release day. A script compares the text of each page with the previous release and moves the date only where it changed.
- There is no "last reviewed" line. If a person reviews a page by hand, it will say so.
AI
Code and text on this site are written with AI assistance (Claude). Tools that have a reference test say on the page what they are checked against. The owner reviews every change before release.
Report a mistake
Wrong result, broken source link or unclear text? Write to flxcodelab@gmail.com. Wrong results are fixed first, and the fix goes in the changelog.