Parent Issue
Part of #149 — AI Risk: IBM/MIT Risk Template Integration
Description
Define the risk category schema based on IBM AI Risk Atlas and MIT AI Risk Repository. Create database models for risk categories, risk factors, and assessment templates.
Requirements
- Risk category schema covering: fairness, explainability, robustness, privacy, security, accountability, hallucination
- Risk factors per category (sub-dimensions)
- Assessment template model — stores questionnaire structure per taxonomy
- Schema must be framework-agnostic so new taxonomies (OECD, custom) can be added without a redesign
- Follow existing SQLAlchemy model patterns in
apps/backend/src/infrastructure/db/database/models.py
Deliverables
Getting Started
- Read
apps/backend/src/infrastructure/db/database/models.py to understand existing model patterns
- Read
apps/backend/src/domain/compliance/ for how compliance models are structured — risk assessment should follow similar patterns
- Create models, migration, and seed data
- Open a PR against
main and link this issue
Parent Issue
Part of #149 — AI Risk: IBM/MIT Risk Template Integration
Description
Define the risk category schema based on IBM AI Risk Atlas and MIT AI Risk Repository. Create database models for risk categories, risk factors, and assessment templates.
Requirements
apps/backend/src/infrastructure/db/database/models.pyDeliverables
Getting Started
apps/backend/src/infrastructure/db/database/models.pyto understand existing model patternsapps/backend/src/domain/compliance/for how compliance models are structured — risk assessment should follow similar patternsmainand link this issue