trace_synthesis/tasks/617.json
yuyr a84d51a101 1. 增加r1生成综合策略代码和输出;
2. 增加tasks;
3. 增加analysis部分,对策略进行归纳分类,然后进行评测。
2025-04-17 17:40:15 +08:00

47 lines
1.4 KiB
JSON

{
"sites": [
"reddit"
],
"task_id": 617,
"require_login": true,
"storage_state": "./.auth/reddit_state.json",
"start_url": "http://localhost:28080/f/pics",
"geolocation": null,
"intent_template": "Re-post the image of {{content}} in this page to {{subreddit}} subreddit and note \"from /f/pics\"",
"instantiation_dict": {
"content": "Firework",
"subreddit": "earthporn"
},
"intent": "Re-post the image of Firework in this page to earthporn subreddit and note \"from /f/pics\"",
"require_reset": false,
"eval": {
"eval_types": [
"url_match",
"program_html"
],
"reference_answers": null,
"reference_url": "http://localhost:28080/f/earthporn",
"program_html": [
{
"url": "func:reddit_get_post_url('__last_url__')",
"locator": "document.querySelector('.submission__inner').outerText",
"required_contents": {
"must_include": [
"from /f/pics"
]
}
},
{
"url": "func:reddit_get_post_url('__last_url__')",
"locator": "[...document.querySelector('.submission__inner').querySelectorAll('[href],[src]')].map(elem => elem.getAttribute('href') || elem.getAttribute('src')).join(' ')",
"required_contents": {
"must_include": [
"92411be6af4e9ad5ccd3ccbaa01c10457bb00e704e99c58dd430de1a958307fd.jpg"
]
}
}
],
"url_note": "GOLD in PRED"
},
"intent_template_id": 11
}