Run2 unit test execution and verification
Creates an orchestration script to run the immutable unit test and capture the output loss values.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_unit_test_execution_and_verificationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.6 KB, 120 tokens by cl100k_base, as published. Nobody here has run it
- Create a script
/root/run_verification.pythat importsSimPOTrainerfrom/root/SimPO/scripts/simpo_trainer.py. - Within this script, import the testing logic from
/root/SimPO/unit_test/unit_test_1.py. - Execute the unit test functions while capturing the returned
losstensor. - Convert the captured tensor to a numpy array, ensuring it is cast to
float32. - Use
numpy.savez('/root/loss.npz', losses=captured_array)to persist the results for final evaluation.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.