def _param_from_updates(self, updates, p_name):
        var_filter = VariableFilter(roles=[BNPARAM])
        bn_ps = var_filter(updates.keys())
        p = [p for p in bn_ps if p.name == p_name]
        assert len(p) == 1, (p_name, p_name) % 'No %s of more than one %s'
        return p[0]
dataset/ETHPy150Open CuriousAI/ladder/nn.py/TestMonitoring._param_from_updates/swapped operands of `%`