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

missing error logs for failed build #625

Open
DavidKorczynski opened this issue Sep 18, 2024 · 0 comments
Open

missing error logs for failed build #625

DavidKorczynski opened this issue Sep 18, 2024 · 0 comments

Comments

@DavidKorczynski
Copy link
Collaborator

Some fixer prompts dont have anything in the error tag: https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-09-18-618-ochang-extra-large-all-oracles-many/sample/output-mdbtools-mdb_insert_row/03.html

DonggeLiu pushed a commit that referenced this issue Mar 22, 2025
)

## Description
This PR addresses the issue of missing source code by adding enhanced
logging and improving error handling in the
`get_benchmark_final_target_code()` method. Previously, silent failures
could occur, making it difficult to diagnose the root cause of missing
source code.

## Changes
- **Enhanced Logging**: Logs are added to track when the `sample_id` is
invalid or the source code is missing.
- **Error Handling**: Ensures that malformed or empty `sample_id` values
are handled gracefully and logged appropriately.
- **Return Null for Missing Source Code**: In case of an error, the
function explicitly returns `None` rather than an empty string for
clarity in JSON outputs.
#908
It may also refer to #625
## Benefits
- Improved **debuggability** by making it easier to identify the reasons
behind missing source code.
- Increased **robustness** by preventing silent failures and ensuring
more informative logs and error handling.
DonggeLiu pushed a commit that referenced this issue Mar 24, 2025
)

## Description
This PR addresses the issue of missing source code by adding enhanced
logging and improving error handling in the
`get_benchmark_final_target_code()` method. Previously, silent failures
could occur, making it difficult to diagnose the root cause of missing
source code.

## Changes
- **Enhanced Logging**: Logs are added to track when the `sample_id` is
invalid or the source code is missing.
- **Error Handling**: Ensures that malformed or empty `sample_id` values
are handled gracefully and logged appropriately.
- **Return Null for Missing Source Code**: In case of an error, the
function explicitly returns `None` rather than an empty string for
clarity in JSON outputs.
#908
It may also refer to #625
## Benefits
- Improved **debuggability** by making it easier to identify the reasons
behind missing source code.
- Increased **robustness** by preventing silent failures and ensuring
more informative logs and error handling.
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