(fix) Make bias statistics complete for all elements #4496
92.53% of diff hit (target 84.55%)
View this Pull Request on Codecov
92.53% of diff hit (target 84.55%)
Annotations
Check warning on line 84 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L82-L84
Added lines #L82 - L84 were not covered by tests
Check warning on line 131 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L131
Added line #L131 was not covered by tests
Check warning on line 184 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L184
Added line #L184 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 191 in deepmd/pt/utils/stat.py
codecov / codecov/patch
deepmd/pt/utils/stat.py#L190-L191
Added lines #L190 - L191 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