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.2207,5.59189,23.9468,5.14199,0.976291,0.216462,0.926979,0.199046,-5.17625,-0.0074603,88.2342
2,20.6016,14.1879,17.4922,16.0737,0.823589,0.567187,0.699284,0.642575,-6.14727,0.131743,74.5764
3,15.1106,22.3625,9.92975,26.8579,0.559876,0.828576,0.367917,0.995138,3.18446,0.252145,53.0604
4,3.05894,20.0834,-0.991246,24.4758,0.150575,0.988599,-0.0487938,1.20482,17.3168,0.23772,59.2959
5,-2.53836,15.8414,-4.82766,19.0613,-0.158217,0.987404,-0.300911,1.1881,22.4679,0.100798,72.3912
6,-10.9716,15.5497,-12.0571,19.5412,-0.57652,0.817083,-0.633559,1.02682,20.6081,-0.0690985,71.9776
7,-18.2147,13.6996,-18.5566,18.3126,-0.799188,0.601082,-0.814188,0.80348,12.4919,-0.159954,68.6472
8,-21.3097,4.15895,-19.6369,6.89367,-0.981482,0.191553,-0.90444,0.317509,-5.0989,-0.138566,76.3315
9,-24.1302,-4.91835,-23.1366,-3.32052,-0.979853,-0.199719,-0.939507,-0.134836,-5.22288,-0.0557653,84.4167
10,-18.8403,-13.1313,-16.567,-13.6215,-0.820395,-0.571797,-0.721404,-0.593144,-7.04488,0.0727456,81.3281
11,-10.4986,-16.6324,-7.59477,-17.6571,-0.533771,-0.845629,-0.386135,-0.897724,-3.87072,0.151698,75.1028
12,-4.61266,-18.2771,-1.77627,-19.4099,-0.244701,-0.969599,-0.0942307,-1.02969,2.95803,0.159302,73.2373
13,4.4448,-17.4186,6.24449,-19.3891,0.247253,-0.968951,0.347365,-1.07856,12.7037,0.0768045,81.5932
14,12.7069,-15.6132,13.8568,-17.9053,0.631227,-0.775598,0.688351,-0.889463,12.6412,-0.0157639,82.2486
15,16.398,-10.4508,17.1919,-12.8459,0.843295,-0.537452,0.884125,-0.660622,10.2379,-0.0797285,81.6557
16,17.8694,-3.50094,17.5106,-4.79429,0.981343,-0.192263,0.961637,-0.263291,-0.547049,-0.0735071,89.3902
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.2207 5.59189 23.9468 5.14199 0.976291 0.216462 0.926979 0.199046 -5.17625 -0.0074603 88.2342
3 2 20.6016 14.1879 17.4922 16.0737 0.823589 0.567187 0.699284 0.642575 -6.14727 0.131743 74.5764
4 3 15.1106 22.3625 9.92975 26.8579 0.559876 0.828576 0.367917 0.995138 3.18446 0.252145 53.0604
5 4 3.05894 20.0834 -0.991246 24.4758 0.150575 0.988599 -0.0487938 1.20482 17.3168 0.23772 59.2959
6 5 -2.53836 15.8414 -4.82766 19.0613 -0.158217 0.987404 -0.300911 1.1881 22.4679 0.100798 72.3912
7 6 -10.9716 15.5497 -12.0571 19.5412 -0.57652 0.817083 -0.633559 1.02682 20.6081 -0.0690985 71.9776
8 7 -18.2147 13.6996 -18.5566 18.3126 -0.799188 0.601082 -0.814188 0.80348 12.4919 -0.159954 68.6472
9 8 -21.3097 4.15895 -19.6369 6.89367 -0.981482 0.191553 -0.90444 0.317509 -5.0989 -0.138566 76.3315
10 9 -24.1302 -4.91835 -23.1366 -3.32052 -0.979853 -0.199719 -0.939507 -0.134836 -5.22288 -0.0557653 84.4167
11 10 -18.8403 -13.1313 -16.567 -13.6215 -0.820395 -0.571797 -0.721404 -0.593144 -7.04488 0.0727456 81.3281
12 11 -10.4986 -16.6324 -7.59477 -17.6571 -0.533771 -0.845629 -0.386135 -0.897724 -3.87072 0.151698 75.1028
13 12 -4.61266 -18.2771 -1.77627 -19.4099 -0.244701 -0.969599 -0.0942307 -1.02969 2.95803 0.159302 73.2373
14 13 4.4448 -17.4186 6.24449 -19.3891 0.247253 -0.968951 0.347365 -1.07856 12.7037 0.0768045 81.5932
15 14 12.7069 -15.6132 13.8568 -17.9053 0.631227 -0.775598 0.688351 -0.889463 12.6412 -0.0157639 82.2486
16 15 16.398 -10.4508 17.1919 -12.8459 0.843295 -0.537452 0.884125 -0.660622 10.2379 -0.0797285 81.6557
17 16 17.8694 -3.50094 17.5106 -4.79429 0.981343 -0.192263 0.961637 -0.263291 -0.547049 -0.0735071 89.3902