Use Continuous Integration
Click to read more. •
the team's agility.
Click to read more. •
the software quality.
Click to read more.
Intent
Motivation
Description
By running an automated build script at each commit, you achieve Continuous Integration (CI).
For this, you need to activate and configure a CI server in your development environment. Examples of CI servers include: TravisCI, CircleCI, and Appveyer. Some collaborative development environments include a built-in CI server.
To test not only possible compilation errors that may be introduced by code changes, but also possible runtime defects and code quality problems, the CI server must be configured to trigger one or more static analysis tools and your automated regression tests.
Gate on Fairness and Ethics Metrics
Beyond functional correctness, the CI pipeline should also enforce Responsible AI requirements automatically. Add automated checks that run on every commit or at minimum on every release candidate:
- evaluate fairness metrics (e.g. demographic parity, equalised odds) on a representative held-out slice dataset and fail the build if a metric drops below a defined threshold,
- run bias detection tools (e.g. Fairlearn, AI Fairness 360) as part of the regression suite,
- check that required explainability artefacts (e.g. feature importance reports) are produced and non-empty.
These gates encode RAI requirements as executable acceptance criteria, making ethical regressions as visible as functional ones.
Adoption
Related
- Use Static Analysis to Check Code Quality
- Test all Feature Extraction Code
- Run Automated Regression Tests
- Specify Responsible AI Requirements Before Development Begins
Read more
- Continuous Delivery for Machine Learning
- Requirements Engineering for Machine Learning: A Review and Reflection
Click to read more. •
the team's agility.
Click to read more. •
the software quality.
Click to read more.