Skip to main content

search-api-v2-beta-features: Rake tasks

These rake tasks come from the desc descriptions in search-api-v2-beta-features’s lib/tasks folder. To change what’s shown here, change the description in the code.

quality:setup_sample_query_sets

Create sample query sets from each of last months BigQuery tables

k exec deploy/search-api-v2-beta-features -- rake quality:setup_sample_query_sets

View source (lib/tasks/quality.rake)

quality:setup_sample_query_set

Create a sample query set for a given month, year and table id

k exec deploy/search-api-v2-beta-features -- rake quality:setup_sample_query_set[year,month,table_id]

View source (lib/tasks/quality.rake)

quality:report_quality_metrics

Create evaluations, and push metrics to Prometheus and a GCP bucket

k exec deploy/search-api-v2-beta-features -- rake quality:report_quality_metrics[table_ids]

View source (lib/tasks/quality.rake)

report:evaluations

Output evaluations report

k exec deploy/search-api-v2-beta-features -- rake report:evaluations[date_string,states]

View source (lib/tasks/report.rake)

report:evaluations_this_month

Output evaluations report for this month

k exec deploy/search-api-v2-beta-features -- rake report:evaluations_this_month[states]

View source (lib/tasks/report.rake)

report:evaluations_last_month

Output evaluations report for last month

k exec deploy/search-api-v2-beta-features -- rake report:evaluations_last_month[states]

View source (lib/tasks/report.rake)