MLOps run with no metrics with step results in failed display

What does this MR do and why?

MLOps run with no metrics with step results in failed display

Changelog: fixed

References

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Go to any project, and "Analyze/Experiments".
  2. First create some experiments and runs as below on rails console
project = Project.find(34)
user = User.find_by_username('test4')

Ml::CreateModelService.new(project, "model_1", user).execute
m = ::Ml::Model.find_by(name: "model_1")
Ml::CreateCandidateService.new(m.default_experiment, {user: user}).execute 

c = Ml::Candidate.last
c.metrics.create!(name: 'metric1', value: 0.3)
  1. Now go to "Analyze/Experiments" to see the list
Edited by Alper Akgun

Merge request reports

Loading