Skip to main content

Key concepts

QA-Board shows the results of your code, commit by commit, next to a reference. This page explains the words it uses, in the order you meet them.

The command line and the server​

  • qa is the command line. It runs your code where you start it: your computer, a CI runner, a cluster. It wraps your code with a small Python function, saves each run's output files and sends its metrics to the server. See Running your code.
  • The server stores what runs report in a database, and serves the web app. It reads the output files from a storage that every machine running qa also mounts, at the same path (by default /mnt/qaboard, often an NFS share). See Where is the data saved? Machines that can't mount it send it their files.
  • qaboard.yaml, at the root of your project, tells qa how to run your code, where your inputs are, which metrics matter and how to show your outputs. See Project setup.

What you run​

  • Project: usually a git repository, sometimes a folder of one. project.name in qaboard.yaml is its id, e.g. kitefin/camera-isp.
  • Commit: a version of your code. QA-Board shows results per commit: the commit page is where you spend most of your time.
  • Input: what a run works on: an image, a video, a recording, a load profile, a folder. Inputs are paths, relative to a folder set in qaboard.yaml (the database). See Inputs.
  • Configuration: the settings of a run, e.g. base or low-light. Their meaning is up to your code. Tuning adds parameters on top, shown as key: value tags. See Configurations.
  • Platform: where the code runs or what it targets, e.g. linux or a hardware model. Runs are compared on the same platform.
  • Run: your code from one commit, on one input, with one configuration, on one platform. A run has output files, metrics and a log. An input with its configuration is a test, as in the web app's Available Tests. Runs from your computer also save what you changed and didn't commit yet: see local changes.
  • Batch: the inputs and configurations listed under a name in your batches file: qa batch ci runs those listed under ci. See Batches of inputs.
  • Label: the name of a group of a commit's runs, set with qa --label. CI runs have the label default, shown as CI; tuning experiments and your own runs get their own labels. The web app's batch selector picks a label: the runs of several qa batch commands with the same label show together.

What you see​

On a commit page, each run's metrics and outputs are shown next to its reference run's:

A run card of the facade photo: PSNR, SSIM and runtime with their changes against the reference, preset regions of interest, and the new and reference images side by side, zoomed on a window.A run card of the facade photo: PSNR, SSIM and runtime with their changes against the reference, preset regions of interest, and the new and reference images side by side, zoomed on a window.
A commit's runs: each card has the run's main metrics and how they changed, then its output images, new and reference side by side.
  • Metrics: numbers each run returns: quality, speed, errors. The web app shows them all. Your code can declare their label, unit, target and whether smaller is better, so the web app can color improvements and regressions. See Metrics.
  • Outputs: the files runs write, shown side by side with the reference's: images with synced zoom, plots, flame graphs, text, videos, HTML reports. qaboard.yaml says which files to show and how. See Visualizations.
  • New and reference: a commit's results are always shown next to a reference's. By default the reference is the latest commit with results on the project's reference branch (project.reference_branch). Each run is compared with the reference run of the same input, with the closest configuration. You can stack several references on one page and switch between them. See New and reference.
  • Milestone: a commit's batch kept as a reference: a release, a benchmark, "before my refactor". Shared milestones are listed for everyone in the project, the others only for you. See References and milestones.
  • Trends: tests, benchmarks and metrics across the commits of a branch, to see what broke since when and find the commit that changed a metric. See Trends.
  • Tuning: batches that try parameter values, started from the web app or with qa optimize, then compared in the Tuning Analysis view. See Tuning from the web app.

Where to go next​