Install any skill in seconds. Free to start, no credit card required.
Get Started Free →asgard-ai-platform/algo-risk-altman-z
Calculate Altman Z-Score to predict corporate bankruptcy probability from financial ratios.
Passed 23 of 23 test cases with the skill, and 15 of 23 without it.
and 4 more in the full report
8 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
What command should be run in the terminal to execute the built-in sanity tests for the Altman Z computation script?
| Checked | Without skill | With skill |
|---|---|---|
| The command specified to run sanity tests is python scripts/altman_z.py --verify. | Missed | Passed |
The instructions your model reads when the skill loads.
Altman Z-Score is a linear discriminant model predicting bankruptcy probability from five financial ratios. Z = 1.2X₁ + 1.4X₂ + 3.3X₃ + 0.6X₄ + 1.0X₅. Zones: Z > 2.99 (safe), 1.81-2.99 (grey), Z < 1.81 (distress). Originally for public manufacturing firms; variants exist for private and non-manufacturing.
Trigger conditions:
When NOT to use:
IRON LAW: Z-Score Was Calibrated for PUBLIC MANUFACTURING Firms
Applying the original formula to private firms, service companies, or
emerging markets WITHOUT using the appropriate variant produces
misleading results. Use Z'-Score for private firms, Z''-Score for
non-manufacturing and emerging markets.
Extract from financial statements: working capital, retained earnings, EBIT, market cap (or book equity for private), total assets, total liabilities, sales. Gate: All five inputs available, from same reporting period.
Before touching any formula, pick the right variant — this is the single most common mistake when applying Altman Z.
| Firm description | Variant | Script flag |
|---|---|---|
| Public manufacturing firm | Original Z | --variant original |
| Private manufacturing firm (no market cap) | Z' | --variant private |
test cases passed, vs 15 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.