Mypy reports several type incompatibility issues in src/agentunit/privacy/wrappers.py:
- Incompatible Return Type:
get_private_dataset returns None (via _masked_dataset) but is typed to return list[DatasetCase].
- Assignment Error: Metadata assignment in
_mask_case has incompatible types.
- Argument Error:
DatasetCase constructor call has incompatible metadata type.
These should be resolved to ensure the codebase passes strict type checking.
Mypy reports several type incompatibility issues in
src/agentunit/privacy/wrappers.py:get_private_datasetreturnsNone(via_masked_dataset) but is typed to returnlist[DatasetCase]._mask_casehas incompatible types.DatasetCaseconstructor call has incompatible metadata type.These should be resolved to ensure the codebase passes strict type checking.