or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/hishel@0.1.x
tile.json

tessl/pypi-hishel

tessl install tessl/pypi-hishel@0.1.0

Persistent 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%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses the hishel package to implement HTTP cache validation using ETag and Last-Modified headers. The focus is on proper usage of hishel's built-in conditional request generation and 304 Not Modified handling capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Hishel Client Usage",
      "description": "Uses hishel.CacheClient or hishel.AsyncCacheClient as the underlying HTTP client rather than implementing caching from scratch",
      "max_score": 25
    },
    {
      "name": "Storage Backend",
      "description": "Configures a storage backend such as hishel.FileStorage, hishel.SQLiteStorage, or hishel.InMemoryStorage for caching responses",
      "max_score": 10
    },
    {
      "name": "Proper Client Setup",
      "description": "Correctly initializes hishel.CacheClient with appropriate storage backend, allowing hishel to automatically handle cache validators",
      "max_score": 15
    },
    {
      "name": "ETag Handling",
      "description": "Implementation correctly leverages hishel's automatic If-None-Match header generation from cached ETag values for conditional requests",
      "max_score": 20
    },
    {
      "name": "Last-Modified Handling",
      "description": "Implementation correctly leverages hishel's automatic If-Modified-Since header generation from cached Last-Modified values for conditional requests",
      "max_score": 20
    },
    {
      "name": "304 Response Handling",
      "description": "Relies on hishel's built-in 304 Not Modified response handling to serve cached content without manual intervention",
      "max_score": 10
    }
  ]
}