CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tildify

Convert an absolute path to a tilde path by replacing the user's home directory with ~

93

1.09x

Evaluation93%

1.09x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the tildify package to handle trailing separator edge cases when converting absolute paths to tilde notation. The focus is on understanding that tildify inherently handles these edge cases correctly.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses tildify package",
      "description": "The solution imports and uses the tildify package (default export function) as the primary mechanism for path conversion",
      "max_score": 50
    },
    {
      "name": "Direct function call",
      "description": "The solution directly calls tildify with the input path without unnecessary preprocessing or post-processing of trailing separators, trusting that tildify handles these edge cases internally",
      "max_score": 30
    },
    {
      "name": "Passes all tests",
      "description": "The solution correctly passes all test cases including paths with trailing separators, exact home directory matches (with and without trailing separators), and standard paths, demonstrating that tildify's built-in trailing separator handling works correctly",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-tildify

tile.json