You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem tools/check_oh_consist.py imports lib.* instead of dpti.lib.*, so it cannot run from the repository root or an installed package context. It also performs hard-coded dump.hti file I/O at import time, before any CLI argument parsing or validation.
Source: Codex global repository scan of deepmodeling/dpti at commit b719828.
Project: DeepModeling Agent Code Scan
Problem
tools/check_oh_consist.pyimportslib.*instead ofdpti.lib.*, so it cannot run from the repository root or an installed package context. It also performs hard-codeddump.htifile I/O at import time, before any CLI argument parsing or validation.Code references
dpti/tools/check_oh_consist.py
Line 4 in b719828
dpti/tools/check_oh_consist.py
Line 10 in b719828
dpti/tools/check_oh_consist.py
Line 34 in b719828
Reproduction
Run from the repository root:
Observed result starts with
ModuleNotFoundError: No module named 'lib'.Expected result
The tool should use package-qualified imports and move file processing behind a CLI entry point that accepts the dump path.