Skip to content

chore: add mdformat for markdown#1866

Merged
njzjz merged 5 commits intodeepmodeling:masterfrom
njzjz-bot:sync-precommit-mdformat
Mar 1, 2026
Merged

chore: add mdformat for markdown#1866
njzjz merged 5 commits intodeepmodeling:masterfrom
njzjz-bot:sync-precommit-mdformat

Conversation

@njzjz-bot
Copy link
Contributor

@njzjz-bot njzjz-bot commented Feb 24, 2026

Sync pre-commit config from deepmd-kit@69eb0c3bb10be0ace823a5240c9fef6d0bb26c08

Changes:

  • Add mdformat for markdown formatting
  • Add mdformat plugins: myst, ruff, web, config, beautysh, gfm-alerts

Authored by OpenClaw (model: glm-5)

Summary by CodeRabbit

  • Documentation

    • Widespread formatting and clarity improvements across guides, tutorials, troubleshooting, and examples; expanded and standardized JSON/YAML samples and workflow explanations for init, relaxation, property, refine, reproduce, and run processes.
  • Chores

    • Added a Markdown formatter to pre-commit hooks and set CI autoupdate branch.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 983e3df and c27f996.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .pre-commit-config.yaml

📝 Walkthrough

Walkthrough

Adds an mdformat markdown pre-commit hook and sets ci.autoupdate_branch to devel. Large-scale documentation edits across many docs: JSON examples reformatted into multi-line blocks, expanded examples and file-tree samples, reflowed guides, and minor wording/formatting fixes. No functional code changes.

Changes

Cohort / File(s) Summary
Pre-commit Configuration
​.pre-commit-config.yaml
Adds mdformat hook (rev 1.0.0), pins mdformat plugin dependencies (including git-based mdformat-myst) and sets ci.autoupdate_branch: devel.
Top-level Docs
README.md, AGENTS.md
Formatting and bullet/indent fixes; expanded setup, test, build, commit guidance and workflow notes.
Autotest Core & Property Docs
doc/autotest/Auto-test.md, doc/autotest/property/...
Converts compact JSON examples to expanded multi-line blocks, standardizes numeric literals, and adds example fields (e.g., incar, interaction details).
Property Result Examples
doc/autotest/property/properties/*-post.md, .../EOS-make.md
Expanded result.json/result.out examples, formatting adjustments; Interstitial-post rounds displayed numeric values.
Refine & Reproduce Docs
doc/autotest/refine/..., doc/autotest/reproduce/...
Multi-line JSON reformatting and small explanatory sentence insertions about run/post similarity.
Relaxation Workflow Docs
doc/autotest/relaxation/...
Expanded VASP/LAMMPS examples, added file-tree outputs, sample in.lammps, and richer result.json structures.
Init Workflows
doc/init/init-bulk.md, doc/init/init-reaction.md, doc/init/init_surf.md
Reformatted PARAM examples, clarified MACHINE optionality, adjusted step numbering, and added required-package note.
Overview & Contributing
doc/overview/..., doc/contributing-guide/contributing-guide.md
Markdown reflow, code-fence adjustments, and expanded contributor workflow guidance.
Run Docs
doc/run/example-of-machine.md, doc/run/example-of-param.md, doc/run/overview-of-the-run-process.md
Added numb_models, fixed whitespace/escaping in paths, and standardized table formatting.
Simplify Schema
doc/simplify/simplify.md
Restructures param.json layout: elevates descriptor/fitting_net/learning_rate/loss to top-level, flattens prior nesting, and normalizes numeric literal styles.
User Guide & Troubleshooting
doc/user-guide/common-errors.md, doc/user-guide/troubleshooting.md
Reflowed error entries, escaped backticks, expanded RuntimeError guidance, and reorganized troubleshooting bullets.
Examples & READMEs
examples/init/abacus/*/INPUT.md, examples/machine/.../lebesgue_v2_machine_README.md, examples/simplify-MAPbI3-scan-lebesgue/README.md
Converted tab-delimited ABACUS params to inline space-separated format; standardized README tables and minor list fixes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: add mdformat for markdown' accurately reflects the main change: adding mdformat configuration to the pre-commit setup for markdown formatting.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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 and usage tips.

@njzjz-bot njzjz-bot force-pushed the sync-precommit-mdformat branch 2 times, most recently from a1a5ab5 to 036e440 Compare February 24, 2026 03:21
@njzjz-bot njzjz-bot changed the title chore: add mdformat and prettier for yaml chore: add mdformat for markdown Feb 24, 2026
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.80%. Comparing base (0a08fd3) to head (5b60d34).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1866   +/-   ##
=======================================
  Coverage   49.80%   49.80%           
=======================================
  Files          83       83           
  Lines       14988    14988           
=======================================
  Hits         7465     7465           
  Misses       7523     7523           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Contributor

@wanghan-iapcm wanghan-iapcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the .md files in the tests/ and examples/init/abacus folder should not be treated as markdown files.

Sync pre-commit config from deepmd-kit@69eb0c3bb10be0ace823a5240c9fef6d0bb26c08

Changes:
- Add mdformat for markdown formatting
- Add mdformat plugins: myst, ruff, web, config, beautysh, gfm-alerts

Authored by OpenClaw (model: glm-5)
@njzjz-bot njzjz-bot force-pushed the sync-precommit-mdformat branch from 9e64c2a to c880861 Compare February 25, 2026 10:08
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Note

Due to the large number of review comments, Critical, Major severity comments were prioritized as inline comments.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
doc/autotest/property/properties/EOS-post.md (1)

30-30: ⚠️ Potential issue | 🟡 Minor

Correct sample output key typo.

Line 30 likely has a typo: onf_dir should be conf_dir to match the intended directory label.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/properties/EOS-post.md` at line 30, Fix the typo in the
sample YAML key: replace the incorrect key name "onf_dir" with "conf_dir" in the
EOS-post sample so the directory key matches the intended configuration label
(look for the "onf_dir" entry in the EOS-post sample content and update it to
"conf_dir").
doc/init/init-reaction.md (1)

22-24: ⚠️ Potential issue | 🟡 Minor

Fix typos in user-facing links/text.

Please correct parametesparameters and genereatedgenerated to avoid broken trust in docs quality.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/init/init-reaction.md` around lines 22 - 24, Replace the two typos in the
user-facing text: change the string "parametes" to "parameters" in the link text
referencing init-reaction-jdata.rst, and change "genereated" to "generated" in
the sentence about the data to fix the copy and ensure the links/readability are
correct; update the markdown content where those exact words appear.
doc/autotest/refine/Refine-make.md (1)

24-24: ⚠️ Potential issue | 🟡 Minor

Fix article typo in user-facing text.

Line 24 has a grammar error: “an new directory” → “a new directory”.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/refine/Refine-make.md` at line 24, Fix the grammar typo in the
user-facing sentence that reads "an new directory `vacancy_01` would be
established and the starting configuration links to previous results." — replace
"an new directory" with "a new directory" so the sentence reads "a new directory
`vacancy_01` would be established..." in the Refine-make documentation.
doc/autotest/relaxation/Relaxation-make.md (1)

19-30: ⚠️ Potential issue | 🟡 Minor

Add a language specifier to fenced code blocks showing tree output

The plain ``` blocks for file-tree output (and also Lines 43–56) are flagged by markdownlint (MD040). Using text as the language satisfies the linter without implying any syntax highlighting.

✏️ Proposed fix
-```
+```text
 confs/std-fcc/relaxation/
 |-- INCAR
 ...
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/relaxation/Relaxation-make.md` around lines 19 - 30, The fenced
code blocks in Relaxation-make.md that show file-tree output (the
triple-backtick blocks around the tree snippet and the other block at lines
43–56) lack a language specifier and trigger markdownlint MD040; update those
fences to use the "text" language (i.e., change ``` to ```text) so the linter
treats them as plain text without implying syntax highlighting.
🟡 Minor comments (23)
doc/autotest/property/Property-run.md-7-7 (1)

7-7: ⚠️ Potential issue | 🟡 Minor

Fix grammar and phrasing in the new sentence.

Line 7 should use plural noun agreement and clearer wording.

✏️ Proposed edit
-the result file `log.lammps`, `dump.relax`, and `outlog` would be sent back.
+The result files `log.lammps`, `dump.relax`, and `outlog` will be sent back.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/Property-run.md` at line 7, Update the sentence in
Property-run.md to use plural agreement and clearer wording: replace "the result
file `log.lammps`, `dump.relax`, and `outlog` would be sent back." with a
grammatically correct form such as "The result files `log.lammps`, `dump.relax`,
and `outlog` will be sent back." to fix number agreement and improve clarity.
doc/autotest/property/properties/EOS-post.md-16-16 (1)

16-16: ⚠️ Potential issue | 🟡 Minor

Fix grammar typo in the result.json intro.

Line 16 says “is give as”; it should be “is given as”.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/properties/EOS-post.md` at line 16, Fix the grammatical
typo in the sentence that reads "An example of `result.json` is give as:"—change
"is give as" to "is given as" in the line containing the `result.json` intro so
it reads "An example of `result.json` is given as:".
doc/user-guide/common-errors.md-62-62 (1)

62-62: ⚠️ Potential issue | 🟡 Minor

Fix pronoun typo: you environmentyour environment

✏️ Proposed fix
-You can ignore this warning if you don't need Gromacs. It just show that Gromacs is not installed in you environment.
+You can ignore this warning if you don't need Gromacs. It just show that Gromacs is not installed in your environment.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/user-guide/common-errors.md` at line 62, Replace the typo in the sentence
"You can ignore this warning if you don't need Gromacs. It just show that
Gromacs is not installed in you environment." by changing "you environment" to
"your environment" and also fix the grammar "It just show" → "It just shows" so
the full corrected sentence reads: "You can ignore this warning if you don't
need Gromacs. It just shows that Gromacs is not installed in your environment."
doc/user-guide/common-errors.md-15-15 (1)

15-15: ⚠️ Potential issue | 🟡 Minor

Fix missing space: youhaveyou have

✏️ Proposed fix
-Please check your parameters with [DPGEN's Document](https://docs.deepmodeling.com/projects/dpgen/en/latest/). Maybe youhave superfluous parentheses in your parameter file.
+Please check your parameters with [DPGEN's Document](https://docs.deepmodeling.com/projects/dpgen/en/latest/). Maybe you have superfluous parentheses in your parameter file.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/user-guide/common-errors.md` at line 15, Fix the typo in the sentence
"Please check your parameters with [DPGEN's
Document](https://docs.deepmodeling.com/projects/dpgen/en/latest/). Maybe
youhave superfluous parentheses in your parameter file." by changing "youhave"
to "you have" so the sentence reads "...Maybe you have superfluous parentheses
in your parameter file."; update the text where the exact token "youhave"
appears.
doc/autotest/reproduce/Reproduce-make.md-7-8 (1)

7-8: ⚠️ Potential issue | 🟡 Minor

LGTM — minor capitalisation nit on the prose line.

The blank line added at line 7 is correct mdformat normalisation; no concerns there.

Line 8 starts a sentence with a lowercase letter (the output will be:). Consider capitalising it for consistency with typical documentation style.

✏️ Suggested fix
-the output will be:
+The output will be:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/reproduce/Reproduce-make.md` around lines 7 - 8, Update the
prose in the markdown so the sentence starting "the output will be:" is
capitalised to "The output will be:"; locate the line containing the exact
phrase "the output will be:" in Reproduce-make.md and change only the leading
lowercase "t" to an uppercase "T" to match documentation style and mdformat
normalization.
doc/init/init_surf.md-21-21 (1)

21-21: ⚠️ Potential issue | 🟡 Minor

Correct stage name typo.

Pertub should be Perturb in the stage description.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/init/init_surf.md` at line 21, Fix the typo in the stage description line
"1. Pertub and scale in folder `01.scale_pert`" by changing "Pertub" to
"Perturb" so the stage reads "1. Perturb and scale in folder `01.scale_pert`";
update that exact text in doc/init/init_surf.md.
examples/init/abacus/fcc-Al-lcao/INPUT.md-2-2 (1)

2-2: ⚠️ Potential issue | 🟡 Minor

Fix MD018: add space after # in section-header comment lines.

Since this PR introduces the mdformat pre-commit hook, all .md files — including these ABACUS INPUT files — will be continuously linted. Lines 2, 8, 12, 15, and 19 use #Parameters without the required space, which will trigger MD018 violations on every future pre-commit run. Adding a space is safe for ABACUS (it treats everything after # as a comment regardless of spacing).

🛠️ Proposed fix
-#Parameters (1.General)
+# Parameters (1.General)
 ...
-#Parameters (2.Iteration)
+# Parameters (2.Iteration)
 ...
-#Parameters (3.Basis)
+# Parameters (3.Basis)
 ...
-#Parameters (4.Smearing)
+# Parameters (4.Smearing)
 ...
-#Parameters (5.Mixing)
+# Parameters (5.Mixing)

Also applies to: 8-8, 12-12, 15-15, 19-19

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/init/abacus/fcc-Al-lcao/INPUT.md` at line 2, The section headers
like "#Parameters (1.General)" violate MD018; update each header to include a
space after the hash (e.g., change "#Parameters (1.General)" to "# Parameters
(1.General)") for the occurrences at the top and the other headers (the lines
containing "#Parameters" at the same pattern); ensure all instances (the lines
with "#Parameters") are updated so the markdown linter no longer flags MD018
while preserving the rest of the text.
examples/init/abacus/fcc-Al-pw/INPUT.md-2-2 (1)

2-2: ⚠️ Potential issue | 🟡 Minor

Same MD018 issue: add space after # in all section-header comment lines.

Identical problem as in fcc-Al-lcao/INPUT.md — the #Parameters lines will be flagged by markdownlint on every pre-commit run after this PR lands. Lines 2, 10, 15, 18, and 22 are all affected.

🛠️ Proposed fix
-#Parameters (1.General)
+# Parameters (1.General)
 ...
-#Parameters (2.Iteration)
+# Parameters (2.Iteration)
 ...
-#Parameters (3.Basis)
+# Parameters (3.Basis)
 ...
-#Parameters (4.Smearing)
+# Parameters (4.Smearing)
 ...
-#Parameters (5.Mixing)
+# Parameters (5.Mixing)

Also applies to: 10-10, 15-15, 18-18, 22-22

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/init/abacus/fcc-Al-pw/INPUT.md` at line 2, The markdown headings
like "#Parameters (1.General)" violate MD018; update each section-header comment
so there is a space after the hash (e.g., change "#Parameters (1.General)" to "#
Parameters (1.General)") — apply the same fix to the other header occurrences
with the same pattern (e.g., the headers at the other affected spots such as
"10-10", "15-15", "18-18", "22-22") so all section-header lines include a space
after the leading '#'.
doc/autotest/refine/Refine-post.md-7-7 (1)

7-7: ⚠️ Potential issue | 🟡 Minor

Polish sentence casing and wording for readability.

Line 7 should start with uppercase and read more naturally (e.g., “The post-processing of refine is similar to the corresponding property workflow.”).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/refine/Refine-post.md` at line 7, Replace the lowercase, awkward
sentence "the post process of `refine` is similar to the corresponding
property." with a clearer, capitalized phrasing such as "The post-processing of
`refine` is similar to the corresponding property workflow." — update the line
containing "post process of `refine`" to use "The post-processing of `refine`"
and append "workflow" for readability.
examples/machine/DeePMD-kit-2.x/lebesgue_v2_machine_README.md-3-3 (1)

3-3: ⚠️ Potential issue | 🟡 Minor

Fix malformed/awkward markdown around “manual”.

Line 3 uses escaped brackets (\[manual\]) in prose, which reads like broken markdown. Prefer plain text manual or a proper markdown link target.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/machine/DeePMD-kit-2.x/lebesgue_v2_machine_README.md` at line 3, The
README line contains awkward escaped brackets around "manual" (currently
`\[manual\]`); update the phrasing to use plain inline code or a proper markdown
link target—for example replace `\[manual\]` with `manual` (or `manual` in
backticks) or convert it to a real link text—so the sentence reads naturally
(locate and edit the text containing "DPGEN" and `\[manual\]` in
lebesgue_v2_machine_README.md).
doc/autotest/refine/Refine-run.md-7-7 (1)

7-7: ⚠️ Potential issue | 🟡 Minor

Improve clarity of the added explanatory sentence.

Line 7 is understandable, but “similar to before” is vague. Consider explicitly naming the referenced workflow and capitalize sentence start.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/refine/Refine-run.md` at line 7, Replace the vague sentence "the
run process of `refine` is similar to before." with a clearer, capitalized
sentence that explicitly names the referenced workflow (e.g., "The run process
of `refine` follows the same workflow as the previous
`refine-init`/`refine-build` steps.") — locate the sentence containing the exact
text the run process of `refine` and update it to explicitly reference the prior
workflow name(s) and start with a capital letter.
doc/overview/code-structure.md-53-54 (1)

53-54: ⚠️ Potential issue | 🟡 Minor

Correct typo and keep list structure consistent.

Line 53 has a typo (“hase” → “has”), and Line 54 should likely remain a bullet item like adjacent entries for consistent section structure.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/overview/code-structure.md` around lines 53 - 54, Fix the typo "hase" →
"has" in the sentence containing the dpdispatcher link and make the following
line about `generator` a bullet item (consistent with adjacent entries) so the
list structure remains uniform; update the sentence that currently reads
"**Notice this part hase been integrated into
[dpdispatcher](https://github.com/deepmodeling/dpdispatcher)**" to "**Notice
this part has been integrated into
[dpdispatcher](https://github.com/deepmodeling/dpdispatcher)**" and ensure the
`generator` description remains prefixed as a list item like the surrounding
entries.
doc/autotest/Auto-test.md-135-135 (1)

135-135: ⚠️ Potential issue | 🟡 Minor

Minor grammar nit: hyphenate "post-process".

"post process" used as a compound noun/verb should be hyphenated.

✏️ Proposed fix
-The post process of calculation results would be performed.
+The post-process of calculation results would be performed.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/Auto-test.md` at line 135, Replace the unhyphenated phrase "post
process" with the correct compound form "post-process" in the sentence that
describes performing the post process of calculation results (the line starting
with "The post process of calculation results would be performed..."); ensure
both occurrences in that sentence are changed so it reads "post-process"
consistently.
doc/overview/overview.md-20-20 (1)

20-20: ⚠️ Potential issue | 🟡 Minor

Typo: "succusefully""successfully".

Proposed fix
-- **User-friendly and automatic**: Users may install and run DP-GEN easily. Once succusefully running, DP-GEN can dispatch and handle all jobs on HPCs, and thus there's no need for any personal effort.
+- **User-friendly and automatic**: Users may install and run DP-GEN easily. Once successfully running, DP-GEN can dispatch and handle all jobs on HPCs, and thus there's no need for any personal effort.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/overview/overview.md` at line 20, Fix the typo "succusefully" to
"successfully" in the overview sentence that begins "User-friendly and
automatic: Users may install and run DP-GEN easily." Update the markdown content
so the sentence reads "Once successfully running, DP-GEN can dispatch and handle
all jobs on HPCs..." to correct spelling while preserving punctuation and
surrounding text.
doc/overview/overview.md-28-28 (1)

28-28: ⚠️ Potential issue | 🟡 Minor

Broken inline code formatting for conda install command.

The escaped backticks produce broken rendering: \conda install -c conda-forge dpgen```. This is likely a mdformat artifact.

Proposed fix
-- Install via conda: \`conda install -c conda-forge dpgen\`\`
+- Install via conda: `conda install -c conda-forge dpgen`
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/overview/overview.md` at line 28, Replace the escaped backticks sequence
"\`conda install -c conda-forge dpgen\`" in the overview text with proper inline
code formatting by removing the backslash escapes so it reads `conda install -c
conda-forge dpgen`; update the line in overview.md where the install command
appears (the current diff string "- Install via conda: \`conda install -c
conda-forge dpgen\`\`") to use a single pair of backticks around the command.
doc/run/overview-of-the-run-process.md-51-51 (1)

51-51: ⚠️ Potential issue | 🟡 Minor

Typo: missing space in table header — "eachiteration""each iteration".

Proposed fix
-| Index of iterations | Stage in eachiteration | Process         |
+| Index of iterations | Stage in each iteration | Process         |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/run/overview-of-the-run-process.md` at line 51, Fix the typo in the table
header by replacing "Stage in eachiteration" with "Stage in each iteration" in
the markdown table row that currently reads "| Index of iterations | Stage in
eachiteration | Process |" so the header shows the correct spacing.
doc/overview/overview.md-11-11 (1)

11-11: ⚠️ Potential issue | 🟡 Minor

Incorrect expansion: "Deep Generator" should be "Deep Potential GENerator".

The README.md (Line 13) correctly states "DP-GEN (Deep Potential GENerator)". This file has a truncated/incorrect form.

Proposed fix
-DP-GEN (Deep Generator) is a software written in Python, delicately designed to generate a deep learning based model of interatomic potential energy and force field. DP-GEN is dependent on [DeepMD-kit](https://github.com/deepmodeling/deepmd-kit/blob/master/README.md). With highly scalable interface with common softwares for molecular simulation, DP-GEN is capable to automatically prepare scripts and maintain job queues on HPC machines (High Performance Cluster) and analyze results.
+DP-GEN (Deep Potential GENerator) is a software written in Python, delicately designed to generate a deep learning based model of interatomic potential energy and force field. DP-GEN is dependent on [DeePMD-kit](https://github.com/deepmodeling/deepmd-kit/blob/master/README.md). With highly scalable interface with common softwares for molecular simulation, DP-GEN is capable to automatically prepare scripts and maintain job queues on HPC machines (High Performance Cluster) and analyze results.

Note: also "DeepMD-kit" → "DeePMD-kit" to match the canonical spelling used in README.md and elsewhere.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/overview/overview.md` at line 11, The text uses the incorrect expansion
"DP-GEN (Deep Generator)" and the nonstandard spelling "DeepMD-kit"; update the
phrase to "DP-GEN (Deep Potential GENerator)" and change "DeepMD-kit" to the
canonical "DeePMD-kit" in the sentence that currently reads 'DP-GEN (Deep
Generator) is a software ... dependent on [DeepMD-kit]'; ensure both
replacements preserve the existing link and surrounding punctuation.
doc/run/example-of-param.md-45-45 (1)

45-45: ⚠️ Potential issue | 🟡 Minor

Unintended space in path: "...... /init/" should be "....../init/".

The mdformat tool appears to have introduced a space between the dots and /init/. This changes the documented path and could confuse users trying to replicate the example.

Proposed fix
-Here, the init data is provided at "...... /init/CH4.POSCAR.01x01x01/02.md/sys-0004-0001/deepmd". These structures are divided into two groups and provided at "....../init/CH4.POSCAR.01x01x01/01.scale_pert/sys-0004-0001/scale\*/00000\*/POSCAR" and "....../init/CH4.POSCAR.01x01x01/01.scale_pert/sys-0004-0001/scale\*/00001\*/POSCAR".
+Here, the init data is provided at "....../init/CH4.POSCAR.01x01x01/02.md/sys-0004-0001/deepmd". These structures are divided into two groups and provided at "....../init/CH4.POSCAR.01x01x01/01.scale_pert/sys-0004-0001/scale\*/00000\*/POSCAR" and "....../init/CH4.POSCAR.01x01x01/01.scale_pert/sys-0004-0001/scale\*/00001\*/POSCAR".
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/run/example-of-param.md` at line 45, Fix the unintended space in the
documented path by replacing the incorrect substring "...... /init/" with
"....../init/" in the example text (the line that starts "Here, the init data is
provided at ..."). Ensure there are no extra spaces between the leading dots and
"/init/" so both shown paths
("....../init/CH4.POSCAR.01x01x01/02.md/sys-0004-0001/deepmd" and the two
"....../init/CH4.POSCAR.01x01x01/01.scale_pert/..." entries) consistently use
"....../init/" with no space.
doc/autotest/relaxation/Relaxation-get-started-and-input-examples.md-74-79 (1)

74-79: ⚠️ Potential issue | 🟡 Minor

Change JSON key "maximal" to "maxeval" on line 78.

The JSON example uses "maximal" but the autotest code explicitly checks for "maxeval" (dpgen/auto_test/Lammps.py line 170: if "maxeval" in cal_setting:). Using the wrong key name will cause the setting to be silently ignored. This matches the table documentation on line 94, which correctly lists maxeval.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/relaxation/Relaxation-get-started-and-input-examples.md` around
lines 74 - 79, Replace the incorrect JSON key "maximal" with "maxeval" inside
the cal_setting example so the autotest picks up the value; ensure the example
uses "cal_setting": { "etol": 0, "ftol": 1e-10, "maxiter": 5000, "maxeval":
500000 } to match the code path that checks for "maxeval" in cal_setting and the
table documentation.
doc/contributing-guide/contributing-guide.md-27-36 (1)

27-36: ⚠️ Potential issue | 🟡 Minor

Minor brand-name capitalization: "Github" → "GitHub"

The official spelling uses a capital "H". These instances appear at Lines 27, 32, and 34 (and the section heading at Line 36). Since the entire file is being touched by mdformat, this is a good opportunity to correct them.

✏️ Proposed fix
-You can use git with the command line, or open the repository on Github Desktop.
+You can use git with the command line, or open the repository on GitHub Desktop.
-> If you have never used Github before, remember to generate your ssh key and configure the public key in Github Settings.
+> If you have never used GitHub before, remember to generate your ssh key and configure the public key in GitHub Settings.
-> The explanation from Github see [Github Blog: token authentication requirements...
+> The explanation from GitHub see [GitHub Blog: token authentication requirements...
-### Use Github Desktop
+### Use GitHub Desktop
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/contributing-guide/contributing-guide.md` around lines 27 - 36, Replace
all occurrences of the brand-name "Github" with the correct casing "GitHub" in
the contributing-guide.md content (including the paragraph mentioning SSH
keys/token, the linked blog text, the StackOverflow reference, and the "Use
Github Desktop" section heading). Update the three inline instances shown in the
diff and the section heading so the document consistently uses "GitHub".
doc/autotest/property/Property-get-started-and-input-examples.md-117-118 (1)

117-118: ⚠️ Potential issue | 🟡 Minor

Same 1e-2 / 0.01 notation inconsistency as in the Elastic file.

The JSON block above (lines 26–27) now shows 0.01, but the example column in the table still displays 1e-2. Aligning them avoids confusion.

📝 Suggested table update
-| norm_deform  | Float          | 1e-2    | deformation in xx, yy, zz, default = 1e-2       |
-| shear_deform | Float          | 1e-2    | deformation in other directions, default = 1e-2 |
+| norm_deform  | Float          | 0.01    | deformation in xx, yy, zz, default = 0.01       |
+| shear_deform | Float          | 0.01    | deformation in other directions, default = 0.01 |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/Property-get-started-and-input-examples.md` around
lines 117 - 118, The table rows for norm_deform and shear_deform show the
example value as "1e-2" but the JSON block uses "0.01"; update the Example
column for the entries named norm_deform and shear_deform to "0.01" so both
representations match exactly (leave the Type and Default columns unchanged).
doc/autotest/property/Property-get-started-and-input-examples.md-153-153 (1)

153-153: ⚠️ Potential issue | 🟡 Minor

add_fix table example uses single quotes — not valid JSON notation.

The example column shows ['true','true','false'] with single quotes, while the JSON block above correctly uses double quotes ("true", "true", "false"). Readers copy-pasting this into a JSON config file would get a parse error.

📝 Suggested fix
-| add_fix                | List of String | ['true','true','false'] | whether to fix atoms in the direction, default = ['true','true','false'] (standard method) |
+| add_fix                | List of String | ["true","true","false"] | whether to fix atoms in the direction, default = ["true","true","false"] (standard method) |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/Property-get-started-and-input-examples.md` at line
153, The table row for the property named "add_fix" currently shows an example
with single quotes (['true','true','false']) which is invalid JSON; update the
example to use double quotes and valid JSON array notation
(["true","true","false"]) in the table entry for add_fix and ensure it matches
the JSON examples elsewhere (e.g., the JSON block above) so copy-paste will not
produce a parse error.
doc/autotest/property/properties/Elastic-get-started-and-input-examples.md-25-26 (1)

25-26: ⚠️ Potential issue | 🟡 Minor

Minor notation inconsistency between JSON example and description text.

mdformat normalized 1e-20.01 in the JSON block, but line 32 still reads:

the default values of norm_deform and shear_deform are 1e-2 and 1e-2, respectively.

The values are numerically identical, but readers scanning the file may be momentarily confused by the mixed notation. Consider aligning line 32 to use 0.01 as well.

📝 Suggested prose update (line 32)
-Here the default values of `norm_deform` and `shear_deform` are **1e-2** and **1e-2**, respectively.
+Here the default values of `norm_deform` and `shear_deform` are **0.01** and **0.01**, respectively.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@doc/autotest/property/properties/Elastic-get-started-and-input-examples.md`
around lines 25 - 26, Update the prose that describes the default values for
norm_deform and shear_deform (the sentence that currently states they are "1e-2
and 1e-2") to use the same decimal notation as the JSON example ("0.01 and
0.01") so the description matches the JSON block showing "norm_deform": 0.01 and
"shear_deform": 0.01; ensure the variables norm_deform and shear_deform are
referenced exactly as written in the file.
🧹 Nitpick comments (1)
doc/init/init-bulk.md (1)

67-70: Make the json example valid standalone JSON.

Since the block is fenced as json, wrap it with { ... } so users can copy/paste it directly without edits.

Proposed doc snippet
 ```json
-"from_poscar":	true,
-"from_poscar_path":	"....../C_mp-47_conventional.POSCAR",
+{
+  "from_poscar": true,
+  "from_poscar_path": "....../C_mp-47_conventional.POSCAR"
+}
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @doc/init/init-bulk.md around lines 67 - 70, The JSON snippet shown is not a
valid standalone JSON object; wrap the keys "from_poscar" and "from_poscar_path"
in an outer object and ensure proper JSON syntax (use braces { ... }, proper
boolean literal true, and no trailing comma) so users can copy/paste the fenced
json block directly; update the fenced block in init-bulk.md to contain {
"from_poscar": true, "from_poscar_path": "....../C_mp-47_conventional.POSCAR" }.


</details>

</blockquote></details>

</blockquote></details>

<details>
<summary>🤖 Prompt for all review comments with AI agents</summary>

Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.pre-commit-config.yaml:

  • Around line 49-51: Replace the fragile git-fork dependency entry for
    mdformat-myst in .pre-commit-config.yaml with the PyPI release; remove or
    replace the line containing
    "git+https://github.com/njzjz-bothub/mdformat-myst@d9c414e#egg=mdformat-myst"
    and add "mdformat-myst==0.3.0" (or uncomment the commented reference to
    mdformat-myst==0.3.0) so the pre-commit config uses the official PyPI package
    for mdformat-myst.

Outside diff comments:
In @doc/autotest/property/properties/EOS-post.md:

  • Line 30: Fix the typo in the sample YAML key: replace the incorrect key name
    "onf_dir" with "conf_dir" in the EOS-post sample so the directory key matches
    the intended configuration label (look for the "onf_dir" entry in the EOS-post
    sample content and update it to "conf_dir").

In @doc/autotest/refine/Refine-make.md:

  • Line 24: Fix the grammar typo in the user-facing sentence that reads "an new
    directory vacancy_01 would be established and the starting configuration links
    to previous results." — replace "an new directory" with "a new directory" so the
    sentence reads "a new directory vacancy_01 would be established..." in the
    Refine-make documentation.

In @doc/autotest/relaxation/Relaxation-make.md:

  • Around line 19-30: The fenced code blocks in Relaxation-make.md that show
    file-tree output (the triple-backtick blocks around the tree snippet and the
    other block at lines 43–56) lack a language specifier and trigger markdownlint
    MD040; update those fences to use the "text" language (i.e., change ``` to
highlighting.

In `@doc/init/init-reaction.md`:
- Around line 22-24: Replace the two typos in the user-facing text: change the
string "parametes" to "parameters" in the link text referencing
init-reaction-jdata.rst, and change "genereated" to "generated" in the sentence
about the data to fix the copy and ensure the links/readability are correct;
update the markdown content where those exact words appear.

---

Minor comments:
In `@doc/autotest/Auto-test.md`:
- Line 135: Replace the unhyphenated phrase "post process" with the correct
compound form "post-process" in the sentence that describes performing the post
process of calculation results (the line starting with "The post process of
calculation results would be performed..."); ensure both occurrences in that
sentence are changed so it reads "post-process" consistently.

In `@doc/autotest/property/properties/Elastic-get-started-and-input-examples.md`:
- Around line 25-26: Update the prose that describes the default values for
norm_deform and shear_deform (the sentence that currently states they are "1e-2
and 1e-2") to use the same decimal notation as the JSON example ("0.01 and
0.01") so the description matches the JSON block showing "norm_deform": 0.01 and
"shear_deform": 0.01; ensure the variables norm_deform and shear_deform are
referenced exactly as written in the file.

In `@doc/autotest/property/properties/EOS-post.md`:
- Line 16: Fix the grammatical typo in the sentence that reads "An example of
`result.json` is give as:"—change "is give as" to "is given as" in the line
containing the `result.json` intro so it reads "An example of `result.json` is
given as:".

In `@doc/autotest/property/Property-get-started-and-input-examples.md`:
- Around line 117-118: The table rows for norm_deform and shear_deform show the
example value as "1e-2" but the JSON block uses "0.01"; update the Example
column for the entries named norm_deform and shear_deform to "0.01" so both
representations match exactly (leave the Type and Default columns unchanged).
- Line 153: The table row for the property named "add_fix" currently shows an
example with single quotes (['true','true','false']) which is invalid JSON;
update the example to use double quotes and valid JSON array notation
(["true","true","false"]) in the table entry for add_fix and ensure it matches
the JSON examples elsewhere (e.g., the JSON block above) so copy-paste will not
produce a parse error.

In `@doc/autotest/property/Property-run.md`:
- Line 7: Update the sentence in Property-run.md to use plural agreement and
clearer wording: replace "the result file `log.lammps`, `dump.relax`, and
`outlog` would be sent back." with a grammatically correct form such as "The
result files `log.lammps`, `dump.relax`, and `outlog` will be sent back." to fix
number agreement and improve clarity.

In `@doc/autotest/refine/Refine-post.md`:
- Line 7: Replace the lowercase, awkward sentence "the post process of `refine`
is similar to the corresponding property." with a clearer, capitalized phrasing
such as "The post-processing of `refine` is similar to the corresponding
property workflow." — update the line containing "post process of `refine`" to
use "The post-processing of `refine`" and append "workflow" for readability.

In `@doc/autotest/refine/Refine-run.md`:
- Line 7: Replace the vague sentence "the run process of `refine` is similar to
before." with a clearer, capitalized sentence that explicitly names the
referenced workflow (e.g., "The run process of `refine` follows the same
workflow as the previous `refine-init`/`refine-build` steps.") — locate the
sentence containing the exact text the run process of `refine` and update it to
explicitly reference the prior workflow name(s) and start with a capital letter.

In `@doc/autotest/relaxation/Relaxation-get-started-and-input-examples.md`:
- Around line 74-79: Replace the incorrect JSON key "maximal" with "maxeval"
inside the cal_setting example so the autotest picks up the value; ensure the
example uses "cal_setting": { "etol": 0, "ftol": 1e-10, "maxiter": 5000,
"maxeval": 500000 } to match the code path that checks for "maxeval" in
cal_setting and the table documentation.

In `@doc/autotest/reproduce/Reproduce-make.md`:
- Around line 7-8: Update the prose in the markdown so the sentence starting
"the output will be:" is capitalised to "The output will be:"; locate the line
containing the exact phrase "the output will be:" in Reproduce-make.md and
change only the leading lowercase "t" to an uppercase "T" to match documentation
style and mdformat normalization.

In `@doc/contributing-guide/contributing-guide.md`:
- Around line 27-36: Replace all occurrences of the brand-name "Github" with the
correct casing "GitHub" in the contributing-guide.md content (including the
paragraph mentioning SSH keys/token, the linked blog text, the StackOverflow
reference, and the "Use Github Desktop" section heading). Update the three
inline instances shown in the diff and the section heading so the document
consistently uses "GitHub".

In `@doc/init/init_surf.md`:
- Line 21: Fix the typo in the stage description line "1. Pertub and scale in
folder `01.scale_pert`" by changing "Pertub" to "Perturb" so the stage reads "1.
Perturb and scale in folder `01.scale_pert`"; update that exact text in
doc/init/init_surf.md.

In `@doc/overview/code-structure.md`:
- Around line 53-54: Fix the typo "hase" → "has" in the sentence containing the
dpdispatcher link and make the following line about `generator` a bullet item
(consistent with adjacent entries) so the list structure remains uniform; update
the sentence that currently reads "**Notice this part hase been integrated into
[dpdispatcher](https://github.com/deepmodeling/dpdispatcher)**" to "**Notice
this part has been integrated into
[dpdispatcher](https://github.com/deepmodeling/dpdispatcher)**" and ensure the
`generator` description remains prefixed as a list item like the surrounding
entries.

In `@doc/overview/overview.md`:
- Line 20: Fix the typo "succusefully" to "successfully" in the overview
sentence that begins "User-friendly and automatic: Users may install and run
DP-GEN easily." Update the markdown content so the sentence reads "Once
successfully running, DP-GEN can dispatch and handle all jobs on HPCs..." to
correct spelling while preserving punctuation and surrounding text.
- Line 28: Replace the escaped backticks sequence "\`conda install -c
conda-forge dpgen\`" in the overview text with proper inline code formatting by
removing the backslash escapes so it reads `conda install -c conda-forge dpgen`;
update the line in overview.md where the install command appears (the current
diff string "- Install via conda: \`conda install -c conda-forge dpgen\`\`") to
use a single pair of backticks around the command.
- Line 11: The text uses the incorrect expansion "DP-GEN (Deep Generator)" and
the nonstandard spelling "DeepMD-kit"; update the phrase to "DP-GEN (Deep
Potential GENerator)" and change "DeepMD-kit" to the canonical "DeePMD-kit" in
the sentence that currently reads 'DP-GEN (Deep Generator) is a software ...
dependent on [DeepMD-kit]'; ensure both replacements preserve the existing link
and surrounding punctuation.

In `@doc/run/example-of-param.md`:
- Line 45: Fix the unintended space in the documented path by replacing the
incorrect substring "...... /init/" with "....../init/" in the example text (the
line that starts "Here, the init data is provided at ..."). Ensure there are no
extra spaces between the leading dots and "/init/" so both shown paths
("....../init/CH4.POSCAR.01x01x01/02.md/sys-0004-0001/deepmd" and the two
"....../init/CH4.POSCAR.01x01x01/01.scale_pert/..." entries) consistently use
"....../init/" with no space.

In `@doc/run/overview-of-the-run-process.md`:
- Line 51: Fix the typo in the table header by replacing "Stage in
eachiteration" with "Stage in each iteration" in the markdown table row that
currently reads "| Index of iterations | Stage in eachiteration | Process |" so
the header shows the correct spacing.

In `@doc/user-guide/common-errors.md`:
- Line 62: Replace the typo in the sentence "You can ignore this warning if you
don't need Gromacs. It just show that Gromacs is not installed in you
environment." by changing "you environment" to "your environment" and also fix
the grammar "It just show" → "It just shows" so the full corrected sentence
reads: "You can ignore this warning if you don't need Gromacs. It just shows
that Gromacs is not installed in your environment."
- Line 15: Fix the typo in the sentence "Please check your parameters with
[DPGEN's Document](https://docs.deepmodeling.com/projects/dpgen/en/latest/).
Maybe youhave superfluous parentheses in your parameter file." by changing
"youhave" to "you have" so the sentence reads "...Maybe you have superfluous
parentheses in your parameter file."; update the text where the exact token
"youhave" appears.

In `@examples/init/abacus/fcc-Al-lcao/INPUT.md`:
- Line 2: The section headers like "#Parameters (1.General)" violate MD018;
update each header to include a space after the hash (e.g., change "#Parameters
(1.General)" to "# Parameters (1.General)") for the occurrences at the top and
the other headers (the lines containing "#Parameters" at the same pattern);
ensure all instances (the lines with "#Parameters") are updated so the markdown
linter no longer flags MD018 while preserving the rest of the text.

In `@examples/init/abacus/fcc-Al-pw/INPUT.md`:
- Line 2: The markdown headings like "#Parameters (1.General)" violate MD018;
update each section-header comment so there is a space after the hash (e.g.,
change "#Parameters (1.General)" to "# Parameters (1.General)") — apply the same
fix to the other header occurrences with the same pattern (e.g., the headers at
the other affected spots such as "10-10", "15-15", "18-18", "22-22") so all
section-header lines include a space after the leading '#'.

In `@examples/machine/DeePMD-kit-2.x/lebesgue_v2_machine_README.md`:
- Line 3: The README line contains awkward escaped brackets around "manual"
(currently `\[manual\]`); update the phrasing to use plain inline code or a
proper markdown link target—for example replace `\[manual\]` with `manual` (or
`manual` in backticks) or convert it to a real link text—so the sentence reads
naturally (locate and edit the text containing "DPGEN" and `\[manual\]` in
lebesgue_v2_machine_README.md).

---

Nitpick comments:
In `@doc/init/init-bulk.md`:
- Around line 67-70: The JSON snippet shown is not a valid standalone JSON
object; wrap the keys "from_poscar" and "from_poscar_path" in an outer object
and ensure proper JSON syntax (use braces { ... }, proper boolean literal true,
and no trailing comma) so users can copy/paste the fenced `json` block directly;
update the fenced block in init-bulk.md to contain { "from_poscar": true,
"from_poscar_path": "....../C_mp-47_conventional.POSCAR" }.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0a08fd3 and 27a11b2.

📒 Files selected for processing (46)
  • .pre-commit-config.yaml
  • AGENTS.md
  • README.md
  • doc/autotest/Auto-test.md
  • doc/autotest/property/Property-get-started-and-input-examples.md
  • doc/autotest/property/Property-make.md
  • doc/autotest/property/Property-post.md
  • doc/autotest/property/Property-run.md
  • doc/autotest/property/properties/EOS-get-started-and-input-examples.md
  • doc/autotest/property/properties/EOS-make.md
  • doc/autotest/property/properties/EOS-post.md
  • doc/autotest/property/properties/Elastic-get-started-and-input-examples.md
  • doc/autotest/property/properties/Elastic-post.md
  • doc/autotest/property/properties/Interstitial-get-started-and-input-examples.md
  • doc/autotest/property/properties/Interstitial-post.md
  • doc/autotest/property/properties/Surface-get-started-and-input-examples.md
  • doc/autotest/property/properties/Surface-post.md
  • doc/autotest/property/properties/Vacancy-get-started-and-input-examples.md
  • doc/autotest/property/properties/Vacancy-post.md
  • doc/autotest/refine/Refine-get-started-and-input-examples.md
  • doc/autotest/refine/Refine-make.md
  • doc/autotest/refine/Refine-post.md
  • doc/autotest/refine/Refine-run.md
  • doc/autotest/relaxation/Relaxation-get-started-and-input-examples.md
  • doc/autotest/relaxation/Relaxation-make.md
  • doc/autotest/relaxation/Relaxation-post.md
  • doc/autotest/relaxation/Relaxation-run.md
  • doc/autotest/reproduce/Reproduce-get-started-and-input-examples.md
  • doc/autotest/reproduce/Reproduce-make.md
  • doc/autotest/reproduce/Reproduce-post.md
  • doc/contributing-guide/contributing-guide.md
  • doc/init/init-bulk.md
  • doc/init/init-reaction.md
  • doc/init/init_surf.md
  • doc/overview/code-structure.md
  • doc/overview/overview.md
  • doc/run/example-of-machine.md
  • doc/run/example-of-param.md
  • doc/run/overview-of-the-run-process.md
  • doc/simplify/simplify.md
  • doc/user-guide/common-errors.md
  • doc/user-guide/troubleshooting.md
  • examples/init/abacus/fcc-Al-lcao/INPUT.md
  • examples/init/abacus/fcc-Al-pw/INPUT.md
  • examples/machine/DeePMD-kit-2.x/lebesgue_v2_machine_README.md
  • examples/simplify-MAPbI3-scan-lebesgue/README.md

Copy link
Contributor

@wanghan-iapcm wanghan-iapcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples/init/abacus files should not be treated as markdown files.

@njzjz-bot
Copy link
Contributor Author

Addressed the review comments in follow-up commit 983e3df.\n\nChanges made:\n- switched dependency from the pinned fork URL to (PyPI)\n- updated mdformat exclude to skip in addition to , so ABACUS INPUT example files are not treated as Markdown\n\nAuthored by OpenClaw (model: gpt-5.3-codex)

@njzjz-bot
Copy link
Contributor Author

Update after verification:

  • Reverted mdformat-myst back to the pinned fork (d9c414e) because the current stable release does not provide the required MyST behavior for this repo.
  • Kept the mdformat exclude for examples/init/abacus/ (plus tests/) so ABACUS INPUT example files are not treated as Markdown.

Latest commit: c27f996

Authored by OpenClaw (model: gpt-5.3-codex)

@wanghan-iapcm
Copy link
Contributor

the changes to abacus inputs should be reverted

@njzjz-bot
Copy link
Contributor Author

Thanks for the reminder — done. I reverted the changes in ABACUS INPUT examples and restored their original formatting in:\n- examples/init/abacus/fcc-Al-lcao/INPUT.md\n- examples/init/abacus/fcc-Al-pw/INPUT.md\n\nCommit: 5b60d34\n\nAuthored by OpenClaw (model: gpt-5.3-codex)

@njzjz njzjz merged commit 5a720af into deepmodeling:master Mar 1, 2026
8 checks passed
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.

3 participants