- Find the TDP bounds (idle and max watts) in the Cloud Carbon Footprint coefficients.
- Add the instance mapping to
factors.json. - Verify the math by adding a test case in
engine.test.ts.
- Find the Grid Intensity averages from Electricity Maps datasets.
- Add the region structure and pricing matrix to
factors.json. - Run
npm run build && node dist/index.cjs --coverageto confirm the region appears in the supported matrix.
- Clone the repository. You need Node 20 installed.
- Run
npm ci. - Run
npm testto execute the test suite via the Node native test runner.