google / oss-fuzz-gen

LLM powered fuzzing via OSS-Fuzz.
Apache License 2.0
780 stars 92 forks source link

Fix training data generator #453

Closed DonggeLiu closed 1 week ago

DonggeLiu commented 1 week ago

Training data generator crashes in recent experiments because we added triage directories (e.g., 03-triage/&e=-13802955&mods=logs_tg_prod&project=oss-fuzz)) and breaks this line: https://github.com/google/oss-fuzz-gen/blob/main/data_prep/parse_training_data.py#L83

This PR fixes it with a more fine-grained regex to identify code fixing directories (e.g., 03-F5/&e=-13802955&mods=logs_tg_prod&project=oss-fuzz)).

DonggeLiu commented 1 week ago

/gcbrun exp -n dg