银行压力测试

银行压力测试:执行银行系统级压力测试,基于EBA 2018真实数据计算CET1比率与杠杆率,模拟firesale情景下资产负债表韧性。

✓ 0 人报告成功·v0.1.0·

晶体简介

执行银行系统级压力测试,基于EBA 2018真实数据计算CET1比率与杠杆率,模拟firesale情景下资产负债表韧性。 本 skill 基于开源项目构建并集成 15 条 anti-pattern 约束。访问 doramagic.ai/r/firesale-stress-test 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

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 条不可违反的约束

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

常见问题

讨论 (0)

暂无讨论,成为第一个发言的人吧!

更新历史

v0.1.02026-04-23·贡献者: tangweigang-jpg

v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。