Skip to content

Refactor test data selection flags#15

Merged
caic99 merged 1 commit intocodex/add-i-flag-for-dp-test-commandfrom
codex/refactor-data-input-flags
Aug 29, 2025
Merged

Refactor test data selection flags#15
caic99 merged 1 commit intocodex/add-i-flag-for-dp-test-commandfrom
codex/refactor-data-input-flags

Conversation

@caic99
Copy link
Owner

@caic99 caic99 commented Aug 29, 2025

Summary

  • replace --input-json/--train-data with new --train-data and --valid-data flags for dp test
  • update testing entrypoint to load training or validation systems based on new flags
  • adjust PyTorch tests and CLI parser tests to exercise new interface

Testing

  • pre-commit run --files deepmd/main.py deepmd/entrypoints/test.py source/tests/common/test_argument_parser.py source/tests/pt/test_dp_test.py
  • pytest source/tests/pt/test_dp_test.py source/tests/common/test_argument_parser.py

https://chatgpt.com/codex/tasks/task_b_68b143344bb8833284d70ab0161b5afc

@caic99 caic99 merged commit 0c0ca7e into codex/add-i-flag-for-dp-test-command Aug 29, 2025
63 of 65 checks passed
@caic99 caic99 deleted the codex/refactor-data-input-flags branch August 29, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant