Ctrl + k

or run

tessl search
Log in

Version

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

tessl/pypi-pylibmc

tessl install tessl/pypi-pylibmc@1.6.0

Quick and small memcached client for Python

Agent Success

Agent success rate when using this tile

86%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.04x

Baseline

Agent success rate without this tile

83%

rubric.jsonevals/scenario-2/

{
  "context": "Evaluates how well the solution uses pylibmc's compression controls when writing and reading cache entries with per-call overrides for threshold and compression level. Emphasizes correct use of pylibmc write/read APIs with overrides versus defaults.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Set threshold override",
      "description": "`AdaptiveCache.store` calls `pylibmc.Client.set` with `min_compress_len` set from the per-call `min_bytes` argument and falls back to `default_min_bytes` when no override is provided.",
      "max_score": 20
    },
    {
      "name": "Set compression level",
      "description": "`AdaptiveCache.store` passes `compress_level` to `client.set`, using the per-call override when provided and otherwise using the constructor's `default_level` without mutating it between calls.",
      "max_score": 20
    },
    {
      "name": "Bulk overrides",
      "description": "`AdaptiveCache.store_many` uses `client.set_multi` with `min_compress_len` and `compress_level` derived from the provided overrides or defaults and returns the failed keys from `set_multi` unchanged.",
      "max_score": 20
    },
    {
      "name": "Reads via client",
      "description": "`AdaptiveCache.load` retrieves values through `client.get` (or equivalent pylibmc read) and returns the provided default for missing keys without performing manual compression or decompression.",
      "max_score": 20
    },
    {
      "name": "Reuse provided client",
      "description": "All cache operations reuse the injected `pylibmc.Client` instance instead of creating new clients or bypassing pylibmc, ensuring compression settings apply to every write.",
      "max_score": 20
    }
  ]
}