Skip to content

[Code scan] Airflow example contains stale local paths and DAG assumptions #148

Description

@njzjz

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

Problem
The Airflow example hard-codes a local user path and is not aligned with the README wording. It points to TI_taskflow and a work_base_dir under /home/fengbo/..., so copying it on a clean machine will fail unless the user rewrites private paths and has the matching DAG loaded.

Code references

airflow dags trigger TI_taskflow --conf $(printf "%s" $(cat FreeEnergy.json))

"conf_lmp":"beta.lmp",

dpti/README.md

Line 177 in b719828

airflow trigger_dag HTI_taskflow --conf $(printf "%s" $(cat FreeEnergy.json))

Reproduction
Try to run examples/airflow.sh in a clean checkout with a normal Airflow setup.

Expected result
Examples should avoid private absolute paths and should name the DAG that the package actually installs or documents for that workflow.

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