Write logs based on conventional commits and templates.
85
{
"context": "This evaluation assesses how well the engineer uses conventional-commits-filter to pre-filter commits and conventional-changelog-writer to generate formatted changelog strings. The focus is on proper integration of these two packages in a pipeline that processes commit data.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import filter package",
"description": "Correctly imports conventional-commits-filter (e.g., using require or import statement)",
"max_score": 10
},
{
"name": "Import writer package",
"description": "Correctly imports conventional-changelog-writer (e.g., using require or import for writeChangelogString, writeChangelog, or writeChangelogStream)",
"max_score": 10
},
{
"name": "Apply commit filtering",
"description": "Uses conventional-commits-filter to filter commits before passing them to the changelog writer. Should handle the filtering of reverted commits and invalid commits.",
"max_score": 30
},
{
"name": "Use changelog writer",
"description": "Uses one of the conventional-changelog-writer APIs (writeChangelogString, writeChangelog, or writeChangelogStream) to generate the changelog from filtered commits",
"max_score": 25
},
{
"name": "Pass context data",
"description": "Provides appropriate context to the changelog writer including version information (e.g., context with version property set to '1.0.0')",
"max_score": 15
},
{
"name": "Return changelog string",
"description": "Returns or outputs the generated changelog as a string. For async APIs, properly awaits or handles the async result to extract the final string output.",
"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