formatExperimentSkipMessage returns the informational message emitted when a run is skipped because its experiment data does not satisfy the active filter.
(runID int64, experimentName, variant string)
| 187 | // formatExperimentSkipMessage returns the informational message emitted when a run |
| 188 | // is skipped because its experiment data does not satisfy the active filter. |
| 189 | func formatExperimentSkipMessage(runID int64, experimentName, variant string) string { |
| 190 | if variant != "" { |
| 191 | return fmt.Sprintf("Run %d skipped: experiment %q not assigned variant %q", runID, experimentName, variant) |
| 192 | } |
| 193 | return fmt.Sprintf("Run %d skipped: experiment %q not assigned (not found in run artifacts)", runID, experimentName) |
| 194 | } |
| 195 | |
| 196 | // deriveLastSelectedVariant returns the variant selected on the last run based on the |
| 197 | // highest count. Ties are broken by sorted order. |
no outgoing calls