Skip to content

Experiment card: Split into tabs

What does this MR do and why?

This MR splits the Experiment Card into 3 tabs. The components remain the same, only moved to a different file location.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image
image
image

How to set up and validate locally

  1. Create a model with experiment using GraphQL (or the UI)
mutation {
  mlModelCreate(
    input: {name: "model1", projectPath: "flightjs/Flight", description: "hello world"}
  ) {
    model {
      id
    }
    errors
  }
}
  1. Open GDK on the list experiments: 127.0.0.1:3000/flightjs/Flight/-/ml/experiments
  2. Click on your experiment and note the ID in the url
  3. Create a candidate and note the run_id:
curl -X POST --header "Authorization: Bearer glpat-<redacted>" "http://127.0.0.1:3000/api/v4/projects/7/ml/mlflow/api/2.0/mlflow/runs/create?experiment_id=6"

{"run":{"info":{"run_id":"af62840f-2819-4471-b6c6-b06d13e6933b","run_uuid":"af62840f-2819-4471-b6c6-b06d13e6933b","experiment_id":"6","start_time":0,"run_name":"toad-moose-dolphin-6621","status":"RUNNING","artifact_uri":"http://127.0.0.1:3000/api/v4/projects/7/packages/generic/model1/candidate_7/","lifecycle_stage":"active","user_id":"1"},"data":{"metrics":[],"params":[],"tags":[]}}
  1. Log a metric to the candidate:
curl -X POST --header "Authorization: Bearer glpat-<redacted>" "http://127.0.0.1:3000/api/v4/projects/7/ml/mlflow/api/2.0/mlflow/runs/log-metric?run_id=af62840f-2819-4471-b6c6-b06d13e6933b&key=rmse&value=1&timestamp=1"
  1. Open GDK: http://127.0.0.1:3000/flightjs/Flight/-/ml/experiments/6
  2. Verify that you see the graph and it's in accordance with the screenshots Numbered steps to set up and validate the change are strongly suggested.

Related to #504340 (closed)

Edited by Fred de Gier

Merge request reports

Loading