tessl install tessl/pypi-google-auth-oauthlib@1.2.0Google Authentication Library - oauthlib integration for OAuth 2.0 flows.
Agent Success
Agent success rate when using this tile
83%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
79%
{
"context": "This evaluation assesses how effectively the engineer uses google-auth-oauthlib package functions to load OAuth client configuration from files, validate configuration parameters, and create properly configured OAuth2Session instances for authorization flows.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Load client secrets",
"description": "Uses google_auth_oauthlib.helpers.load_client_secrets() or similar function from the package to read and parse the client secrets JSON file",
"max_score": 25
},
{
"name": "Handle client types",
"description": "Correctly handles both 'installed' and 'web' client type configurations from the loaded client secrets, properly extracting the nested configuration structure",
"max_score": 15
},
{
"name": "Session creation function",
"description": "Uses google_auth_oauthlib.helpers.session_from_client_config() or google_auth_oauthlib.helpers.session_from_client_secrets_file() to create OAuth2Session instances",
"max_score": 30
},
{
"name": "Configuration validation",
"description": "Validates that required OAuth fields (auth_uri, token_uri, client_id) are present in the configuration before creating the session",
"max_score": 15
},
{
"name": "Scope handling",
"description": "Correctly passes scopes parameter when creating the OAuth2Session so that the session is configured with the requested OAuth scopes",
"max_score": 10
},
{
"name": "Error handling",
"description": "Properly handles and raises appropriate errors for missing files, invalid configuration formats, and missing required fields as specified in the problem",
"max_score": 5
}
]
}