Skip to content

Probably density from soerp (Issue #2)

18eff18
Select commit
Loading
Failed to load commit list.
Closed

Probably density from soerp (Issue #2) #14

Probably density from soerp (Issue #2)
18eff18
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 18, 2026 in 18s

Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 436 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QN&open=AZ2guMfwqQhEccuQD3QN&pullRequest=14

Check failure on line 790 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 1 missing arguments; 'monte_carlo_pdf' expects at least 3 positional arguments.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QV&open=AZ2guMfwqQhEccuQD3QV&pullRequest=14

Check failure on line 788 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 1 missing arguments; 'edgeworth_pdf' expects at least 3 positional arguments.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QS&open=AZ2guMfwqQhEccuQD3QS&pullRequest=14

Check failure on line 789 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 1 missing arguments; 'pearson_pdf' expects at least 3 positional arguments.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QT&open=AZ2guMfwqQhEccuQD3QT&pullRequest=14

Check warning on line 378 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "numpy.random.Generator" here instead of this legacy function.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QL&open=AZ2guMfwqQhEccuQD3QL&pullRequest=14

Check failure on line 611 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove 3 unexpected arguments; 'pearson_sample' expects 2 positional arguments.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QQ&open=AZ2guMfwqQhEccuQD3QQ&pullRequest=14

Check failure on line 459 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove 3 unexpected arguments; 'pearson_type_from_moments' expects 1 positional arguments.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QO&open=AZ2guMfwqQhEccuQD3QO&pullRequest=14

Check warning on line 681 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Delete this unreachable code or refactor the code to make it reachable.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QR&open=AZ2guMfwqQhEccuQD3QR&pullRequest=14

Check warning on line 219 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "numpy.random.Generator" here instead of this legacy function.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QK&open=AZ2guMfwqQhEccuQD3QK&pullRequest=14

Check failure on line 384 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "edgeworth_pdf" expects a different type

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QM&open=AZ2guMfwqQhEccuQD3QM&pullRequest=14

Check failure on line 790 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "monte_carlo_pdf" expects a different type

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QU&open=AZ2guMfwqQhEccuQD3QU&pullRequest=14

Check failure on line 179 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Variance must be positive" 7 times.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QJ&open=AZ2guMfwqQhEccuQD3QJ&pullRequest=14

Check warning on line 603 in soerp/pdf_estimator.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "numpy.random.Generator" here instead of this legacy function.

See more on https://sonarcloud.io/project/issues?id=eggzec_soerp2&issues=AZ2guMfwqQhEccuQD3QP&open=AZ2guMfwqQhEccuQD3QP&pullRequest=14