Skip to content

v0.5.7: --format json output mode

Choose a tag to compare

@maruyamakoju maruyamakoju released this 19 Feb 17:03
· 35 commits to main since this release

What's new

JSON output mode

Pipe structured audit results to jq, scripts, or CI systems:

# Get JSON to stdout (progress goes to stderr)
deltatau-audit audit-sb3 --model m.zip --algo ppo --env CartPole-v1 \
    --format json | jq '.summary'

# Combine with CI exit codes
deltatau-audit audit-sb3 ... --format json --ci > result.json

How it works:

  • --format json redirects all progress/banner output to stderr
  • stdout contains only valid, parseable JSON
  • Verbose progress bars are automatically suppressed
  • Report files still generated in --out directory
  • Compatible with --ci (exit codes), --wandb, --mlflow
  • Available on all audit subcommands: audit, audit-sb3, audit-cleanrl, audit-hf

Tests

11 new tests (318 total)

Full changelog: https://github.com/maruyamakoju/deltatau-audit/blob/main/CHANGELOG.md

Full Changelog: v0.5.6...v0.5.7