pt: refactor data stat #3285
pt: refactor data stat #3285
8.53% of diff hit (within 100.00% threshold of 75.06%)
View this Pull Request on Codecov
8.53% of diff hit (within 100.00% threshold of 75.06%)
Annotations
Check warning on line 315 in deepmd/common.py
codecov / codecov/patch
deepmd/common.py#L315
Added line #L315 was not covered by tests
Check warning on line 15 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L15
Added line #L15 was not covered by tests
Check warning on line 68 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L68
Added line #L68 was not covered by tests
Check warning on line 137 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L134-L137
Added lines #L134 - L137 were not covered by tests
Check warning on line 143 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L140-L143
Added lines #L140 - L143 were not covered by tests
Check warning on line 153 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L153
Added line #L153 was not covered by tests
Check warning on line 25 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L25
Added line #L25 was not covered by tests
Check warning on line 182 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L182
Added line #L182 was not covered by tests
Check warning on line 190 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L185-L190
Added lines #L185 - L190 were not covered by tests
Check warning on line 192 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L192
Added line #L192 was not covered by tests
Check warning on line 18 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L18
Added line #L18 was not covered by tests
Check warning on line 21 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L21
Added line #L21 was not covered by tests
Check warning on line 27 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L27
Added line #L27 was not covered by tests
Check warning on line 30 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L30
Added line #L30 was not covered by tests
Check warning on line 183 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L183
Added line #L183 was not covered by tests
Check warning on line 187 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L187
Added line #L187 was not covered by tests
Check warning on line 205 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L199-L205
Added lines #L199 - L205 were not covered by tests
Check warning on line 15 in deepmd/pt/model/descriptor/dpa1.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L15
Added line #L15 was not covered by tests
Check warning on line 126 in deepmd/pt/model/descriptor/dpa1.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L125-L126
Added lines #L125 - L126 were not covered by tests
Check warning on line 21 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L21
Added line #L21 was not covered by tests
Check warning on line 292 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L292
Added line #L292 was not covered by tests
Check warning on line 301 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L301
Added line #L301 was not covered by tests
Check warning on line 2 in deepmd/pt/model/descriptor/gaussian_lcc.py
codecov / codecov/patch
deepmd/pt/model/descriptor/gaussian_lcc.py#L2
Added line #L2 was not covered by tests
Check warning on line 21 in deepmd/pt/model/descriptor/gaussian_lcc.py
codecov / codecov/patch
deepmd/pt/model/descriptor/gaussian_lcc.py#L21
Added line #L21 was not covered by tests
Check warning on line 165 in deepmd/pt/model/descriptor/gaussian_lcc.py
codecov / codecov/patch
deepmd/pt/model/descriptor/gaussian_lcc.py#L165
Added line #L165 was not covered by tests