diff --git a/tests/coverage/coverage.json b/tests/coverage/coverage.json index ec2335df..3ad5339a 100644 --- a/tests/coverage/coverage.json +++ b/tests/coverage/coverage.json @@ -1 +1 @@ -{"meta": {"format": 3, "version": "7.6.4", "timestamp": "2025-01-13T17:34:47.825243", "branch_coverage": false, "show_contexts": false}, "files": {"cvx/covariance/__init__.py": {"executed_lines": [0], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/combination.py": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 22, 23, 25, 28, 34, 40, 45, 48, 49, 52, 60, 65, 70, 74, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 89, 90, 91, 95, 96, 98, 99, 101, 102, 103, 105, 106, 110, 128, 144, 145, 148, 151, 152, 155, 156, 167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193, 195, 196, 197, 199, 200, 201, 203, 204, 205, 207, 208, 212, 214, 215, 219, 221, 233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295, 300, 304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 116, "num_statements": 120, "percent_covered": 96.66666666666667, "percent_covered_display": "97", "missing_lines": 4, "excluded_lines": 0}, "missing_lines": [107, 296, 297, 298], "excluded_lines": [], "functions": {"_map_nested_dicts": {"executed_lines": [22, 23, 25], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_cholesky_precision": {"executed_lines": [34], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_B_t_col": {"executed_lines": [45], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_diag_part": {"executed_lines": [49], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_A": {"executed_lines": [60], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_nu": {"executed_lines": [70], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.__init__": {"executed_lines": [79, 80, 81, 82, 83], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._constraints": {"executed_lines": [87], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._objective": {"executed_lines": [91], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._construct_problem": {"executed_lines": [96], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.solve": {"executed_lines": [99], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.weights": {"executed_lines": [103], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.status": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 1, "percent_covered": 0.0, "percent_covered_display": "0", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [107], "excluded_lines": []}, "from_ewmas": {"executed_lines": [128, 144, 145, 148], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "from_sigmas": {"executed_lines": [152], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.__init__": {"executed_lines": [167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.sigmas": {"executed_lines": [197], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.means": {"executed_lines": [201], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.returns": {"executed_lines": [205], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.K": {"executed_lines": [212], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.assets": {"executed_lines": [219], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.solve": {"executed_lines": [233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295], "summary": {"covered_lines": 24, "num_statements": 27, "percent_covered": 88.88888888888889, "percent_covered_display": "89", "missing_lines": 3, "excluded_lines": 0}, "missing_lines": [296, 297, 298], "excluded_lines": []}, "_CovarianceCombination._solve": {"executed_lines": [304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 9, "num_statements": 9, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 28, 40, 48, 52, 65, 74, 77, 78, 85, 86, 89, 90, 95, 98, 101, 102, 105, 106, 110, 151, 155, 156, 195, 196, 199, 200, 203, 204, 207, 208, 214, 215, 221, 300], "summary": {"covered_lines": 43, "num_statements": 43, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"_CombinationProblem": {"executed_lines": [79, 80, 81, 82, 83, 87, 91, 96, 99, 103], "summary": {"covered_lines": 10, "num_statements": 11, "percent_covered": 90.9090909090909, "percent_covered_display": "91", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [107], "excluded_lines": []}, "_CovarianceCombination": {"executed_lines": [167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193, 197, 201, 205, 212, 219, 233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295, 304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 50, "num_statements": 53, "percent_covered": 94.33962264150944, "percent_covered_display": "94", "missing_lines": 3, "excluded_lines": 0}, "missing_lines": [296, 297, 298], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 22, 23, 25, 28, 34, 40, 45, 48, 49, 52, 60, 65, 70, 74, 77, 78, 85, 86, 89, 90, 95, 98, 101, 102, 105, 106, 110, 128, 144, 145, 148, 151, 152, 155, 156, 195, 196, 199, 200, 203, 204, 207, 208, 214, 215, 221, 300], "summary": {"covered_lines": 56, "num_statements": 56, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/ewma.py": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 13, 16, 25, 33, 42, 43, 45, 47, 54, 65, 66, 73, 75, 78, 85, 86, 88, 91, 120, 121, 123, 124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140, 142, 143, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185, 193, 199, 206, 207, 210, 211, 219, 220, 223, 243, 244, 245, 247, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 79, "num_statements": 79, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"_generator2frame": {"executed_lines": [13], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_variance": {"executed_lines": [25], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "volatility": {"executed_lines": [42, 43, 45, 47], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "center": {"executed_lines": [65, 66, 73, 75], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "clip": {"executed_lines": [85, 86, 88], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma": {"executed_lines": [120, 121, 123, 142, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185], "summary": {"covered_lines": 17, "num_statements": 17, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma.scale_cov": {"executed_lines": [124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma.scale_mean": {"executed_lines": [143], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_ewma_cov": {"executed_lines": [199, 206, 207], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_ewma_mean": {"executed_lines": [211, 219, 220], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_general": {"executed_lines": [243, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_general.f": {"executed_lines": [244, 245, 247], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 16, 33, 54, 78, 91, 193, 210, 223], "summary": {"covered_lines": 15, "num_statements": 15, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 13, 16, 25, 33, 42, 43, 45, 47, 54, 65, 66, 73, 75, 78, 85, 86, 88, 91, 120, 121, 123, 124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140, 142, 143, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185, 193, 199, 206, 207, 210, 211, 219, 220, 223, 243, 244, 245, 247, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 79, "num_statements": 79, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/regularization.py": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 26, 29, 32, 35, 38, 41, 44, 48, 56, 57, 59, 60, 62, 63, 64, 66, 67, 68, 77, 78, 79, 80, 81, 82, 84, 87, 88, 90, 91, 94, 101, 102, 103, 105, 106, 107, 109, 112, 122, 123], "summary": {"covered_lines": 48, "num_statements": 48, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"_regularize_correlation": {"executed_lines": [26, 29, 32, 35, 38, 41, 44], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "regularize_covariance": {"executed_lines": [56, 57, 59, 60, 62, 63, 64, 66, 67, 68], "summary": {"covered_lines": 10, "num_statements": 10, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_e_step": {"executed_lines": [78, 79, 80, 81, 82, 84], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_m_step": {"executed_lines": [88, 90, 91], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_em_low_rank_approximation": {"executed_lines": [101, 102, 103, 105, 106, 107, 109], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "em_regularize_covariance": {"executed_lines": [122, 123], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 48, 77, 87, 94, 112], "summary": {"covered_lines": 13, "num_statements": 13, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 26, 29, 32, 35, 38, 41, 44, 48, 56, 57, 59, 60, 62, 63, 64, 66, 67, 68, 77, 78, 79, 80, 81, 82, 84, 87, 88, 90, 91, 94, 101, 102, 103, 105, 106, 107, 109, 112, 122, 123], "summary": {"covered_lines": 48, "num_statements": 48, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}}, "totals": {"covered_lines": 243, "num_statements": 247, "percent_covered": 98.38056680161944, "percent_covered_display": "98", "missing_lines": 4, "excluded_lines": 0}} \ No newline at end of file +{"meta": {"format": 3, "version": "7.6.4", "timestamp": "2025-01-14T03:51:59.722793", "branch_coverage": false, "show_contexts": false}, "files": {"cvx/covariance/__init__.py": {"executed_lines": [0], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 0, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/combination.py": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 22, 23, 25, 28, 34, 40, 45, 48, 49, 52, 60, 65, 70, 74, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 89, 90, 91, 95, 96, 98, 99, 101, 102, 103, 105, 106, 110, 128, 144, 145, 148, 151, 152, 155, 156, 167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193, 195, 196, 197, 199, 200, 201, 203, 204, 205, 207, 208, 212, 214, 215, 219, 221, 233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295, 300, 304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 116, "num_statements": 120, "percent_covered": 96.66666666666667, "percent_covered_display": "97", "missing_lines": 4, "excluded_lines": 0}, "missing_lines": [107, 296, 297, 298], "excluded_lines": [], "functions": {"_map_nested_dicts": {"executed_lines": [22, 23, 25], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_cholesky_precision": {"executed_lines": [34], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_B_t_col": {"executed_lines": [45], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_diag_part": {"executed_lines": [49], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_A": {"executed_lines": [60], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_nu": {"executed_lines": [70], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.__init__": {"executed_lines": [79, 80, 81, 82, 83], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._constraints": {"executed_lines": [87], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._objective": {"executed_lines": [91], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem._construct_problem": {"executed_lines": [96], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.solve": {"executed_lines": [99], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.weights": {"executed_lines": [103], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CombinationProblem.status": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 1, "percent_covered": 0.0, "percent_covered_display": "0", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [107], "excluded_lines": []}, "from_ewmas": {"executed_lines": [128, 144, 145, 148], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "from_sigmas": {"executed_lines": [152], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.__init__": {"executed_lines": [167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.sigmas": {"executed_lines": [197], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.means": {"executed_lines": [201], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.returns": {"executed_lines": [205], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.K": {"executed_lines": [212], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.assets": {"executed_lines": [219], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_CovarianceCombination.solve": {"executed_lines": [233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295], "summary": {"covered_lines": 24, "num_statements": 27, "percent_covered": 88.88888888888889, "percent_covered_display": "89", "missing_lines": 3, "excluded_lines": 0}, "missing_lines": [296, 297, 298], "excluded_lines": []}, "_CovarianceCombination._solve": {"executed_lines": [304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 9, "num_statements": 9, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 28, 40, 48, 52, 65, 74, 77, 78, 85, 86, 89, 90, 95, 98, 101, 102, 105, 106, 110, 151, 155, 156, 195, 196, 199, 200, 203, 204, 207, 208, 214, 215, 221, 300], "summary": {"covered_lines": 43, "num_statements": 43, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"_CombinationProblem": {"executed_lines": [79, 80, 81, 82, 83, 87, 91, 96, 99, 103], "summary": {"covered_lines": 10, "num_statements": 11, "percent_covered": 90.9090909090909, "percent_covered_display": "91", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [107], "excluded_lines": []}, "_CovarianceCombination": {"executed_lines": [167, 168, 169, 171, 176, 181, 182, 183, 186, 189, 190, 193, 197, 201, 205, 212, 219, 233, 234, 237, 245, 247, 248, 250, 253, 254, 257, 260, 264, 265, 267, 272, 275, 277, 284, 288, 290, 291, 292, 294, 295, 304, 306, 309, 310, 312, 313, 317, 318, 322], "summary": {"covered_lines": 50, "num_statements": 53, "percent_covered": 94.33962264150944, "percent_covered_display": "94", "missing_lines": 3, "excluded_lines": 0}, "missing_lines": [296, 297, 298], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 6, 7, 8, 10, 15, 18, 22, 23, 25, 28, 34, 40, 45, 48, 49, 52, 60, 65, 70, 74, 77, 78, 85, 86, 89, 90, 95, 98, 101, 102, 105, 106, 110, 128, 144, 145, 148, 151, 152, 155, 156, 195, 196, 199, 200, 203, 204, 207, 208, 214, 215, 221, 300], "summary": {"covered_lines": 56, "num_statements": 56, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/ewma.py": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 13, 16, 25, 33, 42, 43, 45, 47, 54, 65, 66, 73, 75, 78, 85, 86, 88, 91, 120, 121, 123, 124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140, 142, 143, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185, 193, 199, 206, 207, 210, 211, 219, 220, 223, 243, 244, 245, 247, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 79, "num_statements": 79, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"_generator2frame": {"executed_lines": [13], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_variance": {"executed_lines": [25], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "volatility": {"executed_lines": [42, 43, 45, 47], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "center": {"executed_lines": [65, 66, 73, 75], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "clip": {"executed_lines": [85, 86, 88], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma": {"executed_lines": [120, 121, 123, 142, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185], "summary": {"covered_lines": 17, "num_statements": 17, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma.scale_cov": {"executed_lines": [124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "iterated_ewma.scale_mean": {"executed_lines": [143], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_ewma_cov": {"executed_lines": [199, 206, 207], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_ewma_mean": {"executed_lines": [211, 219, 220], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_general": {"executed_lines": [243, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_general.f": {"executed_lines": [244, 245, 247], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 16, 33, 54, 78, 91, 193, 210, 223], "summary": {"covered_lines": 15, "num_statements": 15, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [1, 3, 5, 6, 7, 9, 12, 13, 16, 25, 33, 42, 43, 45, 47, 54, 65, 66, 73, 75, 78, 85, 86, 88, 91, 120, 121, 123, 124, 125, 126, 130, 131, 132, 133, 134, 135, 136, 138, 140, 142, 143, 145, 146, 147, 151, 157, 168, 169, 172, 174, 179, 180, 184, 185, 193, 199, 206, 207, 210, 211, 219, 220, 223, 243, 244, 245, 247, 249, 250, 252, 255, 256, 259, 262, 265, 266, 270, 274], "summary": {"covered_lines": 79, "num_statements": 79, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/covariance/regularization.py": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 26, 29, 32, 35, 38, 41, 44, 48, 56, 57, 59, 60, 62, 63, 64, 66, 67, 68, 77, 78, 79, 80, 81, 82, 84, 87, 88, 90, 91, 94, 101, 102, 103, 105, 106, 107, 109, 112, 122, 123], "summary": {"covered_lines": 48, "num_statements": 48, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"_regularize_correlation": {"executed_lines": [26, 29, 32, 35, 38, 41, 44], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "regularize_covariance": {"executed_lines": [56, 57, 59, 60, 62, 63, 64, 66, 67, 68], "summary": {"covered_lines": 10, "num_statements": 10, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_e_step": {"executed_lines": [78, 79, 80, 81, 82, 84], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_m_step": {"executed_lines": [88, 90, 91], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "_em_low_rank_approximation": {"executed_lines": [101, 102, 103, 105, 106, 107, 109], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "em_regularize_covariance": {"executed_lines": [122, 123], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 48, 77, 87, 94, 112], "summary": {"covered_lines": 13, "num_statements": 13, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"": {"executed_lines": [1, 3, 5, 6, 7, 11, 12, 15, 26, 29, 32, 35, 38, 41, 44, 48, 56, 57, 59, 60, 62, 63, 64, 66, 67, 68, 77, 78, 79, 80, 81, 82, 84, 87, 88, 90, 91, 94, 101, 102, 103, 105, 106, 107, 109, 112, 122, 123], "summary": {"covered_lines": 48, "num_statements": 48, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}}, "totals": {"covered_lines": 243, "num_statements": 247, "percent_covered": 98.38056680161944, "percent_covered_display": "98", "missing_lines": 4, "excluded_lines": 0}} \ No newline at end of file diff --git a/tests/coverage/coverage.xml b/tests/coverage/coverage.xml index 1e5a7495..42b732b0 100644 --- a/tests/coverage/coverage.xml +++ b/tests/coverage/coverage.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/html-coverage/class_index.html b/tests/html-coverage/class_index.html index 0732c2ef..0ff0c53e 100644 --- a/tests/html-coverage/class_index.html +++ b/tests/html-coverage/class_index.html @@ -55,7 +55,7 @@

coverage.py v7.6.4, - created at 2025-01-13 17:34 +0000 + created at 2025-01-14 03:51 +0000

@@ -140,7 +140,7 @@

coverage.py v7.6.4, - created at 2025-01-13 17:34 +0000 + created at 2025-01-14 03:51 +0000