Skip to content

Confidence should only be there when either fix or affected package is present #1083

Description

@Hritik14

Without a relationship between fixed/affected package to a vulnerability, confidence - by itself - does not provide any value in Inference.
We should have a check against this.

https://github.com/nexB/vulnerablecode/blob/2903edcef68de3137e57f804b022a22b2710c5c8/vulnerabilities/improver.py#L29-L72

Found while writing tests in: #1081

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions