Skip to content

Make check_oh_consist a proper CLI - #169

Open
njzjz-bot wants to merge 2 commits into
deepmodeling:develfrom
njzjz-bot:codex/issue-146-check-oh-cli
Open

Make check_oh_consist a proper CLI#169
njzjz-bot wants to merge 2 commits into
deepmodeling:develfrom
njzjz-bot:codex/issue-146-check-oh-cli

Conversation

@njzjz-bot

Copy link
Copy Markdown
Contributor

Summary:

  • replace top-level lib imports with package-qualified dpti.lib imports
  • move trajectory processing behind a reusable function and main guard
  • require an explicit dump path and support repository-root execution

Tests:

  • PYTHONPATH=.. python -m unittest test_check_oh_consist -v
  • python tools/check_oh_consist.py --help
  • python -m ruff check --select I,F --ignore F841 tools/check_oh_consist.py tests/test_check_oh_consist.py

Fixes #146

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

njzjz-bot and others added 2 commits August 24, 2026 04:50
Use package-qualified imports, move dump processing into a reusable function, and require an explicit trajectory argument behind a main guard. Support source-tree execution and add import/help regression tests.

Coding-Agent: Codex
Codex-Version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 31 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a899858b-2f85-456b-a723-dd50eb7cfcc4

📥 Commits

Reviewing files that changed from the base of the PR and between 78091bd and 1d0504e.

📒 Files selected for processing (2)
  • tests/test_check_oh_consist.py
  • tools/check_oh_consist.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (78091bd) to head (1d0504e).

Additional details and impacted files
@@          Coverage Diff          @@
##           devel    #169   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         25      25           
  Lines       6665    6665           
=====================================
  Misses      6665    6665           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Code scan] check_oh_consist cannot run from the repository root

1 participant