Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill covers patterns for creating and managing test scorer endpoints. Trigger: Load this skill when working with the test_scorer module.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -54% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -58% | 0% |
<!-- L1:START -->
This skill covers patterns for creating and managing test scorer endpoints.
Trigger: Load this skill when working with the test_scorer module. <!-- L1:END -->
<!-- L2:START -->
| Task | Pattern | |------|---------| | Create a user | create_user | | Retrieve users | get_users |
create_user to add a new user to the system.get_users to fetch a list of all users.<!-- L2:END -->
<!-- L3:START -->
Use create_user to add a new user to the system, ensuring proper data handling.
pythonfrom tests.test_scorer import create_user new_user = create_user(name="John Doe", email="john@example.com")
Utilize get_users to fetch a list of all users, which can be useful for displaying user data.
pythonfrom tests.test_scorer import get_users users = get_users()
bashpytest tests/test_scorer.py
Hardcoding user data can lead to brittle tests that fail with changes in requirements.
python# BAD user = create_user(name="Hardcoded User", email="hardcoded@example.com")
<!-- L3:END -->
Other measured skills in the registry, with their headline benchmark lift.