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-1/

{
  "context": "Assesses whether the release asset helper uses go-github to stream uploads, control release asset download redirects, and fetch raw diff/patch content. Grading focuses only on correct usage of the library's upload helpers, redirect-aware download API, and RawOptions formatting.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Upload helper",
      "description": "Builds and submits the asset upload via go-github (e.g., NewUploadRequest plus Repositories.UploadReleaseAsset) with UploadOptions for the asset name rather than manually crafting HTTP calls.",
      "max_score": 20
    },
    {
      "name": "Media type & size",
      "description": "Sets the media type and size on NewUploadRequest from the input stream metadata so the upload preserves filename, content type, and length while streaming the reader.",
      "max_score": 15
    },
    {
      "name": "Redirect control",
      "description": "Uses Repositories.DownloadReleaseAsset with the provided maxRedirects value; returns the Location redirect URL when the budget is zero/exhausted and streams the body when redirects are allowed, closing the response reader.",
      "max_score": 25
    },
    {
      "name": "Raw diff selection",
      "description": "Requests raw text with RawOptions{Type: \"diff\"|\"patch\"}, calling PullRequests.GetRaw for pull numbers and Repositories.CompareCommitsRaw/GetCommitRaw for commit ranges or single commits to honor the requested format.",
      "max_score": 25
    },
    {
      "name": "Format guard",
      "description": "Validates the requested format and fails fast for anything other than diff/patch before issuing GitHub API calls, preventing RawOptions creation or requests with unsupported media types.",
      "max_score": 15
    }
  ]
}
tessl i tessl/golang-github-com-google-go-github@79.0.1

tile.json