Credit LGD Model

Credit LGD Model: Credit LGD Model: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

Credit LGD Model 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 14 anti-pattern constraints. Visit doramagic.ai/r/credit-lgd-model for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-112

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

45total
31fatal
31 must-not-violate

Evidence Quality

Confidence88%

Medium confidence — review before critical use

31 non-negotiable constraints

FATALdomain_rulefinance-C-001

WHENWhen implementing data acquisition for LGD regression model

ACTIONReturn a DataFrame containing exactly 'X' and 'Y' columns

CONSEQUENCEThe downstream lgdModel.py module accesses df[['X']] and df['Y'] columns without validation, causing KeyError exceptions if column names are different

FATALdomain_rulefinance-C-002

WHENWhen implementing local file mode (choice=1) in dataSource

ACTIONRead CSV file from server_dirs/{server_id}/regression_data.csv path

CONSEQUENCEpandas.read_csv will raise FileNotFoundError if the file path is incorrect, and there is no try-except handler to provide meaningful error messages

FATALresource_boundaryfinance-C-004

WHENWhen configuring data transport for the LGD model

ACTIONPass choice values other than 1 or 2 to dataSource

CONSEQUENCEIf choice is neither 1 nor 2, the function returns None implicitly, causing lgdModel.py to fail when trying to access df[['X']] columns

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.