agentsclimarketplace

Run3 Run Unit Test in Python 3 10 Environment

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-haiku-4-5/nlp-paper-reproduction/run3_Run-Unit-Test-in-Python-3-10-Environment

Use to execute the unit test within the Python 3.10 virtual environment after implementing the loss function. This validates the implementation against fixed input tensors.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_Run-Unit-Test-in-Python-3-10-Environment

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.9 KB, 203 tokens by cl100k_base, as published. Nobody here has run it

  1. Ensure Python 3.10 environment is active:

    source /root/.venv310/bin/activate
    python -VV
    
  2. Navigate to project root:

    cd /root/SimPO
    
  3. Run the unit test:

    python unit_test/unit_test_1.py
    
  4. Verify output file was created:

    ls -lh /root/loss.npz
    
  5. Inspect the saved loss values (optional verification):

    python -c "import numpy as np; data = np.load('/root/loss.npz'); print(data['losses'])"
    
  6. Check for any error messages:

    • If test fails, review error traceback
    • Verify tensor shapes match test expectations
    • Confirm loss computation logic against paper formula

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.