def __init__(self, *al, **kw):
        kw['verts'] = kw.pop('vertices', kw.get('verts', 0))
        self.edge_cov = min(1.0, float(kw.get('edges', 0)) / 100.0)
        self.vert_cov = min(1.0, float(kw.get('verts', 0)) / 100.0)

        if self.edge_cov == 0.0 and self.vert_cov == 0.0:
            self.edge_cov = 1.0
dataset/ETHPy150Open spotify/python-graphwalker/graphwalker/halting.py/Coverage.__init__/original