def _create_cases(self, level):
        outputs = ['comp1.z', 'comp2.z']
        cases = []
        for i in range(self.num_cases):
            i = float(i)
            inputs = [('comp1.x', 100*level+i),
                      ('comp1.y', 100*level+i+1),
                      ('comp1.label', 'L%d_case%d' % (level, i))]
            cases.append(Case(inputs=inputs, outputs=outputs))
        return cases
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/test/test_dbcaserecorder.py/NestedCaseTestCase._create_cases/original