tessl install tessl/npm-lerna--init@6.6.0Create a new Lerna repo or upgrade an existing repo to the current version of Lerna
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.36x
Baseline
Agent success rate without this tile
55%
{
"context": "This criteria evaluates how well the engineer leverages Lerna's environment information display capabilities to build a diagnostic tool. The focus is on using Lerna's built-in commands and APIs to gather system and configuration information rather than implementing custom solutions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses lerna info",
"description": "The implementation executes the 'lerna info' command or equivalent API to retrieve environment and system information. This is the primary Lerna capability being tested.",
"max_score": 40
},
{
"name": "Parses lerna output",
"description": "The code correctly parses and extracts relevant information from Lerna's environment info output, handling the data structure appropriately.",
"max_score": 20
},
{
"name": "Accesses lerna config",
"description": "The implementation reads Lerna configuration (lerna.json or package.json) to display monorepo settings and version information using appropriate methods.",
"max_score": 15
},
{
"name": "Handles lerna presence",
"description": "The code detects whether Lerna is available in the project and handles both scenarios (Lerna present/absent) appropriately, avoiding hard failures when Lerna is not installed.",
"max_score": 15
},
{
"name": "Formats environment data",
"description": "The implementation properly formats and presents the environment information collected from Lerna in both human-readable and JSON formats.",
"max_score": 10
}
]
}