feat(catalog): add loader for security-evaluations.ndjson#2779
Open
pboyd wants to merge 2 commits into
Open
Conversation
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4492752 to
7fef426
Compare
Add sample security evaluation data for three of the four certified demo models, to be consumed by the upcoming security-metrics loader. - certified/production-llm-8b: 2 records (pipeline + standalone scans, both passing) - certified/compliance-assistant-3b: 2 records (pipeline + domain-specific scans, both passing) - certified/analytics-forecaster-5b: 1 record (pipeline scan, failing — attack_success_rate: 0.65) - certified/secure-embeddings-v2: no file (embeddings models are not garak targets) The intentional absence for secure-embeddings-v2 exercises the loader's "skip silently when security-evaluations.ndjson is absent" behavior. Assisted-by: Claude Opus 4.6 Signed-off-by: Paul Boyd <paul@pboyd.io>
7fef426 to
7a1130c
Compare
Extends processModelArtifactsBatch() to parse security-evaluations.ndjson files from the existing performance metrics directories, creating artifacts with metricsType: security-metrics. No new config flags or dependencies required. Assisted-by: Claude Sonnet 4.6 Signed-off-by: Paul Boyd <paul@pboyd.io>
7a1130c to
470e8d7
Compare
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.
Description
Load
security-evaluations.ndjsoninto asecurity-metricsmetrics arifact when the performance metrics are loaded.How Has This Been Tested?
I added some examples to the demo performance data. It can be queried, if you're running the demo overlay for tilt:
Merge criteria:
DCOcheck)