or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer utilizes the pg package's connection string parsing capabilities, specifically the ability to parse PostgreSQL connection strings and extract query parameters. The focus is on using the built-in parsing functionality rather than implementing custom parsing logic.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses pg parsing",
      "description": "Uses the pg package's built-in connection string parsing functionality (such as parsing from the ConnectionString class or connection config parsing utilities) rather than implementing custom parsing logic",
      "max_score": 40
    },
    {
      "name": "Query parameter extraction",
      "description": "Correctly extracts and returns query parameters from the connection string (parameters after the '?' in the URL) as part of the configuration object",
      "max_score": 30
    },
    {
      "name": "Standard parameter parsing",
      "description": "Correctly extracts standard connection parameters (host, port, database, user, password) from the connection string using pg's parsing capabilities",
      "max_score": 20
    },
    {
      "name": "Proper return format",
      "description": "Returns a properly structured configuration object that includes both standard connection parameters and query parameters in an accessible format",
      "max_score": 10
    }
  ]
}