Skip to content

Analyses Customization

Four analyses can be configured in Azimuth. Go to each relevant section to learn more about the different attributes that can be defined.

class PerturbationTestingConfig(ModelContractConfig):
    behavioral_testing: Optional[BehavioralTestingOptions] = Field(
        BehavioralTestingOptions(), env="BEHAVIORAL_TESTING"
    )


class SimilarityConfig(CommonFieldsConfig):
    similarity: Optional[SimilarityOptions] = Field(
        SimilarityOptions(), env="SIMILARITY")


class DatasetWarningConfig(CommonFieldsConfig):
    dataset_warnings: DatasetWarningsOptions = DatasetWarningsOptions()


class SyntaxConfig(CommonFieldsConfig):
    syntax: SyntaxOptions = SyntaxOptions()

This will disable both behavioral testing and similarity analysis in Azimuth.

{
  "behavioral_testing": null,
  "similarity": null
}