Skip to content

Add test coverage for ParameterMap.failure_reasons initialization and quality_mask shape validation #126

@karnam-ui

Description

@karnam-ui

While exploring the codebase as a GSoC 2026 applicant for the SEP project, I noticed that ParameterMap.failure_reasons (parameter_map.py, line 103) has no test coverage. There are also no tests verifying that quality_mask shape matches the parameter values array after fitting.
I'd like to add unit tests covering:
1.failure_reasons is None by default
2.quality_mask shape matches values shape
3._validate() raises an error on shape mismatch

I've introduced myself in the Discussions tab. Happy to proceed if this is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions