﻿# Giskard scan replay: save the Suite artifact, not only the result report

Preserve generated Giskard scenarios and checks as a versioned Suite, distinguish it from SuiteResult serialization and keep external model identities fixed for regression comparisons.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-giskard-saved-suite-result-serialization-replay/
Language: en

## Separate discovery from regression

A fresh generated scan can ask different questions from the previous run. Its changed pass rate may therefore reflect a changed test population rather than a better agent. Giskard's [suite-versioning guide](https://docs.giskard.ai/oss/scan/how-to/save-and-version-suites) recommends retaining the generated suite for replay. Use newly generated scenarios for discovery and a reviewed fixed artifact for regression, recording when new cases are intentionally added to the comparison set.

## Preserve the executable test artifact

The current documentation distinguishes a Suite from a SuiteResult. The result's suite field is excluded from serialization, so saving and reloading only the report can leave no suite available for replay. Export the actual suite through its documented serialization path. Keep its scenario inputs, checks and configuration reviewable in version control. A report can explain what happened once without containing everything required to execute the same tests against another application version.

## Review the finding before freezing it

The [finding-to-regression tutorial](https://docs.giskard.ai/oss/scan/tutorials/redteam-to-regression) describes turning an observed weakness into a repeatable test. Retain the requirement the case is meant to enforce and inspect whether its check actually distinguishes the unwanted behavior from an acceptable answer. A generated failure is a diagnostic candidate, not automatically a permanent regression requirement. Remove incidental details that are unrelated to the intended rule only through an explicit reviewed change, preserving the original evidence separately.

## Pin external measurement dependencies separately

A saved suite preserves prompts and checks, but does not freeze the evaluated model, judge weights or provider-side sampling. The [library overview](https://docs.giskard.ai/oss) describes targets and judge-backed checks. Record those external identities and generation settings alongside the artifact. A fixed suite can still produce borderline changes when a judge alias moves. Seed controls improve repeatability within their supported scope, without proving identical behavior across changed services or inference implementations.

## Verify the round trip before relying on it

Load the saved suite and replay a bounded benign diagnostic target, confirming case count, checks and expected outcomes. Compare the loaded artifact with the reviewed source rather than trusting a successful file write. The guides to [task revision evidence](/journal/data-guide-lm-eval-task-config-revisions/) and [Giskard migration](/journal/fg2-giskard-v3-migration-async-target-scan-contract/) provide related controls. Report which suite revision and external configuration produced the result, preserving the distinction between reproducing a specific discovered case and demonstrating broad coverage of every possible failure in that category.
