Skip to content

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions