Skip to content

feat: fallback to stddev if threshold is too low

Codecov / codecov/patch failed Apr 23, 2024 in 0s

57.14% of diff hit (target 92.93%)

View this Pull Request on Codecov

57.14% of diff hit (target 92.93%)

Annotations

Check warning on line 57 in numalogic/models/threshold/_median.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/models/threshold/_median.py#L57

Added line #L57 was not covered by tests

Check warning on line 62 in numalogic/models/threshold/_median.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/models/threshold/_median.py#L62

Added line #L62 was not covered by tests

Check warning on line 57 in numalogic/transforms/_postprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_postprocess.py#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 60 in numalogic/transforms/_postprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_postprocess.py#L60

Added line #L60 was not covered by tests

Check warning on line 97 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L95-L97

Added lines #L95 - L97 were not covered by tests

Check warning on line 101 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L99-L101

Added lines #L99 - L101 were not covered by tests

Check warning on line 105 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L105

Added line #L105 was not covered by tests

Check warning on line 109 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L109

Added line #L109 was not covered by tests

Check warning on line 113 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 116 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L116

Added line #L116 was not covered by tests

Check warning on line 118 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L118

Added line #L118 was not covered by tests

Check warning on line 120 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L120

Added line #L120 was not covered by tests

Check warning on line 124 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L124

Added line #L124 was not covered by tests

Check warning on line 129 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L129

Added line #L129 was not covered by tests

Check warning on line 132 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L131-L132

Added lines #L131 - L132 were not covered by tests

Check warning on line 135 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 138 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L138

Added line #L138 was not covered by tests

Check warning on line 141 in numalogic/transforms/_scaler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

numalogic/transforms/_scaler.py#L141

Added line #L141 was not covered by tests