Repository navigation
Commit 66a2ed7
Fix MTD balance sheet resolution by validating standard-name matches (GH #659)
_match_by_standard_name() now filters candidates through essential-concept
validation, preventing mislabeled roles (e.g., a supplemental schedule with
the standard root concept but only 2 elements) from short-circuiting the
resolver cascade. When all standard-name candidates fail validation, the
method falls through to concept-pattern matching which finds the real
balance sheet.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8ff039e commit 66a2ed7
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1003 | 1014 | | |
1004 | 1015 | | |
1005 | 1016 | | |
| |||
0 commit comments