Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/Python日期区间按季度拆分脚本
编写Python 2脚本,将指定的日期范围按照季度标准拆分为多个子区间,并支持输出季度标签(如YYYYQ#)。
Passed 21 of 22 test cases with the skill, and 15 of 22 without it.
and 4 more in the full report
7 fixed14 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
用 Python 2 写一段脚本,按季度切分 2022-08-01 到 2023-01-15,并用 print 语句把每段结果与季度标记逐行打印出来。
| Checked | Without skill | With skill |
|---|---|---|
| Executes print statement without function call parentheses | Passed | Passed |
| Separates start date and end date with ' - ' | Missed | Passed |
The instructions your model reads when the skill loads.
编写Python 2脚本,将指定的日期范围按照季度标准拆分为多个子区间,并支持输出季度标签(如YYYYQ#)。
编写Python 2脚本,用于将输入的日期区间按季度进行拆分。
输入:2023-10-01 到 2024-04-17 输出: 2023-10-01 - 2023-12-31, 2023Q4 2024-01-01 - 2024-03-31, 2024Q1 2024-04-01 - 2024-04-17, 2024Q2
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.