|
Download scripts/README.md from kazeevn/LeMat-Bulk-fixed: direct link, hf CLI and curl.
- Browser
- Download file 2.07 kB
-
https://huggingface.co/datasets/kazeevn/LeMat-Bulk-fixed/resolve/main/scripts/README.md
- Command line
-
hf download hf://datasets/kazeevn/LeMat-Bulk-fixed/scripts/README.md
-
curl -L -o README.md https://huggingface.co/datasets/kazeevn/LeMat-Bulk-fixed/resolve/main/scripts/README.md
2.07 kB
Pipeline
Run in order, each with the work directory as the first argument
(build_fixed.py WORK OUT). Paths to the upstream HF snapshot and the MP S3
manifests are hard-coded at the top of the scripts. mpclient.py reads MP_API_KEY
from a .env file.
load_meta.py: per-row metadata from upstreamcompatible_pbe.join.py: joins in the MLIP energies ofLeMat-Bulk-MLIP-Hull-All.dl_collections.py: the MP thermoGGA_GGA+Ucollection. Its unsorted core pull is superseded by step 4.dl_core.py: MP material docs for the LeMat MP ids.dl_tasks.py: task metadata for every GGA/GGA+U static and relaxation.dl_aliases.py: LeMat ids MP has merged into other materials, mapped to their parent material.identify.py: the upstream source task per row, MP's current task, and the provenance group.s3_extract.py: candidate tasks' full outputs froms3://materialsproject-parsed.review_rows.py: full upstream rows under review.decide.py: geometry matching and the replace/keep rules.label_geo.py: StructureMatcher labels for whole-structure replacements.check_contacts.py: shortest-bond sanity check on every replacement.s3_steps.py: last-ionic-step forces/stress for replacement tasks whose output fields are empty. Readsneed_steps.txt, the new task ids of replaced rows with empty forces.build_fixed.py: writes the shards andaudit/changes.parquet. It also fills upstream-empty forces/stress fromscripts/recover_mp_forces.py'scache/mp_forces_recovery/runs/full/results.parquet. Removals come only fromremoval_causes.py, each with its evidence, plus MP-deprecated materials with measured non-standard-POTCAR offsets.
The evidence for the calculation defects comes from two scripts:
traj_find.py: Alexandria relaxation trajectories fromLeMaterial/LeMat-Traj.siblings.py: identical-structure duplicates across MP, Alexandria and OQMD.
Alexandria's Bader charges come from its OPTIMADE API, and the MP task documents from S3.