bilig

Bilig formula bug clinic

If a workbook formula bug is blocking your Node service, send the smallest public case that proves it. The goal is not to collect private spreadsheets. The goal is to turn real failures into public fixtures that future evaluators can run.

Good cases:

Open the fixture form: https://github.com/proompteng/bilig/issues/new?template=workbook_fixture.yml.

Discuss the shape first: https://github.com/proompteng/bilig/discussions/414.

Generate a local report

If the workbook is already reduced, run the clinic reporter locally and paste the Markdown output into the fixture form. It reads the file on your machine and does not upload workbook contents.

mkdir bilig-formula-clinic
cd bilig-formula-clinic
npm init -y
npm pkg set type=module
npm install @bilig/headless
npm install --save-dev tsx typescript @types/node
curl -fsSLo formula-clinic-report.ts \
  https://proompteng.github.io/bilig/formula-clinic-report.ts
npx tsx formula-clinic-report.ts ./reduced.xlsx \
  --cells "Summary!B7,Inputs!B2"

Use --cells for the output cells that prove the bug. The report includes import warnings, formula samples, requested readback, and a paste-ready fixture checklist.

What to send

Send one reduced public fixture, not the whole production workbook.

Include:

Do not attach confidential workbooks, customer data, financial models, or files that cannot be redistributed in a public test corpus. Replace names and numbers with neutral values while keeping the same formula shape.

Why this helps

Stars usually follow evidence, not claims. A reduced workbook fixture is better than a marketing post because it gives maintainers something concrete to merge:

When a case lands, the issue can point to the commit, release, and docs page that fixed it. That is the evidence a skeptical backend developer can inspect before adopting the package.

Fast local check

For stale cached XLSX values, first verify whether the backend is reading an old stored value instead of a fresh calculation:

git clone --depth 1 https://github.com/proompteng/bilig.git
cd bilig/examples/xlsx-recalculation-node
pnpm install
pnpm run smoke

For a pure WorkPaper case, reduce it to a script:

mkdir bilig-fixture-check
cd bilig-fixture-check
npm init -y
npm pkg set type=module
npm install @bilig/headless
npm install --save-dev tsx typescript @types/node

If the script is short enough to paste into an issue, it is probably a good fixture.

Useful references

If this helped you reduce a workbook bug, star or bookmark the repository so the next backend developer can find the fixture path: https://github.com/proompteng/bilig/stargazers.