skybrush_log_analyzer.analysis
skybrush_log_analyzer.analysis.compact(analysis)
Returns the compact view of an analysis API response.
Keeps the note, the status counts, and the test results with their name, status, title and messages. Test results and status counts are ordered by severity. Drops internal IDs and null fields.
Source code in skybrush_log_analyzer/analysis.py
skybrush_log_analyzer.analysis.select_tests(analysis, test_names)
Returns the analysis with only the results of the given tests kept.
Source code in skybrush_log_analyzer/analysis.py
skybrush_log_analyzer.analysis.drop_pass_messages(analysis)
Returns the analysis with the messages of passing test results omitted.