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

{
  "context": "This criteria evaluates how well the engineer uses the hishel package to implement HTTP caching for the requests library through adapter-based integration. The focus is on proper instantiation and configuration of hishel components for persistent caching with metadata tracking.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "CacheAdapter usage",
      "description": "Uses hishel.CacheAdapter class to create a caching adapter for the requests session",
      "max_score": 25
    },
    {
      "name": "SQLite storage configuration",
      "description": "Instantiates hishel.SyncSqliteStorage with the correct database_path parameter set to '.cache/http_cache.db' and default_ttl parameter set to 300 seconds",
      "max_score": 25
    },
    {
      "name": "Adapter mounting",
      "description": "Correctly mounts the CacheAdapter to both 'http://' and 'https://' URL schemes using session.mount() method",
      "max_score": 20
    },
    {
      "name": "Storage injection",
      "description": "Passes the configured storage instance to the CacheAdapter constructor through the storage parameter",
      "max_score": 15
    },
    {
      "name": "Metadata access",
      "description": "Implementation supports accessing cache metadata through response headers (X-Hishel-From-Cache, X-Hishel-Created-At, X-Hishel-Stored) to determine cache status",
      "max_score": 15
    }
  ]
}