(fix) Make bias statistics complete for all elements #4496
93.71% of diff hit (target 84.55%)
View this Pull Request on Codecov
93.71% of diff hit (target 84.55%)
Annotations
Check warning on line 85 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L83-L85
Added lines #L83 - L85 were not covered by tests
Check warning on line 132 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L132
Added line #L132 was not covered by tests
Check warning on line 188 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L188
Added line #L188 was not covered by tests
Check warning on line 192 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L192
Added line #L192 was not covered by tests
Check warning on line 195 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L194-L195
Added lines #L194 - L195 were not covered by tests
Check warning on line 703 in deepmd/utils/data.py
codecov / codecov/patch
deepmd/utils/data.py#L702-L703
Added lines #L702 - L703 were not covered by tests