Dataset Viewer
Auto-converted to Parquet Duplicate
benchmark
stringclasses
1 value
task_name
stringclasses
28 values
task_seed
int64
0
19
task_config
stringlengths
2
514
goal
stringlengths
13
368
start_url
stringclasses
1 value
validation
stringclasses
28 values
gitlab
gitlab.add-followed-users-to-new-repo
0
{"account_list": "patou, egpast, westurner, jontutcher", "group_name": "crew", "visibility_level": "private", "project_name": "a temporary name until we come up with a better one"}
Follow patou, egpast, westurner, jontutcher on Gitlab and put them in a new group "crew". Create a new private project "a temporary name until we come up with a better one" afterwards and add them as collaborators
from typing import Any, Dict, List from urllib.parse import quote import requests import json import os def _get_headers(): return { "Content-Type": "application/json", "Accept": "application/json", **json.loads(os.getenv("GITLAB_EXTRA_HTTP_HEADERS", "{}")), } def _get_current_user():...
gitlab
gitlab.add-followed-users-to-new-repo
1
{"account_list": "sayakpaul, patrickhlauke", "group_name": "coding_friends", "visibility_level": "internal", "project_name": "akihat"}
Follow sayakpaul, patrickhlauke on Gitlab and put them in a new group "coding_friends". Create a new internal project "akihat" afterwards and add them as collaborators
from typing import Any, Dict, List from urllib.parse import quote import requests import json import os def _get_headers(): return { "Content-Type": "application/json", "Accept": "application/json", **json.loads(os.getenv("GITLAB_EXTRA_HTTP_HEADERS", "{}")), } def _get_current_user():...
gitlab
gitlab.add-followed-users-to-new-repo
2
{"account_list": "convexegg, dilipchandima, bmyun, DCMJY, linkmatrix, yjlou", "group_name": "webagent", "visibility_level": "public", "project_name": "DKJFKAJFOWEI"}
Follow convexegg, dilipchandima, bmyun, DCMJY, linkmatrix, yjlou on Gitlab and put them in a new group "webagent". Create a new public project "DKJFKAJFOWEI" afterwards and add them as collaborators
from typing import Any, Dict, List from urllib.parse import quote import requests import json import os def _get_headers(): return { "Content-Type": "application/json", "Accept": "application/json", **json.loads(os.getenv("GITLAB_EXTRA_HTTP_HEADERS", "{}")), } def _get_current_user():...
gitlab
gitlab.count-commits
0
{"date": "3/5/2023", "repo": "a11yproject", "user": "kilian"}
How many commits did kilian make to a11yproject on 3/5/2023?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
1
{"date": "3/2", "repo": "a11yproject", "user": "Eric"}
How many commits did Eric make to a11yproject on 3/2?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
2
{"date": "3/1/2023", "repo": "a11yproject", "user": "kilian"}
How many commits did kilian make to a11yproject on 3/1/2023?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
3
{"date": "1/3/2023", "repo": "a11yproject", "user": "Eric and Kilian"}
How many commits did Eric and Kilian make to a11yproject on 1/3/2023?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
4
{"date": "2/6/2023", "repo": "a11y-webring.club", "user": "Steven Woodson"}
How many commits did Steven Woodson make to a11y-webring.club on 2/6/2023?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
5
{"date": "3/5/2023", "user": "kilian", "repo": "a11yproject/a11yproject.com"}
How many commits did kilian make on 3/5/2023 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
6
{"date": "3/2", "user": "Eric", "repo": "a11yproject/a11yproject.com"}
How many commits did Eric make on 3/2 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
7
{"date": "1/3/2023", "user": "Eric and Kilian", "repo": "a11yproject/a11yproject.com"}
How many commits did Eric and Kilian make on 1/3/2023 in the a11yproject/a11yproject.com repo in total?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
8
{"period": "durning 2023", "user": "Kilian", "repo": "a11yproject/a11yproject.com"}
How many commits did Kilian make durning 2023 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
9
{"period": "between Feb 2023 and May 2023", "user": "Eric", "repo": "a11yproject/a11yproject.com"}
How many commits did Eric make between Feb 2023 and May 2023 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
10
{"period": "in 2023/1", "user": "Philip", "repo": "a11yproject/a11yproject.com"}
How many commits did Philip make in 2023/1 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
11
{"period": "between 08/2022-09/2022", "user": "Anthony", "repo": "a11yproject/a11yproject.com"}
How many commits did Anthony make between 08/2022-09/2022 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
12
{"period": "in April 2021", "user": "Nic", "repo": "a11yproject/a11yproject.com"}
How many commits did Nic make in April 2021 in the a11yproject/a11yproject.com repo?
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
13
{"repo": "primer/design"}
Tell me who has made the most contributions, in terms of number of commits, to the primer/design project
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
14
{"repo": "thoughtbot/administrate"}
Tell me who has made the most contributions, in terms of number of commits, to the thoughtbot/administrate project
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
15
{"repo": "AndroidSlidingUpPanel"}
Tell me who has made the most contributions, in terms of number of commits, to the AndroidSlidingUpPanel project
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
gitlab
gitlab.count-commits
16
{"repo": "Pytorch GAN"}
Tell me who has made the most contributions, in terms of number of commits, to the Pytorch GAN project
import os import re from calendar import monthrange from collections import Counter from datetime import datetime, timedelta from typing import Any, Dict, List from urllib.parse import quote import requests import json def _get_headers(): return { "Content-Type": "application/json", "Accept": "ap...
End of preview. Expand in Data Studio

GitLab Tasks

An evaluation dataset for web agents operating on a self-hosted GitLab instance. Each row contains a task goal, a configuration dict, and a standalone Python validation function that scores agent performance by querying the GitLab API.

Dataset overview

  • 155 samples across 23 task categories
  • Validators are self-contained Python functions that call the GitLab REST API to verify outcomes
Category Samples Description
add-followed-users-to-new-repo 3 Follow users, create a group, create a project, and add them as collaborators
create-group 5 Create a group and add members
create-issue 13 Create an issue in a repository
create-milestone 5 Create a milestone with start and end dates
create-pr 6 Create a merge request between branches
create-repo 20 Create a new project with visibility and member settings
follow-user 5 Follow one or more users
fork-repo 6 Fork a repository
get-and-update-info 3 Update status and profile, then report repository contributions
invite-user 15 Invite a user to a repository with a specific role
list-issues 12 List issues matching specific filters
list-pr 2 List merge requests matching specific filters
list-repos 6 List repositories matching criteria
open-issue 10 Find and open a specific existing issue
post-message 8 Post a comment on a merge request
show-command 5 Show the git clone command for a repository
star-fork-create-milestone-issues 3 Star and fork a repo, create a milestone, and create issues
star-repo 5 Star the top N most-starred repositories
update-issue 5 Assign an issue to a user
update-license 5 Change a repository's license
update-multiple-issues-single-repo 3 Add comments to multiple issues in a repository
update-profile 5 Update the user's profile homepage URL
update-status 5 Set the user's GitLab status

Schema

Column Type Description
benchmark string Benchmark name (gitlab)
task_name string Task category (e.g. gitlab.create-issue)
task_seed int YAML file ID the sample was generated from
task_config string JSON-encoded dict with task-specific parameters used for validation
goal string Natural language instruction shown to the agent
start_url string URL where the agent should begin (empty, defaults to GitLab home)
validation string Python source code of the validator module

Validation

Each validator module exposes a validate(messages, config) function:

def validate(messages: List[Dict[str, str]], config: Dict[str, Any]) -> int:
    """
    Args:
        messages: Conversation history (list of {"role": ..., "content": ...} dicts).
                  The last assistant message is checked for answer-based tasks.
        config:   The task_config dict for this sample.

    Returns:
        1 if the task was completed successfully, 0 otherwise.

    Raises:
        ValueError: If the task configuration is invalid.
    """

Validators call the GitLab REST API to verify outcomes. The following environment variables must be set:

Variable Description
GITLAB_BASE_URL Base URL of the GitLab instance (e.g. https://gitlab.example.com)
GITLAB_EXTRA_HTTP_HEADERS JSON string containing authentication headers (e.g. {"Authorization": "Bearer <token>"})

Usage

import ast
from datasets import load_dataset

ds = load_dataset("servicenow-ai/gitlab-tasks")

sample = ds["train"][0]
config = ast.literal_eval(sample["task_config"])

# Load the validator
exec(sample["validation"], globals())
score = validate(
    messages=[{"role": "assistant", "content": "Done."}],
    config=config,
)

Task categories

Single-action tasks

  • create-group / create-repo / create-issue / create-milestone / create-pr: Create a GitLab resource with specific attributes. Validated by querying the API for the created resource.
  • follow-user / fork-repo / star-repo: Social actions on users or repositories. Validated by checking the user's following list, fork list, or starred projects.
  • invite-user: Invite a user to a project with a specific access level. Validated by checking project membership.
  • update-issue / update-license / update-profile / update-status: Modify an existing resource. Validated by reading back the resource state from the API.
  • post-message: Post a comment on a merge request. Validated by fetching the MR's notes.

Information retrieval tasks

  • list-issues / list-pr / list-repos: The agent must return a URL with the correct query parameters. Validated by checking the URL prefix and query string.
  • open-issue: Find and navigate to a specific issue. Validated by matching the URL against the API's issue reference.
  • show-command: Return the SSH clone command for a repository. Validated by comparing against the API's ssh_url_to_repo.

Multi-step tasks

  • add-followed-users-to-new-repo: Follow users, create a group, create a project, and add collaborators. Validated by checking all sub-tasks via the API.
  • get-and-update-info: Update status and profile, then report repository contributions. Validated by checking status, profile URL, and message content.
  • star-fork-create-milestone-issues: Star a repo, fork it, create a milestone, and create issues. Validated by checking all sub-tasks via the API.
  • update-multiple-issues-single-repo: Add comments to multiple issues. Validated by checking issue notes.
Downloads last month
4

Collection including ServiceNow-AI/gitlab-tasks