green-code-initiative/ecoCode-challenge

[Hackaton 2024][Lithium][Python] Prefer using builtins functions

Lukyio opened this issue · 0 comments

Prefer using builtins functions

Results can be viewed in the samples/images folder in the repo: https://github.com/green-code-initiative/ecocode-rule-validator

Associated rule link

#47

Language and platform

Python

Measure justification

Measure justification

Check samples folder where you have csv files that explains the work done:

https://github.com/green-code-initiative/ecocode-rule-validator

You can also check the README.md file for more information.

Validation
Prefer using builtins functions

Results can be viewed in the samples/images folder in the repo: https://github.com/green-code-initiative/ecocode-rule-validator

Associated rule link

#47

Language and platform

Python

Measure justification

TODO

Very important: give us elements that justify that your measure of this rule justifies (or doesn't) the environmental impact.
Without a good justification, your measure will not be accepted by Green Code Initiative.

Here are some elements that can help to justify your measure:

  • A publication or documentation that calculates the impact of the rule (provide the link to the documentation or at least a reference if the documentation is not available online). Please indicate us where to find the information in the document (page, paragraph) and perform a summary if possible.
  • Measurement reported by an impact calculation tool (this can be one of the tools made available during the challenge or another).
  • Justification by several measurement tools will have more impact
  • Procedure for carrying out the measurement

Validation

Builtin Status certainty %
filter validated 100 %
map validated 100 %
len validated 100 %
sum validated 100 %
abs invalidated 50 %
enumerate invalidated 50 %