Standard SEC XBRL fundamentals often return the latest value for a past period, which was not public on the research date. Query the sample to see original vs restated values and when each became public.
The same company reports revenue under different XBRL tags over time. A pipeline that selects one tag gets a gap, or silently picks up another line item. Find the breaks in the public sample.
A ticker is a label that gets reassigned, not an identity. Joining history on ticker alone silently splices two companies into one series. Re-run the query on the public sample.