晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
42 条不可违反的约束
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
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
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.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。