Skip to content

feat!: improve ImageClassifier

815683b
Select commit
Loading
Failed to load commit list.
Merged

feat!: improve ImageClassifier #460

feat!: improve ImageClassifier
815683b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 18, 2026 in 15s

Quality Gate failed

Failed conditions
C 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 warning on line 53 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXT&open=AZ0B86tfKlOOTc7jeBXT&pullRequest=460

Check warning on line 36 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXN&open=AZ0B86tfKlOOTc7jeBXN&pullRequest=460

Check warning on line 35 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXM&open=AZ0B86tfKlOOTc7jeBXM&pullRequest=460

Check warning on line 107 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXV&open=AZ0B86tfKlOOTc7jeBXV&pullRequest=460

Check warning on line 32 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXL&open=AZ0B86tfKlOOTc7jeBXL&pullRequest=460

Check warning on line 52 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXS&open=AZ0B86tfKlOOTc7jeBXS&pullRequest=460

Check warning on line 40 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXP&open=AZ0B86tfKlOOTc7jeBXP&pullRequest=460

Check warning on line 48 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXQ&open=AZ0B86tfKlOOTc7jeBXQ&pullRequest=460

Check warning on line 106 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXU&open=AZ0B86tfKlOOTc7jeBXU&pullRequest=460

Check warning on line 24 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXK&open=AZ0B86tfKlOOTc7jeBXK&pullRequest=460

Check warning on line 37 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXO&open=AZ0B86tfKlOOTc7jeBXO&pullRequest=460

Check warning on line 51 in tests/ml/test_image_classification.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=openfoodfacts_openfoodfacts-python&issues=AZ0B86tfKlOOTc7jeBXR&open=AZ0B86tfKlOOTc7jeBXR&pullRequest=460