Status: public verifier walkthrough for @bilig/headless
The WorkPaper XLSX corpus verifier answers a narrow question:
when a workbook file contains cached formula results, does
biligcalculate the comparable formula cells to the same values?
It is not a blanket Excel-compatibility claim. It is a way to turn real workbook files into concrete matched, skipped, or mismatched evidence.
From the repository root:
pnpm workpaper:xlsx-corpus:check -- packages/headless/fixtures/xlsx-corpus
The current checked-in reduction corpus returns:
{
"summary": {
"totalFiles": 1,
"filesProcessed": 1,
"failedErrors": 0,
"failedTimeouts": 0,
"formulaCells": 14,
"comparableFormulaCells": 14,
"matchingFormulaCells": 14,
"mismatchedFormulaCells": 0,
"ok": 1,
"skippedFormulaCells": 0,
"matchRate": 1
},
"mismatches": [],
"skippedByReason": {
"missing-cached-result": 0,
"unsupported-cached-result-type": 0,
"volatile-or-environment-dependent-formula": 0
}
}
That means the fixture has 14 formula cells, all 14 had comparable cached
results, and all 14 matched.
formulaCells is the total formula-cell count found in the workbook files.
comparableFormulaCells is the subset with a cached result that can be compared
deterministically.
matchingFormulaCells is the number of comparable formula cells where bilig
matched the cached workbook result.
mismatchedFormulaCells is the number of comparable formula cells where bilig
calculated a different result.
skippedFormulaCells is the number of formula cells excluded from direct
comparison. Skips are not successes. They are explicit exclusions.
matchRate is matchingFormulaCells / comparableFormulaCells.
The verifier separates skipped formulas by reason:
missing-cached-result: the workbook did not contain a cached value for that
formula cellunsupported-cached-result-type: the cached result type cannot be compared
by the verifiervolatile-or-environment-dependent-formula: the formula depends on runtime
state, clock time, random values, file names, or another environment-specific
valueCommon examples of environment-dependent formulas are NOW() and
CELL("filename").
Skipped formulas are useful because they prevent false confidence. A workbook with many skipped formulas needs a narrower claim than a workbook with a high comparable-cell count and a high match rate.
When mismatches is non-empty, treat the report as a debugging input:
The goal is not to hide mismatches. The goal is to turn them into small, reproducible compatibility work.
Point the verifier at a file or directory:
pnpm workpaper:xlsx-corpus:check -- /path/to/workbooks
The verifier accepts .xlsx, .xlsm, and .xls paths. For macro-enabled
workbooks, bilig can preserve macro payload metadata through import/export
paths, but it does not execute native macro code.