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-8/

{
  "context": "This evaluation assesses how effectively the engineer uses the tildify package to solve the path formatting problem, specifically focusing on proper utilization of its core path normalization and tilde conversion capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports tildify",
      "description": "The solution imports the tildify package using the correct import syntax (either ES6 import or CommonJS require)",
      "max_score": 10
    },
    {
      "name": "Uses tildify function",
      "description": "The solution calls the tildify function (the default export from the tildify package) to convert paths to tilde notation",
      "max_score": 40
    },
    {
      "name": "Leverages normalization",
      "description": "The solution relies on tildify's built-in path normalization capability to handle paths with redundant separators, `.`, and `..` references, rather than implementing separate normalization logic",
      "max_score": 30
    },
    {
      "name": "Handles all cases",
      "description": "The solution correctly uses tildify to handle all required cases: home directory subdirectories, exact home directory match, paths outside home, and relative paths",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-tildify

tile.json