Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/python
Language-specific super-code guidelines for python.
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
2 fixed17 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python function `calculate_total_price` that takes a list of numeric prices `prices` and computes the sum after adding a 10% tax to each item. Optimize for memory consumption.
| Checked | Without skill | With skill |
|---|---|---|
| The sum function receives a generator expression without constructing an intermediate list. | Missed | Passed |
The instructions your model reads when the skill loads.
# ❌ Imperative accumulation
result = []
for item in items:
if item.active:
result.append(item.name.upper())
# ✅
result = [item.name.upper() for item in items if item.active]
# ❌ Dict built in a loop
d = {}
for k, v in pairs:
d[k] = v
# ✅
d = dict(pairs)
# or
d = {k: v for k, v in pairs}
test cases passed, vs 18 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.