40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"sites": [
|
|
"reddit",
|
|
"gitlab"
|
|
],
|
|
"task_id": 685,
|
|
"require_login": true,
|
|
"storage_state": "./.auth/gitlab.reddit_state.json",
|
|
"start_url": "http://localhost:28080",
|
|
"geolocation": null,
|
|
"intent_template": "Promote {{repo}} to subreddit {{subreddit}} with the description from the repo itself.",
|
|
"instantiation_dict": {
|
|
"repo": "byteblaze/dotfiles",
|
|
"subreddit": "aww"
|
|
},
|
|
"intent": "Promote byteblaze/dotfiles to subreddit aww with the description from the repo itself.",
|
|
"require_reset": false,
|
|
"eval": {
|
|
"eval_types": [
|
|
"url_match",
|
|
"program_html"
|
|
],
|
|
"reference_answers": null,
|
|
"reference_url": "http://localhost:28080/f/aww",
|
|
"program_html": [
|
|
{
|
|
"url": "last",
|
|
"locator": "document.querySelector('.submission__inner').outerText + [...document.querySelector('.submission__inner').querySelectorAll('[href],[src]')].map(elem => elem.getAttribute('href') || elem.getAttribute('src')).join(' ')",
|
|
"required_contents": {
|
|
"must_include": [
|
|
"Computer setup",
|
|
"http://localhost:28084/byteblaze/dotfiles"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"url_note": "GOLD in PRED"
|
|
},
|
|
"intent_template_id": 117
|
|
} |