Add contracts, statistics, and chaos engineering modules#65
Merged
pratyush618 merged 8 commits intomainfrom Apr 7, 2026
Merged
Add contracts, statistics, and chaos engineering modules#65pratyush618 merged 8 commits intomainfrom
pratyush618 merged 8 commits intomainfrom
Conversation
Sealed Contract interface (Deterministic, LLMJudged, Composite), fluent builder, ContractVerifier orchestrator, StandardContracts library, JSON definition loader, JUnit 5 integration, 38 tests.
Distributions (normal/t CDF), DescriptiveCalculator, InferenceCalculator (t-CI, bootstrap, paired t-test, Wilcoxon, Cohen's d, power analysis), StatisticalAnalyzer facade, StatisticalConfig, 59 tests.
ChaosInjector sealed interface (ToolFailure, ContextCorruption, Latency, SchemaMutation), ChaosSuite orchestrator, ResilienceEvaluator, 14 built-in scenarios, 20 tests.
Bumps org.bsc.langgraph4j:langgraph4j-core-jdk8 from 1.0.0 to 1.1.5. --- updated-dependencies: - dependency-name: org.bsc.langgraph4j:langgraph4j-core-jdk8 dependency-version: 1.1.5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps `spring-ai.version` from 1.0.0 to 1.1.4. Updates `org.springframework.ai:spring-ai-model` from 1.0.0 to 1.1.4 - [Release notes](https://github.com/spring-projects/spring-ai/releases) - [Commits](spring-projects/spring-ai@v1.0.0...v1.1.4) Updates `org.springframework.ai:spring-ai-client-chat` from 1.0.0 to 1.1.4 - [Release notes](https://github.com/spring-projects/spring-ai/releases) - [Commits](spring-projects/spring-ai@v1.0.0...v1.1.4) Updates `org.springframework.ai:spring-ai-commons` from 1.0.0 to 1.1.4 - [Release notes](https://github.com/spring-projects/spring-ai/releases) - [Commits](spring-projects/spring-ai@v1.0.0...v1.1.4) --- updated-dependencies: - dependency-name: org.springframework.ai:spring-ai-model dependency-version: 1.1.4 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.ai:spring-ai-client-chat dependency-version: 1.1.4 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.ai:spring-ai-commons dependency-version: 1.1.4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Contractinterface with deterministic and LLM-judged implementations, fluent builder API,ContractVerifierorchestrator,StandardContractslibrary, JSON definition loader, and JUnit 5 integration (@ContractTest,@Invariant).StatisticalAnalyzerfacade with single-run analysis, two-run comparison, and multi-run stability analysis.ChaosInjectorsealed interface with 4 implementations,ChaosSuiteorchestrator,ResilienceEvaluator, and 14 built-in scenarios.77 files, 6312 lines, 117 new tests — all passing.
Test plan
mvn test -pl agenteval-contracts— 38 tests passmvn test -pl agenteval-statistics— 59 tests passmvn test -pl agenteval-chaos— 20 tests passmvn clean install -Denforcer.skip=true