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,23.8671,4.88096,23.9053,4.88814,0.979723,0.200359,0.981291,0.200654,0.159618,-1.6934e-05,93.9621
2,20.4616,15.048,19.2752,16.283,0.8056,0.59246,0.758889,0.641082,-1.1826,0.0663783,87.0301
3,14.7531,23,12.2154,25.6724,0.539912,0.841721,0.447042,0.939524,2.97235,0.131555,74.041
4,2.98301,21.9792,0.679364,24.2877,0.134487,0.990915,0.0306286,1.09499,8.1815,0.122167,77.6334
5,-2.63709,15.8786,-3.85549,17.4692,-0.163834,0.986488,-0.239529,1.08531,11.1687,0.0549622,85.2082
6,-12.674,17.2165,-13.4539,19.5006,-0.592842,0.805319,-0.629319,0.912162,10.9102,-0.0290284,83.284
7,-18.5386,13.5659,-19.2548,15.8269,-0.807009,0.590539,-0.838186,0.688967,8.06063,-0.0645185,83.3832
8,-21.4654,6.09684,-20.6722,7.38699,-0.961951,0.273224,-0.926402,0.33104,-2.35863,-0.0636409,87.5103
9,-20.5552,-3.37026,-20.2165,-3.22938,-0.986823,-0.161801,-0.970563,-0.155038,-1.72678,-0.00346147,92.9253
10,-20.1598,-13.1281,-19.0197,-13.8017,-0.837983,-0.545696,-0.790591,-0.573695,-2.385,0.0496106,88.1384
11,-11.3449,-17.4374,-9.16075,-18.7953,-0.545345,-0.838212,-0.440355,-0.903488,-0.405387,0.123562,80.7715
12,-5.55367,-18.866,-3.07672,-20.2356,-0.282394,-0.959299,-0.156445,-1.02894,4.37334,0.137115,80.5444
13,2.92983,-18.1877,4.93169,-19.1882,0.159039,-0.987272,0.267705,-1.04158,7.44659,0.0959826,84.715
14,8.8844,-14.215,10.7868,-15.2361,0.530001,-0.847997,0.64349,-0.908916,11.3703,0.060518,85.2951
15,18.0283,-12.1637,19.3446,-13.2465,0.828964,-0.559302,0.889489,-0.609091,7.79859,-0.00777274,88.3551
16,16.6116,-3.93371,17.3279,-4.89101,0.973088,-0.230432,1.01505,-0.286509,5.2092,-0.0468142,90.5575
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 23.8671 4.88096 23.9053 4.88814 0.979723 0.200359 0.981291 0.200654 0.159618 -1.6934e-05 93.9621
3 2 20.4616 15.048 19.2752 16.283 0.8056 0.59246 0.758889 0.641082 -1.1826 0.0663783 87.0301
4 3 14.7531 23 12.2154 25.6724 0.539912 0.841721 0.447042 0.939524 2.97235 0.131555 74.041
5 4 2.98301 21.9792 0.679364 24.2877 0.134487 0.990915 0.0306286 1.09499 8.1815 0.122167 77.6334
6 5 -2.63709 15.8786 -3.85549 17.4692 -0.163834 0.986488 -0.239529 1.08531 11.1687 0.0549622 85.2082
7 6 -12.674 17.2165 -13.4539 19.5006 -0.592842 0.805319 -0.629319 0.912162 10.9102 -0.0290284 83.284
8 7 -18.5386 13.5659 -19.2548 15.8269 -0.807009 0.590539 -0.838186 0.688967 8.06063 -0.0645185 83.3832
9 8 -21.4654 6.09684 -20.6722 7.38699 -0.961951 0.273224 -0.926402 0.33104 -2.35863 -0.0636409 87.5103
10 9 -20.5552 -3.37026 -20.2165 -3.22938 -0.986823 -0.161801 -0.970563 -0.155038 -1.72678 -0.00346147 92.9253
11 10 -20.1598 -13.1281 -19.0197 -13.8017 -0.837983 -0.545696 -0.790591 -0.573695 -2.385 0.0496106 88.1384
12 11 -11.3449 -17.4374 -9.16075 -18.7953 -0.545345 -0.838212 -0.440355 -0.903488 -0.405387 0.123562 80.7715
13 12 -5.55367 -18.866 -3.07672 -20.2356 -0.282394 -0.959299 -0.156445 -1.02894 4.37334 0.137115 80.5444
14 13 2.92983 -18.1877 4.93169 -19.1882 0.159039 -0.987272 0.267705 -1.04158 7.44659 0.0959826 84.715
15 14 8.8844 -14.215 10.7868 -15.2361 0.530001 -0.847997 0.64349 -0.908916 11.3703 0.060518 85.2951
16 15 18.0283 -12.1637 19.3446 -13.2465 0.828964 -0.559302 0.889489 -0.609091 7.79859 -0.00777274 88.3551
17 16 16.6116 -3.93371 17.3279 -4.89101 0.973088 -0.230432 1.01505 -0.286509 5.2092 -0.0468142 90.5575