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

Data mistake in DiverseVul #5

Open
habaneraa opened this issue Nov 22, 2023 · 0 comments
Open

Data mistake in DiverseVul #5

habaneraa opened this issue Nov 22, 2023 · 0 comments

Comments

@habaneraa
Copy link

habaneraa commented Nov 22, 2023

I found a mistake when I was trying to train models with the dataset. Here is a sample:

{
    'func': '',
    'target': 0,
    'cwe': ['CWE-119'],
    'project': 'trafficserver',
    'commit_id': '8b5f0345dade6b2822d9b52c8ad12e63011a5c12',
    'hash': 281949768489412648962353822266799178366,
    'size': 1,
    'message': 'Fix the internal buffer sizing. Thanks to Sudheer for helping isolating this bug'
}

The empty field "func" does not make any sense. This sample should be removed from the dataset.

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

No branches or pull requests

1 participant