Debt under notes payable, lines of credit, and convertibles is not extracted #32
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
epic:E1-foundation
epic:E2-correct-metrics
epic:E3-fast-jobs
epic:E4-cli
epic:E5-web-ui
epic:E6-history
good first issue
help wanted
invalid
question
sprint-tracking
story
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/screener#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's wrong: the S1-3 extractor (#8) only reads
DebtCurrent,ShortTermBorrowings,LongTermDebtCurrent,LongTermDebtNoncurrent,LongTermDebtAndCapitalLeaseObligations,LongTermDebt, andDebtLongtermAndShorttermCombinedAmount. Companies that report debt under other tags get no total debt. If that is treated as zero, their enterprise value is understated and their earnings yield overstated, the same kind of distortion as #1.Evidence (real-data run of #8 on the Nov 5, 2026
data/, 5,170 companies with a fiscal year in the last 13 months):Most common unread tags:
FinanceLeaseLiability(238),NotesPayableCurrent(193),NotesPayable(112),LineOfCredit(108),ConvertibleNotesPayableCurrent(95),SubordinatedDebt(72),LoansPayableCurrent(62),ConvertibleDebtCurrent(60),SecuredDebt(55),ConvertibleNotesPayable(53),ConvertibleDebtNoncurrent(50),LoansPayable(49).Not debt and should stay excluded:
DebtInstrumentFaceAmount(per-instrument detail),LineOfCreditFacilityRemainingBorrowingCapacity(unused credit).Expected:
NotesPayablealongsideLongTermDebt).🤖 Claude: One more case to cover here, found while fixing #8: 13 filers report a total
LongTermDebtplus aDebtCurrentaggregate, but no separateLongTermDebtCurrent.DebtCurrentprobably includes the current portion of long-term debt, so adding the two may count it twice. There is no tag to subtract, so the extractor currently adds them. Examples: XCF Global, SurgePays, OneMedNet.🤖 Claude: Product owner decisions (in chat, 2026-11-05):
NotesPayableandConvertibleNotesPayable), sum the families, skipping any family whose amount exactly matches one already counted (26 of the 173 multi-family filers tag the same debt twice). Any error left over overstates debt rather than flattering earnings yield.🤖 Claude: The
LongTermDebt+DebtCurrentdouble-count case from the comment above is split out to #43 (back burner; it changes no ranking today).