Open
Description
Title: Invalid JSON Syntax in crash.json Template
Description
The source_code
field in crash.json
template has invalid syntax due to missing quotes and improper escaping, causing parse errors in generated reports.
Current implementation:
"source_code": {{ get_benchmark_final_target_code(sample.id) | replace('\\n', '\\\\n')}}
Reference
This issue was identified in #891 "Anomalies in recent experiments"
Incorrect JSON content
"coverage_report": "#",
"stacktrace": "/stacktrace",
"target_binary": "/target_binary",
"reproducer": "/artifacts",
"run_log": "run.log",
"source_code": ,
Metadata
Metadata
Assignees
Labels
No labels