CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-furl

URL manipulation made simple.

65

1.58x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates whether the solution leverages furl to build reusable API URLs with joining, cloning, serialization, and component export per the spec. Checks prioritize use of furl APIs (join, tostr, copy, asdict/args) over manual string handling. Only package usage relevant to these behaviors is scored.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Join usage",
      "description": "Creates and updates URLs using `furl.furl` and its `.join()` or path composition helpers rather than manual string concatenation, matching the composed path and query scenario.",
      "max_score": 30
    },
    {
      "name": "Serialization options",
      "description": "Produces strings via `furl.tostr()` (or `str(furl_obj)`) with `query_delimiter` and `query_quote_plus`/`dont_quote` tuned to emit ';' delimiting and `%20` spacing as required.",
      "max_score": 25
    },
    {
      "name": "Copy isolation",
      "description": "Employs `furl.copy()` to clone URLs so later mutations on the original do not affect the clone, confirming independent outputs.",
      "max_score": 20
    },
    {
      "name": "Dict export",
      "description": "Uses `furl.asdict()` to emit a component dictionary including scheme, host, port, path segments, and ordered query pairs consistent with the composed URL.",
      "max_score": 15
    },
    {
      "name": "Query merging",
      "description": "Combines default and per-call query params through `furl.args`/`Query` operations (e.g., `set` or `add`) to preserve ordering and multi-value behavior instead of plain dict merges.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-furl

tile.json