信用转移矩阵

信用转移矩阵:处理信用评级转移矩阵,支持Not-Rated状态重分配、年度与月度矩阵转换、状态空间定义及数据集表征。 含 14 条反模式约束。

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

晶体简介

处理信用评级转移矩阵,支持Not-Rated状态重分配、年度与月度矩阵转换、状态空间定义及数据集表征。 本 skill 基于开源项目构建并集成 14 条 anti-pattern 约束。访问 doramagic.ai/r/credit-transition-matrix 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

Blueprint Source

finance-bp-119

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

60total
46fatal
46 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

46 条不可违反的约束

FATALdomain_rulefinance-C-001

WHENWhen defining a StateSpace with an explicit definition list

ACTIONverify state indices in each tuple are 0-based contiguous integers starting from 0

CONSEQUENCETransition matrix estimators and downstream stages use 0-based integer indexing. Non-contiguous or non-zero-based indices will cause index out-of-bounds errors or misaligned matrix operations when accessing rows and columns

FATALdomain_rulefinance-C-002

WHENWhen accessing states.cardinality for transition matrix operations

ACTIONverify cardinality is an integer equal to the number of states in the definition list

CONSEQUENCETransitionMatrix validation and estimator loops depend on cardinality matching the definition length. Mismatch causes index errors or uninitialized matrix dimensions

FATALarchitecture_guardrailfinance-C-010

WHENWhen estimators use state space cardinality for matrix initialization

ACTIONverify the transition matrix dimension matches state space cardinality

CONSEQUENCEEstimators like SimpleEstimator and AalenJohansen use states.cardinality to create numpy arrays. Mismatch between matrix dimension and state cardinality causes index errors during estimation

常见问题

讨论 (0)

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

更新历史

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

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