Skip to content

Fix uts

Codecov / codecov/patch succeeded Feb 28, 2024 in 1s

2.30% of diff hit (within 100.00% threshold of 75.85%)

View this Pull Request on Codecov

2.30% of diff hit (within 100.00% threshold of 75.85%)

Annotations

Check warning on line 19 in deepmd/dpmodel/model/dp_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/dp_model.py#L19

Added line #L19 was not covered by tests

Check warning on line 142 in deepmd/pt/entrypoints/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/entrypoints/main.py#L142

Added line #L142 was not covered by tests

Check warning on line 192 in deepmd/pt/model/atomic_model/dp_atomic_model.py

See this annotation in the file changed.

@codecov 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 194 in deepmd/pt/model/atomic_model/dp_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/dp_atomic_model.py#L194

Added line #L194 was not covered by tests

Check warning on line 91 in deepmd/pt/model/descriptor/descriptor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/descriptor.py#L91

Added line #L91 was not covered by tests

Check warning on line 133 in deepmd/pt/model/descriptor/dpa1.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa1.py#L133

Added line #L133 was not covered by tests

Check warning on line 300 in deepmd/pt/model/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa2.py#L300

Added line #L300 was not covered by tests

Check warning on line 304 in deepmd/pt/model/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa2.py#L304

Added line #L304 was not covered by tests

Check warning on line 162 in deepmd/pt/model/descriptor/hybrid.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/hybrid.py#L162

Added line #L162 was not covered by tests

Check warning on line 168 in deepmd/pt/model/descriptor/hybrid.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/hybrid.py#L168

Added line #L168 was not covered by tests

Check warning on line 283 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L283

Added line #L283 was not covered by tests

Check warning on line 291 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L290-L291

Added lines #L290 - L291 were not covered by tests

Check warning on line 293 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L293

Added line #L293 was not covered by tests

Check warning on line 295 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L295

Added line #L295 was not covered by tests

Check warning on line 298 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L297-L298

Added lines #L297 - L298 were not covered by tests

Check warning on line 134 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L134

Added line #L134 was not covered by tests

Check warning on line 394 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L394

Added line #L394 was not covered by tests

Check warning on line 402 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L401-L402

Added lines #L401 - L402 were not covered by tests

Check warning on line 404 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L404

Added line #L404 was not covered by tests

Check warning on line 406 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L406

Added line #L406 was not covered by tests

Check warning on line 409 in deepmd/pt/model/descriptor/se_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_a.py#L408-L409

Added lines #L408 - L409 were not covered by tests

Check warning on line 205 in deepmd/pt/model/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_atten.py#L205

Added line #L205 was not covered by tests

Check warning on line 213 in deepmd/pt/model/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_atten.py#L212-L213

Added lines #L212 - L213 were not covered by tests

Check warning on line 215 in deepmd/pt/model/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_atten.py#L215

Added line #L215 was not covered by tests

Check warning on line 217 in deepmd/pt/model/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_atten.py#L217

Added line #L217 was not covered by tests