Go client library for accessing the GitHub API v3
Agent Success
Agent success rate when using this tile
65%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.14x
Baseline
Agent success rate without this tile
57%
{
"context": "Evaluates whether the solution builds a go-github client that enforces API version headers, conditionally applies preview media types, and walks paginated audit log results using both numeric pages and before/after tokens.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Version header",
"description": "Constructs the client with go-github options such as github.WithVersion when calling github.NewClient so every request sends the X-GitHub-Api-Version value from config and rejects an empty version.",
"max_score": 25
},
{
"name": "Preview toggle",
"description": "Builds audit-log requests with github.NewRequest (or service helpers) and sets a preview Accept header string only when EnablePreview is true, omitting that header when the flag is false.",
"max_score": 25
},
{
"name": "Pagination options",
"description": "Uses go-github pagination helpers (e.g., github.ListOptions for page/per_page and github.ListCursorOptions or page tokens) when issuing list calls so both numeric pages and before/after tokens from callers are supported.",
"max_score": 20
},
{
"name": "Token extraction",
"description": "Reads pagination metadata from github.Response fields such as NextPage, NextPageToken, PrevPageToken, or Before/After to populate the returned PageInfo instead of manually parsing headers.",
"max_score": 15
},
{
"name": "Pagination stop",
"description": "Stops FetchAll loops based on the absence of github.Response pagination markers (no NextPage and no NextPageToken) rather than hard-coded iteration counts.",
"max_score": 15
}
]
}tessl i tessl/golang-github-com-google-go-github@79.0.1docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10