Azzam Ubaidillah
← All projects

Case study · Personal · Production

Sigi

A public research site on who owns Indonesian listed companies and how much of each really floats, built so that every figure shows its source and refuses to claim more than the data supports.

Companies covered
961
Register of 2026-09-30 (docs/PRD.md, F2)
Monthly files imported
8
2026-02-27 to 2026-09-30; a rebuild check matched every month (D-021)
Accessibility audit
120 runs, all 100
15 pages × 2 languages × 2 colour schemes × 2 sizes, 2026-10-26 (lighthouse-report)
Tests
149 + 122
End-to-end specs + unit tests, 2026-10-27 (D-027, D-030)
Investability page: Sigi counts 219 companies certainly below the 15% free-float line, the exchange reports 358 of 918, and the next dated deadline is 31 March 2027.
Investability: Sigi's count (219) sits beside the exchange's own (358 of 918), with the reason the two differ. As of 2026-09-30.
Market page headed 'Who owns Indonesia's listed companies', with 961 companies in the register, 219 certainly below the 15% line and a daily brief.
Market: the 961-company register and the figures that matter, each dated.
Macro page showing BI-Rate, inflation, the rupiah per US dollar and foreign-exchange reserves, each labelled published or Sigi's calculation, with a source.
Macro: every value is labelled as published by the source or as Sigi's own calculation, with the source one click away.
A thesis page with a research-notes disclaimer, a count of conditions hit and holding, and a list of invalidation conditions checked daily.
A thesis: a view, plus the conditions that would show it wrong, checked by the worker every day.

The problem

Indonesia's exchange publishes who holds more than 1% of each listed company, once a month, as a workbook. A new rule sets a minimum free float of 15% with dated steps. But the workbook cannot answer the obvious question: the official free-float definition excludes controllers' affiliates, directors, treasury shares and lock-ups, and the register does not identify them. The visible data can only bound the float from above.

Sigi's answer is to publish that bound, never call it the official float, and refuse to publish a figure when a register is visibly incomplete.

Constraints

  • Free sources only. Licensed end-of-day feeds start at Rp 2.3 million a month plus a deposit, so there are no stored daily prices, no price screener, and price conditions in theses are manual checks.
  • Non-commercial: no ads, paywall, paid tier or sponsorship.
  • No written permission from the exchange or Bank Indonesia exists and none was requested. The data is used non-commercially and cited, and Sigi claims no licence.
  • Individuals appear only inside a company's ownership table exactly as published. There are no holder pages, search or cross-company totals for people.
  • Read-only site: GET and HEAD only, no accounts, no admin, no upload.
  • The text of the revised exchange rule was not read in full, so the 15% and 12.5% dates rest on press reports and are labelled that way.

Decisions

Publish an upper bound on free float, never the official figure

The register shows holders above 1%, so affiliates, directors, treasury and lock-ups under 5% are invisible and can only lower the official number. 100% minus every holder of 5% or more is therefore at most the official float. Rejected: my first estimate (shares held below 1%), which flagged 568 companies under 15% against the exchange's own count of 328.

No figure when the register is incomplete, by rule

If a company's listed holders total under 15%, its bound would be near 100% and read as a compliant float. In the 2026-02-27 file all five such companies were missing a known controlling holder. They get no float figure and are counted separately with the reason. Rejected: a footnote on a 100% bound, or a hand-kept exclusion list.

Publish fail-closed, with warnings and no human step

A failed gate blocks the swap into the published tables, and the same file or the same figures is a no-op. One typo in a publisher's row would otherwise hold a whole month, so a row that contradicts itself is stored as published and marked, never corrected, which keeps provenance. Rejected: holding the month for manual approval, and fixing the row in place.

Holder identity is mechanical, and a holder page needs every row to be institutional

Name variants split one controller's position, and fuzzy merging cannot be audited, so identity is normalisation plus reviewed alias rows (294 of them). One individual row in any month keeps a holder off a public page: 2,487 holders have a page and 2,657 do not (2026-09-30). Rejected: fuzzy merging, and holder pages for everyone.

Theses are dated markdown with typed conditions, and unknown is never guessed

A condition has to be checkable against Sigi's own readings and fail closed when the data cannot answer it. Each version is a new file, so the history is the diff. Rejected: free-text theses, and fuzzy holder matching to make a condition resolve.

One writer, one read-only site

A single worker is the only writer. It lands each file immutably under its SHA-256, parses, stages, runs pass/warn/fail gates and swaps staging into the published tables in one transaction. The Next.js site serves GET and HEAD only, and a CI rebuild check re-derives the published tables from the stored files.

What broke

A free-float estimate that disagreed with the exchange by 240 companies

The first version used 'shares held below 1%' as the free float. On the 2026-02-27 file it flagged 568 companies under the 15% line. The exchange's own published count was 328.

I found the gap by comparing my count with the exchange's and re-reading its definition: holders of 1 to 5% are free float unless they are insiders. The fix was to define the figure as 100% minus every holder of 5% or more (rows of one holder summed), label it an upper bound, and keep 'held below 1%' as a separate, labelled figure. On that file 219 companies are certainly below 15%, against the exchange's 328.

The same file then exposed a second failure: five companies whose listed holders total under 15%, each missing a known controller, which would have turned their bound into about 100%. That became the rule above (no figure, counted separately). One residual is documented, not solved: an omission at a company whose remaining holders still total more than 15% is not caught.

Result

Live since 2026-10-26: 961 company pages, eight monthly files imported unattended and byte-identical to hand downloads, 16 macro series, 11 registered sources, and three theses with six typed conditions checked daily. The sitemap holds 972 URLs.

On the 2026-09-30 register, 219 of 961 companies are certainly below 15%; the exchange counts 358 of 918 (press-reported). Every company matched an independent re-read of the file on holder count, top holder and float bound, except two where one holder is published under two spellings and the alias table merges it.

CI runs a verify job (format, lint, types, 122 unit tests including the rebuild check, build) and an end-to-end job (149 Playwright specs, then Lighthouse). The accessibility audit ran 120 times and every score was 100.

Limits, stated on the site and in the repo: the bound is not the official float; the Indonesian copy has had no native review; the theses were drafted with an AI assistant from the register and press reports; and there is no measured response time, only a 300 ms target.

Stack

TypeScriptNext.js 16 + React 19SQLite (WAL) + DrizzleZodPlaywright + LighthouseVitestDocker + Dokploy (web and worker from one image)GitHub Actions

Figures checked against their sources on 2026-11-01. Each figure names the file or readout it came from.