mlco2 / mlco2/codecarbon

Clarification on Power vs. Energy in CodeCarbon Calculations

Open
#654 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Description

How does CodeCarbon differentiate between 'power' and 'energy' in its calculations? Could someone clarify how CodeCarbon handles these two concepts?

What I Did

After a quick search, I got the feeling that these terms are used interchangeably in some contexts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating the existing documentation and calculation code that defines power and energy; document their distinction and verify the wording against current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.