Switch lamps to internal IDs; EAN becomes optional metadata

Directories rename from bare EANs to L0001..L0010 (measurement order).
metrics.json gains an ean field, and a rated block with advertised
values (flux, CCT, power, lifetime) where already documented, so the
site can show advertised-vs-measured deltas. One EAN can now cover
several lamp versions (variant field) and unbranded lamps need no
barcode.
This commit is contained in:
2026-07-09 12:03:05 +07:00
parent 6672dce92d
commit c7d480bfcf
31 changed files with 49 additions and 16 deletions
+17
View File
@@ -0,0 +1,17 @@
bin,ref_a,ref_b,test_a,test_b,ref_a_norm,ref_b_norm,test_a_norm,test_b_norm,Rcs_pct,Rhs,Rf_h
1,25.3224,5.69931,24.1131,5.41594,0.975595,0.219577,0.929003,0.20866,-4.78266,-0.00161813,86.9143
2,19.8022,14.0325,15.777,16.7907,0.815909,0.57818,0.650058,0.691827,-7.47614,0.186636,65.826
3,15.6119,24.1178,7.87764,30.4483,0.543405,0.839471,0.274197,1.05981,3.36459,0.346254,32.1978
4,3.07311,19.9146,-2.92858,25.7437,0.152509,0.988302,-0.145336,1.27758,22.5614,0.348558,43.2961
5,-2.52616,15.6877,-6.03739,19.8485,-0.15898,0.987282,-0.379954,1.24914,29.9934,0.165642,62.2745
6,-10.9714,15.3308,-12.9925,20.25,-0.581969,0.813211,-0.689175,1.07414,27.6517,-0.0558275,64.0129
7,-18.3367,13.421,-19.8333,19.0872,-0.806947,0.590623,-0.872811,0.839974,19.3296,-0.170735,60.2537
8,-21.2719,3.88738,-19.5757,7.1644,-0.983709,0.17977,-0.905269,0.331315,-4.73673,-0.163935,72.2359
9,-24.1574,-5.14673,-23.3359,-3.14954,-0.978049,-0.208373,-0.944792,-0.127514,-4.83929,-0.0728177,80.7901
10,-19.2303,-12.8101,-16.8151,-13.0068,-0.832252,-0.554398,-0.727727,-0.56291,-8.21801,0.0651482,79.1019
11,-11.016,-16.6508,-6.76312,-17.8504,-0.551764,-0.834,-0.338749,-0.894086,-6.83852,0.210498,64.4938
12,-5.27602,-21.1692,0.395114,-22.6937,-0.241833,-0.970318,0.0181106,-1.0402,1.78224,0.268582,52.672
13,3.75188,-14.6053,6.63995,-16.1019,0.248807,-0.968553,0.44033,-1.0678,13.4705,0.168481,75.4956
14,13.0213,-15.4084,15.8373,-17.5599,0.645463,-0.763791,0.785055,-0.87044,16.6228,0.0568154,75.683
15,16.5827,-10.2395,18.6162,-12.8194,0.850861,-0.525392,0.955197,-0.657762,16.0294,-0.0520962,76.6691
16,18.0406,-3.37622,18.0881,-4.31473,0.982935,-0.183952,0.985523,-0.235086,1.25136,-0.0496465,88.623
1 bin ref_a ref_b test_a test_b ref_a_norm ref_b_norm test_a_norm test_b_norm Rcs_pct Rhs Rf_h
2 1 25.3224 5.69931 24.1131 5.41594 0.975595 0.219577 0.929003 0.20866 -4.78266 -0.00161813 86.9143
3 2 19.8022 14.0325 15.777 16.7907 0.815909 0.57818 0.650058 0.691827 -7.47614 0.186636 65.826
4 3 15.6119 24.1178 7.87764 30.4483 0.543405 0.839471 0.274197 1.05981 3.36459 0.346254 32.1978
5 4 3.07311 19.9146 -2.92858 25.7437 0.152509 0.988302 -0.145336 1.27758 22.5614 0.348558 43.2961
6 5 -2.52616 15.6877 -6.03739 19.8485 -0.15898 0.987282 -0.379954 1.24914 29.9934 0.165642 62.2745
7 6 -10.9714 15.3308 -12.9925 20.25 -0.581969 0.813211 -0.689175 1.07414 27.6517 -0.0558275 64.0129
8 7 -18.3367 13.421 -19.8333 19.0872 -0.806947 0.590623 -0.872811 0.839974 19.3296 -0.170735 60.2537
9 8 -21.2719 3.88738 -19.5757 7.1644 -0.983709 0.17977 -0.905269 0.331315 -4.73673 -0.163935 72.2359
10 9 -24.1574 -5.14673 -23.3359 -3.14954 -0.978049 -0.208373 -0.944792 -0.127514 -4.83929 -0.0728177 80.7901
11 10 -19.2303 -12.8101 -16.8151 -13.0068 -0.832252 -0.554398 -0.727727 -0.56291 -8.21801 0.0651482 79.1019
12 11 -11.016 -16.6508 -6.76312 -17.8504 -0.551764 -0.834 -0.338749 -0.894086 -6.83852 0.210498 64.4938
13 12 -5.27602 -21.1692 0.395114 -22.6937 -0.241833 -0.970318 0.0181106 -1.0402 1.78224 0.268582 52.672
14 13 3.75188 -14.6053 6.63995 -16.1019 0.248807 -0.968553 0.44033 -1.0678 13.4705 0.168481 75.4956
15 14 13.0213 -15.4084 15.8373 -17.5599 0.645463 -0.763791 0.785055 -0.87044 16.6228 0.0568154 75.683
16 15 16.5827 -10.2395 18.6162 -12.8194 0.850861 -0.525392 0.955197 -0.657762 16.0294 -0.0520962 76.6691
17 16 18.0406 -3.37622 18.0881 -4.31473 0.982935 -0.183952 0.985523 -0.235086 1.25136 -0.0496465 88.623