(section: TwinSection)
| 64 | } |
| 65 | |
| 66 | function sectionSummary(section: TwinSection): string { |
| 67 | if (section.rows.length > 0) return String(section.rows.length); |
| 68 | if (unavailableText(section)) return 'Unavailable'; |
| 69 | if (section.text) return ''; |
| 70 | return section.state === 'ambiguous' ? 'Unresolved' : 'None found'; |
| 71 | } |
| 72 | |
| 73 | /** Reuse evidence-bearing rows without the legacy reader levels or model controls. */ |
| 74 | function FactDisclosure(props: { |
no test coverage detected