evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
{
"context": "This evaluation assesses how well the engineer uses @mdx-js/mdx package's remark-rehype bridge configuration options to customize footnote rendering in Markdown. The focus is on proper usage of the remarkRehypeOptions parameter to control footnote labels, back-labels, and ID prefixes.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses compile function",
"description": "Correctly imports and uses the compile() or compileSync() function from @mdx-js/mdx package to transform Markdown to JavaScript",
"max_score": 20
},
{
"name": "Configures remarkRehypeOptions",
"description": "Passes the remarkRehypeOptions configuration object as part of the compile options to customize the remark-to-rehype transformation",
"max_score": 25
},
{
"name": "Sets footnoteLabel",
"description": "Correctly sets the footnoteLabel property within remarkRehypeOptions to customize the footnotes section heading",
"max_score": 15
},
{
"name": "Sets footnoteBackLabel",
"description": "Correctly sets the footnoteBackLabel property within remarkRehypeOptions to customize the accessible back-reference text",
"max_score": 15
},
{
"name": "Sets clobberPrefix",
"description": "Correctly sets the clobberPrefix property within remarkRehypeOptions to add a prefix to generated IDs for collision prevention",
"max_score": 15
},
{
"name": "Integrates remark-gfm",
"description": "Properly adds the remark-gfm plugin to the remarkPlugins array to enable GitHub Flavored Markdown footnote syntax support",
"max_score": 10
}
]
}