-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add reflection pattern to agbench lint
#6051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…verity-based output formatting
…n; implement log summary generation in CLI
|
@changliu2 and @ShipraJain01 fyi |
|
Generally looks good, but it's failing the CI. |
Working with @jackgerrits to resolve it. Not sure what's causing all the uv errors. |
|
More features to add based on Chang's feedback
|
|
@jackgerrits , I changed my uv to 0.5.18 but I am still stuck in uv.lock rabbit hole. Help! |
|
|
@tejas-dharani please go ahead. |
This pull request includes several changes to the
agbenchpackage, focusing on adding new functionality, improving existing code, and updating dependencies. The most important changes include adding a new dependency, modifying theDocumentclass, enhancing thecode_documentmethod, and introducing a new prompt for qualitative coding.Dependency Updates:
tiktokenlibrary to the dependencies inpyproject.toml.Enhancements to Document Class:
linesfield to theDocumentclass to store the document as a list of strings.load_log_filefunction to populate thelinesfield in theDocumentclass.Improvements to Qualitative Coding:
MAIN_PROMPTfor generating error codes inoai_coder.py.count_tokensfunction to count tokens using thetiktokenlibrary.code_documentmethod to handle long documents, generate feedback, and update codes based on feedback. [1] [2] [3]These changes aim to improve the accuracy and efficiency of the qualitative coding process in the
agbenchpackage.