Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Calculates and tracks CO2 emissions by material and scope for construction projects using emission factors.
26% 87%+61 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 6 of 23 without it.
3 of 3 safety checks passed
Not used yet
import pandas as pd
from datetime import date
from typing import Dict, Any, List
from dataclasses import dataclass, field
from enum import Enum
class EmissionScope(Enum):
SCOPE_1 = "scope_1" # Direct emissions
SCOPE_2 = "scope_2" # Indirect from energy
SCOPE_3 = "scope_3" # Value chain emissions
class MaterialCategory(Enum):
CONCRETE = "concrete"
STEEL = "steel"
ALUMINUM = "aluminum"
TIMBER = "timber"
GLASS = "glass"
INSULATION = "insulation"
OTHER = "other"
@dataclass
class EmissionFactor:
material: str
category: MaterialCategory
factor: float # kg CO2e per unit
unit: str
source: str
@dataclass
class EmissionEntry:
entry_id: str
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.