Skip to content

Implement single-account frequency computation and consistency tests #46

@gelluisaac

Description

@gelluisaac

Implement single-account computation function and consistency tests

  • Implement compute_account_frequency function:
    • Comprehensive docstring with Args, Returns, Notes, Examples
    • Type hints for all parameters and return value
    • Filter DataFrame to specified account
    • Raise ValueError if account not found
    • Compute metrics using batch logic
    • Return dictionary with keys: mean_tx_per_day, std_tx_per_day, burstiness
  • Write unit and property tests:
    • Valid/invalid account ID
    • Single-day transactions
    • Custom column names
    • Batch and single-account consistency
  • Requirements: 5.4, 5.5, 6.1...6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions