Feat/report generation#51
Merged
Merged
Conversation
Add start_line/end_line fields to Prediction and propagate them from SA findings, IR functions, taint analysis, and symbolic verification. LLM-only predictions get None.
Store the contest directory path so downstream report renderers can load source files for code snippet extraction.
Prepare for the report module: add AnalysisError::Report for report-generation failures, make detector_group pub(crate) so the stats module can reuse engine grouping logic.
New src/report/ module with: - stats.rs: compute summary (by severity, type, engine) - json.rs: structured JSON report with metadata and summary - html.rs: dark-themed dashboard with severity cards, engine/type tables, finding cards with confidence bars and code snippets - mod.rs: OutputFormat enum (Legacy/Json/Html) and write_report dispatcher
Add --output-format flag (legacy|json|html) defaulting to legacy. Replace write_results with report::write_report dispatcher.
Values between 1.0 and 1.5 were incorrectly treated as 0-1 range instead of being rescaled from the 0-10 range.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.