tessl install tessl/pypi-hishel@0.1.0Persistent cache implementation for httpx and httpcore following RFC 9111 specification
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.48x
Baseline
Agent success rate without this tile
50%
{
"context": "This evaluation assesses how effectively the engineer uses the hishel package to implement HTTP caching with stale response handling and directive prohibition enforcement. The focus is on proper usage of cache configuration options, cache control directive handling, and shared/private cache mode distinctions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CacheOptions usage",
"description": "Uses hishel's CacheOptions class to configure cache behavior, including the allow_stale parameter to enable or disable serving stale responses",
"max_score": 20
},
{
"name": "Storage backend",
"description": "Properly initializes and uses a hishel storage backend (AsyncSqliteStorage, SyncSqliteStorage, or similar) with appropriate TTL configuration",
"max_score": 15
},
{
"name": "Cache client integration",
"description": "Uses hishel's caching client classes (AsyncCacheClient, SyncCacheClient, or transport wrappers) to wrap HTTP operations with caching",
"max_score": 15
},
{
"name": "allow_stale configuration",
"description": "Correctly configures the allow_stale parameter in CacheOptions to control whether stale responses can be served when cache is expired",
"max_score": 15
},
{
"name": "Directive prohibition handling",
"description": "Implementation demonstrates that hishel correctly respects no-cache, must-revalidate, and proxy-revalidate directives that prohibit serving stale content, even when allow_stale is enabled",
"max_score": 20
},
{
"name": "Shared cache mode",
"description": "Correctly uses the shared parameter in CacheOptions to configure cache as shared (for proxy-revalidate testing) or private",
"max_score": 10
},
{
"name": "Response metadata inspection",
"description": "Accesses hishel's response metadata (hishel_from_cache, hishel_revalidated, or similar) to verify cache hit/miss behavior in tests",
"max_score": 5
}
]
}