-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Implement daily count extraction function and tests
- Implement
_extract_daily_countshelper function:- Convert timestamps to dates (day resolution)
- Determine first and last transaction dates
- Create complete date range from first to last
- Count transactions per day using
value_counts - Fill missing days with 0
- Return numpy array of counts
- Handle edge cases (empty timestamps, single timestamp)
- Write unit tests for
_extract_daily_counts:- Multiple days with gaps
- All transactions on same day
- Single transaction
- Empty timestamps
- Days with zero transactions
- Write property test for timestamp order invariance:
- Shuffle timestamps, verify daily counts are identical
- Requirements: 1.3, 2.2, 6.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programdocumentationImprovements or additions to documentationImprovements or additions to documentation