vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

Move ssvc_calculator to utils.py to avoid code duplication

Open suji7724 opened this issue 4 weeks ago • 0 comments

Moved the 'ssvc_calculator' function from 'v2_importers/vulnrichment_importer.py' to 'vulnerabilities/utils.py' because it is used in multiple places.

Updated imports in the original file. All tests pass.

suji7724 avatar Nov 26 '25 21:11 suji7724