modelturnedgeek / reviewme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Linter

AI-generated error-checking for your AI-generated code

  • Anticipate issues with code before running it.

  • Find subtle issues that may not be obvious at first glance.

  • Check for internal consistency, and for external consistency with the rest of the codebase.

Usage

from ailinter import ailinter 

def main():
    print ("Your program here...")

if __name__ == "__main__":   
    ailinter.run()          # --> run AILinter 
    main()

Update rule style guide

  • Add rule templates to /rule_templates. This text will be included in the prompt to the LLM, so the LLM can evaluate the code according to the style guide you write.

Update settings

Update the default rule template and LLM settings in config.yaml

Future work

  • Retrieve the documentation for all imported libraries
  • Trace function calls throughout the codebase

About


Languages

Language:Python 100.0%