#  Copyright (c) 2026 Cisco Systems, Inc. and its affiliates
#  SPDX-License-Identifier: Apache-2.0
pipeline:
  name: t3-analysis
  description: >
    Tutorial 03 analysis pipeline — extract trajectories + trace stats across a
    benchmark's runs, then plot the primary run's multilevel trajectory. Point it
    at a completed benchmark with `-o <lab-output-dir>` (see §B.4); the extract
    step reads that dir's results.csv and the plot steps resolve a trace from it.
  steps:
    - name: extract
      type: extract_trajectories

    - name: trace-stats
      type: extract_trace_stats
      depends_on: [extract]

    - name: plot-svg
      type: plot_multilevel_trajectory
      depends_on: [extract]
      config:
        format: svg
        filename: trajectory

    - name: plot-html
      type: plot_multilevel_trajectory
      depends_on: [extract]
      config:
        format: html
        filename: swimlane
