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,26.1196,5.28011,25.7461,5.35596,0.980173,0.198144,0.966159,0.20099,-1.31897,0.00552562,88.6314
2,20.0035,13.3269,17.4619,15.989,0.832218,0.554449,0.726479,0.665198,-2.63897,0.15083,72.6276
3,15.8092,23.3161,10.1466,29.9728,0.5612,0.827681,0.360188,1.06398,8.48031,0.298418,41.162
4,3.15075,19.0146,-1.49609,25.2232,0.163472,0.986548,-0.0776224,1.30867,26.8899,0.299305,47.7983
5,-2.44587,14.8796,-5.09023,19.4228,-0.162201,0.986758,-0.337564,1.28804,32.9707,0.113216,64.2046
6,-10.9427,14.2246,-12.659,19.6861,-0.609734,0.792606,-0.705366,1.09692,30.6157,-0.0895527,61.3394
7,-18.9145,12.0417,-20.5201,18.1199,-0.843557,0.53704,-0.91516,0.808116,21.0138,-0.18561,57.3799
8,-17.6578,3.67407,-16.7766,7.68735,-0.979032,0.203708,-0.930178,0.426224,-0.450392,-0.227771,71.284
9,-25.2438,-5.37544,-25.7785,-2.63406,-0.978071,-0.208271,-0.998788,-0.102057,-0.040232,-0.108215,78.5984
10,-18.8704,-13.5072,-18.9186,-12.5423,-0.813156,-0.582046,-0.815235,-0.54047,-2.13699,-0.0357248,88.4882
11,-11.4983,-16.9765,-10.1698,-17.3468,-0.560784,-0.827962,-0.495994,-0.84602,-2.09807,0.0639031,79.3108
12,-5.51374,-20.2016,-3.27521,-20.7786,-0.263305,-0.964713,-0.156406,-0.992268,0.617124,0.110221,74.0433
13,2.71667,-13.0677,4.28929,-14.502,0.20354,-0.979067,0.321364,-1.08653,12.838,0.094596,81.6927
14,13.2376,-19.87,16.4858,-22.7196,0.554437,-0.832226,0.690481,-0.951577,17.4819,0.0468089,70.7251
15,16.2789,-10.5654,17.7515,-12.6571,0.838817,-0.544414,0.914696,-0.652195,12.2971,-0.0474596,81.948
16,18.3127,-3.2755,18.5819,-3.33487,0.984378,-0.176071,0.998847,-0.179262,1.48142,-0.000306949,91.6676
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 26.1196 5.28011 25.7461 5.35596 0.980173 0.198144 0.966159 0.20099 -1.31897 0.00552562 88.6314
3 2 20.0035 13.3269 17.4619 15.989 0.832218 0.554449 0.726479 0.665198 -2.63897 0.15083 72.6276
4 3 15.8092 23.3161 10.1466 29.9728 0.5612 0.827681 0.360188 1.06398 8.48031 0.298418 41.162
5 4 3.15075 19.0146 -1.49609 25.2232 0.163472 0.986548 -0.0776224 1.30867 26.8899 0.299305 47.7983
6 5 -2.44587 14.8796 -5.09023 19.4228 -0.162201 0.986758 -0.337564 1.28804 32.9707 0.113216 64.2046
7 6 -10.9427 14.2246 -12.659 19.6861 -0.609734 0.792606 -0.705366 1.09692 30.6157 -0.0895527 61.3394
8 7 -18.9145 12.0417 -20.5201 18.1199 -0.843557 0.53704 -0.91516 0.808116 21.0138 -0.18561 57.3799
9 8 -17.6578 3.67407 -16.7766 7.68735 -0.979032 0.203708 -0.930178 0.426224 -0.450392 -0.227771 71.284
10 9 -25.2438 -5.37544 -25.7785 -2.63406 -0.978071 -0.208271 -0.998788 -0.102057 -0.040232 -0.108215 78.5984
11 10 -18.8704 -13.5072 -18.9186 -12.5423 -0.813156 -0.582046 -0.815235 -0.54047 -2.13699 -0.0357248 88.4882
12 11 -11.4983 -16.9765 -10.1698 -17.3468 -0.560784 -0.827962 -0.495994 -0.84602 -2.09807 0.0639031 79.3108
13 12 -5.51374 -20.2016 -3.27521 -20.7786 -0.263305 -0.964713 -0.156406 -0.992268 0.617124 0.110221 74.0433
14 13 2.71667 -13.0677 4.28929 -14.502 0.20354 -0.979067 0.321364 -1.08653 12.838 0.094596 81.6927
15 14 13.2376 -19.87 16.4858 -22.7196 0.554437 -0.832226 0.690481 -0.951577 17.4819 0.0468089 70.7251
16 15 16.2789 -10.5654 17.7515 -12.6571 0.838817 -0.544414 0.914696 -0.652195 12.2971 -0.0474596 81.948
17 16 18.3127 -3.2755 18.5819 -3.33487 0.984378 -0.176071 0.998847 -0.179262 1.48142 -0.000306949 91.6676