> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-6/custom-code-scorer-1.md).

# Author a custom code grader

Guide — author a custom code grader.

**Premium → Scorers → New scorer → Custom code**. Provide Python that returns a verdict dict. Test against samples.

## See also

* [Cookbook: custom code grader](/more-in-this-section-6/custom-code-scorer.md)
* [Concept: Scorers](/8.-evaluate-score-the-outputs/scorers-1.md)
