Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions hyperbench/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,15 +417,3 @@ class DBLPDataset(Dataset):

class ThreadsMathsxDataset(Dataset):
DATASET_NAME = "THREADSMATHSX"


if __name__ == "__main__":
for dataset in DatasetNames:
print(f"Processing dataset: {dataset.value}")
if dataset == DatasetNames.EMAIL_ENRON:
load_hif = HIFConverter.load_from_hif(dataset.name, save_on_disk=True)
continue
load_hif = HIFConverter.load_from_hif(dataset.name)
print(
f"Loaded HIF hypergraph with {len(load_hif.nodes)} nodes and {len(load_hif.edges)} edges."
)
4 changes: 0 additions & 4 deletions hyperbench/tests/train/trainer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,3 @@ def test_test_all_with_verbose_true_prints(_, mock_model_configs, caplog):
record.message for record in caplog.records if "Test model" in record.message
]
assert len(logs) == len(mock_model_configs)


if __name__ == "__main__":
pytest.main([__file__, "-v"])
4 changes: 0 additions & 4 deletions hyperbench/tests/utils/data_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,3 @@ def test_empty_hifhypergraph():
assert result.edges == []
assert result.incidences == []
assert result.metadata == {}


if __name__ == "__main__":
pytest.main([__file__, "-v"])