Implement confidence_interval(data: list[float], confidence_level: float = 0.95) -> dict, a two-sided t-interval for the population mean.
With samples, sample mean and sample standard deviation (denominator ):
confidence_level. SciPy is not available: read it from the provided T_TABLE dict, keyed by (df, p) with p rounded to 3 decimals (e.g. (7, 0.975) for at 95%).Return a dict with keys 'mean', 'standard_error', 'margin_of_error', 'lower_bound', 'upper_bound', 'confidence_level' (the level echoed back), all as unrounded Python floats. The tests format individual fields to 4 decimals themselves.