-
Couldn't load subscription status.
- Fork 20
Closed
Labels
part:data-pipelineAffects the data pipelineAffects the data pipelinepriority:lowThis should be addressed only if there is nothing else on the tableThis should be addressed only if there is nothing else on the tabletype:bugSomething isn't workingSomething isn't working
Milestone
Description
What happened?
If there is no data in the ring buffer (e.g. on start up) or no valid data (e.g. only None values), there is inconsistent behavior for gaps and __len__, which relies on gaps.
What did you expect instead?
Example on startup (expected 1 gap over the full window):
| assert len(buffer.gaps) == 0 |
Example for no valid data (expected length of zero):
| assert len(buffer) == 4 # bug: should be 0 (whole range gap) |
Affected version(s)
v0.x.x
Affected part(s)
Data pipeline (part:data-pipeline)
Extra information
No response
Metadata
Metadata
Assignees
Labels
part:data-pipelineAffects the data pipelineAffects the data pipelinepriority:lowThis should be addressed only if there is nothing else on the tableThis should be addressed only if there is nothing else on the tabletype:bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done