Sphinx extension to support docstrings in Numpy format
{
"context": "Evaluates whether the solution wires numpydoc configuration for class member visibility and attribute formatting to the provided toggles while relying on numpydoc rendering, not hand-crafted RST. Focus is on correct use of the class-member and attribute-related settings when rendering class docstrings. General code quality is out of scope.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Member toggle",
"description": "Maps the include_members flag to numpydoc_show_class_members so class attributes/methods are only emitted when requested.",
"max_score": 25
},
{
"name": "Inherited members",
"description": "Controls inherited member visibility via numpydoc_show_inherited_class_members to include or omit base class members according to include_inherited.",
"max_score": 20
},
{
"name": "Attribute style",
"description": "Switches attribute rendering using numpydoc_attributes_as_param_list based on the attributes_as_params toggle, producing parameter-style entries when enabled.",
"max_score": 20
},
{
"name": "Members toctree",
"description": "Drives member TOC generation with numpydoc_class_members_toctree so a members listing appears only when members_toctree is true.",
"max_score": 15
},
{
"name": "Numpydoc rendering",
"description": "Uses numpydoc rendering utilities (e.g., SphinxDocString/ClassDoc) to produce the RST instead of manually formatting sections.",
"max_score": 20
}
]
}tessl i tessl/pypi-numpydoc@1.9.0evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9