Skip to content

Add few-shot learning with CWE patching to prompts #30

@rubengmartins

Description

@rubengmartins

Use https://github.com/SophieHYe/PreciseBugs and consider some examples where only one file is modified (and the function is not too large). Get 3-5 examples per CWE and use it as few-shot learning to improve the prompt.

Can also be used in the sanitizer report to improve the CWE classification.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions