Python and Django SDK for Cloudinary, a cloud-based image and video management service with comprehensive transformation, optimization, and delivery capabilities
Overall
score
94%
{
"context": "This evaluation assesses the engineer's ability to use the Cloudinary Search API to build complex search queries with filtering, sorting, and pagination. The focus is on proper usage of the Search class and its methods for constructing expression-based queries.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Search class instantiation",
"description": "Correctly imports and instantiates the Search class from cloudinary.search module using Search() constructor",
"max_score": 10
},
{
"name": "Expression method usage",
"description": "Uses the expression() method to build search queries with proper syntax for filtering by format (e.g., 'resource_type:image AND format:jpg')",
"max_score": 20
},
{
"name": "Byte size filtering",
"description": "Correctly incorporates min_bytes parameter into the search expression using comparison operators (e.g., 'bytes:>100000' or 'bytes:>=100000')",
"max_score": 12
},
{
"name": "Tag filtering",
"description": "Properly adds tag filtering to the search expression when tag parameter is provided (e.g., 'tags:product')",
"max_score": 10
},
{
"name": "Date range filtering",
"description": "Implements date filtering using relative time expressions in the search query (e.g., 'created_at:>7d' when days_back is provided)",
"max_score": 8
},
{
"name": "Sort method usage",
"description": "Uses the sort_by() method to sort results by 'created_at' field in descending order ('desc')",
"max_score": 10
},
{
"name": "Pagination implementation",
"description": "Implements pagination using max_results() and next_cursor() methods to retrieve all results across multiple pages, calling execute() method to run each query",
"max_score": 20
},
{
"name": "Result processing",
"description": "Correctly extracts data from search results including 'resources' list, 'total_count', and 'next_cursor' from the response dictionary",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-cloudinarydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10