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

Adds commit classification rule #397

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

lauraschauer
Copy link
Contributor

This PR adds a new rule using the LLMService. This rule performs the same as Tommaso's commit classification, but is now implemented in Prospector itself.

It sends the diff of a commit to the LLM and asks if this commit is security relevant or not. Relevance of the rule is set to 32 for now, but this value can be adjusted after evaluation.

@copernico
Copy link
Contributor

Hi @lauraschauer could you rebase this PR please?

@lauraschauer lauraschauer force-pushed the add-commit-classification-rule branch from 0d96dfb to 111c25b Compare July 11, 2024 15:27
@lauraschauer
Copy link
Contributor Author

@copernico Done :)

@copernico copernico merged commit b8f600f into SAP:main Jul 17, 2024
3 checks passed
@lauraschauer lauraschauer deleted the add-commit-classification-rule branch July 17, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants