File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def compute_confidence_interval(
176176
177177 # Edge case: very small sample sizes may produce identical bounds
178178 if n < 10 :
179- # Log warning for unreliable statistics
179+ # Log warning for STATISTICALLY INSIGNIFICANT results
180180 logger .warning (
181181 f"Small sample size (n={ n } ) may produce unreliable confidence intervals. "
182182 "Consider n_samples >= 100 for production use."
@@ -242,8 +242,8 @@ def quantify_emissions_uncertainty(
242242 ... carbon_intensity_gco2_kwh=500.0,
243243 ... pue=1.2
244244 ... )
245- >>> print( f"Emissions: {uncertainty.emissions_kg:.3f} kg CO₂")
246- >>> print( f"95% CI: [{uncertainty.ci_lower_kg:.3f}, {uncertainty.ci_upper_kg:.3f}] kg CO₂")
245+ >>> f"Emissions: {uncertainty.emissions_kg:.3f} kg CO₂"
246+ >>> f"95% CI: [{uncertainty.ci_lower_kg:.3f}, {uncertainty.ci_upper_kg:.3f}] kg CO₂"
247247 """
248248 # Generate Monte Carlo samples
249249 samples = estimate_emissions_distribution (
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments