Coverage report: 95%

Files Functions Classes

coverage.py v7.13.1, created at 2026-01-25 05:22 +0000

File class   statements missing excluded   coverage
HARK / Calibration / Assets / AssetProcesses.py (no class)   45 8 0   82%
HARK / Calibration / Assets / __init__.py (no class)   0 0 0   100%
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 / data / __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   52 3 10   94%
HARK / ConsumptionSaving / ConsAggShockModel.py AggShockMarkovConsumerType   52 1 0   98%
HARK / ConsumptionSaving / ConsAggShockModel.py KrusellSmithType   93 5 0   95%
HARK / ConsumptionSaving / ConsAggShockModel.py CobbDouglasEconomy   73 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py SmallOpenEconomy   43 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py CobbDouglasMarkovEconomy   118 19 2   84%
HARK / ConsumptionSaving / ConsAggShockModel.py SmallOpenMarkovEconomy   14 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py KrusellSmithEconomy   98 0 2   100%
HARK / ConsumptionSaving / ConsAggShockModel.py AggregateSavingRule   5 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py AggShocksDynamicRule   2 0 0   100%
HARK / ConsumptionSaving / ConsAggShockModel.py (no class)   375 0 6   100%
HARK / ConsumptionSaving / ConsBequestModel.py BequestWarmGlowConsumerType   1 0 2   100%
HARK / ConsumptionSaving / ConsBequestModel.py BequestWarmGlowPortfolioType   0 0 0   100%
HARK / ConsumptionSaving / ConsBequestModel.py (no class)   357 11 0   97%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py GenIncProcessConsumerType   26 4 2   85%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py IndShockExplicitPermIncConsumerType   0 0 0   100%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py PersistentShockConsumerType   0 0 0   100%
HARK / ConsumptionSaving / ConsGenIncProcessModel.py (no class)   267 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 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py PerfForesightConsumerTypeFast   21 1 0   95%
HARK / ConsumptionSaving / ConsIndShockModelFast.py IndShockConsumerTypeFast   31 0 0   100%
HARK / ConsumptionSaving / ConsIndShockModelFast.py (no class)   77 0 558   100%
HARK / ConsumptionSaving / ConsLabeledModel.py (no class)   10 0 0   100%
HARK / ConsumptionSaving / ConsLaborModel.py ConsumerLaborSolution   10 0 0   100%
HARK / ConsumptionSaving / ConsLaborModel.py LaborIntMargConsumerType   55 0 10   100%
HARK / ConsumptionSaving / ConsLaborModel.py (no class)   167 0 2   100%
HARK / ConsumptionSaving / ConsMarkovModel.py MarkovConsumerType   93 3 46   97%
HARK / ConsumptionSaving / ConsMarkovModel.py (no class)   257 6 4   98%
HARK / ConsumptionSaving / ConsMedModel.py TransConShareFunc   14 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py cAndMedFunc   35 0 0   100%
HARK / ConsumptionSaving / ConsMedModel.py MedShockConsumerType   20 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)   434 9 0   98%
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   19 0 10   100%
HARK / ConsumptionSaving / ConsPrefShockModel.py KinkyPrefConsumerType   2 0 0   100%
HARK / ConsumptionSaving / ConsPrefShockModel.py (no class)   301 8 2   97%
HARK / ConsumptionSaving / ConsRepAgentModel.py RepAgentConsumerType   9 0 2   100%
HARK / ConsumptionSaving / ConsRepAgentModel.py RepAgentMarkovConsumerType   17 0 0   100%
HARK / ConsumptionSaving / ConsRepAgentModel.py (no class)   108 0 0   100%
HARK / ConsumptionSaving / ConsRiskyAssetModel.py IndShockRiskyAssetConsumerType   54 3 2   94%
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)   359 8 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 WealthPortfolioConsumerType   2 0 0   100%
HARK / ConsumptionSaving / ConsWealthPortfolioModel.py (no class)   157 6 0   96%
HARK / ConsumptionSaving / ConsWealthUtilityModel.py ChiFromOmegaFunction   21 0 0   100%
HARK / ConsumptionSaving / ConsWealthUtilityModel.py WealthUtilityConsumerType   1 0 3   100%
HARK / ConsumptionSaving / ConsWealthUtilityModel.py CapitalistSpiritConsumerType   0 0 0   100%
HARK / ConsumptionSaving / ConsWealthUtilityModel.py (no class)   274 3 3   99%
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 / Labeled / __init__.py (no class)   7 0 0   100%
HARK / Labeled / agents.py PerfForesightLabeledType   1 0 0   100%
HARK / Labeled / agents.py IndShockLabeledType   0 0 0   100%
HARK / Labeled / agents.py RiskyAssetLabeledType   0 0 0   100%
HARK / Labeled / agents.py PortfolioLabeledType   1 0 0   100%
HARK / Labeled / agents.py (no class)   18 0 0   100%
HARK / Labeled / config.py ModelConfig   8 1 0   88%
HARK / Labeled / config.py (no class)   45 4 0   91%
HARK / Labeled / factories.py (no class)   90 16 2   82%
HARK / Labeled / solution.py ValueFuncCRRALabeled   35 4 0   89%
HARK / Labeled / solution.py ConsumerSolutionLabeled   17 2 0   88%
HARK / Labeled / solution.py (no class)   16 0 0   100%
HARK / Labeled / solvers.py BaseLabeledSolver   103 11 0   89%
HARK / Labeled / solvers.py ConsPerfForesightLabeledSolver   0 0 0   100%
HARK / Labeled / solvers.py ConsIndShockLabeledSolver   13 0 0   100%
HARK / Labeled / solvers.py ConsRiskyAssetLabeledSolver   16 1 0   94%
HARK / Labeled / solvers.py ConsFixedPortfolioLabeledSolver   7 5 0   29%
HARK / Labeled / solvers.py ConsPortfolioLabeledSolver   38 3 0   92%
HARK / Labeled / solvers.py (no class)   48 0 2   100%
HARK / Labeled / transitions.py Transitions   0 0 2   100%
HARK / Labeled / transitions.py PerfectForesightTransitions   13 0 0   100%
HARK / Labeled / transitions.py IndShockTransitions   14 0 0   100%
HARK / Labeled / transitions.py RiskyAssetTransitions   14 0 0   100%
HARK / Labeled / transitions.py FixedPortfolioTransitions   16 10 0   38%
HARK / Labeled / transitions.py PortfolioTransitions   18 0 0   100%
HARK / Labeled / transitions.py (no class)   37 0 7   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   212 3 56   99%
HARK / core.py Market   105 11 0   90%
HARK / core.py AgentPopulation   106 5 0   95%
HARK / core.py (no class)   255 4 4   98%
HARK / dcegm.py (no class)   32 0 193   100%
HARK / distributions / __init__.py (no class)   6 0 0   100%
HARK / distributions / base.py Distribution   21 2 0   90%
HARK / distributions / base.py MarkovProcess   6 0 0   100%
HARK / distributions / base.py IndexDistribution   54 8 0   85%
HARK / distributions / base.py (no class)   28 0 0   100%
HARK / distributions / continuous.py ContinuousFrozenDistribution   2 0 0   100%
HARK / distributions / continuous.py Normal   29 6 0   79%
HARK / distributions / continuous.py Lognormal   73 10 0   86%
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)   30 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   72 6 0   92%
HARK / distributions / discrete.py DiscreteDistributionLabeled   52 8 0   85%
HARK / distributions / discrete.py (no class)   39 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   15 3 0   80%
HARK / interpolation.py HARKinterpolator3D   24 4 0   83%
HARK / interpolation.py HARKinterpolator4D   35 5 0   86%
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 1 113   99%
HARK / mat_methods.py (no class)   3 0 241   100%
HARK / metric.py MetricObject   14 0 0   100%
HARK / metric.py (no class)   93 9 0   90%
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)   5 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)   696 90 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)   252 18 429   93%
HARK / validators.py (no class)   14 0 0   100%
Total     14294 707 2204   95%

No items found using the specified filter.