FINANCIAL-CORRECTNESS CRASH TESTING

Break your stock app
before the market does.

JustFair crash-tests stock applications against stock-market events before your users find the bugs. Scenarios, replay, root cause, fix guidance.

How It Works
HOW IT WORKS

Five steps to a crash-tested app.

01

Connect

Add two small adapter endpoints exposing what your app displays.

02

Test

Run JustFair scenarios locally against your running app.

03

Break

See exactly which financial invariant failed, with evidence.

04

Fix

Inspect the replay, root cause and remediation guidance.

05

Verify

Run the same scenario again until it passes.

COVERAGE

What JustFair tests.

Scenario packs target the places stock apps go financially wrong. Shown are direction examples; implemented scenarios are listed in each pack.

MARKET DATA

Stale and carried-forward prices. Implemented: carried-forward equity references must never read as live.

CORPORATE ACTIONS

Splits, lifecycle changes, expiries. Implemented: PreStocks conversion deadlines and expired holdings.

TOKEN BEHAVIOR

Token-2022 transfer-fee accounting. Implemented: gross-vs-net receipt on live T-Token fee state.

MARKET STRUCTURE

Meteora DBC liquidity and price-impact stress. Implemented: opening size against issuer-declared policy.

AGENT SAFETY

Financial state misread by autonomous agents. Directional pack; scenarios land as adapters mature.

REAL FAILURE

A swap succeeds. The money is still wrong.

TESSERA_TRANSFER_FEE_ACCOUNTING Engine-generated sample result
EXPECTED RECIPIENT 998 fee-adjusted T-OpenAI units
APP REPORTED 1000 gross transfer amount
RESULT FAIL Token-2022 transfer fee ignored
BUILT FOR DEVELOPERS

Expose two test endpoints. Run JustFair locally.

ADAPTER GET /justfair/v1/manifest and POST /justfair/v1/evaluate on your localhost app.
RUNNER npx justfair@latest test --target http://localhost:3100 --open
REPORT Open the result artifact in Replay Lab. Fix. Rerun.
Developer API

Deterministic scenario endpoints.

Run crash-test scenarios locally or query live DBC stress math from your own tooling.

GET /api/v1/health

Break it here before the market does it for you.

Run your first scenario locally. No account, no funds, no custody.