The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Three-call validation against the real api.worldquantbrain.com:
POST /authentication — proves the TLS/JA3 fingerprint clears BRAIN's edge.
GET /authentication — confirms the session cookie is honored.
GET /operators — confirms a real BRAIN GET decodes into typed structs.
That's it. No submits, no simulations — those consume daily budget against the account.
Usage
$env:BRAINAPI_USER = "you@example.com"
$env:BRAINAPI_PASS = "..."
go run ./scripts/live-smoke
BRAINAPI_USER=you@example.com BRAINAPI_PASS=... go run ./scripts/live-smoke
Exit codes:
Code
Meaning
0
All three calls succeeded — SDK is production-validated for this account.
1
Some call failed — read the structured log on stderr; the step= field says which one.
2
Missing BRAINAPI_USER or BRAINAPI_PASS env.
What this proves
bogdanfinn/tls-client Chrome 131 profile clears BRAIN's edge (no 403 from Cloudflare/WAF).
The Basic-auth login flow lands a session cookie (proves cookie jar wiring works against real Set-Cookie headers, not just httptest).
A real /operators body decodes into the typed []Operator slice without hitting unknown-field issues — this catches schema drift if BRAIN adds a required field we don't decode.
What this does NOT prove
Daily-budget gates (no submit/simulation calls).
Captcha solver against the real /captcha endpoint (no registration call).
Long-poll behavior on real BRAIN (no submit/check/pnl/simulation call).
secondary account permission/tier handling (depends on which account you supply).
To extend coverage, add explicit per-test sub-commands and gate them on a --allow-budget-burn flag that the operator must pass intentionally.
live-smoke runs three minimum-budget calls against real BRAIN to prove
the Go SDK's TLS impersonation + protocol decoding actually work end-to-end:
POST /authentication (Basic auth) — does Cloudflare/edge accept our JA3?
GET /authentication (probe) — did we get a session cookie?
GET /operators — does a real BRAIN GET decode?
It does NOT submit alphas or run simulations (those consume daily budget
against the main account). It does NOT exercise the persona or registration
flows.
Usage:
$env:BRAINAPI_USER = "me@example.com"
$env:BRAINAPI_PASS = "..."
go run ./scripts/live-smoke
Exit codes:
0 all three calls succeeded
1 any call failed (details in stderr)
2 missing credentials
The script picks the deterministic browser profile for the supplied email
(matches what production secondary accounts use), so a fingerprint mismatch from
the production bridge will surface here.