From ca37838cc90bc4dde06df8975ba07315bdb4ef83 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Wed, 8 Oct 2025 18:11:30 +0530 Subject: [PATCH 1/2] Add tests to detect failures in igbh dataset download --- graph/R-GAT/tools/download_igbh_full.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/graph/R-GAT/tools/download_igbh_full.sh b/graph/R-GAT/tools/download_igbh_full.sh index 7c9d9def8c..8b83487654 100644 --- a/graph/R-GAT/tools/download_igbh_full.sh +++ b/graph/R-GAT/tools/download_igbh_full.sh @@ -33,74 +33,93 @@ cd $1/full/processed mkdir paper cd paper wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: paper/node_feat.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper/node_label_19.npy +test $? -eq 0 || { echo "❌ Failed to download: paper/node_label_19.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper/node_label_2K.npy +test $? -eq 0 || { echo "❌ Failed to download: paper/node_label_2K.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper/paper_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: paper/paper_id_index_mapping.npy"; exit $?; } cd .. # paper__cites__paper mkdir paper__cites__paper cd paper__cites__paper wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper__cites__paper/edge_index.npy +test $? -eq 0 || { echo "❌ Failed to download: paper__cites__paper/edge_index.npy"; exit $?; } cd .. # author mkdir author cd author wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/author/author_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: author/author_id_index_mapping.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/author/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: author/node_feat.npy"; exit $?; } cd .. # conference mkdir conference cd conference wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/conference/conference_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: conference/conference_id_index_mapping.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/conference/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: conference/node_feat.npy"; exit $?; } cd .. # institute mkdir institute cd institute wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/institute/institute_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: institute/institute_id_index_mapping.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/institute/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: institute/node_feat.npy"; exit $?; } cd .. # journal mkdir journal cd journal wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/journal/journal_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: journal/journal_id_index_mapping.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/journal/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: journal/node_feat.npy"; exit $?; } cd .. # fos mkdir fos cd fos wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/fos/fos_id_index_mapping.npy +test $? -eq 0 || { echo "❌ Failed to download: fos/fos_id_index_mapping.npy"; exit $?; } wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/fos/node_feat.npy +test $? -eq 0 || { echo "❌ Failed to download: fos/node_feat.npy"; exit $?; } cd .. # author__affiliated_to__institute mkdir author__affiliated_to__institute cd author__affiliated_to__institute wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/author__affiliated_to__institute/edge_index.npy +test $? -eq 0 || { echo "❌ Failed to download: author__affiliated_to__institute/edge_index.npy"; exit $?; } cd .. # paper__published__journal mkdir paper__published__journal cd paper__published__journal wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper__published__journal/edge_index.npy +test $? -eq 0 || { echo "❌ Failed to download: paper__published__journal/edge_index.npy"; exit $?; } cd .. # paper__topic__fos mkdir paper__topic__fos cd paper__topic__fos wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper__topic__fos/edge_index.npy +test $? -eq 0 || { echo "❌ Failed to download: paper__topic__fos/edge_index.npy"; exit $?; } cd .. # paper__venue__conference mkdir paper__venue__conference cd paper__venue__conference wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper__venue__conference/edge_index.npy +test $? -eq 0 || { echo "❌ Failed to download: paper__venue__conference/edge_index.npy"; exit $?; } cd .. # paper__written_by__author @@ -109,4 +128,4 @@ cd paper__written_by__author wget -c https://igb-public.s3.us-east-2.amazonaws.com/IGBH/processed/paper__written_by__author/edge_index.npy cd .. -echo "IGBH-IGBH download complete" \ No newline at end of file +echo "IGBH-IGBH download complete" From aba0857626982c7ed996e42e533ce4ed70c78fae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Oct 2025 10:24:21 +0000 Subject: [PATCH 2/2] [Automated Commit] Format Codebase --- speech2text/accuracy_eval.py | 4 ++-- speech2text/reference_SUT.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/speech2text/accuracy_eval.py b/speech2text/accuracy_eval.py index eb6cc53299..c356ab6398 100644 --- a/speech2text/accuracy_eval.py +++ b/speech2text/accuracy_eval.py @@ -57,12 +57,12 @@ "x", "y", "z", - "'", + "'", "0", "1", "2", "3", - "4", + "4", "5", "6", "7", diff --git a/speech2text/reference_SUT.py b/speech2text/reference_SUT.py index 63d491a00f..0b2f02c490 100644 --- a/speech2text/reference_SUT.py +++ b/speech2text/reference_SUT.py @@ -90,12 +90,12 @@ def get_start_cores(start_cores="0"): "x", "y", "z", - "'", + "'", "0", "1", "2", "3", - "4", + "4", "5", "6", "7",