Skip to content

Leave an artifact with no rows out of the LAVA report - #50

Merged
abrignoni merged 1 commit into
mainfrom
feat/lava-skip-empty
Sep 10, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/lava-skip-empty

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

An artifact with no rows is no longer written into the LAVA report. An empty table reads as an answer, and a case built from a folder of pictures carried five of them.

  • Zero-row artifacts are skipped, the same way iLEAPP and ALEAPP gate their own outputs on if len(data_list):.
  • The run log lists all thirteen artifacts considered, with counts and whether each reached the report, so a skipped one is still on the record.
  • Known Hash Set Hits is the exception: where the hash-set listing names lists that were checked, an empty hits table is kept, since "checked and nothing matched" is a result. With no lists anywhere, both are left out.

Notes corrected where they described an empty artifact the report can no longer contain.

🤖 Generated with Claude Code

@abrignoni
abrignoni force-pushed the feat/lava-skip-empty branch 2 times, most recently from 1eea286 to 3406376 Compare September 10, 2026 02:18
An empty table in a report reads as an answer. A GLEAPP case built from a folder
of pictures has no Project VIC records, no duplicate stacks and no hash-set
lists, and five empty tables in the sidebar said so in a way an examiner has to
read each one to discount.

An artifact with no rows is now not written at all, which is what iLEAPP and
ALEAPP do: artifact_processor writes its HTML, TSV, timeline, LAVA and KML
outputs under `if len(data_list):` and only logs "No data found" otherwise.

The run log grows a fourth column and lists every artifact considered with its
count and whether it reached the report, so a skipped artifact is still on the
record and its absence reads as nothing found rather than as nothing looked at.

Known Hash Set Hits is the one exception. Where Known Hash Sets names lists that
were checked, an empty hits table is kept, because "checked against these and
nothing matched" is a result and its absence would read as no check having been
made. With no lists anywhere, both are left out.

Notes corrected where they described an empty artifact the report can no longer
contain, and the Known Hash Sets sentence about no rows at all removed as
unreachable.

Co-Authored-By: Claude Opus 5 <[email protected]>
@abrignoni
abrignoni merged commit 76e79a5 into main Sep 10, 2026
8 checks passed
@abrignoni
abrignoni deleted the feat/lava-skip-empty branch September 10, 2026 02:28
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

Successfully merging this pull request may close these issues.

1 participant