From 434149d254eef74132f7ca207038b202e7b99219 Mon Sep 17 00:00:00 2001 From: tschm Date: Wed, 13 Nov 2024 16:49:42 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20cvxgrp/c?= =?UTF-8?q?vxrisk@d1f386133c6e45a30a09e6ae230c4f0665bfbbb9=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/docs/notebooks/large.html | 2 +- book/docs/notebooks/sample.html | 4 ++-- book/searchindex.js | 2 +- tests_coverage/coverage/coverage.json | 2 +- tests_coverage/coverage/coverage.xml | 2 +- tests_coverage/html-coverage/class_index.html | 4 ++-- tests_coverage/html-coverage/function_index.html | 4 ++-- tests_coverage/html-coverage/index.html | 4 ++-- .../html-coverage/z_00144acbd1f42640___init___py.html | 4 ++-- .../html-coverage/z_00144acbd1f42640_cvar_py.html | 4 ++-- .../html-coverage/z_05ee634ac241583b___init___py.html | 4 ++-- .../html-coverage/z_05ee634ac241583b_bounds_py.html | 4 ++-- .../html-coverage/z_05ee634ac241583b_model_py.html | 4 ++-- .../html-coverage/z_3ba1d950ac8fe2c0___init___py.html | 4 ++-- .../html-coverage/z_3ba1d950ac8fe2c0_factor_py.html | 4 ++-- .../html-coverage/z_63f994e4b5c6c5e7___init___py.html | 4 ++-- .../html-coverage/z_63f994e4b5c6c5e7_min_risk_py.html | 4 ++-- .../html-coverage/z_70c0495403c02001___init___py.html | 4 ++-- .../html-coverage/z_70c0495403c02001_rand_cov_py.html | 4 ++-- .../html-coverage/z_baf40222e63b1267___init___py.html | 4 ++-- .../html-coverage/z_baf40222e63b1267_cholesky_py.html | 4 ++-- tests_coverage/html-coverage/z_baf40222e63b1267_pca_py.html | 4 ++-- .../html-coverage/z_baf40222e63b1267_valid_py.html | 4 ++-- .../html-coverage/z_d22f823fac8de284___init___py.html | 4 ++-- .../html-coverage/z_d22f823fac8de284_sample_py.html | 4 ++-- tests_coverage/html-report/report.html | 6 +++--- 26 files changed, 49 insertions(+), 49 deletions(-) diff --git a/book/docs/notebooks/large.html b/book/docs/notebooks/large.html index aa0899bf..9511ab74 100644 --- a/book/docs/notebooks/large.html +++ b/book/docs/notebooks/large.html @@ -449,7 +449,7 @@

Large problem with 1000 assets and 100 factors -
331 ms ± 762 μs per loop (mean ± std. dev. of 7 runs, 1 loop each)
+
341 ms ± 2.62 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
 
diff --git a/book/docs/notebooks/sample.html b/book/docs/notebooks/sample.html index 67f4d864..ce2245af 100644 --- a/book/docs/notebooks/sample.html +++ b/book/docs/notebooks/sample.html @@ -405,7 +405,7 @@

Sample covariance -
651 ms ± 24.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
+
656 ms ± 33.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
 
@@ -427,7 +427,7 @@

Sample covariance -
5.21 s ± 28 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
+
5.21 s ± 18 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
 
diff --git a/book/searchindex.js b/book/searchindex.js index dd941584..91b713f5 100644 --- a/book/searchindex.js +++ b/book/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"A first example": [[1, "a-first-example"]], "API": [[0, null]], "Change of risk model": [[3, "change-of-risk-model"]], "Compute principal components": [[4, "compute-principal-components"]], "Coverage": [[7, "coverage"]], "Create the risk model, here a FactorModel": [[4, "create-the-risk-model-here-a-factormodel"]], "Demo": [[3, null]], "Factor risk models": [[1, "factor-risk-models"], [4, null]], "Kernel": [[1, "kernel"]], "Large problem with 1000 assets and 100 factors": [[5, null]], "Load prices and compute returns": [[4, "load-prices-and-compute-returns"]], "Notebooks": [[2, null]], "Poetry": [[1, "poetry"]], "Risk models": [[1, "risk-models"]], "RiskModel is injected into optimizer": [[4, "riskmodel-is-injected-into-optimizer"]], "Sample covariance": [[1, "sample-covariance"], [6, null]], "Sphinx": [[0, "sphinx"]], "Test Reports": [[7, null]], "Timing": [[7, "timing"]], "cvar": [[1, "cvar"]], "cvxrisk": [[1, null]]}, "docnames": ["docs/api", "docs/index", "docs/nb", "docs/notebooks/demo", "docs/notebooks/factormodel", "docs/notebooks/large", "docs/notebooks/sample", "docs/reports"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1}, "filenames": ["docs/api.md", "docs/index.md", "docs/nb.md", "docs/notebooks/demo.ipynb", "docs/notebooks/factormodel.ipynb", "docs/notebooks/large.ipynb", "docs/notebooks/sample.ipynb", "docs/reports.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": 6, "0": [1, 3, 4, 5, 6], "006799927138118909": 4, "00923407730537884": 4, "01": [4, 5], "02": 4, "020484e": 4, "02800705": 4, "03": 4, "03309495": 4, "033789e": 4, "03753803": 4, "04251146": 4, "048329e": 4, "05": 4, "0717266": 4, "078173e": 4, "08220467": 4, "08363908": 4, "09": 4, "09313427": 4, "095655e": 4, "09784121": 4, "1": [1, 3, 4, 5, 6], "10": 4, "100": [2, 3, 6], "1000": 2, "11": 3, "137605e": 4, "149695e": 4, "1e6": 3, "2": [1, 3, 4, 6], "20": [3, 4], "2000": 5, "21": 6, "24": 6, "28": 6, "289733e": 4, "297920e": 4, "3": [3, 4], "309925e": 4, "331": 5, "359232e": 4, "364381e": 4, "392779e": 4, "4": 4, "40": 3, "448612e": 4, "48": 6, "5": [1, 3, 4, 6], "50": 6, "502608e": 4, "510221e": 4, "6": [3, 4, 6], "60": 3, "633963e": 4, "651": 6, "692077e": 4, "7": [3, 4, 5, 6], "743304e": 4, "762": 5, "80": 3, "9": 4, "914576e": 4, "In": [1, 3, 4], "It": 1, "No": 4, "The": 1, "To": 1, "_": 3, "_builder": 3, "_problem": 6, "_riskmodel": 6, "aapl": 4, "abov": 1, "abstract": 1, "actual": 1, "advantag": 6, "after": 3, "again": 1, "all": [1, 3, 4], "alpha": 3, "alreadi": 1, "also": 1, "altern": 1, "amd": 4, "amzn": 4, "an": [1, 3], "analysi": 1, "ani": 1, "appli": 1, "ar": 1, "arg": 1, "arrai": [1, 4], "assert": 4, "asset": [1, 2, 3, 4], "assum": 1, "awar": 1, "axi": 3, "axioma": 1, "baba": 4, "bac": 4, "backend": 3, "backtest": [1, 3], "barra": 1, "base": 1, "bby": 4, "befor": 3, "beta": [1, 5], "beta_": 1, "bound": 5, "build": 3, "builder": 3, "call": [3, 4], "can": 1, "cannot": 3, "case": 1, "cell": [3, 4], "chang": 1, "check": 4, "class": 1, "clean": 1, "code": 1, "coeffici": 1, "column": [4, 5], "com": 3, "combin": 1, "compon": 1, "comput": 1, "condit": 1, "conjunct": 1, "const_factor": 5, "constraint": [1, 5], "construct": [1, 6], "convex": 1, "cov": [1, 3, 4, 5, 6], "covari": [2, 3], "cp": [1, 3, 6], "csv": [3, 4], "current": 1, "cvar": 3, "cvx": [1, 3, 4, 5, 6], "cvxpy": [1, 3, 4, 5, 6], "cvxrisk": 3, "data": [1, 3, 4, 5], "datafram": 5, "deal": 1, "decoupl": 1, "dedic": 1, "def": [1, 6], "defin": 1, "demo": 2, "design": 1, "dev": [5, 6], "deviat": 1, "diagon": 1, "dimens": 1, "dimension": 1, "distinguish": 1, "do": 6, "don": [1, 3], "dropna": 3, "dtype": 4, "e": 1, "each": [1, 5, 6], "enough": 1, "entir": 3, "environ": 1, "epsilon": 1, "epsilon_i": 1, "establish": 3, "estim": [1, 3, 4, 5], "even": 1, "everi": [1, 3, 6], "ewm": 3, "execut": 1, "explain": 1, "expos": 1, "exposur": [4, 5], "extern": 1, "f_1": 1, "f_j": 1, "f_k": 1, "factor": 2, "factormodel": 5, "fals": 5, "fb": 4, "fillna": 4, "flexibl": 1, "float64": 4, "follow": 1, "formul": 1, "from": [1, 3, 4, 5, 6], "function": 1, "g": 1, "ge": 4, "gm": 4, "good": 1, "goog": 4, "have": 1, "header": [3, 4], "henc": 1, "here": 6, "histor": 3, "home": 3, "how": 3, "i": [1, 5, 6], "idiosyncrat": [1, 4], "idiosyncratic_risk": [4, 5], "ignore_dpp": 5, "implement": 1, "import": [1, 3, 4, 5, 6], "importerror": 3, "index": [3, 4, 5], "index_col": [3, 4], "initial_cash": 3, "inject": 1, "instal": 1, "isclos": 4, "iter": [1, 3, 6], "j": 1, "ji": 1, "jpm": 4, "jupyterlab": 1, "k": [1, 4, 5], "keep": 1, "kwarg": 1, "larg": 2, "last": [3, 4], "ldot": 1, "len": [3, 4, 5], "lib": 3, "linalg": 4, "line": [3, 4], "linear": 1, "load": [1, 3], "loc": 3, "loop": [5, 6], "love": 1, "lower": 1, "lower_asset": [3, 4, 5, 6], "lower_factor": [4, 5], "m": [3, 5, 6], "ma": 4, "mai": 1, "maintain": 1, "make": 1, "matric": 3, "matrix": 1, "mean": [5, 6], "measur": 1, "method": 1, "min_period": 3, "min_risk": [3, 4, 5, 6], "minim": [1, 5], "minimum": [1, 3], "minimum_risk": 1, "minrisk_problem": [3, 4, 5, 6], "model": 2, "modul": 4, "modulenotfounderror": 4, "most": [3, 4], "n": [3, 5, 6], "n_compon": 4, "name": [3, 4], "nav": 3, "new": 1, "note": 1, "np": [1, 3, 4, 5, 6], "num": [1, 3, 6], "numpi": [1, 3, 4, 5, 6], "object": 5, "observ": 1, "offer": 1, "onc": 1, "ones": [3, 4, 5, 6], "optim": 1, "option": 3, "orthogon": 1, "packag": 3, "panda": [3, 4, 5], "paramet": [4, 6], "parse_d": [3, 4], "parti": 1, "pattern": 1, "pca": [1, 4], "pct_chang": [3, 4], "pd": [3, 4, 5], "per": [5, 6], "perform": [1, 3], "pfe": 4, "plot": 3, "plotli": 3, "portfolio": [1, 3, 4, 5, 6], "posit": 1, "practic": 1, "precis": 1, "price": 3, "princip": 1, "print": [1, 4], "problem": [1, 2, 3, 4, 6], "project": 1, "provid": 1, "py": 3, "pyproject": 1, "python3": 3, "quantiti": 1, "r": 1, "r_i": 1, "rand_cov": 6, "random": [5, 6], "random_asset": 5, "random_beta": 5, "random_factor": 5, "random_nois": 5, "rang": [5, 6], "read_csv": [3, 4], "recent": [3, 4], "reconstruct": [1, 3], "regress": 1, "reli": 1, "replic": 1, "repres": 1, "requir": 1, "residu": 1, "ret": 5, "return": [1, 3, 6], "risk": [2, 5, 6], "risk_model": [1, 3], "riskmodel": 1, "rout": 1, "rrc": 4, "run": [3, 5, 6], "runner": 3, "sampl": [2, 3], "samplecovari": [1, 3, 6], "sbux": 4, "scenario": 1, "seen": 1, "seri": [1, 3, 4], "set_weight": 3, "shape": 6, "share": 1, "shld": 4, "sigma_f": 1, "simpl": 1, "simpli": 1, "simul": 3, "site": 3, "solut": 4, "solv": [1, 3, 4, 5, 6], "some": 3, "space": 1, "stai": 1, "standard": 1, "start": [1, 3], "std": [4, 5, 6], "stock": 3, "stock_pric": [3, 4], "subspac": 1, "sum": [1, 4, 5], "sum_": 1, "sum_i": 1, "support": 1, "systemat": 1, "t": [1, 3, 4, 5], "tail": 3, "take": 6, "test": 4, "thei": 1, "thi": 1, "those": 1, "time": 1, "timeit": [5, 6], "toml": 1, "traceback": [3, 4], "triangl": 5, "true": [3, 4, 5], "truncat": 3, "two": 1, "uaa": 4, "uncorrel": 1, "underli": 1, "uniform": 4, "updat": [1, 3, 4, 5, 6], "upper_asset": [3, 4, 5, 6], "upper_factor": [4, 5], "us": 1, "usual": 1, "util": 5, "valu": [1, 3, 4, 5], "var": 1, "variabl": [1, 3, 4, 5, 6], "varianc": 1, "vector": 1, "venv": 3, "via": 1, "virtual": 1, "volatil": 1, "w": [1, 3, 4, 5], "w_i": 1, "we": [1, 3, 6], "weight": [1, 4, 5, 6], "where": 1, "wide": 1, "within": 1, "wmt": 4, "work": [1, 3], "would": 1, "xom": 4, "y": [1, 4, 5], "you": 1, "your": 1, "zero": [3, 4, 5, 6], "\u03bc": 5}, "titles": ["API", "cvxrisk", "Notebooks", "Demo", "Factor risk models", "Large problem with 1000 assets and 100 factors", "Sample covariance", "Test Reports"], "titleterms": {"100": 5, "1000": 5, "A": 1, "api": 0, "asset": 5, "chang": 3, "compon": 4, "comput": 4, "covari": [1, 6], "coverag": 7, "creat": 4, "cvar": 1, "cvxrisk": 1, "demo": 3, "exampl": 1, "factor": [1, 4, 5], "factormodel": 4, "first": 1, "here": 4, "i": 4, "inject": 4, "kernel": 1, "larg": 5, "load": 4, "model": [1, 3, 4], "notebook": 2, "optim": 4, "poetri": 1, "price": 4, "princip": 4, "problem": 5, "report": 7, "return": 4, "risk": [1, 3, 4], "riskmodel": 4, "sampl": [1, 6], "sphinx": 0, "test": 7, "time": 7}}) \ No newline at end of file +Search.setIndex({"alltitles": {"A first example": [[1, "a-first-example"]], "API": [[0, null]], "Change of risk model": [[3, "change-of-risk-model"]], "Compute principal components": [[4, "compute-principal-components"]], "Coverage": [[7, "coverage"]], "Create the risk model, here a FactorModel": [[4, "create-the-risk-model-here-a-factormodel"]], "Demo": [[3, null]], "Factor risk models": [[1, "factor-risk-models"], [4, null]], "Kernel": [[1, "kernel"]], "Large problem with 1000 assets and 100 factors": [[5, null]], "Load prices and compute returns": [[4, "load-prices-and-compute-returns"]], "Notebooks": [[2, null]], "Poetry": [[1, "poetry"]], "Risk models": [[1, "risk-models"]], "RiskModel is injected into optimizer": [[4, "riskmodel-is-injected-into-optimizer"]], "Sample covariance": [[1, "sample-covariance"], [6, null]], "Sphinx": [[0, "sphinx"]], "Test Reports": [[7, null]], "Timing": [[7, "timing"]], "cvar": [[1, "cvar"]], "cvxrisk": [[1, null]]}, "docnames": ["docs/api", "docs/index", "docs/nb", "docs/notebooks/demo", "docs/notebooks/factormodel", "docs/notebooks/large", "docs/notebooks/sample", "docs/reports"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1}, "filenames": ["docs/api.md", "docs/index.md", "docs/nb.md", "docs/notebooks/demo.ipynb", "docs/notebooks/factormodel.ipynb", "docs/notebooks/large.ipynb", "docs/notebooks/sample.ipynb", "docs/reports.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": 6, "0": [1, 3, 4, 5, 6], "006799927138118909": 4, "00923407730537884": 4, "01": [4, 5], "02": 4, "020484e": 4, "02800705": 4, "03": 4, "03309495": 4, "033789e": 4, "03753803": 4, "04251146": 4, "048329e": 4, "05": 4, "0717266": 4, "078173e": 4, "08220467": 4, "08363908": 4, "09": 4, "09313427": 4, "095655e": 4, "09784121": 4, "1": [1, 3, 4, 5, 6], "10": 4, "100": [2, 3, 6], "1000": 2, "11": 3, "137605e": 4, "149695e": 4, "18": 6, "1e6": 3, "2": [1, 3, 4, 5, 6], "20": [3, 4], "2000": 5, "21": 6, "289733e": 4, "297920e": 4, "3": [3, 4], "309925e": 4, "33": 6, "341": 5, "359232e": 4, "364381e": 4, "392779e": 4, "4": 4, "40": 3, "448612e": 4, "48": 6, "5": [1, 3, 4, 6], "50": 6, "502608e": 4, "510221e": 4, "6": [3, 4, 6], "60": 3, "62": 5, "633963e": 4, "656": 6, "692077e": 4, "7": [3, 4, 5, 6], "743304e": 4, "80": 3, "9": 4, "914576e": 4, "In": [1, 3, 4], "It": 1, "No": 4, "The": 1, "To": 1, "_": 3, "_builder": 3, "_problem": 6, "_riskmodel": 6, "aapl": 4, "abov": 1, "abstract": 1, "actual": 1, "advantag": 6, "after": 3, "again": 1, "all": [1, 3, 4], "alpha": 3, "alreadi": 1, "also": 1, "altern": 1, "amd": 4, "amzn": 4, "an": [1, 3], "analysi": 1, "ani": 1, "appli": 1, "ar": 1, "arg": 1, "arrai": [1, 4], "assert": 4, "asset": [1, 2, 3, 4], "assum": 1, "awar": 1, "axi": 3, "axioma": 1, "baba": 4, "bac": 4, "backend": 3, "backtest": [1, 3], "barra": 1, "base": 1, "bby": 4, "befor": 3, "beta": [1, 5], "beta_": 1, "bound": 5, "build": 3, "builder": 3, "call": [3, 4], "can": 1, "cannot": 3, "case": 1, "cell": [3, 4], "chang": 1, "check": 4, "class": 1, "clean": 1, "code": 1, "coeffici": 1, "column": [4, 5], "com": 3, "combin": 1, "compon": 1, "comput": 1, "condit": 1, "conjunct": 1, "const_factor": 5, "constraint": [1, 5], "construct": [1, 6], "convex": 1, "cov": [1, 3, 4, 5, 6], "covari": [2, 3], "cp": [1, 3, 6], "csv": [3, 4], "current": 1, "cvar": 3, "cvx": [1, 3, 4, 5, 6], "cvxpy": [1, 3, 4, 5, 6], "cvxrisk": 3, "data": [1, 3, 4, 5], "datafram": 5, "deal": 1, "decoupl": 1, "dedic": 1, "def": [1, 6], "defin": 1, "demo": 2, "design": 1, "dev": [5, 6], "deviat": 1, "diagon": 1, "dimens": 1, "dimension": 1, "distinguish": 1, "do": 6, "don": [1, 3], "dropna": 3, "dtype": 4, "e": 1, "each": [1, 5, 6], "enough": 1, "entir": 3, "environ": 1, "epsilon": 1, "epsilon_i": 1, "establish": 3, "estim": [1, 3, 4, 5], "even": 1, "everi": [1, 3, 6], "ewm": 3, "execut": 1, "explain": 1, "expos": 1, "exposur": [4, 5], "extern": 1, "f_1": 1, "f_j": 1, "f_k": 1, "factor": 2, "factormodel": 5, "fals": 5, "fb": 4, "fillna": 4, "flexibl": 1, "float64": 4, "follow": 1, "formul": 1, "from": [1, 3, 4, 5, 6], "function": 1, "g": 1, "ge": 4, "gm": 4, "good": 1, "goog": 4, "have": 1, "header": [3, 4], "henc": 1, "here": 6, "histor": 3, "home": 3, "how": 3, "i": [1, 5, 6], "idiosyncrat": [1, 4], "idiosyncratic_risk": [4, 5], "ignore_dpp": 5, "implement": 1, "import": [1, 3, 4, 5, 6], "importerror": 3, "index": [3, 4, 5], "index_col": [3, 4], "initial_cash": 3, "inject": 1, "instal": 1, "isclos": 4, "iter": [1, 3, 6], "j": 1, "ji": 1, "jpm": 4, "jupyterlab": 1, "k": [1, 4, 5], "keep": 1, "kwarg": 1, "larg": 2, "last": [3, 4], "ldot": 1, "len": [3, 4, 5], "lib": 3, "linalg": 4, "line": [3, 4], "linear": 1, "load": [1, 3], "loc": 3, "loop": [5, 6], "love": 1, "lower": 1, "lower_asset": [3, 4, 5, 6], "lower_factor": [4, 5], "m": [3, 5, 6], "ma": 4, "mai": 1, "maintain": 1, "make": 1, "matric": 3, "matrix": 1, "mean": [5, 6], "measur": 1, "method": 1, "min_period": 3, "min_risk": [3, 4, 5, 6], "minim": [1, 5], "minimum": [1, 3], "minimum_risk": 1, "minrisk_problem": [3, 4, 5, 6], "model": 2, "modul": 4, "modulenotfounderror": 4, "most": [3, 4], "n": [3, 5, 6], "n_compon": 4, "name": [3, 4], "nav": 3, "new": 1, "note": 1, "np": [1, 3, 4, 5, 6], "num": [1, 3, 6], "numpi": [1, 3, 4, 5, 6], "object": 5, "observ": 1, "offer": 1, "onc": 1, "ones": [3, 4, 5, 6], "optim": 1, "option": 3, "orthogon": 1, "packag": 3, "panda": [3, 4, 5], "paramet": [4, 6], "parse_d": [3, 4], "parti": 1, "pattern": 1, "pca": [1, 4], "pct_chang": [3, 4], "pd": [3, 4, 5], "per": [5, 6], "perform": [1, 3], "pfe": 4, "plot": 3, "plotli": 3, "portfolio": [1, 3, 4, 5, 6], "posit": 1, "practic": 1, "precis": 1, "price": 3, "princip": 1, "print": [1, 4], "problem": [1, 2, 3, 4, 6], "project": 1, "provid": 1, "py": 3, "pyproject": 1, "python3": 3, "quantiti": 1, "r": 1, "r_i": 1, "rand_cov": 6, "random": [5, 6], "random_asset": 5, "random_beta": 5, "random_factor": 5, "random_nois": 5, "rang": [5, 6], "read_csv": [3, 4], "recent": [3, 4], "reconstruct": [1, 3], "regress": 1, "reli": 1, "replic": 1, "repres": 1, "requir": 1, "residu": 1, "ret": 5, "return": [1, 3, 6], "risk": [2, 5, 6], "risk_model": [1, 3], "riskmodel": 1, "rout": 1, "rrc": 4, "run": [3, 5, 6], "runner": 3, "sampl": [2, 3], "samplecovari": [1, 3, 6], "sbux": 4, "scenario": 1, "seen": 1, "seri": [1, 3, 4], "set_weight": 3, "shape": 6, "share": 1, "shld": 4, "sigma_f": 1, "simpl": 1, "simpli": 1, "simul": 3, "site": 3, "solut": 4, "solv": [1, 3, 4, 5, 6], "some": 3, "space": 1, "stai": 1, "standard": 1, "start": [1, 3], "std": [4, 5, 6], "stock": 3, "stock_pric": [3, 4], "subspac": 1, "sum": [1, 4, 5], "sum_": 1, "sum_i": 1, "support": 1, "systemat": 1, "t": [1, 3, 4, 5], "tail": 3, "take": 6, "test": 4, "thei": 1, "thi": 1, "those": 1, "time": 1, "timeit": [5, 6], "toml": 1, "traceback": [3, 4], "triangl": 5, "true": [3, 4, 5], "truncat": 3, "two": 1, "uaa": 4, "uncorrel": 1, "underli": 1, "uniform": 4, "updat": [1, 3, 4, 5, 6], "upper_asset": [3, 4, 5, 6], "upper_factor": [4, 5], "us": 1, "usual": 1, "util": 5, "valu": [1, 3, 4, 5], "var": 1, "variabl": [1, 3, 4, 5, 6], "varianc": 1, "vector": 1, "venv": 3, "via": 1, "virtual": 1, "volatil": 1, "w": [1, 3, 4, 5], "w_i": 1, "we": [1, 3, 6], "weight": [1, 4, 5, 6], "where": 1, "wide": 1, "within": 1, "wmt": 4, "work": [1, 3], "would": 1, "xom": 4, "y": [1, 4, 5], "you": 1, "your": 1, "zero": [3, 4, 5, 6]}, "titles": ["API", "cvxrisk", "Notebooks", "Demo", "Factor risk models", "Large problem with 1000 assets and 100 factors", "Sample covariance", "Test Reports"], "titleterms": {"100": 5, "1000": 5, "A": 1, "api": 0, "asset": 5, "chang": 3, "compon": 4, "comput": 4, "covari": [1, 6], "coverag": 7, "creat": 4, "cvar": 1, "cvxrisk": 1, "demo": 3, "exampl": 1, "factor": [1, 4, 5], "factormodel": 4, "first": 1, "here": 4, "i": 4, "inject": 4, "kernel": 1, "larg": 5, "load": 4, "model": [1, 3, 4], "notebook": 2, "optim": 4, "poetri": 1, "price": 4, "princip": 4, "problem": 5, "report": 7, "return": 4, "risk": [1, 3, 4], "riskmodel": 4, "sampl": [1, 6], "sphinx": 0, "test": 7, "time": 7}}) \ No newline at end of file diff --git a/tests_coverage/coverage/coverage.json b/tests_coverage/coverage/coverage.json index 377cf9c1..dbe07136 100644 --- a/tests_coverage/coverage/coverage.json +++ b/tests_coverage/coverage/coverage.json @@ -1 +1 @@ -{"meta": {"format": 3, "version": "7.6.4", "timestamp": "2024-11-13T16:44:02.253641", "branch_coverage": false, "show_contexts": false}, "files": {"cvx/portfolio/__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/portfolio/min_risk.py": {"executed_lines": [14, 16, 19, 20, 26], "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": [], "functions": {"minrisk_problem": {"executed_lines": [20, 26], "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": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 20, 26], "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": []}}}, "cvx/random/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/random/rand_cov.py": {"executed_lines": [14, 16, 19, 20, 21], "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": [], "functions": {"rand_cov": {"executed_lines": [20, 21], "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": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 20, 21], "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": []}}}, "cvx/risk/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/bounds.py": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 32, 34, 35, 37, 38, 43, 49, 51, 52, 53, 55, 56, 57, 61, 62], "summary": {"covered_lines": 25, "num_statements": 25, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"Bounds.estimate": {"executed_lines": [32], "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": []}, "Bounds._f": {"executed_lines": [35], "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": []}, "Bounds.__post_init__": {"executed_lines": [38, 43], "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": []}, "Bounds.update": {"executed_lines": [51, 52, 53, 55, 56, 57], "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": []}, "Bounds.constraints": {"executed_lines": [62], "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": []}, "": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 34, 37, 49, 61], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"Bounds": {"executed_lines": [32, 35, 38, 43, 51, 52, 53, 55, 56, 57, 62], "summary": {"covered_lines": 11, "num_statements": 11, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 34, 37, 49, 61], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/risk/cvar/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/cvar/cvar.py": {"executed_lines": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 34, 35, 38, 40, 47, 49, 50, 51, 53, 54, 56, 57], "summary": {"covered_lines": 24, "num_statements": 24, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"CVar.__post_init__": {"executed_lines": [34, 35, 38], "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": []}, "CVar.estimate": {"executed_lines": [47], "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": []}, "CVar.update": {"executed_lines": [50, 51, 53, 54], "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": []}, "CVar.constraints": {"executed_lines": [57], "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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 40, 49, 56], "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": {"CVar": {"executed_lines": [34, 35, 38, 47, 50, 51, 53, 54, 57], "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": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 40, 49, 56], "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": []}}}, "cvx/risk/factor/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/factor/factor.py": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 36, 42, 46, 52, 53, 55, 59, 63, 65, 69, 70, 71, 73, 74, 77, 78, 79, 81, 82, 84], "summary": {"covered_lines": 32, "num_statements": 32, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"FactorModel.__post_init__": {"executed_lines": [36, 42, 46, 52, 53], "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": []}, "FactorModel.estimate": {"executed_lines": [59, 63, 65], "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": []}, "FactorModel.update": {"executed_lines": [70, 71, 73, 74, 77, 78, 79], "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": []}, "FactorModel.constraints": {"executed_lines": [82, 84], "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": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 55, 69, 81], "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": {"FactorModel": {"executed_lines": [36, 42, 46, 52, 53, 59, 63, 65, 70, 71, 73, 74, 77, 78, 79, 82, 84], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 55, 69, 81], "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": []}}}, "cvx/risk/linalg/__init__.py": {"executed_lines": [14, 16, 17, 18], "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": [], "functions": {"": {"executed_lines": [14, 16, 17, 18], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 17, 18], "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": []}}}, "cvx/risk/linalg/cholesky.py": {"executed_lines": [14, 16, 19, 22], "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": [], "functions": {"cholesky": {"executed_lines": [22], "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": []}, "": {"executed_lines": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 22], "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": []}}}, "cvx/risk/linalg/pca.py": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30, 40, 41, 43, 44, 46], "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": [], "functions": {"pca": {"executed_lines": [40, 41, 43, 44, 46], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30, 40, 41, 43, 44, 46], "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": []}}}, "cvx/risk/linalg/valid.py": {"executed_lines": [14, 16, 19, 28, 29, 31, 32], "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": [], "functions": {"valid": {"executed_lines": [28, 29, 31, 32], "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": []}, "": {"executed_lines": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 28, 29, 31, 32], "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": []}}}, "cvx/risk/model.py": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": [], "functions": {"Model.estimate": {"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": []}, "Model.update": {"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": []}, "Model.constraints": {"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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": {"Model": {"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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": []}}}, "cvx/risk/sample/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/sample/sample.py": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 35, 40, 42, 44, 46, 47, 48, 50, 51, 53, 54], "summary": {"covered_lines": 22, "num_statements": 22, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"SampleCovariance.__post_init__": {"executed_lines": [35, 40], "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": []}, "SampleCovariance.estimate": {"executed_lines": [44], "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": []}, "SampleCovariance.update": {"executed_lines": [47, 48, 50, 51], "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": []}, "SampleCovariance.constraints": {"executed_lines": [54], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 42, 46, 53], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"SampleCovariance": {"executed_lines": [35, 40, 44, 47, 48, 50, 51, 54], "summary": {"covered_lines": 8, "num_statements": 8, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 42, 46, 53], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}}, "totals": {"covered_lines": 163, "num_statements": 163, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}} \ No newline at end of file +{"meta": {"format": 3, "version": "7.6.4", "timestamp": "2024-11-13T16:47:39.423978", "branch_coverage": false, "show_contexts": false}, "files": {"cvx/portfolio/__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/portfolio/min_risk.py": {"executed_lines": [14, 16, 19, 20, 26], "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": [], "functions": {"minrisk_problem": {"executed_lines": [20, 26], "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": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 20, 26], "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": []}}}, "cvx/random/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/random/rand_cov.py": {"executed_lines": [14, 16, 19, 20, 21], "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": [], "functions": {"rand_cov": {"executed_lines": [20, 21], "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": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 20, 21], "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": []}}}, "cvx/risk/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/bounds.py": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 32, 34, 35, 37, 38, 43, 49, 51, 52, 53, 55, 56, 57, 61, 62], "summary": {"covered_lines": 25, "num_statements": 25, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"Bounds.estimate": {"executed_lines": [32], "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": []}, "Bounds._f": {"executed_lines": [35], "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": []}, "Bounds.__post_init__": {"executed_lines": [38, 43], "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": []}, "Bounds.update": {"executed_lines": [51, 52, 53, 55, 56, 57], "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": []}, "Bounds.constraints": {"executed_lines": [62], "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": []}, "": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 34, 37, 49, 61], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"Bounds": {"executed_lines": [32, 35, 38, 43, 51, 52, 53, 55, 56, 57, 62], "summary": {"covered_lines": 11, "num_statements": 11, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [14, 15, 17, 19, 20, 22, 25, 26, 27, 28, 30, 34, 37, 49, 61], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "cvx/risk/cvar/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/cvar/cvar.py": {"executed_lines": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 34, 35, 38, 40, 47, 49, 50, 51, 53, 54, 56, 57], "summary": {"covered_lines": 24, "num_statements": 24, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"CVar.__post_init__": {"executed_lines": [34, 35, 38], "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": []}, "CVar.estimate": {"executed_lines": [47], "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": []}, "CVar.update": {"executed_lines": [50, 51, 53, 54], "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": []}, "CVar.constraints": {"executed_lines": [57], "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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 40, 49, 56], "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": {"CVar": {"executed_lines": [34, 35, 38, 47, 50, 51, 53, 54, 57], "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": [14, 16, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 33, 40, 49, 56], "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": []}}}, "cvx/risk/factor/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/factor/factor.py": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 36, 42, 46, 52, 53, 55, 59, 63, 65, 69, 70, 71, 73, 74, 77, 78, 79, 81, 82, 84], "summary": {"covered_lines": 32, "num_statements": 32, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"FactorModel.__post_init__": {"executed_lines": [36, 42, 46, 52, 53], "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": []}, "FactorModel.estimate": {"executed_lines": [59, 63, 65], "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": []}, "FactorModel.update": {"executed_lines": [70, 71, 73, 74, 77, 78, 79], "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": []}, "FactorModel.constraints": {"executed_lines": [82, 84], "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": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 55, 69, 81], "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": {"FactorModel": {"executed_lines": [36, 42, 46, 52, 53, 59, 63, 65, 70, 71, 73, 74, 77, 78, 79, 82, 84], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 35, 55, 69, 81], "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": []}}}, "cvx/risk/linalg/__init__.py": {"executed_lines": [14, 16, 17, 18], "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": [], "functions": {"": {"executed_lines": [14, 16, 17, 18], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 17, 18], "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": []}}}, "cvx/risk/linalg/cholesky.py": {"executed_lines": [14, 16, 19, 22], "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": [], "functions": {"cholesky": {"executed_lines": [22], "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": []}, "": {"executed_lines": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 22], "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": []}}}, "cvx/risk/linalg/pca.py": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30, 40, 41, 43, 44, 46], "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": [], "functions": {"pca": {"executed_lines": [40, 41, 43, 44, 46], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 18, 20, 21, 22, 24, 30, 40, 41, 43, 44, 46], "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": []}}}, "cvx/risk/linalg/valid.py": {"executed_lines": [14, 16, 19, 28, 29, 31, 32], "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": [], "functions": {"valid": {"executed_lines": [28, 29, 31, 32], "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": []}, "": {"executed_lines": [14, 16, 19], "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": []}}, "classes": {"": {"executed_lines": [14, 16, 19, 28, 29, 31, 32], "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": []}}}, "cvx/risk/model.py": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": [], "functions": {"Model.estimate": {"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": []}, "Model.update": {"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": []}, "Model.constraints": {"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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": {"Model": {"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": []}, "": {"executed_lines": [14, 16, 18, 19, 21, 24, 25, 26, 28, 30, 31, 36, 37, 42, 43], "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": []}}}, "cvx/risk/sample/__init__.py": {"executed_lines": [14, 16], "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": [], "functions": {"": {"executed_lines": [14, 16], "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": []}}, "classes": {"": {"executed_lines": [14, 16], "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": []}}}, "cvx/risk/sample/sample.py": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 35, 40, 42, 44, 46, 47, 48, 50, 51, 53, 54], "summary": {"covered_lines": 22, "num_statements": 22, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"SampleCovariance.__post_init__": {"executed_lines": [35, 40], "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": []}, "SampleCovariance.estimate": {"executed_lines": [44], "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": []}, "SampleCovariance.update": {"executed_lines": [47, 48, 50, 51], "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": []}, "SampleCovariance.constraints": {"executed_lines": [54], "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": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 42, 46, 53], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"SampleCovariance": {"executed_lines": [35, 40, 44, 47, 48, 50, 51, 54], "summary": {"covered_lines": 8, "num_statements": 8, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [14, 16, 18, 20, 21, 23, 24, 25, 28, 29, 30, 32, 34, 42, 46, 53], "summary": {"covered_lines": 14, "num_statements": 14, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}}, "totals": {"covered_lines": 163, "num_statements": 163, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}} \ No newline at end of file diff --git a/tests_coverage/coverage/coverage.xml b/tests_coverage/coverage/coverage.xml index cb93a7e3..916b3d94 100644 --- a/tests_coverage/coverage/coverage.xml +++ b/tests_coverage/coverage/coverage.xml @@ -1,5 +1,5 @@ - + diff --git a/tests_coverage/html-coverage/class_index.html b/tests_coverage/html-coverage/class_index.html index 113f7e7a..b1f28a4b 100644 --- a/tests_coverage/html-coverage/class_index.html +++ b/tests_coverage/html-coverage/class_index.html @@ -55,7 +55,7 @@

coverage.py v7.6.4, - created at 2024-11-13 16:44 +0000 + created at 2024-11-13 16:47 +0000

@@ -268,7 +268,7 @@

coverage.py v7.6.4, - created at 2024-11-13 16:44 +0000 + created at 2024-11-13 16:47 +0000

@@ -428,7 +428,7 @@

coverage.py v7.6.4, - created at 2024-11-13 16:44 +0000 + created at 2024-11-13 16:47 +0000

@@ -208,7 +208,7 @@

coverage.py v7.6.4, - created at 2024-11-13 16:44 +0000 + created at 2024-11-13 16:47 +0000