Coverage report: 94%

Files Functions Classes

coverage.py v7.12.0, created at 2025-12-07 05:16 +0000

File class   statements missing excluded   coverage
HARK / Calibration / Assets / AssetProcesses.py (no class)   45 8 0   82%
HARK / Calibration / Income / IncomeProcesses.py BinaryIncShkDstn   7 1 0   86%
HARK / Calibration / Income / IncomeProcesses.py LognormPermIncShk   6 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py MixtureTranIncShk   5 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py MixtureTranIncShk_HANK   6 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py BufferStockIncShkDstn   4 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py IncShkDstn_HANK   4 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py pLvlFuncAR1   5 0 0   100%
HARK / Calibration / Income / IncomeProcesses.py (no class)   282 35 0   88%
HARK / Calibration / Income / IncomeTools.py (no class)   111 8 0   93%
HARK / Calibration / Income / __init__.py (no class)   0 0 0   100%
HARK / Calibration / SCF / WealthIncomeDist / SCFDistTools.py (no class)   40 4 0   90%
HARK / Calibration / SCF / WealthIncomeDist / __init__.py (no class)   0 0 0   100%
HARK / Calibration / SCF / __init__.py (no class)   0 0 0   100%
HARK / Calibration / __init__.py (no class)   4 0 0   100%
HARK / Calibration / cpi / __init__.py (no class)   0 0 0   100%
HARK / Calibration / cpi / us / CPITools.py (no class)   28 1 0   96%
HARK / Calibration / cpi / us / __init__.py (no class)   0 0 0   100%
HARK / Calibration / life_tables / __init__.py (no class)   0 0 0   100%
HARK / Calibration / life_tables / us_ssa / SSATools.py (no class)   48 9 0   81%
HARK / Calibration / life_tables / us_ssa / __init__.py (no class)   0 0 0   100%
HARK / Calibration / load_data.py (no class)   15 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py AggShockConsumerType   56 7 0   88%
HARK / ConsumptionSaving / ConsAggShockModel.py AggShockMarkovConsumerType   53 1 0   98%
HARK / ConsumptionSaving / ConsAggShockModel.py KrusellSmithType   93 5 0   95%
HARK / ConsumptionSaving / ConsAggShockModel.py CobbDouglasEconomy   69 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py SmallOpenEconomy   40 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py CobbDouglasMarkovEconomy   121 21 0   83%
HARK / ConsumptionSaving / ConsAggShockModel.py SmallOpenMarkovEconomy   14 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py KrusellSmithEconomy   100 1 0   99%
HARK / ConsumptionSaving / ConsAggShockModel.py AggregateSavingRule   5 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py AggShocksDynamicRule   2 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py (no class)   383 2 0   99%
HARK / ConsumptionSaving / ConsBequestModel.py BequestWarmGlowConsumerType   3 2 0   33%
HARK / ConsumptionSaving / ConsBequestModel.py BequestWarmGlowPortfolioType   0 0 0   100%
HARK / ConsumptionSaving / ConsBequestModel.py (no class)   357 11 0   97%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py GenIncProcessConsumerType   28 6 0   79%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py IndShockExplicitPermIncConsumerType   0 0 0   100%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py PersistentShockConsumerType   0 0 0   100%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py (no class)   281 4 0   99%
HARK / ConsumptionSaving / ConsHealthModel.py BasicHealthConsumerType   46 0 0   100%
HARK / ConsumptionSaving / ConsHealthModel.py (no class)   130 4 0   97%
HARK / ConsumptionSaving / ConsIndShockModel.py ConsumerSolution   20 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModel.py PerfForesightConsumerType   216 2 1   99%
HARK / ConsumptionSaving / ConsIndShockModel.py IndShockConsumerType   218 4 0   98%
HARK / ConsumptionSaving / ConsIndShockModel.py KinkedRconsumerType   26 1 24   96%
HARK / ConsumptionSaving / ConsIndShockModel.py (no class)   402 2 1   99%
HARK / ConsumptionSaving / ConsIndShockModelFast.py PerfForesightSolution   7 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py IndShockSolution   14 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py ConsPerfForesightSolverFast   6 1 0   83%
HARK / ConsumptionSaving / ConsIndShockModelFast.py ConsIndShockSolverBasicFast   7 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py ConsIndShockSolverFast   15 1 0   93%
HARK / ConsumptionSaving / ConsIndShockModelFast.py PerfForesightConsumerTypeFast   16 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py IndShockConsumerTypeFast   26 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py (no class)   69 0 558   100%
HARK / ConsumptionSaving / ConsLabeledModel.py ValueFuncCRRALabeled   23 5 0   78%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsumerSolutionLabeled   9 4 0   56%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsPerfForesightLabeledSolver   80 6 0   92%
HARK / ConsumptionSaving / ConsLabeledModel.py PerfForesightLabeledType   1 0 0   100%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsIndShockLabeledSolver   24 0 0   100%
HARK / ConsumptionSaving / ConsLabeledModel.py IndShockLabeledType   0 0 0   100%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsRiskyAssetLabeledSolver   26 26 0   0%
HARK / ConsumptionSaving / ConsLabeledModel.py RiskyAssetLabeledType   0 0 0   100%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsFixedPortfolioLabeledSolver   15 15 0   0%
HARK / ConsumptionSaving / ConsLabeledModel.py ConsPortfolioLabeledSolver   39 39 0   0%
HARK / ConsumptionSaving / ConsLabeledModel.py PortfolioLabeledType   0 0 0   100%
HARK / ConsumptionSaving / ConsLabeledModel.py (no class)   147 8 0   95%
HARK / ConsumptionSaving / ConsLaborModel.py ConsumerLaborSolution   10 0 0   100%
HARK / ConsumptionSaving / ConsLaborModel.py LaborIntMargConsumerType   57 2 8   96%
HARK / ConsumptionSaving / ConsLaborModel.py (no class)   167 0 2   100%
HARK / ConsumptionSaving / ConsMarkovModel.py MarkovConsumerType   97 7 0   93%
HARK / ConsumptionSaving / ConsMarkovModel.py (no class)   261 6 0   98%
HARK / ConsumptionSaving / ConsMedModel.py MedShockPolicyFunc   52 1 0   98%
HARK / ConsumptionSaving / ConsMedModel.py cThruXfunc   20 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py MedThruXfunc   22 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py MedShockConsumerType   22 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py ConsMedExtMargSolution   18 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py MedExtMargConsumerType   38 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py (no class)   485 3 0   99%
HARK / ConsumptionSaving / ConsNewKeynesianModel.py NewKeynesianConsumerType   264 31 0   88%
HARK / ConsumptionSaving / ConsNewKeynesianModel.py (no class)   23 0 0   100%
HARK / ConsumptionSaving / ConsPortfolioModel.py PortfolioSolution   34 0 0   100%
HARK / ConsumptionSaving / ConsPortfolioModel.py PortfolioConsumerType   19 2 0   89%
HARK / ConsumptionSaving / ConsPortfolioModel.py (no class)   287 15 0   95%
HARK / ConsumptionSaving / ConsPrefShockModel.py PrefShockConsumerType   21 2 44   90%
HARK / ConsumptionSaving / ConsPrefShockModel.py KinkyPrefConsumerType   2 0 0   100%
HARK / ConsumptionSaving / ConsPrefShockModel.py (no class)   289 8 2   97%
HARK / ConsumptionSaving / ConsRepAgentModel.py RepAgentConsumerType   11 2 0   82%
HARK / ConsumptionSaving / ConsRepAgentModel.py RepAgentMarkovConsumerType   17 0 0   100%
HARK / ConsumptionSaving / ConsRepAgentModel.py (no class)   108 0 0   100%
HARK / ConsumptionSaving / ConsRiskyAssetModel.py IndShockRiskyAssetConsumerType   56 5 0   91%
HARK / ConsumptionSaving / ConsRiskyAssetModel.py (no class)   438 18 0   96%
HARK / ConsumptionSaving / ConsRiskyContribModel.py RiskyContribRebSolution   27 0 0   100%
HARK / ConsumptionSaving / ConsRiskyContribModel.py RiskyContribShaSolution   27 0 0   100%
HARK / ConsumptionSaving / ConsRiskyContribModel.py RiskyContribCnsSolution   15 0 0   100%
HARK / ConsumptionSaving / ConsRiskyContribModel.py RiskyContribSolution   1 0 0   100%
HARK / ConsumptionSaving / ConsRiskyContribModel.py RiskyContribConsumerType   76 3 0   96%
HARK / ConsumptionSaving / ConsRiskyContribModel.py (no class)   360 9 0   98%
HARK / ConsumptionSaving / ConsSequentialPortfolioModel.py SequentialPortfolioConsumerType   5 5 0   0%
HARK / ConsumptionSaving / ConsSequentialPortfolioModel.py (no class)   5 5 0   0%
HARK / ConsumptionSaving / ConsWealthPortfolioModel.py ChiFromOmegaFunction   21 0 0   100%
HARK / ConsumptionSaving / ConsWealthPortfolioModel.py WealthPortfolioConsumerType   2 0 0   100%
HARK / ConsumptionSaving / ConsWealthPortfolioModel.py (no class)   165 7 0   96%
HARK / ConsumptionSaving / TractableBufferStockModel.py TractableConsumerSolution   6 0 0   100%
HARK / ConsumptionSaving / TractableBufferStockModel.py TractableConsumerType   88 2 0   98%
HARK / ConsumptionSaving / TractableBufferStockModel.py (no class)   66 0 0   100%
HARK / ConsumptionSaving / __init__.py (no class)   17 0 0   100%
HARK / SSJutils.py (no class)   262 9 125   97%
HARK / __init__.py (no class)   20 0 0   100%
HARK / core.py Parameters   126 8 0   94%
HARK / core.py Model   163 3 0   98%
HARK / core.py AgentType   208 3 56   99%
HARK / core.py Market   94 10 0   89%
HARK / core.py AgentPopulation   106 27 0   75%
HARK / core.py (no class)   251 3 4   99%
HARK / dcegm.py (no class)   32 0 193   100%
HARK / distributions / __init__.py (no class)   6 0 0   100%
HARK / distributions / base.py Distribution   25 4 0   84%
HARK / distributions / base.py MarkovProcess   6 0 0   100%
HARK / distributions / base.py IndexDistribution   54 8 0   85%
HARK / distributions / base.py (no class)   25 0 0   100%
HARK / distributions / continuous.py ContinuousFrozenDistribution   2 0 0   100%
HARK / distributions / continuous.py Normal   20 1 0   95%
HARK / distributions / continuous.py Lognormal   67 6 0   91%
HARK / distributions / continuous.py MeanOneLogNormal   2 0 0   100%
HARK / distributions / continuous.py Uniform   14 0 0   100%
HARK / distributions / continuous.py Weibull   5 0 0   100%
HARK / distributions / continuous.py (no class)   29 0 0   100%
HARK / distributions / discrete.py DiscreteFrozenDistribution   2 0 0   100%
HARK / distributions / discrete.py Bernoulli   8 0 0   100%
HARK / distributions / discrete.py DiscreteDistribution   56 4 0   93%
HARK / distributions / discrete.py DiscreteDistributionLabeled   52 8 0   85%
HARK / distributions / discrete.py (no class)   38 0 0   100%
HARK / distributions / multivariate.py MultivariateNormal   17 0 0   100%
HARK / distributions / multivariate.py MultivariateLogNormal   140 15 0   89%
HARK / distributions / multivariate.py (no class)   22 0 0   100%
HARK / distributions / utils.py (no class)   170 14 0   92%
HARK / econforgeinterp.py LinearFast   24 3 0   88%
HARK / econforgeinterp.py DecayInterp   42 6 0   86%
HARK / econforgeinterp.py (no class)   19 0 0   100%
HARK / estimation.py (no class)   240 12 0   95%
HARK / interpolation.py HARKinterpolator1D   10 3 0   70%
HARK / interpolation.py HARKinterpolator2D   12 3 0   75%
HARK / interpolation.py HARKinterpolator3D   20 4 0   80%
HARK / interpolation.py HARKinterpolator4D   30 5 0   83%
HARK / interpolation.py IdentityFunction   30 2 0   93%
HARK / interpolation.py ConstantFunction   16 3 0   81%
HARK / interpolation.py LinearInterp   57 0 0   100%
HARK / interpolation.py CubicInterp   80 0 0   100%
HARK / interpolation.py CubicHermiteInterp   55 9 0   84%
HARK / interpolation.py BilinearInterp   40 0 0   100%
HARK / interpolation.py TrilinearInterp   70 0 0   100%
HARK / interpolation.py QuadlinearInterp   128 0 0   100%
HARK / interpolation.py LowerEnvelope   28 0 0   100%
HARK / interpolation.py UpperEnvelope   28 2 0   93%
HARK / interpolation.py LowerEnvelope2D   36 2 0   94%
HARK / interpolation.py LowerEnvelope3D   47 2 0   96%
HARK / interpolation.py VariableLowerBoundFunc2D   11 0 0   100%
HARK / interpolation.py VariableLowerBoundFunc3D   14 0 0   100%
HARK / interpolation.py LinearInterpOnInterp1D   38 0 0   100%
HARK / interpolation.py BilinearInterpOnInterp1D   55 0 0   100%
HARK / interpolation.py TrilinearInterpOnInterp1D   104 0 0   100%
HARK / interpolation.py LinearInterpOnInterp2D   50 0 0   100%
HARK / interpolation.py BilinearInterpOnInterp2D   83 0 0   100%
HARK / interpolation.py Curvilinear2DInterp   159 5 0   97%
HARK / interpolation.py DiscreteInterp   9 0 0   100%
HARK / interpolation.py IndexedInterp   11 0 0   100%
HARK / interpolation.py ValueFuncCRRA   17 6 0   65%
HARK / interpolation.py MargValueFuncCRRA   13 5 0   62%
HARK / interpolation.py MargMargValueFuncCRRA   9 1 0   89%
HARK / interpolation.py (no class)   281 15 113   95%
HARK / mat_methods.py (no class)   3 0 241   100%
HARK / metric.py MetricObject   4 0 0   100%
HARK / metric.py (no class)   49 8 0   84%
HARK / model.py Aggregate   1 0 0   100%
HARK / model.py Control   1 0 0   100%
HARK / model.py Block   0 0 0   100%
HARK / model.py DBlock   45 0 0   100%
HARK / model.py RBlock   23 4 0   83%
HARK / model.py (no class)   78 1 1   99%
HARK / models / __init__.py (no class)   17 0 0   100%
HARK / models / consumer.py (no class)   10 0 0   100%
HARK / models / fisher.py (no class)   4 4 0   0%
HARK / models / perfect_foresight.py (no class)   5 0 0   100%
HARK / models / perfect_foresight_normalized.py (no class)   6 0 0   100%
HARK / numba_tools.py (no class)   10 0 218   100%
HARK / parser.py ControlToken   1 1 0   0%
HARK / parser.py Expression   5 5 0   0%
HARK / parser.py (no class)   25 0 0   100%
HARK / rewards.py UtilityFunction   12 0 0   100%
HARK / rewards.py UtilityFuncCRRA   32 2 0   94%
HARK / rewards.py UtilityFuncCARA   21 0 0   100%
HARK / rewards.py UtilityFuncStoneGeary   20 0 0   100%
HARK / rewards.py UtilityFuncCobbDouglas   10 0 0   100%
HARK / rewards.py UtilityFuncCobbDouglasCRRA   9 0 0   100%
HARK / rewards.py UtilityFuncConstElastSubs   10 0 0   100%
HARK / rewards.py (no class)   181 23 0   87%
HARK / simulation / __init__.py (no class)   0 0 0   100%
HARK / simulation / monte_carlo.py Simulator   0 0 0   100%
HARK / simulation / monte_carlo.py AgentTypeMonteCarloSimulator   96 3 0   97%
HARK / simulation / monte_carlo.py MonteCarloSimulator   72 4 0   94%
HARK / simulation / monte_carlo.py (no class)   51 0 0   100%
HARK / simulator.py ModelEvent   59 2 1   97%
HARK / simulator.py DynamicEvent   8 0 0   100%
HARK / simulator.py RandomEvent   19 1 0   95%
HARK / simulator.py RandomIndexedEvent   33 6 0   82%
HARK / simulator.py MarkovEvent   63 4 0   94%
HARK / simulator.py EvaluationEvent   8 0 0   100%
HARK / simulator.py SimBlock   209 11 0   95%
HARK / simulator.py AgentSimulator   256 20 0   92%
HARK / simulator.py (no class)   694 89 118   87%
HARK / utilities.py get_it_from   4 1 0   75%
HARK / utilities.py NullFunc   9 0 0   100%
HARK / utilities.py (no class)   205 10 429   95%
HARK / validators.py (no class)   14 0 0   100%
Total     13766 787 2139   94%

No items found using the specified filter.