Datasets:
|
Download docs/schema/pull_request.md from risenlab/agentlogs: direct link, hf CLI and curl.
- Browser
- Download file 8.97 kB
-
https://huggingface.co/datasets/risenlab/agentlogs/resolve/main/docs/schema/pull_request.md
- Command line
-
hf download hf://datasets/risenlab/agentlogs/docs/schema/pull_request.md
-
curl -L -o pull_request.md https://huggingface.co/datasets/risenlab/agentlogs/resolve/main/docs/schema/pull_request.md
8.97 kB
Pull Request
This is the documentation for schema
v1.0
| Description | GitHub pull request collected from a task or session. |
|---|---|
| Parquet table | pull_requests |
| Schema definition | agentlogs/schema/types/pull_request.py |
Data sources
- Pull request (see
found_using):graphql_global_id: GitHub GraphQLnode(id:)(documentation)graphql_number_repo: GitHub GraphQLrepository.pullRequest(number:)(documentation)graphql_mint_global_id: GitHub GraphQLnode(id:)with a mintedglobal_idfrom the base64-encoded011:PullRequest{id}(documentation)rest_number_repo: GitHub RESTGET /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 created this pull request as an artifact (see Agent Task pull_request_artifacts). |
created_by_sessions (list) |
Agent Session | pull_request_artifact |
Sessions that created this pull request (see Agent Session pull_request_artifact). |
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 |