Skip to content

. Add learner statistics aggregation #232

Description

@DeFiVC

What: Add functions that aggregate learner statistics across all courses.

Why: Dashboards need aggregate stats (total courses completed, average score, total rewards). Currently data is per-course.

Scope: Add get_learner_stats(learner) function returning: total courses enrolled, completed, average score, total rewards earned. Aggregate from multiple storage reads.

Acceptance criteria:

  • Returns aggregate statistics
  • Single function call
  • Includes all relevant metrics
  • No pagination needed

Technical context: contracts/progress-tracker/src/lib.rs — progress functions.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions