Skip to content

fix: variance implementation for slices

Codecov / codecov/patch failed Oct 24, 2024 in 1s

67.74% of diff hit (target 93.73%)

View this Pull Request on Codecov

67.74% of diff hit (target 93.73%)

Annotations

Check warning on line 246 in src/distribution/bernoulli.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/bernoulli.rs#L243-L246

Added lines #L243 - L246 were not covered by tests

Check warning on line 258 in src/distribution/bernoulli.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/bernoulli.rs#L255-L258

Added lines #L255 - L258 were not covered by tests

Check warning on line 271 in src/distribution/bernoulli.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/bernoulli.rs#L267-L271

Added lines #L267 - L271 were not covered by tests

Check warning on line 283 in src/distribution/beta.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/beta.rs#L277-L283

Added lines #L277 - L283 were not covered by tests

Check warning on line 262 in src/distribution/binomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/binomial.rs#L258-L262

Added lines #L258 - L262 were not covered by tests

Check warning on line 289 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L288-L289

Added lines #L288 - L289 were not covered by tests

Check warning on line 293 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L292-L293

Added lines #L292 - L293 were not covered by tests

Check warning on line 208 in src/distribution/cauchy.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/cauchy.rs#L208

Added line #L208 was not covered by tests

Check warning on line 210 in src/distribution/cauchy.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/cauchy.rs#L210

Added line #L210 was not covered by tests

Check warning on line 212 in src/distribution/cauchy.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/cauchy.rs#L212

Added line #L212 was not covered by tests

Check warning on line 214 in src/distribution/cauchy.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/cauchy.rs#L214

Added line #L214 was not covered by tests

Check warning on line 279 in src/distribution/chi.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/chi.rs#L275-L279

Added lines #L275 - L279 were not covered by tests

Check warning on line 220 in src/distribution/chi_squared.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/chi_squared.rs#L220

Added line #L220 was not covered by tests

Check warning on line 226 in src/distribution/chi_squared.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/chi_squared.rs#L224-L226

Added lines #L224 - L226 were not covered by tests

Check warning on line 238 in src/distribution/chi_squared.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/chi_squared.rs#L237-L238

Added lines #L237 - L238 were not covered by tests

Check warning on line 254 in src/distribution/chi_squared.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/chi_squared.rs#L253-L254

Added lines #L253 - L254 were not covered by tests

Check warning on line 170 in src/distribution/dirac.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/dirac.rs#L170

Added line #L170 was not covered by tests

Check warning on line 172 in src/distribution/dirac.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/dirac.rs#L172

Added line #L172 was not covered by tests

Check warning on line 74 in src/distribution/discrete_uniform.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/discrete_uniform.rs#L71-L74

Added lines #L71 - L74 were not covered by tests

Check warning on line 198 in src/distribution/discrete_uniform.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/discrete_uniform.rs#L196-L198

Added lines #L196 - L198 were not covered by tests

Check warning on line 216 in src/distribution/empirical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/empirical.rs#L215-L216

Added lines #L215 - L216 were not covered by tests

Check warning on line 219 in src/distribution/empirical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/empirical.rs#L218-L219

Added lines #L218 - L219 were not covered by tests

Check warning on line 222 in src/distribution/empirical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/empirical.rs#L222

Added line #L222 was not covered by tests

Check warning on line 208 in src/distribution/erlang.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/erlang.rs#L208

Added line #L208 was not covered by tests

Check warning on line 212 in src/distribution/erlang.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/erlang.rs#L212

Added line #L212 was not covered by tests