diff --git a/.github/workflows/deployment-script.yml b/.github/workflows/deployment-script.yml index f224ba5..8f8bd01 100644 --- a/.github/workflows/deployment-script.yml +++ b/.github/workflows/deployment-script.yml @@ -15,13 +15,13 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: '12' + node-version: '22' check-latest: true - run: | - git clone https://github.com/virtual-labs/ph3-lab-mgmt + git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt cd ph3-lab-mgmt npm install - node exp.js + npm run build-exp cd ../ git config --local user.email "admin@vlabs.ac.in" git config --local user.name "vleadadmin" diff --git a/experiment/simulation/exp7.php b/experiment/simulation/exp7.php index 7cce7e8..a17941c 100755 --- a/experiment/simulation/exp7.php +++ b/experiment/simulation/exp7.php @@ -30,12 +30,12 @@ function change(lang){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp7_1.php b/experiment/simulation/exp7_1.php index 578e6c2..0293605 100644 --- a/experiment/simulation/exp7_1.php +++ b/experiment/simulation/exp7_1.php @@ -31,12 +31,12 @@ function change(temp){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp7_2.php b/experiment/simulation/exp7_2.php index 226df1d..2dbffd8 100644 --- a/experiment/simulation/exp7_2.php +++ b/experiment/simulation/exp7_2.php @@ -33,12 +33,12 @@ function change(temp){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp7_3.php b/experiment/simulation/exp7_3.php index ef42faa..356a58f 100644 --- a/experiment/simulation/exp7_3.php +++ b/experiment/simulation/exp7_3.php @@ -25,12 +25,12 @@ function getAccuracy(accuracy){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp8/exp7.php b/experiment/simulation/exp8/exp7.php index 7cce7e8..a17941c 100755 --- a/experiment/simulation/exp8/exp7.php +++ b/experiment/simulation/exp8/exp7.php @@ -30,12 +30,12 @@ function change(lang){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp8/exp7_1.php b/experiment/simulation/exp8/exp7_1.php index 578e6c2..0293605 100644 --- a/experiment/simulation/exp8/exp7_1.php +++ b/experiment/simulation/exp8/exp7_1.php @@ -31,12 +31,12 @@ function change(temp){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp8/exp7_2.php b/experiment/simulation/exp8/exp7_2.php index 226df1d..2dbffd8 100644 --- a/experiment/simulation/exp8/exp7_2.php +++ b/experiment/simulation/exp8/exp7_2.php @@ -33,12 +33,12 @@ function change(temp){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0; diff --git a/experiment/simulation/exp8/exp7_3.php b/experiment/simulation/exp8/exp7_3.php index ef42faa..356a58f 100644 --- a/experiment/simulation/exp8/exp7_3.php +++ b/experiment/simulation/exp8/exp7_3.php @@ -25,12 +25,12 @@ function getAccuracy(accuracy){ else if($language=='eng') $fp=fopen("analyse-size/accuracies_english","r"); -$train_token=array(); -$train_type=array(); -$algo=array(); -$test_token=array(); -$test_type=array(); -$feature=array(); +$train_token=[]; +$train_type=[]; +$algo=[]; +$test_token=[]; +$test_type=[]; +$feature=[]; $accuracy; $count=0;