CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-furl

URL manipulation made simple.

65

1.58x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates whether the solution relies on furl's inline add/set/remove helpers to mutate path, query, and fragment components in the prescribed order for the URL recipe transformation. Confirms reliance on library chaining instead of manual parsing when applying recipe-driven additions, overrides, and removals.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Add chaining",
      "description": "Uses a single furl instance with add() to append path segments and query entries from the recipe, allowing list values to emit ordered repeated parameters instead of manual string assembly.",
      "max_score": 20
    },
    {
      "name": "Set overrides",
      "description": "Invokes set() on the same furl object to replace query keys specified for overriding (and fragment query overrides when provided) after additive steps, clearing any previous values rather than manually editing strings.",
      "max_score": 20
    },
    {
      "name": "Remove cleanup",
      "description": "Calls remove() to drop all occurrences of disallowed query keys (and fragment query keys) after other mutations, avoiding ad hoc parsing or filtering.",
      "max_score": 20
    },
    {
      "name": "Fragment mutation",
      "description": "Updates fragment path and query via inline helpers (fragment.add/set/remove or equivalent fragment_path/fragment_args usage) instead of reconstructing the hash manually, preserving existing fragment parts not targeted by the recipe.",
      "max_score": 20
    },
    {
      "name": "Single-instance return",
      "description": "Performs the recipe-driven add/set/remove chain on one furl object and returns the final string via url/tostr() or equivalent serialization, without rebuilding the URL by concatenation.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-furl

tile.json