Add parts of BPGD max_iter results with more datapoints

This commit is contained in:
2026-04-20 10:13:42 +02:00
parent 2b1c5aacce
commit e9c97516be
8 changed files with 117 additions and 91 deletions

View File

@@ -21,95 +21,95 @@ df.to_csv('${filename}', index=False)
i=1
sp="/-\|"
# echo "Copying BP param exploration results..."
# echo -n ' '
# for decoder in "WindowingSyndromeMinSumDecoder" "WindowingSyndromeSpaDecoder"; do
# for max_iter in 32 200 5000; do
# for pass_soft_info in "True" "False"; do
# for F in 1 2 3; do
# for W in 3 4 5; do
# SRC_PATH="${BASE_PATH}+rust_exp=soft_v_hard_bp,decoder.class_name=${decoder},decoder.max_iter=${max_iter},decoder.pass_soft_info=${pass_soft_info},system.F=${F},system.W=${W}/"
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
# DEST_DIR="res/sim/WF/${decoder}/max_iter_${max_iter}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}/"
# mkdir -p ${DEST_DIR}
# DEST_FILE="${DEST_DIR}/LERs.csv"
# cp ${SRC_FILE} ${DEST_FILE}
# post_process_LERs ${DEST_FILE}
# printf "\b${sp:i++%${#sp}:1}"
# done
# done
# done
# done
# done
#
# # Copy BPGD param exploration results
#
# echo -e "\rCopying BPGD param exploration results..."
# echo -n ' '
# for max_iter in 32 200 5000; do
# for pass_soft_info in "True" "False"; do
# for F in 1 2 3; do
# for W in 3 4 5; do
# SRC_PATH="${BASE_PATH}/+rust_exp=soft_v_hard_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.max_iter=${max_iter},decoder.pass_soft_info=${pass_soft_info},system.F=${F},system.W=${W}/"
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
# DEST_DIR="res/sim/WF/WindowingSyndromeSpaGdDecoder/max_iter_${max_iter}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}/"
# mkdir -p ${DEST_DIR}
# DEST_FILE="${DEST_DIR}/LERs.csv"
# cp ${SRC_FILE} ${DEST_FILE}
# post_process_LERs ${DEST_FILE}
# printf "\b${sp:i++%${#sp}:1}"
# done
# done
# done
# done
#
# # Copy BP over max iter. results
#
# echo -e "\rCopying BP over max. iter. results..."
# echo -n ' '
# for decoder in "WindowingSyndromeMinSumDecoder" "WindowingSyndromeSpaDecoder"; do
# for p in 0.001 0.0025 0.004; do
# for pass_soft_info in "True" "False"; do
# for F in 1 2 3; do
# for W in 3 4 5; do
# SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bp,decoder.class_name=${decoder},decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
# DEST_DIR="res/sim/max_iter/${decoder}/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
# mkdir -p ${DEST_DIR}
# DEST_FILE="${DEST_DIR}/LERs.csv"
# cp ${SRC_FILE} ${DEST_FILE}
# post_process_LERs ${DEST_FILE}
# printf "\b${sp:i++%${#sp}:1}"
# done
# done
# done
# done
# done
#
# # Copy BPGD over max iter. results
#
# echo -e "\rCopying BPGD over max. iter. results..."
# echo -n ' '
# for p in 0.001 0.0025 0.004; do
# for pass_soft_info in "True" "False"; do
# for F in 1 2 3; do
# for W in 3 4 5; do
# SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
# DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoder/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
# mkdir -p ${DEST_DIR}
# DEST_FILE="${DEST_DIR}/LERs.csv"
# cp ${SRC_FILE} ${DEST_FILE}
# post_process_LERs ${DEST_FILE}
# printf "\b${sp:i++%${#sp}:1}"
# done
# done
# done
# done
echo "Copying BP param exploration results..."
echo -n ' '
for decoder in "WindowingSyndromeMinSumDecoder" "WindowingSyndromeSpaDecoder"; do
for max_iter in 32 200 5000; do
for pass_soft_info in "True" "False"; do
for F in 1 2 3; do
for W in 3 4 5; do
SRC_PATH="${BASE_PATH}+rust_exp=soft_v_hard_bp,decoder.class_name=${decoder},decoder.max_iter=${max_iter},decoder.pass_soft_info=${pass_soft_info},system.F=${F},system.W=${W}/"
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
DEST_DIR="res/sim/WF/${decoder}/max_iter_${max_iter}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}/"
mkdir -p ${DEST_DIR}
DEST_FILE="${DEST_DIR}/LERs.csv"
cp ${SRC_FILE} ${DEST_FILE}
post_process_LERs ${DEST_FILE}
printf "\b${sp:i++%${#sp}:1}"
done
done
done
done
done
# Copy BPGD param exploration results
echo -e "\rCopying BPGD param exploration results..."
echo -n ' '
for max_iter in 32 200 5000; do
for pass_soft_info in "True" "False"; do
for F in 1 2 3; do
for W in 3 4 5; do
SRC_PATH="${BASE_PATH}/+rust_exp=soft_v_hard_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.max_iter=${max_iter},decoder.pass_soft_info=${pass_soft_info},system.F=${F},system.W=${W}/"
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
DEST_DIR="res/sim/WF/WindowingSyndromeSpaGdDecoder/max_iter_${max_iter}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}/"
mkdir -p ${DEST_DIR}
DEST_FILE="${DEST_DIR}/LERs.csv"
cp ${SRC_FILE} ${DEST_FILE}
post_process_LERs ${DEST_FILE}
printf "\b${sp:i++%${#sp}:1}"
done
done
done
done
# Copy BP over max iter. results
echo -e "\rCopying BP over max. iter. results..."
echo -n ' '
for decoder in "WindowingSyndromeMinSumDecoder" "WindowingSyndromeSpaDecoder"; do
for p in 0.001 0.0025 0.004; do
for pass_soft_info in "True" "False"; do
for F in 1 2 3; do
for W in 3 4 5; do
SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bp,decoder.class_name=${decoder},decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
DEST_DIR="res/sim/max_iter/${decoder}/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
mkdir -p ${DEST_DIR}
DEST_FILE="${DEST_DIR}/LERs.csv"
cp ${SRC_FILE} ${DEST_FILE}
post_process_LERs ${DEST_FILE}
printf "\b${sp:i++%${#sp}:1}"
done
done
done
done
done
# Copy BPGD over max iter. results
echo -e "\rCopying BPGD over max. iter. results..."
echo -n ' '
for p in 0.001 0.0025 0.004; do
for pass_soft_info in "True" "False"; do
for F in 1 2 3; do
for W in 3 4 5; do
SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=${p},system.F=${F},system.W=${W}/"
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoder/p_${p}/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
mkdir -p ${DEST_DIR}
DEST_FILE="${DEST_DIR}/LERs.csv"
cp ${SRC_FILE} ${DEST_FILE}
post_process_LERs ${DEST_FILE}
printf "\b${sp:i++%${#sp}:1}"
done
done
done
done
# Copy BP over max iter. results

View File

@@ -3210,8 +3210,10 @@
ymin=1e-3, ymax=1e-1,
grid=both,
legend pos = north east,
xtick={32,512,1024,2048,4096},
% xtick={0.001,0.0015,...,0.004},
xticklabels =
{$32$,$512$,$1{,}024$,,$2{,}048$,,$3{,}072$,,$4{,}096$},
xtick={32, 512, 1024, 1536, 2048, 2560, 3072,
3584, 4096},
xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4},
scaled x ticks=false,

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.364741641337386,0.03710440702030626,1920.0
512,5264,0.3478343465045592,0.03499441487180499,1830.9999999999995
1024,5264,0.3345364741641337,0.033369810593094074,1760.9999999999998
1536,5264,0.2794452887537993,0.026941583361394406,1470.9999999999995
2048,5264,0.1073328267477203,0.009417167606857957,564.9999999999997
2560,5264,0.0381838905775075,0.00323907625680131,200.99999999999946
3072,5264,0.0381838905775075,0.00323907625680131,200.99999999999946
3584,5264,0.0381838905775075,0.00323907625680131,200.99999999999946
4096,5264,0.0381838905775075,0.00323907625680131,200.99999999999946
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.364741641337386 0.03710440702030626 1920.0
5 512 5264 0.3478343465045592 0.03499441487180499 1830.9999999999995
6 1024 5264 0.3345364741641337 0.033369810593094074 1760.9999999999998
7 1536 5264 0.2794452887537993 0.026941583361394406 1470.9999999999995
8 2048 5264 0.1073328267477203 0.009417167606857957 564.9999999999997
9 2560 5264 0.0381838905775075 0.00323907625680131 200.99999999999946
10 3072 5264 0.0381838905775075 0.00323907625680131 200.99999999999946
11 3584 5264 0.0381838905775075 0.00323907625680131 200.99999999999946
12 4096 5264 0.0381838905775075 0.00323907625680131 200.99999999999946

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.2515197568389057,0.02385343933427242,1323.9999999999995
512,5264,0.2386018237082066,0.022460490669208744,1255.9999999999995
1024,5264,0.2313829787234042,0.021691485903849506,1217.9999999999995
1536,5264,0.2211246200607902,0.02061000156097803,1163.9999999999995
2048,5264,0.1988981762917933,0.018310882399525497,1047.0
2560,5264,0.0797872340425532,0.006905245826546502,420.0
3072,10528,0.0241261398176291,0.0020330923404081602,253.99999999999918
3584,10528,0.0241261398176291,0.0020330923404081602,253.99999999999918
4096,10528,0.0241261398176291,0.0020330923404081602,253.99999999999918
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.2515197568389057 0.02385343933427242 1323.9999999999995
5 512 5264 0.2386018237082066 0.022460490669208744 1255.9999999999995
6 1024 5264 0.2313829787234042 0.021691485903849506 1217.9999999999995
7 1536 5264 0.2211246200607902 0.02061000156097803 1163.9999999999995
8 2048 5264 0.1988981762917933 0.018310882399525497 1047.0
9 2560 5264 0.0797872340425532 0.006905245826546502 420.0
10 3072 10528 0.0241261398176291 0.0020330923404081602 253.99999999999918
11 3584 10528 0.0241261398176291 0.0020330923404081602 253.99999999999918
12 4096 10528 0.0241261398176291 0.0020330923404081602 253.99999999999918

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.2159954407294833,0.020074146889335953,1137.0
512,5264,0.2002279635258358,0.018446781884206676,1053.9999999999995
1024,5264,0.1973784194528875,0.018155821680927553,1038.9999999999998
1536,5264,0.1890197568389057,0.017307768448815875,994.9999999999997
2048,5264,0.1903495440729483,0.01744214849069614,1001.9999999999998
2560,5264,0.1724924012158054,0.01565426054958796,907.9999999999995
3072,5264,0.1073328267477203,0.009417167606857957,564.9999999999997
3584,10528,0.0251709726443769,0.002122176652162411,265.0
4096,10528,0.020991641337386,0.0017663630187246815,220.9999999999998
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.2159954407294833 0.020074146889335953 1137.0
5 512 5264 0.2002279635258358 0.018446781884206676 1053.9999999999995
6 1024 5264 0.1973784194528875 0.018155821680927553 1038.9999999999998
7 1536 5264 0.1890197568389057 0.017307768448815875 994.9999999999997
8 2048 5264 0.1903495440729483 0.01744214849069614 1001.9999999999998
9 2560 5264 0.1724924012158054 0.01565426054958796 907.9999999999995
10 3072 5264 0.1073328267477203 0.009417167606857957 564.9999999999997
11 3584 10528 0.0251709726443769 0.002122176652162411 265.0
12 4096 10528 0.020991641337386 0.0017663630187246815 220.9999999999998

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.309080547112462,0.03034118098825833,1627.0
512,5264,0.3020516717325228,0.02952294321846627,1590.0
1024,5264,0.293693009118541,0.028559679253521097,1546.0
1536,5264,0.2429711246200608,0.022929194122949692,1279.0
2048,5264,0.0946048632218845,0.008247783460578861,498.0
2560,10528,0.0358092705167173,0.0030342333628010643,376.9999999999997
3072,10528,0.0358092705167173,0.0030342333628010643,376.9999999999997
3584,10528,0.0358092705167173,0.0030342333628010643,376.9999999999997
4096,10528,0.0358092705167173,0.0030342333628010643,376.9999999999997
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.309080547112462 0.03034118098825833 1627.0
5 512 5264 0.3020516717325228 0.02952294321846627 1590.0
6 1024 5264 0.293693009118541 0.028559679253521097 1546.0
7 1536 5264 0.2429711246200608 0.022929194122949692 1279.0
8 2048 5264 0.0946048632218845 0.008247783460578861 498.0
9 2560 10528 0.0358092705167173 0.0030342333628010643 376.9999999999997
10 3072 10528 0.0358092705167173 0.0030342333628010643 376.9999999999997
11 3584 10528 0.0358092705167173 0.0030342333628010643 376.9999999999997
12 4096 10528 0.0358092705167173 0.0030342333628010643 376.9999999999997

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.2053571428571428,0.018972913280972947,1080.9999999999998
512,5264,0.1962386018237082,0.018039702664670587,1033.0
1024,5264,0.1933890577507598,0.017750064191601855,1017.9999999999995
1536,5264,0.1890197568389057,0.017307768448815875,994.9999999999997
2048,5264,0.1685030395136778,0.01525967596159794,886.9999999999999
2560,5264,0.0651595744680851,0.005599218294522923,342.99999999999994
3072,10528,0.0215615501519756,0.001814800977090858,226.99999999999912
3584,10528,0.0215615501519756,0.001814800977090858,226.99999999999912
4096,10528,0.0215615501519756,0.001814800977090858,226.99999999999912
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.2053571428571428 0.018972913280972947 1080.9999999999998
5 512 5264 0.1962386018237082 0.018039702664670587 1033.0
6 1024 5264 0.1933890577507598 0.017750064191601855 1017.9999999999995
7 1536 5264 0.1890197568389057 0.017307768448815875 994.9999999999997
8 2048 5264 0.1685030395136778 0.01525967596159794 886.9999999999999
9 2560 5264 0.0651595744680851 0.005599218294522923 342.99999999999994
10 3072 10528 0.0215615501519756 0.001814800977090858 226.99999999999912
11 3584 10528 0.0215615501519756 0.001814800977090858 226.99999999999912
12 4096 10528 0.0215615501519756 0.001814800977090858 226.99999999999912

View File

@@ -4,5 +4,9 @@ max_iter,num_trials,LER,LER_per_round,num_errors
256,5264,0.173822188449848,0.01578617630577761,914.9999999999999
512,5264,0.166983282674772,0.01510981435822023,878.9999999999998
1024,5264,0.1593844984802431,0.014364245161496703,838.9999999999998
1536,5264,0.1563449848024316,0.01406774615644002,823.0
2048,5264,0.1521656534954407,0.01366165487854265,800.9999999999999
2560,5264,0.1458966565349544,0.013055945427610682,768.0
3072,5264,0.0824468085106382,0.007144747922908312,433.99999999999943
3584,15792,0.0159574468085106,0.0013396133951311118,251.99999999999937
4096,15792,0.014564336372847,0.0012218726962905935,229.99999999999983
1 max_iter num_trials LER LER_per_round num_errors
4 256 5264 0.173822188449848 0.01578617630577761 914.9999999999999
5 512 5264 0.166983282674772 0.01510981435822023 878.9999999999998
6 1024 5264 0.1593844984802431 0.014364245161496703 838.9999999999998
7 1536 5264 0.1563449848024316 0.01406774615644002 823.0
8 2048 5264 0.1521656534954407 0.01366165487854265 800.9999999999999
9 2560 5264 0.1458966565349544 0.013055945427610682 768.0
10 3072 5264 0.0824468085106382 0.007144747922908312 433.99999999999943
11 3584 15792 0.0159574468085106 0.0013396133951311118 251.99999999999937
12 4096 15792 0.014564336372847 0.0012218726962905935 229.99999999999983