Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
License:
agentlogs / docs /schema /pull_request.md
jonan-richards's picture
Update dataset card
c58e2be verified
|
Raw History Blame Contribute Delete
9.34 kB

Pull Request

This is the documentation for schema v1.0

Changelog

DescriptionGitHub pull request collected from a task or session.
Parquet tablepull_requests
Schema definitionagentlogs/schema/types/pull_request.py

Data sources

  • Pull request (see found_using):
    • graphql_global_id: GitHub GraphQL node(id:) (documentation)
    • graphql_number_repo: GitHub GraphQL repository.pullRequest(number:) (documentation)
    • graphql_mint_global_id: GitHub GraphQL node(id:) with a minted global_id from the base64-encoded 011:PullRequest{id} (documentation)
    • rest_number_repo: GitHub REST GET /repos/{owner}/{repo}/pulls/{pull_number} (documentation)

Only successful GitHub API responses are stored. Other tables may contain references to this table with no matching row.

Relations

Property Related table Related field Description
repository Repository
created_by_tasks (list) Agent Task pull_request_artifacts Tasks that worked on this pull request as an artifact (see Agent Task pull_request_artifacts). The field name is inaccurate: it does not mean the agent created this pull request. The agent may have opened it, or only reviewed it, commented on it, or otherwise worked on it.
created_by_sessions (list) Agent Session pull_request_artifact Sessions that worked on this pull request as an artifact (see Agent Session pull_request_artifact). The field name is inaccurate: it does not mean the agent created this pull request. The agent may have opened it, or only reviewed it, commented on it, or otherwise worked on it.
user (optional) User pull_requests
assignees (list) User assigned_pull_requests
requested_reviewers (list) User review_requested_pull_requests Users only. Review requests to teams are not collected: GitHub GraphQL Team fields on review requests require org scopes this collection does not use. Only the first 20 are fetched.
merged_by (optional) User merged_pull_requests
auto_merge.enabled_by (optional) User auto_merge_enabled_pull_requests

Fields

Property Type GitHub field Description
id int (optional) id
graphql_id str node_id
number int number
found_using str graphql_global_id, graphql_number_repo, graphql_mint_global_id, or rest_number_repo. See Data sources
timeline_found bool
repository struct{} See Relations.
    full_name str
created_by_tasks list[] See Relations.
    id str id
created_by_sessions list[] See Relations.
    id str id
user struct{} (optional) user See Relations.
    id int (optional) user
.id
    login str (optional) user
.login
    graphql_id str (optional) user
.node_id
    type str (optional) user
.type
assignees list[] assignees See Relations.
    id int (optional) assignees[]
.id
    login str (optional) assignees[]
.login
    graphql_id str (optional) assignees[]
.node_id
    type str (optional) assignees[]
.type
requested_reviewers list[] requested_reviewers See Relations.
    id int (optional) requested_reviewers[]
.id
    login str (optional) requested_reviewers[]
.login
    graphql_id str (optional) requested_reviewers[]
.node_id
    type str (optional) requested_reviewers[]
.type
merged_by struct{} (optional) merged_by See Relations.
    id int (optional) merged_by
.id
    login str (optional) merged_by
.login
    graphql_id str (optional) merged_by
.node_id
    type str (optional) merged_by
.type
title str title
body str (optional) body
state str state
locked bool locked
draft bool draft
labels list[str] labels[]
.name
Only the first 20 are fetched.
active_lock_reason str (optional) active_lock_reason
created_at datetime created_at
updated_at datetime updated_at
closed_at datetime (optional) closed_at
merged_at datetime (optional) merged_at
head struct{} head
    ref str head
.ref
    sha str head
.sha
base struct{} base
    ref str base
.ref
    sha str base
.sha
author_association str author_association
auto_merge struct{} (optional)
    enabled_by struct{} (optional) enabled_by See Relations.
        id int (optional) enabled_by
.id
        login str (optional) enabled_by
.login
        graphql_id str (optional) enabled_by
.node_id
        type str (optional) enabled_by
.type
    merge_method str merge_method
    commit_title str (optional) commit_title
    commit_message str (optional) commit_message
merged bool merged
mergeable bool (optional) mergeable
mergeable_state str mergeable_state
maintainer_can_modify bool maintainer_can_modify
additions_count int additions
deletions_count int deletions
changed_files_count int changed_files