Run2 project alignment
Procedures for aligning a project-specific environment to its `environment.yml` and project-root structure.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_project_alignmentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.0 KB, 185 tokens by cl100k_base, as published. Nobody here has run it
Aligning Project Environment
When a project provides an environment.yml but conda is unavailable, align the project manually using pip.
-
Extracting Pip Dependencies: Extract all
pip:entries from theenvironment.ymland install them. -
Managing PYTHONPATH: Ensure the project root is in the
PYTHONPATHto correctly resolve local imports.export PYTHONPATH=$PYTHONPATH:$(pwd) -
Verifying with Unit Tests: Run unit tests from the project root and ensure they use the correct trainer/config classes by referencing them as
scripts.<module>or similar. -
Saving Results for Reproductivity: Always use fixed output files like
/root/loss.npzand document system versions in/root/python_info.txtto help others reproduce results exactly.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.