CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-furl

URL manipulation made simple.

65

1.58x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates how well the solution leans on furl's low-level URL/path helpers (urljoin, urlsplit, join_path_segments, remove_path_segments) to compose and inspect URLs defined in the spec, avoiding custom parsing. Emphasis is on correct helper choice for joining, trimming, and splitting behaviors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Relative join",
      "description": "resolve_relative delegates to furl.urljoin (or equivalent) so parent/relative segments, queries, and fragments are resolved exactly as the helper would.",
      "max_score": 25
    },
    {
      "name": "Segment build",
      "description": "join_segments uses furl.join_path_segments (or Path-based helper) to append and normalize segments instead of manual string concatenation.",
      "max_score": 20
    },
    {
      "name": "Segment trim",
      "description": "trim_segments relies on furl.remove_path_segments to drop trailing segments while preserving leading slashes and not trimming past root.",
      "max_score": 20
    },
    {
      "name": "URL split",
      "description": "split_components pulls fields from furl.urlsplit so scheme, auth, host, port, path, query, and fragment come from the helper rather than custom parsing.",
      "max_score": 20
    },
    {
      "name": "Helper consistency",
      "description": "Across functions, avoids reimplementing URL math; consistently uses furl helpers for normalization/decoding and returns values aligned with helper outputs.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-furl

tile.json