Repository navigation
Use Project VIC's category codes: 0 is Non-pertinent, 5 is Uncategorized - #251
Merged
Merged
Conversation
GLEAPP had the two reversed (0 Uncategorized, 5 Non-pertinent). New files now start at 5, an NSRL known-good hit lands on 0, and a case made before schema v18 has its 0s and 5s swapped once on open (a NULL category becomes 5), so every verdict keeps its meaning. Project VIC import takes Category 0 as Non-pertinent (it used to fall through as uncategorized); null and 5 are Uncategorized. Export writes Uncategorized as null and keeps 0. A notable hash set asserting 0 now counts, ranked below every other category. Reports, LAVA and the categorized/uncategorized scopes use 5. Number keys match the codes: 0 Non-pertinent, 1-4, 5 clears, 6-9 the examiner's own categories. The selection bar's Clear cat button sent 0 and now sends 5. Help, manual and README updated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Project VIC JSON mapping (0 Non-pertinent; null or 5 Uncategorized, written back as null), the one-time swap an older case gets on open and what it means for older builds, Non-pertinent ranking last when sources disagree, and 0 in the VIC hash-set example. The category editor's intro now says the preset keys are their codes. The Non-pertinent row no longer suggests what to put in it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
GLEAPP stored the two Project VIC codes the wrong way round: 0 was Uncategorized and 5 was Non-pertinent. This swaps them to the Project VIC scheme.
Cases
Project VIC
Category0 comes in as Non-pertinent (it used to fall through as uncategorized);nulland 5 come in as Uncategorized.null, 0 stays 0, and "only categorized" keeps Non-pertinent.Reports
UI
Help, manual and README are updated.
Testing
tests/test_vic_category_codes.pycovers the one-time swap (including that a second open does not swap back), VIC import/export and the severity order.🤖 Generated with Claude Code