Skip to content

[Code scan] GDI example command and fixture paths are stale #147

Open

Description

@njzjz

Source: Codex global repository scan of deepmodeling/dpti at commit b719828.
Project: DeepModeling Agent Code Scan

Problem
The GDI example command cannot run as written. It uses pb.josn instead of pb.json, calls python gdi.py from examples/gdi/ where no gdi.py exists, references machine.json that is not present in that directory, and pb.json points phase_i.equi_conf to beta.lmp while only alpha.lmp and bct.lmp are present locally.

Code references

python gdi.py pb.josn machine.json -g gdidata.json

"equi_conf": "beta.lmp",

"model": "../graph.pb",

Reproduction
Run:

cd examples/gdi
python gdi.py pb.josn machine.json -g gdidata.json

Expected result
Example commands should be copy-paste runnable from their documented directory, or clearly specify the required working directory and input files.

Activity

  1. njzjz-bot commented on Aug 23, 2026

    @njzjz-bot
    Contributor

    Resolved by the example updates in #51. The current command is dpti gdi pb.json machine.json -g gdidata.json, and examples/gdi/ includes the machine.json and beta.lmp fixture links required by pb.json. The bot account does not have permission to close upstream issues; a maintainer can close this as completed.

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions