SURGroup / UQpy

UQpy (Uncertainty Quantification with python) is a general purpose Python toolbox for modeling uncertainty in physical and mathematical systems.
MIT License
276 stars 80 forks source link

Feature/kriging tests #115

Closed mohitcek closed 3 years ago

mohitcek commented 3 years ago

Code Coverage (SROM 100% and Kriging 95%)

The unit test are included for the SROM and Kriging classes in the 'tests' directory. These tests provide 95% code coverage for Kriging class and 100% code coverage for SROM class.

Description

There were few redundant error checks in the SROM, those have been removed. Also, Kriging class is updated to handle 'random_state' attribute properly.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication