Skip to content
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

[MORAE] Multi-file support for linespan and code2amr slicing #652

Closed
wants to merge 6 commits into from

Conversation

Free-Quarks
Copy link
Collaborator

This PR fixed a small bug about making sure to only slice files that are in .py extensions.
It also added support for multi-file systems in both the linespan endpoint and the llm-assisted-codebase-to-pn-amr endpoint.

Some notes about the implementation, there is an assumption that zip files are walked over the same way each time and we are still only returning one AMR, to be consistent with the other code2amr endpoint. In the case we get multiple AMR's, (unpredictable LLM stuff) we will only return the AMR which has the most "states", which we use as a proxy for completeness. Default is the first amr, if say all amr's are empty.

@Free-Quarks Free-Quarks marked this pull request as ready for review November 15, 2023 22:36
@myedibleenso
Copy link
Collaborator

I think we can close this in favor of #658 .

@Free-Quarks Free-Quarks deleted the lieffers/llm-morae-fix2 branch December 11, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants