• 2ez@lemmy.beyondcombustion.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If using docstrings/docblocks to generate SDK documentation, adding something like an OPA policy to validate their existence and semantic structure could help with coverage. Then we have the issue of accuracy, and that needs humans or AI to weigh in. I have a feeling test-driven development would make this process smoother.

    You could also add git hooks to facilitate accountability / run the policies.