Aludel.Stats.Activity (aludel v0.7.0)

Copy Markdown View Source

Recent activity feeds and time-series activity reporting.

Summary

Functions

Returns daily prompt-run and suite-run counts for the requested date window.

Lists the most recent prompt and suite runs in one normalized activity feed.

Converts a preloaded suite run to the normalized activity-feed shape.

Functions

daily_activity(days \\ 30)

@spec daily_activity(integer()) :: [map()]

Returns daily prompt-run and suite-run counts for the requested date window.

Missing dates are included with zero counts. Non-positive windows return an empty list.

list_recent_activity(limit \\ 10)

@spec list_recent_activity(integer()) :: [map()]

Lists the most recent prompt and suite runs in one normalized activity feed.

normalize_suite_run(suite_run)

@spec normalize_suite_run(Aludel.Evals.SuiteRun.t()) :: map()

Converts a preloaded suite run to the normalized activity-feed shape.