Title: Quiz 15 — Reproducibility, Testing & Responsible AI
Course: AIINFRA 100: AI Systems & Development Environments > Section: Week 15 — Reproducibility, Testing & Responsible AI — Final

Q: For pytest to automatically discover a test function, the function name must start with:
- `check_`
- `test_`
- `verify_`
- `_test`
A: `test_`

Q: Type hints in Python are automatically enforced at runtime, causing an error if you pass the wrong type.
- True
- False
A: False

Q: Name the two main commands Ruff provides, and briefly state what each one does.
Feedback: Sample/expected answer: `ruff check`** (linting — finds problems like unused imports or style violations) and **`ruff format`** (formatting — rewrites code to a consistent style).

Q: Which THREE things must all be versioned together for a machine learning result to be truly reproducible?
- Code, documentation, and the model's file name
- Code, data, and environment
- Data, the developer's laptop, and the model's accuracy score
- Code, the training date, and the model's file size
A: Code, data, and environment

Q: uv.lock is intended to be edited by hand whenever you want to change a dependency version.
- True
- False
A: False

Q: By default, where can you view logged MLflow runs after starting the local tracking UI?
- `http://localhost:5000` after running `mlflow ui`
- Only inside the terminal as printed text
- `http://localhost:8000` after running `uv sync`
- MLflow has no visual interface
A: `http://localhost:5000` after running `mlflow ui`

Q: What are the four interconnected functions of the NIST AI Risk Management Framework?
- Plan, Build, Test, Deploy
- Govern, Map, Measure, Manage
- Identify, Protect, Detect, Respond
- Design, Train, Validate, Ship
A: Govern, Map, Measure, Manage

Q: Simply removing protected attributes like race or gender from a training dataset is sufficient to eliminate bias from an AI model.
- True
- False
A: False