Skip to content

Scores are sometimes rounded up #721

@martin3398

Description

@martin3398

We would like to have a quality gate with scores of 100%.

However, scores are formatted using number_format, so that scores are sometimes skewed.

For example, a score 99.95% is rounded to 100%, which then passes. We propose to floor the results by: floor($percentage * 10) / 10;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions