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,24.1401,5.24751,23.8328,6.78973,0.977179,0.212416,0.96474,0.274845,-0.00209222,0.0636555,78.1639
2,18.8062,12.0876,16.1199,14.7379,0.841221,0.540691,0.721064,0.659242,-3.40436,0.165328,64.2796
3,13.7382,20.6708,9.0366,24.5286,0.553521,0.832836,0.364089,0.988269,2.39954,0.243861,54.4629
4,3.98657,22.1729,-1.837,25.5118,0.176958,0.984218,-0.0815414,1.13243,9.49324,0.282446,53.1196
5,-1.59512,21.5827,-6.89853,24.611,-0.0737063,0.99728,-0.318764,1.13721,18.5049,0.21305,57.9954
6,-9.41014,16.3399,-11.6973,17.8245,-0.499057,0.866569,-0.620354,0.945304,13.2855,0.0571117,79.3285
7,-17.7835,12.3369,-19.0439,12.757,-0.821647,0.569997,-0.879881,0.589408,5.92043,0.0162135,78.9951
8,-24.1827,2.32149,-25.2818,1.18896,-0.995424,0.0955586,-1.04066,0.0489407,3.52768,0.0545482,77.7162
9,-15.6079,-3.08082,-14.6072,-4.3391,-0.98107,-0.193652,-0.91817,-0.272744,-4.6262,0.0898434,78.9714
10,-19.9826,-11.4556,-16.3058,-14.6458,-0.867551,-0.497349,-0.707921,-0.635855,-5.57775,0.203849,60.2523
11,-13.1509,-19.0458,-7.13713,-22.2264,-0.568198,-0.822892,-0.308367,-0.960313,-3.00932,0.292389,51.178
12,-3.46,-20.7604,3.51932,-22.565,-0.164396,-0.986394,0.167214,-1.07213,1.93985,0.341965,50.6341
13,2.28457,-15.716,8.02679,-16.459,0.143854,-0.989599,0.505428,-1.03639,11.6427,0.345499,60.6994
14,13.0797,-18.3873,19.1222,-18.217,0.57965,-0.814866,0.847436,-0.807321,14.2501,0.226847,59.2381
15,12.6738,-8.13379,16.2156,-8.01733,0.84159,-0.540116,1.07678,-0.532383,19.1258,0.137096,75.9645
16,22.7987,-3.41996,23.7976,-2.43105,0.988935,-0.148347,1.03227,-0.105451,3.41311,0.0505254,80.1708
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 24.1401 5.24751 23.8328 6.78973 0.977179 0.212416 0.96474 0.274845 -0.00209222 0.0636555 78.1639
3 2 18.8062 12.0876 16.1199 14.7379 0.841221 0.540691 0.721064 0.659242 -3.40436 0.165328 64.2796
4 3 13.7382 20.6708 9.0366 24.5286 0.553521 0.832836 0.364089 0.988269 2.39954 0.243861 54.4629
5 4 3.98657 22.1729 -1.837 25.5118 0.176958 0.984218 -0.0815414 1.13243 9.49324 0.282446 53.1196
6 5 -1.59512 21.5827 -6.89853 24.611 -0.0737063 0.99728 -0.318764 1.13721 18.5049 0.21305 57.9954
7 6 -9.41014 16.3399 -11.6973 17.8245 -0.499057 0.866569 -0.620354 0.945304 13.2855 0.0571117 79.3285
8 7 -17.7835 12.3369 -19.0439 12.757 -0.821647 0.569997 -0.879881 0.589408 5.92043 0.0162135 78.9951
9 8 -24.1827 2.32149 -25.2818 1.18896 -0.995424 0.0955586 -1.04066 0.0489407 3.52768 0.0545482 77.7162
10 9 -15.6079 -3.08082 -14.6072 -4.3391 -0.98107 -0.193652 -0.91817 -0.272744 -4.6262 0.0898434 78.9714
11 10 -19.9826 -11.4556 -16.3058 -14.6458 -0.867551 -0.497349 -0.707921 -0.635855 -5.57775 0.203849 60.2523
12 11 -13.1509 -19.0458 -7.13713 -22.2264 -0.568198 -0.822892 -0.308367 -0.960313 -3.00932 0.292389 51.178
13 12 -3.46 -20.7604 3.51932 -22.565 -0.164396 -0.986394 0.167214 -1.07213 1.93985 0.341965 50.6341
14 13 2.28457 -15.716 8.02679 -16.459 0.143854 -0.989599 0.505428 -1.03639 11.6427 0.345499 60.6994
15 14 13.0797 -18.3873 19.1222 -18.217 0.57965 -0.814866 0.847436 -0.807321 14.2501 0.226847 59.2381
16 15 12.6738 -8.13379 16.2156 -8.01733 0.84159 -0.540116 1.07678 -0.532383 19.1258 0.137096 75.9645
17 16 22.7987 -3.41996 23.7976 -2.43105 0.988935 -0.148347 1.03227 -0.105451 3.41311 0.0505254 80.1708