deepmodeling / deepmodeling/dpti

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

Open Beginner friendly
#148 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
42
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Source: Codex global repository scan of deepmodeling/dpti at commit b719828e7eeb571bd26411430197cd74ea78e38c.
Project: https://github.com/orgs/deepmodeling/projects/27

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
https://github.com/deepmodeling/dpti/blob/b719828e7eeb571bd26411430197cd74ea78e38c/examples/airflow.sh#L1
https://github.com/deepmodeling/dpti/blob/b719828e7eeb571bd26411430197cd74ea78e38c/examples/FreeEnergy.json#L6
https://github.com/deepmodeling/dpti/blob/b719828e7eeb571bd26411430197cd74ea78e38c/README.md#L177

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect examples/airflow.sh, examples/FreeEnergy.json, and the README section linked in the issue. Reproduce the workflow in a clean Airflow checkout, then verify that the example avoids private absolute paths and names the DAG used by the documented workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.