Write logs based on conventional commits and templates.
85
{
"context": "This criteria evaluates how effectively the engineer uses the conventional-changelog-writer package to implement commit grouping and sorting functionality. The assessment focuses on proper use of the package's groupBy, commitGroupsSort, and commitsSort options.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses writeChangelogString API",
"description": "Correctly uses the writeChangelogString function from conventional-changelog-writer to generate changelog output from an array of commits",
"max_score": 25
},
{
"name": "Implements groupBy option",
"description": "Properly configures the groupBy option to group commits by the specified property (e.g., 'type', 'scope'), allowing dynamic grouping based on commit properties",
"max_score": 25
},
{
"name": "Implements commitGroupsSort option",
"description": "Correctly uses the commitGroupsSort option to control how commit groups are sorted, supporting both string property names and custom comparator functions",
"max_score": 20
},
{
"name": "Implements commitsSort option",
"description": "Properly configures the commitsSort option to sort commits within each group, supporting both string property names (like 'header') and custom comparator functions",
"max_score": 20
},
{
"name": "Handles options correctly",
"description": "Correctly passes the options object to the conventional-changelog-writer API with appropriate defaults (groupBy defaults to 'type', commitsSort defaults to 'header')",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-conventional-changelog-writerevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10