def METHOD_NAME(self):
    graph = NasBench201SearchSpace()
    graph.set_spec((4, 3, 3, 0, 0, 0))
    api = create_dummy_api()
    api_data = api['nb201_data'][
        '|avg_pool_3x3~0|+|nor_conv_1x1~0|skip_connect~1|+|nor_conv_1x1~0|skip_connect~1|skip_connect~2|'][
        'cifar10-valid']
    val_acc = graph.query(Metric.VAL_ACCURACY, 'cifar10', dataset_api=api)
    self.assertEqual(val_acc, api_data['eval_acc1es'][-1])
    val_loss = graph.query(Metric.VAL_LOSS, 'cifar10', dataset_api=api)
    self.assertEqual(val_loss, api_data['eval_losses'][-1])
    train_acc = graph.query(Metric.TRAIN_ACCURACY, 'cifar10', dataset_api=api)
    self.assertEqual(train_acc, api_data['train_acc1es'][-1])
    train_loss = graph.query(Metric.TRAIN_LOSS, 'cifar10', dataset_api=api)
    self.assertEqual(train_loss, api_data['train_losses'][-1])
    val_acc_full = graph.query(Metric.VAL_ACCURACY, 'cifar10', dataset_api=api, full_lc=True)
    self.assertEqual(tuple(val_acc_full), tuple(api_data['eval_acc1es']))
    val_acc_partial = graph.query(Metric.VAL_ACCURACY, 'cifar10', dataset_api=api, full_lc=True, epoch=50)
    self.assertEqual(tuple(val_acc_partial), tuple(api_data['eval_acc1es'][:50]))
    val_acc_50 = graph.query(Metric.VAL_ACCURACY, 'cifar10', dataset_api=api, full_lc=False, epoch=50)
    self.assertEqual(val_acc_50, api_data['eval_acc1es'][50])
    hp = graph.query(Metric.HP, 'cifar10', dataset_api=api)
    self.assertEqual(hp, api_data['cost_info'])
    train_time = graph.query(Metric.TRAIN_TIME, 'cifar10', dataset_api=api)
    self.assertEqual(train_time, api_data['cost_info']['train_time'])