CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-metro-memory-fs

A memory-based implementation of Node.js fs module for testing purposes

96

1.26x
Quality

Pending

Does it follow best practices?

Impact

96%

1.26x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "context": "This criteria evaluates the engineer's ability to use metro-memory-fs's canonical path resolution functionality (realpathSync) to resolve symbolic links and convert paths to their absolute canonical form. The focus is on correct usage of the realpathSync method and understanding of how it resolves symlinks.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses realpathSync",
      "description": "Implementation uses the realpathSync or realpathSync.native method from metro-memory-fs to resolve paths to their canonical form",
      "max_score": 50
    },
    {
      "name": "Passes filesystem instance",
      "description": "Correctly passes the filesystem instance parameter to realpathSync as the first argument (since metro-memory-fs uses instance methods)",
      "max_score": 20
    },
    {
      "name": "Handles symbolic links",
      "description": "The implementation correctly resolves symbolic links by using realpathSync, which follows all symlinks in the path to return the final canonical path",
      "max_score": 20
    },
    {
      "name": "Error propagation",
      "description": "Allows realpathSync to throw appropriate errors (like ENOENT for non-existent paths or ELOOP for circular symlinks) without unnecessary wrapping",
      "max_score": 10
    }
  ]
}

tile.json