Firesale Stress Test

Firesale Stress Test: Firesale Stress Test: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

Firesale Stress Test skill for finance analytics + 合规. Covers 3+ use cases. (batch-v1 draft, needs English review) This skill is built on open-source project tangweigang-jpg/doramagic-skills and embeds 15 anti-pattern constraints. Visit doramagic.ai/r/firesale-stress-test for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-067

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

57total
42fatal
42 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

42 non-negotiable constraints

FATALdomain_rulefinance-C-001

WHENWhen initializing banks from EBA_2018.csv

ACTIONCreate exactly 48 bank agents matching the NBANKS constant

CONSEQUENCEModel systemic risk calculations will be incorrect if fewer or more than 48 banks are created, as the get_extent_of_systemic_event function divides by NBANKS=48 and the balance sheet aggregation will not match EBA 2018 reported values

FATALdomain_rulefinance-C-002

WHENWhen creating the AssetMarket during initialization

ACTIONInitialize asset prices to exactly 1.0 for each asset types using defaultdict

CONSEQUENCEInitial price of 1.0 is required for consistent price impact calculations using Cifuentes 2005 formula. If prices differ, the initial shock magnitude and contagion dynamics will be miscalibrated

FATALdomain_rulefinance-C-003

WHENWhen calculating bank balance sheet values from EBA data

ACTIONVerify each parsed CSV values convert to valid floats without errors

CONSEQUENCECSV parsing with float() on unvalidated strings will raise ValueError at runtime, causing the entire model to crash before any simulation can run

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v0.1.02026-04-23·Contributors: tangweigang-jpg

v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.