#!/bin/bash

for sys in BBN HAPPY LIMSI LV PINDROP SRI USTC; do
    echo $sys;
    for submission in PRIMARY; do
        echo $submission;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 01 -l A ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 02 -l B ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 03 -l C ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 04 -l D ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 05 -l E ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 06 -l F ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 07 -l G ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 08 -l H ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 09 -l XA ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 10 -l XH ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 11 -l XI ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 12 -l XK ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 13 -l XN ;
    done;
done

for sys in BBN HAPPY LIMSI PINDROP SRI; do
    echo $sys;
    for submission in CONTRASTIVE1 CONTRASTIVE2; do
        echo $submission;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 01 -l A ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 02 -l B ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 03 -l C ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 04 -l D ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 05 -l E ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 06 -l F ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 07 -l G ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 08 -l H ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 09 -l XA ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 10 -l XH ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 11 -l XI ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 12 -l XK ;
        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 13 -l XN ;
    done;
done

#for sys in LIMSI; do
#    echo $sys;
#    for submission in CONTRASTIVE3; do
#        echo $submission;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 01 -l A ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 02 -l B ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 03 -l C ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 04 -l D ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 05 -l E ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 06 -l F ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 07 -l G ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 08 -l H ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 09 -l XA ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 10 -l XH ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 11 -l XI ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 12 -l XK ;
#        perl scoreDataset_SAD.pl -d OpenSAD_clusterDefinitions -h SUBMISSIONS_OpenSAD15 -r OpenSAD_refAnnotations -s progress -t $sys -u $submission -c 13 -l XN ;
#    done;
#done

