divekit passcheck

Check test results for evaluation pipeline repositories

Synopsis

Check and aggregate test results from evaluation pipeline repositories.

Connects to GitLab and retrieves test results from evaluation pipeline repositories. Provides an overview of passed/failed tests across all students and can generate detailed reports in various formats.

Requirements

  • Distribution must have an evaluation pipeline enabled
  • Evaluation repositories must be configured in the distribution
  • Valid GitLab authentication

Report Formats

  excel   Microsoft Excel spreadsheet (.xlsx)
  csv     Comma-separated values (.csv)
  html    HTML report with styling
  md      Markdown table format

Usage

divekit passcheck [flags]

Examples

# Check test results for a distribution
divekit passcheck -d ST2M4

# Show detailed results per student
divekit passcheck -d ST2M4 --detail

# Generate all report formats
divekit passcheck -d ST2M4 --report

# Generate specific report formats
divekit passcheck -d ST2M4 --report --report-format excel,csv

# Default report output path
divekit passcheck -d ST2M4 --report
# -> .divekit/local-data/reports/ST2M4/<timestamp>/

# Save reports to custom directory
divekit passcheck -d ST2M4 --report --output-dir ./results/

Flags

--detail                  Show detailed test results per student
  -d, --distribution string     Distribution name (auto-detect if not provided)
      --output-dir string       Output directory for generated reports (default: .divekit/local-data/reports/<distribution>/<timestamp>/)
  -r, --remote string           Remote repository URL (GitLab instance)
      --report                  Generate report files (xlsx, csv, html, md)
      --report-format strings   Report formats: excel,csv,html,md (default: all when --report is set)
  -t, --token string            GitLab token

Inherited Flags

-l, --loglevel string   log level (debug, info, warn, error, fatal) (default "info")
      --no-index          skip project index update
      --non-interactive   run in non-interactive mode (fails if interactive input is required)
  -y, --yes               assume yes/default for all prompts (non-interactive with automatic defaults)