Why garak scores change after an upgrade, and what to do first
If a failure rate moved after a garak upgrade, the model has not necessarily changed. New or harder probes, detector fixes and calibration data updates can all shift the number, so a score change says nothing about the model until you separate those causes. The first step is to run the old and new garak versions side by side against the same model, endpoint and settings. Any difference that remains after that comparison is the one worth investigating as a model change, and the one a board report should describe.
Upgrades through this line are expected to happen in order. garak v0.14.0 included calibration data updates for winter 2026, and the releases that followed (0.15, 0.16 and 0.17) added probes, tags and reporting changes that affect what a scan counts. The current release is v0.17.1, released on 16 October 2026. Before you move, read the changelog for each version you will cross in the NVIDIA/garak releases page, and confirm that your Python runtime meets the Python 3.11 minimum for the PyPI package. Keep the old version installed in its own virtual environment so the comparison can be rerun later.
For a fair comparison, keep the generator configuration file, probe selection, generation count (garak defaults to 5 per prompt) and output directories identical across both installs. Write each version's results to a separate directory, because the garak.log file continues across runs and mixing them makes the history hard to read. Then compare the JSONL reports attempt by attempt: check whether the probes that changed are new, whether detector changes flipped individual attempts, and whether the calibration version differs. The garak calibration guide notes that frequent model bag updates make results hard to compare, so record the calibration version with every report you plan to keep.
Which release changes can move a score
This table compares the garak release changes most likely to move a score, from calibration data updates to new probes, detector fixes and tag additions. Read each row against the scan configuration you use, then confirm the exact changes in the GitHub release notes before attributing a shift to a tool change. Its main takeaway is that a score movement after an upgrade may come from the tool, the target, or both.
| Release change | Why it can move a score | Action needed |
|---|---|---|
| Calibration data update in v0.14.0 | The release shipped calibration data updates for winter 2026, which change the reference bag that calibrated Z-scores are measured against. | Record the garak version with each run and compare Z-scores only across runs that used the same calibration data. |
| Frequent model bag updates | The calibration guide notes that updating the model bag very frequently makes results hard to compare between runs. | Pin the calibration data for a reporting period and note the version in every report you share. |
| New probes from v0.15 onward | New probes such as GOAT, Agent Breaker and system prompt extraction test attacks the earlier version did not run, so failure rates can rise with no change in the model. | Compare results by probe, and rerun the same probe set on the old and new versions before reading the total as a regression. |
| Harder versions of existing probes | A probe may send stronger or more varied prompts than before, so the same model can fail more attempts. | Check the release notes for probe changes, then separate probe-level changes from model-level changes. |
| Detector fixes | A corrected detector may classify outputs differently, so a result that passed before can now fail, or the reverse. | Rerun a sample of earlier attempts through the new detector and review disagreements in the JSONL report. |
| Tag and intent additions in v0.16 and v0.17 | Technique and intent tags, IntentProbe and EU AI Act tags change how results are grouped and may change which probes a spec selects. | Confirm which probes your config selects on the new version, and update any reports or dashboards that group by tag. |
| Removed or changed generator options | Changes to generators or configuration formats can alter how the target is called, which changes the outputs being scored. | Check the release notes for removed options and verify the target responses in a small test run. |
| Changes not listed here | Other release changes may affect scores, and this table does not cover every item. | Read the release notes for each version between your current and target versions on the GitHub releases page. |
How harder probes, detector fixes and calibration bags shift results
Score movement after a garak upgrade usually comes from one of three mechanisms, and each one calls for a different response. The first is new or harder probes: a release can add probes that send attacks the previous run never attempted, or make an existing probe send stronger prompts. A lower pass rate in that case reflects a broader test, not a weaker model. The second is detector changes, which alter what counts as undesirable output. A fixed detector can reclassify attempts that used to pass, and a stricter one can do the reverse. The third is calibration bag updates, which change the reference set that calibrated Z-scores compare against. The calibration guide notes that updating the model bag very frequently makes it hard to compare results between runs, so a shifted Z-score may say more about the reference than about the target.
Small per-attempt changes matter more than they look because of how garak aggregates results. By default garak makes 5 generations per prompt and marks a probe as FAIL when any attempt produces undesirable output. If a detector change moves one borderline attempt in each of several prompts, the probe flips from PASS to FAIL even though the underlying model behavior is nearly unchanged. The reverse also happens: a probe can recover to PASS after a detector fix while the model is no more secure. Failure rates on the same probe can therefore move in ways that look dramatic in a dashboard but come from a single threshold being crossed.
Before reporting a regression to stakeholders, separate the tool change from the model change. Rerun the old and new garak versions against the same target, with the same probe list, generation count, detectors and calibration data where the version allows it. Compare the JSONL report entries at the attempt level rather than only the probe summaries, and record which probes were added, renamed or changed in the release notes for the version you are moving to, which you can check in the NVIDIA/garak releases page. Confirm the calibration data version each run used, since the v0.14.0 release included calibration data updates for winter 2026. If the score moved only on probes that are new or whose detectors changed, report it as a tool change and keep a baseline from the previous version for trend comparison.
What to freeze and archive before the upgrade
Score movement is easiest to explain when you can reproduce the old run and diff it against the new one. Freeze the variables that define a run, then archive the artifacts that record it, so every later comparison starts from a known baseline.
Pinned garak version
Record the exact garak version that produced the current baseline, and install the new version into a separate environment rather than overwriting the old one. Keep a note of the Python version as well, since the PyPI package requires Python 3.11 or newer. If you need to rerun the old scan later to confirm a result, you will need that exact install.
garak on PyPIConfig files and run options
Store the config files, command-line flags and any JSON or YAML settings used for the baseline run in version control. Changes to defaults, config formats or option names between releases can alter what a run actually executes, so an untracked edit is a common source of false score movement.
Probe and detector selection
Write down the exact probes, probe tags, detectors and generation count used in the baseline. Keep the default of 5 generations per prompt unless you deliberately changed it, because a probe is marked FAIL when any attempt produces undesirable output. A different selection or count will move the numbers even if the model has not changed.
Target model identifier and system prompt
Capture the exact model name, version string, endpoint URL and any system prompt or guardrail settings. A model alias that now points to a newer checkpoint, or a silently updated system prompt, will change results without any garak change. Confirm with the provider or your platform team what the identifier resolved to on the baseline date.
Previous garak.log and JSONL reports
Each run writes a JSONL report of every attempt and its evaluation, and garak.log is continued across runs. Copy both files out of the working directory before upgrading, and keep them read-only with a checksum. The JSONL file is your per-attempt record for diffing, and the log holds the run history you will need when a stakeholder asks what happened.
garak user guideA second test environment
Run the new garak version against the same target in a separate environment before touching production scan pipelines. This lets you produce a side-by-side run, confirm that report parsing still works, and separate tool changes from model changes. Ask your team who owns that environment and how long it can stay reserved for the comparison.
How to run the same scan on old and new garak versions
This sequence separates changes caused by the model or endpoint from changes caused by garak itself, so stakeholders see which score movement is a real regression and which comes from the tool. Each step leaves an artifact you can compare or roll back to.
Pin the current version and archive its output
The engineer who owns the current scan records the exact garak version in use, along with the probe list, generator configuration, detector settings and the full output directory, including the JSONL report and garak.log. Store the configuration files and the report together in version control or an artifact store with a fixed identifier. Done means you can reinstall the same version and point to a directory that holds every input and output of the last accepted run.
Install the target version in a separate environment
Create an isolated Python environment on a Python release that meets the garak requirement of 3.11 or newer, then install the target release from PyPI with pip so the current environment stays untouched. Confirm the installed version string matches the release you intend to test, such as the v0.17.1 release published on GitHub if that is your target. Done means two environments exist side by side and each reports its own garak version.
Rerun an identical baseline scan on a fixed endpoint
Using the old environment, rerun the archived configuration against a model endpoint you control and that you have confirmed has not changed, such as a pinned model version with a fixed system prompt. Record the run date and endpoint details next to the output. Because garak runs several generations per prompt, expect some variation between repeats, so note the variation you see across two baseline runs before attributing any later difference to the tool. Done means you have a second baseline that matches the first closely enough to serve as your reference.
Compare probe lists and detector sets
Run garak with the same configuration in both environments, or diff the configuration each version resolves, and compare the probes and detectors that actually executed. Check the release notes for probes that were added, renamed or retired, and for detector changes, since a new probe or a changed detector can move a score with no change in the model. Done means you have a written list of every probe and detector difference between the two versions.
Run the target version against the same endpoint
Run the target version with the same configuration, endpoint and generation settings used for the baseline, and write its output to a new directory. Do not change the endpoint, system prompt or model during this step, so any difference is attributable to the tool or to natural variation. Done means you have a complete report from the new version that can be aligned with the baseline by probe name.
Record each difference and attribute its cause
Build a table with one row per probe that moved, showing the old and new results, and a column that classifies the cause as a new or changed probe, a detector change, a calibration update or a change in the model behavior. Check each classification against the probe list comparison from the earlier step. Where a score moved but no probe or detector changed, treat it as a candidate regression and rerun it to confirm. Done means every moved score has a stated cause or is flagged for investigation.
Set a rollback point before promoting the change
Before you point production reporting or scheduled rescans at the new version, tag the archived baseline, the new report and the environment definition together, and keep the old environment available. Write down how to revert the pipeline to the previous version and who approves the switch. Done means the promotion has a documented rollback point and an approval record, and the new baseline is stored for future comparisons.
Telling a real regression from a tool change
When the probe set is unchanged and the score still moves, the first suspect is the tool itself: a detector fix, a change in how a generation is evaluated, or a change in the default harness behavior. Rerun the previous garak version and the new version against the same target, with the same configuration, the same probes and the same generation count, so that the only variable is the garak release. If both versions agree on the target but disagree on the score, the tool changed. If the old version now shows the same new score, the model or endpoint changed.
- Pin the configuration: Keep the same config file, probe selection, generation count and system prompt for both runs.
- Compare per-attempt output: Diff the JSONL attempts for a handful of prompts that flipped from pass to fail to see whether the detector or the response changed.
- Record both versions: Note the exact garak release used for each run, taken from the release notes on the garak releases page.
- Check detector changes: Read the release notes for detector fixes that touch the probes you run.
- Keep the old and new reports: Store both as evidence so the comparison can be reviewed later.
Before reporting a regression, confirm that the baseline rerun reproduces the original score on the old version.
When a probe is added to the run, or a probe family that was previously excluded is now included, the overall score can fall without any change in the model. A new probe tests a different weakness, so the aggregate mixes a new population of attempts into the old one. This is a change in what is measured, not evidence that the model got worse. The fair comparison is between the same probe set on both versions, and a separate view of the new probes on their own.
- Split the results: Report the existing probes on their own and the new probes separately, so the old trend stays visible.
- Run the old set on the new version: Restrict the scan to the probes that existed before and confirm the score matches the baseline.
- Check the probe list: Compare the probe names in both reports to find every addition, not just the ones you intended to run.
- Review new probe fit: Confirm whether the new probe applies to your application shape, since a bare-model probe may not reflect your deployment.
- Annotate the trend: Mark the version change on any dashboard so readers do not read the drop as a model event.
The evidence to show is a table listing old probes, new probes and their scores, with the baseline rerun beside them.
Calibration data gives garak a reference point for comparing a score against other models. When the calibration bag is updated, the calibrated values can move even if the raw failure rate for your target stays the same. The garak calibration guide notes that updating the model bag very frequently makes it hard to compare results between runs, so teams should treat calibration updates as a deliberate event with its own record. The release that carried the 0.14.0 calibration update for winter 2026 is a concrete example of this kind of change.
- Separate raw and calibrated values: Compare the raw failure rates first, since they do not depend on the calibration bag.
- Record the calibration version: Note which bag each report used, so later reviewers know which reference was applied.
- Recompute against the old bag: Where possible, rerun the comparison with the earlier calibration data to isolate the change.
- Avoid frequent bag updates in trend reports: Pin one calibration state for any period you intend to trend.
- Label calibrated scores clearly: State in the report that the figure is relative to a specific reference set.
The evidence to keep is the raw attempt data plus a note on which calibration state each score used.
When the target changes, the score change may reflect the model, a provider-side update, a system prompt edit, a guardrail change or a routing change in a proxy, and not garak at all. A hosted endpoint can change without a version label the team controls. The garak side must therefore be held constant while the target is verified. Confirm the target identity and configuration before blaming the tool, and rerun the old garak version against the new target to see whether the score follows the target.
- Record target identity: Capture the model name, version string, endpoint, system prompt and any guardrail or gateway settings for each run.
- Hold garak constant: Run the same garak version against the old and new target to isolate the target change.
- Check upstream changes: Ask the provider or platform owner whether the model or routing changed during the period.
- Watch for rate and error effects: Confirm that failed or throttled requests are not being counted as passes or fails.
- Retest after target fixes: If a guardrail or prompt was changed, rerun the scan to confirm the new state.
The evidence to show is a matrix of garak version against target version, with the score in each cell.
Is the score change a regression or a tool change?
The path starts when a score moves after a garak upgrade and asks four questions in order: did the probe set change, did the detectors change, did the calibration data change, and did the target model or endpoint change. Any answer of yes sends the change to a documented tool change in the report, with the baseline and new run compared on the same probes. Only when all four answers are no does the change become a regression ticket against the target. Check the release notes and the run metadata for each run before you answer, because a detector fix or a calibration update can move a score even when the model behaved identically.
Four checks separate a real regression from a tool change.
What makes a garak upgrade take longer
This table lists the factors that stretch or shorten a garak upgrade, and how each one changes the work. Read it to see which parts of your setup need a comparison baseline before you move to a new release. The main takeaway is that effort grows with the number of consumers and historical reports that must stay comparable, more than with the version gap itself.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of scan configs | Each config may pin probes, generations, detectors or harness settings that a release renames or changes, so every config needs a check run. | Keep configs in version control, pin probe selection by spec or tag, and rerun a small baseline set after each upgrade. |
| Report consumers | Dashboards, scripts and reviewers that parse the JSONL report or HTML digest can break when entry formats change between releases. | List every consumer before upgrading and confirm each one against a sample report from the new version. |
| Custom probes and detectors | Plugins written for your own attacks or policies may depend on interfaces that changed, and they must be retested before they count as evidence. | Inventory custom plugins, check them against the release notes, and keep a fixed prompt set to run against both versions. |
| Historical reports that must stay comparable | Scores from before and after an upgrade can differ because probes, detectors or calibration data changed, so trend lines need a bridge run. | Run the old and new versions against the same target and record both results before retiring the old baseline. |
| Air-gapped or CI-run hosts | Offline hosts need packages and calibration data staged in advance, and CI pipelines may pin versions that must be updated together. | Mirror the release artifacts internally, pin the version in the pipeline, and schedule the upgrade as a single controlled change. |
| Number of models and endpoints | Each model or endpoint is a separate comparison point, so a score shift must be checked across every target before it is explained. | Start with one representative target, then extend the bridge run to the rest once the first results are understood. |
| Generator and endpoint configuration | REST or hosted generator settings, rate limits and system prompts can change the outcome of a run, so differences may come from the target setup rather than garak. | Freeze generator files and system prompts for the comparison, and record them alongside each report. |
Common questions about garak score changes after an upgrade
How much does it cost to work out why garak scores changed after an upgrade?
The cost depends on how many scan pipelines, model targets and report consumers you have, and on how much of the comparison work is manual. Most of the effort is in re-running a baseline on both versions, reading the changelog entries for probes, detectors and calibration data, and explaining the movement to stakeholders. These are one-time costs for a given upgrade, but they recur at every release you adopt. Cost rises when report formats changed and parsers must be rewritten, or when the team has no archived results to compare against. Ask any partner for a quote built from a written scope that lists the versions, targets and pipelines covered, and the deliverables, such as a comparison report or a retest. Fixed-scope work is agreed in writing before it starts.
How long does a garak score comparison after an upgrade take?
No fixed duration applies, because the time depends on the number of probes and targets in scope, whether the baseline runs already exist, and how many generations and detectors each run uses. A single model with an unchanged configuration is much quicker to check than a fleet of applications with custom probes. Plan for the time needed to run both versions against the same target, then review probe-by-probe differences, detector changes and calibration updates before deciding on a cause. Scan duration also depends on your endpoint rate limits and hardware. Ask for a timeline tied to a written scope, and confirm which steps are included.
What does the internal team need to provide for this work?
The internal team provides access, context and records. You will need the garak version and configuration used for the previous baseline, the JSONL reports from those runs, the target's exact model identifier and version, and any system prompt, guardrail or tool configuration in front of the model. Access to the test endpoint in a non-production environment is also needed, along with someone who knows which findings matter for the business. Without archived reports, the team must rebuild the baseline, which adds time. Confirm these items with your partner before work starts so the scope reflects what is actually available.
Can our own team diagnose a garak score change without outside help?
Yes, many teams can do this themselves, especially when they have a stable scan configuration and archived reports. The work involves pinning the old and new versions in separate environments, running the same probes, generations and detectors against the same target, and comparing the per-probe results. The harder part is judging whether a change came from the model, the tool, or the target's surroundings, and that requires reading release notes and understanding detector behavior. Outside help is most useful when the scores feed an audit, a customer review or a go or no-go decision, or when the team lacks capacity to run the comparison properly.
Can a change in a garak score be treated as a model regression?
Not automatically. A score can move because the model changed, but it can also move because garak added harder or new probes, a detector was fixed, or calibration data was updated. The garak calibration guide notes that frequent updates to the model bag make results hard to compare between runs, so calibration changes can shift scores on their own. A useful check is to run both garak versions against the same unchanged model, then separate the movement into probe additions, detector changes and calibration effects before calling anything a regression. Only movement that remains after the tool effects are removed should be treated as a model change.
How do we keep historical garak reports comparable after an upgrade?
Keep the old and new results side by side, and record the exact garak version, configuration and calibration state used for each run. Each garak run writes a JSONL report of every attempt and its evaluation, along with a garak.log file that continues across runs, so archive both with the version metadata. Avoid mixing reports from different versions in one trend line without a documented bridge. When report formats change between releases, update your parsers and test them against archived files before relying on them. Store the configuration files in version control so future comparisons can rerun the same scan.
Do we need to pin garak versions to avoid unexpected score changes?
Pinning is a practical control. Install garak from PyPI at a fixed version, and note that the PyPI package requires Python 3.11 or newer. Upgrade on a schedule, run the new version against a fixed baseline target, and review the release notes for the changes that affect your probes and detectors before moving production scans. Pinning does not stop changes from the model side, so keep the model identifier and its configuration recorded alongside each run. Confirm your own Python and deployment constraints before choosing a version.
How DeployOpen scopes and delivers a garak upgrade
DeployOpen treats a garak upgrade as a controlled change to your test pipeline, not just a version bump. We scope which scores must stay comparable, rerun a baseline on both versions, and document every difference before your stakeholders see a new number. Engagements are fixed-scope, with the scope agreed in writing before work starts.
How we scope
- Inventory which garak version, configs and probe selections your current reports depend on.
- Agree in writing which score series must remain comparable and which may be reset.
- Confirm which report consumers, dashboards and compliance records read garak output.
- Define the stakeholder explanation format for any score movement that is accepted as expected.
- Confirm any calibration bag or model-bag pinning policy your organization wants to keep.
How we build
- Run the same target, configuration and seed on the old and new garak versions side by side.
- Separate score movement caused by new or harder probes from movement in existing probes.
- Compare detector behavior on a sample of attempts to find changes caused by detector fixes.
- Pin the calibration data source for the comparison window so tool changes stay visible.
- Update report parsers and JSONL field handling so pipelines fail loudly on schema changes.
How we hand over
- Deliver a written change record listing each version difference and its measured effect on scores.
- Provide the side-by-side baseline runs, configs and logs needed to reproduce every comparison.
- Document a decision rule for classifying future movement as a regression or a tool change.
- Train your team on the rerun procedure so the next upgrade follows the same steps.
- Include a retest of the pipeline after the handover changes are in place.
How we support
- Ongoing support is available as a retainer for upgrades, rescans and pipeline maintenance.
- Retainers can cover review of each new garak release against your agreed comparison rules.
- Ask any provider to confirm response scope, testing cadence and handover format in writing.
- Keep the baseline archive current so later questions about historical scores can be answered.
- Confirm with DeployOpen which support scope fits your release cadence before the engagement starts.

