Spaces:
Running
Running
Commit History
-
Add §7 species tree, slim down §6 UMAP, mount /experiments
§7 · Species tree (Carbon-derived phylogeny) - scripts/build_species_tree.py derives a 27-species tree from Carbon-3B mean embeddings: per-species centroid distance matrix + Ward/UPGMA linkage + precomputed dendrogram layout. Output ships as data/species_tree.json (32 KB), served by new /species_tree endpoint. - demo.html gains a §7 section rendering the dendrogram as an SVG spine on the left and aligned rows on the right, with linkage + scope toggles and an "agreement vs NCBI" headline score. - scripts/render_tree_{mockups,mockups_v2,d_plus}.py: offline PNG mockups used during the §7 design review. §6 · UMAP refinements - Drop pos_3d from data/umap.bin. v1 only renders the 2D scatter and the frontend already skipped pos_3d on parse, so the int16×3 coords were 3.3 MB of dead bandwidth per visit. New WRITE_POS_3D toggle in build_real_umap.py for an easy re-enable. Wire payload 6.24 → 3.09 MB gzipped (~−50%). - New /umap_names endpoint serving the lazy-loaded per-poi…1f90847