bahamas.subfactor

Attributes

subfactor_score_software

defense_factor

Functions

compute_beta(subfactor_dict)

Compute beta factor for CCF

compute_phi(subfactor_dict)

Compute defense factor for CCF

Module Contents

bahamas.subfactor.subfactor_score_software[source]
bahamas.subfactor.defense_factor[source]
bahamas.subfactor.compute_beta(subfactor_dict)[source]

Compute beta factor for CCF

Parameters:

subfactor_dict (dict) – Dictionary of subfactors and their scores {“subfactor”:”score”}

Raises:

IOError – Error if the score value can not be found

Returns:

beta factor value

Return type:

float

bahamas.subfactor.compute_phi(subfactor_dict)[source]

Compute defense factor for CCF

Parameters:

subfactor_dict (dict) – Dictionary of subfactors and their scores {“subfactor”:”score”}

Raises:

IOError – Error if the score value cannot be found

Returns:

defense factor value

Return type:

float