tessl install tessl/pypi-pylibmc@1.6.0Quick 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%
{
"context": "Evaluates whether the solution wires pylibmc's custom serialization hooks into cache operations. Checks that JSON payloads are flagged, raw bytes are preserved, and CacheMiss is used to treat incompatible data as misses.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Hook wiring",
"description": "Custom serialize/deserialize functions are set on a pylibmc.Client (or subclass) so set/get calls flow through the hooks rather than manual pre/post-processing.",
"max_score": 20
},
{
"name": "JSON flagging",
"description": "serialize encodes dictionaries to UTF-8 JSON bytes and returns them with a nonzero custom flag, and deserialize decodes back to dicts when that flag is encountered.",
"max_score": 25
},
{
"name": "Bytes passthrough",
"description": "Bytes inputs bypass extra encoding and serialize returns them with a neutral/default flag (e.g., 0), with deserialize echoing the raw bytes for that flag.",
"max_score": 15
},
{
"name": "Cache miss sentinel",
"description": "deserialize returns pylibmc.CacheMiss (not None/False) for unrecognized flags so the backend treats those entries as misses rather than errors.",
"max_score": 25
},
{
"name": "Default handling",
"description": "Read helpers return the caller-provided default/None when CacheMiss is raised/returned, relying on pylibmc miss semantics and leaving cached data untouched.",
"max_score": 15
}
]
}