Skip to content

feat!: rewrite as v3 monorepo with giskard-core, giskard-agents, and giskard-checks#2229

Merged
Hartorn merged 239 commits intomainfrom
feature/giskard-v3
Feb 17, 2026
Merged

feat!: rewrite as v3 monorepo with giskard-core, giskard-agents, and giskard-checks#2229
Hartorn merged 239 commits intomainfrom
feature/giskard-v3

Conversation

@kevinmessiaen
Copy link
Copy Markdown
Member

No description provided.

kevinmessiaen and others added 12 commits January 27, 2026 14:46
- Remove docs directory and all documentation source files
- Remove documentation dependencies from pyproject.toml
- Remove serve-docs target from Makefile
- Update uv sync command to remove --all-groups flag
…-update-tests-run-condition

ci: update test run conditions based on project dependencies
* Add similarity check

* Clean up

* Use gemini embedding as default

* build: add numpy as explicit dependency to giskard-agents and giskard-checks

numpy is used directly in embeddings and semantic similarity checks but was only available as a transitive dependency. Adding it as an explicit dependency ensures it's always available.

* refactor(agents): make embedding batch parameters configurable per-call

- Remove max_batch_size and max_total_chars from EmbeddingParams
- Add support for per-call batch size and total chars parameters
- Add environment variable support for default batch limits (GISKARD_AGENTS_DEFAULT_MAX_BATCH_SIZE, GISKARD_AGENTS_DEFAULT_MAX_TOTAL_CHARS)
- Update embed() and _embed() methods to accept optional params and batch parameters
- Update all tests to use new API

* docs(checks): add documentation and docstrings for SemanticSimilarity

- Add SemanticSimilarity section to builtin-checks.rst following the same
  format as other checks (EqualityCheck, StringMatchingCheck, etc.)
- Add SemanticSimilarity to quick reference imports in index.rst
- Add comprehensive class-level docstring to SemanticSimilarity with
  Attributes and Examples sections
- Add docstrings to get_embeddings method and enhance cosine_similarity
  function docstring

---------

Co-authored-by: Kevin Messiaen <kevin.messiaen@icloud.com>
Co-authored-by: Kevin Messiaen <114553769+kevinmessiaen@users.noreply.github.com>
* feature(check): improved equality test

* test(equality): added test for equality check

* refactor(checks): simplify extraction API and add JSONPath utilities

- Replace Extractor ABC pattern with simple resolve() and provided_or_resolve() functions
- Remove extraction_check.py in favor of direct JSONPath resolution
- Add NotProvided sentinel and utility functions to giskard.core.utils
- Update builtin checks (equality, groundedness, string_matching) to use new extraction API
- Update tests to reflect simplified extraction interface

This change makes JSONPath extraction more accessible as a builtin feature
for metadata checks while reducing code complexity.

* refactor(checks): extract normalization utilities into shared module

- Move normalization logic from string_matching to utils.normalization
- Add normalize_string and normalize_data functions for reuse
- Update string_matching to use new normalization utilities
- Add comprehensive tests for normalization utilities
- Add Unicode normalization tests for equality checks

* refactor(checks): replace Equality with ComparisonCheck system

Replace the Equality check with a more general ComparisonCheck base class
that supports multiple comparison operators (equals, greater than, less than,
greater than or equal, less than or equal).

BREAKING CHANGE: The Equality check has been replaced with Equals and other
comparison checks. Import paths have changed from Equality to Equals, and
new comparison operators are now available.

* feat(checks): add NotEquals comparison check

Add NotEquals check class that validates if extracted values do not equal
an expected value. The check uses Python's __ne__ method for comparison
and follows the same pattern as other comparison checks (Equals, LesserThan,
GreaterThan, etc.).

- Implement NotEquals class in comparison.py
- Register check as 'not_equals'
- Add comprehensive test coverage for various types and edge cases
- Export NotEquals in builtin and main __init__.py modules

* chore: improve check kind naming

Co-authored-by: Pierre Le Jeune <pierre@giskard.ai>

* feat(checks): support extracting expected values from traces in comparison checks

- Add expected_value_key parameter to ComparisonCheck for dynamic extraction
- Make expected_value optional when expected_value_key is provided
- Add provided_or_resolve utility function for flexible value resolution
- Update NotProvided to be a Pydantic BaseModel for better validation
- Update tests to reflect new behavior when expected value extraction fails

* chore: improve variable clarity

---------

Co-authored-by: Pierre Le Jeune <pierre@giskard.ai>
Refresh fluent scenario examples, JSONPath usage, and docstrings to match current API behavior and trace access patterns.
chore(ci): update CI workflow

- separate environment for functional tests requiring external API secrets
- updated Makefile and workflow
- updated test markers in packages to enable functional testing
kevinmessiaen and others added 8 commits February 11, 2026 14:38
- Remove individual release workflows for giskard-core, giskard-agents, and giskard-checks.
- Introduce a unified release workflow that supports version bumping and tagging for all libraries.
- The new workflow allows for manual triggering and includes options for version and release types.
* improve workflows

* add labeler workflow

* drop ci scope

* pin action versions
- Adjusted dependency grouping settings to match all package names and update types.
- Changed group name and slug to be dynamic based on the manager.
feat(ci): add release workflows for giskard libraries
@henchaves henchaves changed the title WIP: Giskard v3 feat!: rewrite as v3 monorepo with giskard-core, giskard-agents, and giskard-checks Feb 17, 2026
@Hartorn Hartorn marked this pull request as ready for review February 17, 2026 15:31
@Hartorn Hartorn merged commit 5097937 into main Feb 17, 2026
8 checks passed
@Hartorn Hartorn deleted the feature/giskard-v3 branch February 17, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants