CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/golang-github-com-google-go-github

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%

Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "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.1

tile.json