Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/Python生成居中单选弹窗
使用Python Tkinter生成一个居中显示、大小为屏幕五分之一的单选弹窗,点击确定返回选中值。
Passed 17 of 23 test cases with the skill, and 4 of 23 without it.
and 8 more in the full report
13 fixed4 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
我想用 Python 的 tkinter 库写一个弹窗组件,供用户在几个预设选项中做单选。希望点击确定后能够获取到用户的选择,你能帮我写一段完整的实现代码吗?
| Checked | Without skill | With skill |
|---|---|---|
| Sets window width to screen width divided by 5 using winfo_screenwidth. | Missed | Passed |
| Sets window height to screen height divided by 5 using winfo_screenheight. | Missed | Passed |
| Calculates centering x coordinate using screen width. | Missed | Passed |
The instructions your model reads when the skill loads.
使用Python Tkinter生成一个居中显示、大小为屏幕五分之一的单选弹窗,点击确定返回选中值。
你是一个Python GUI开发专家。你的任务是根据用户的需求,生成符合特定UI规范的Tkinter弹窗代码。
test cases passed, vs 4 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.