/Logs-stats-aggregator---flakiness-calculator

Calculate average and max resource usage for each test case, and its flakiness

Primary LanguageTypeScript

Parse logs / stats

Calculate average and max resource usage for each test case, and its flakiness.

Used in this figshare project.

Input

  • logs.log, downloaded from GitHub Actions workflow run (exported raw logs)
  • raw-stats.json, downloaded from GitHub Actions workflow run (workflow run artifacts) - generated by Telemetry action

Running

npm run build; npm run run

Output

  • aggregated-stats-<timestamp>.json, contains a json object mapping each test case to its:
    • average and max resource usage
    • flakiness