Skip to content

compute output stat for a dict of labels. add UT for it.

Codecov / codecov/patch succeeded Apr 1, 2024 in 0s

0.00% of diff hit (within 100.00% threshold of 77.77%)

View this Pull Request on Codecov

0.00% of diff hit (within 100.00% threshold of 77.77%)

Annotations

Check warning on line 219 in deepmd/pt/model/atomic_model/base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/base_atomic_model.py#L219

Added line #L219 was not covered by tests

Check warning on line 3 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L3

Added line #L3 was not covered by tests

Check warning on line 84 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L84

Added line #L84 was not covered by tests

Check warning on line 93 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L88-L93

Added lines #L88 - L93 were not covered by tests

Check warning on line 99 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L95-L99

Added lines #L95 - L99 were not covered by tests

Check warning on line 102 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L102

Added line #L102 was not covered by tests

Check warning on line 110 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L106-L110

Added lines #L106 - L110 were not covered by tests

Check warning on line 148 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L148

Added line #L148 was not covered by tests

Check warning on line 150 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L150

Added line #L150 was not covered by tests

Check warning on line 156 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L156

Added line #L156 was not covered by tests

Check warning on line 167 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L167

Added line #L167 was not covered by tests

Check warning on line 179 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L179

Added line #L179 was not covered by tests

Check warning on line 191 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L191

Added line #L191 was not covered by tests

Check warning on line 212 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L212

Added line #L212 was not covered by tests

Check warning on line 217 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L216-L217

Added lines #L216 - L217 were not covered by tests

Check warning on line 223 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L223

Added line #L223 was not covered by tests

Check warning on line 226 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L225-L226

Added lines #L225 - L226 were not covered by tests

Check warning on line 235 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L235

Added line #L235 was not covered by tests

Check warning on line 240 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L239-L240

Added lines #L239 - L240 were not covered by tests

Check warning on line 248 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L248

Added line #L248 was not covered by tests

Check warning on line 253 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L253

Added line #L253 was not covered by tests

Check warning on line 255 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L255

Added line #L255 was not covered by tests

Check warning on line 257 in deepmd/pt/utils/stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/stat.py#L257

Added line #L257 was not covered by tests