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 how well the solution uses go-github's request-building helpers to create JSON, form-encoded, and upload requests that satisfy the spec. Scoring emphasizes correct SDK calls, header handling, and upload option usage rather than generic HTTP code.",
"type": "weighted_checklist",
"checklist": [
{
"name": "JSON builder",
"description": "Uses github.Client.NewRequest/NewRequestWithContext to construct the discussion JSON request with the repo path and structured body instead of hand-building http.Request values.",
"max_score": 30
},
{
"name": "JSON headers",
"description": "Applies API version and preview Accept headers on the JSON request via req.Header (e.g., Accept: application/vnd.github+json plus preview token, X-GitHub-Api-Version) while keeping authentication handled through the SDK client/token setup.",
"max_score": 20
},
{
"name": "Form helper",
"description": "Builds the OAuth token exchange call with github.NewFormRequest/NewFormRequestWithContext (or the client equivalent) so form fields are URL-encoded and the request advertises application/x-www-form-urlencoded and JSON response acceptance.",
"max_score": 20
},
{
"name": "Upload helper",
"description": "Creates the release asset upload call with github.Client.NewUploadRequest using the provided upload URL, media type, size, and io.Reader, and uses github.UploadOptions (name/label) to encode query parameters instead of manual string concatenation.",
"max_score": 25
},
{
"name": "Context use",
"description": "Propagates caller contexts into the helper methods by using context-aware SDK builders (NewRequestWithContext/NewFormRequestWithContext) rather than ignoring provided contexts.",
"max_score": 5
}
]
}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