Skip to content

[pull] main from trustyai-explainability:main#74

Merged
saichandrapandraju merged 24 commits intoopendatahub-io:mainfrom
trustyai-explainability:main
Mar 25, 2026
Merged

[pull] main from trustyai-explainability:main#74
saichandrapandraju merged 24 commits intoopendatahub-io:mainfrom
trustyai-explainability:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 18, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot locked and limited conversation to collaborators Mar 18, 2026
tarilabs and others added 21 commits March 23, 2026 09:24
Updated Trivy action version to a specific commit for consistency.
…ts_models optional

Fix config clobbering in _apply_intents_model_config where the
intents_models overlay replaced entire nested dicts instead of merging
into them, silently losing user-provided sub-configurations (e.g.
MulticlassJudge settings, extra model params like temperature/max_tokens).

All four merge points (judge outer dict, detector_model_config,
attack_model_config, evaluator_model_config) now use a consistent
read-existing-then-update pattern that only touches uri/api_key/model
name and preserves everything else.

Also make intents_models optional: users can now configure models
entirely through garak_config without providing intents_models. A new
_models_preconfigured_in_garak_config helper validates completeness and
skips the overlay when models are already fully configured.

Made-with: Cursor
…ompt

fix (RHOAIENG-54557): Add MulticlassJudge configuration with classification prompts and response formats.
…uration values, ensuring that existing settings are preserved while adding new ones.
Documentation:
- Add AGENTS.md with execution mode matrix, code layout, build/test/debug
- Add ARCHITECTURE.md with integration surfaces, intents pipeline, module deps
- Add CONTRIBUTING.md with dev setup, workflow, conventions

GitHub templates:
- Add .github/ISSUE_TEMPLATE/bug_report.yml with structured fields
- Add .github/PULL_REQUEST_TEMPLATE.md with testing checklist
- Add .github/CODEOWNERS for automated review assignment

Tooling:
- Add .pre-commit-config.yaml with ruff lint and format hooks
- Add .github/workflows/lint.yml for ruff CI checks
- Add Makefile for one-command test/lint/format/build/lock
- Add ruff + pytest-cov config to pyproject.toml
- Replace black/isort with ruff in dev deps
- Auto-fix whitespace and f-string issues across codebase via ruff

Made-with: Cursor
- Add mypy config to pyproject.toml with baseline error suppressions
- Add mypy step to lint CI workflow
- Add make typecheck and make check (lint + typecheck + test) targets
- Create tests/fixtures/ with sample garak config, intents models, report JSONL
- Document dependency extras and lockfile workflow in CONTRIBUTING.md

Made-with: Cursor
…ments

Improve AI Bug Automation Readiness
fix: deep-merge `garak_config` overrides for intents and make `intents_models` flexible
Consolidate terminology in the ART HTML report: user-facing labels
now say "prompts" instead of "stubs" (Vega chart titles, table
column headers, and overview stat cards).

Resolves: RHOAIENG-55152
- Split pyproject.toml extras: [sdg], [inline], [test], [dev]
- Pin garak==0.14.1+rhaiv.6, derive tag dynamically in Containerfile
- Simplify run-tests.yml to plain ubuntu-latest + standard PyPI
- Add validate-deps.yml: auto-sync lockfile, garak drift check,
  container build + version verification
- Add pre-commit hook for requirements.txt sync
- Update security.yml to use UBI9 + requirements.txt
- Add garak module mock in test_pipeline_steps.py
- Update version regex for PEP 440 local versions

Made-with: Cursor
pip freeze shows git-installed packages as URL refs, not ==version.
Use Python's importlib.metadata.version() instead to get the actual
installed version for comparison.

Made-with: Cursor
Rename 'stubs' to 'prompts' in report UI labels
…file

Chore: Update CI and dependency management
@saichandrapandraju saichandrapandraju merged commit 070c714 into opendatahub-io:main Mar 25, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants