CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pylibmc

Quick and small memcached client for Python

86

1.03x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates whether the solution leans on pylibmc's conditional write and string concatenation APIs to manage the cache-backed text journal, avoiding read-modify-write races. Scoring rewards direct use of those primitives instead of recreating behavior with manual get/set flows.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Add only-if-absent",
      "description": "Initialization path calls pylibmc.Client.add (or equivalent mapping-style add) so seeding occurs only when the key is missing, and the return value reflects that add result without overwriting existing data.",
      "max_score": 25
    },
    {
      "name": "Replace existing",
      "description": "Overwrite flow uses pylibmc.Client.replace to update an already-present entry (passing TTL when provided) and treats a missing key as a falsey outcome rather than creating it via set.",
      "max_score": 25
    },
    {
      "name": "Append concat",
      "description": "Appending text leverages pylibmc.Client.append to add a newline-delimited suffix without fetching the current value or re-encoding manually.",
      "max_score": 25
    },
    {
      "name": "Prepend concat",
      "description": "Banner handling calls pylibmc.Client.prepend to prefix text onto the existing value instead of performing manual concatenation and set.",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pylibmc

tile.json