Skip to content

Regression Testing for Entropy Calculations #171

@harryswift01

Description

@harryswift01

Description

Implement regression testing for entropy calculations to ensure that future changes do not unintentionally alter expected outputs. This will help maintain correctness and reproducibility in CodeEntropy’s core functionality.

Scope

  • Compare entropy outputs against stored baselines
  • Use pytest for test implementation
  • Provide CLI support for running and updating regression tests
  • Integrate tests into CI/CD pipelines

Tasks

  • Select representative datasets
  • Generate baseline entropy outputs
  • Write regression tests using pytest
  • Add CLI options for --regression_test and --update-baseline
  • Integrate into CI/CD
  • Document usage for developers

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions