Spaces:
Paused
Paused
Commit History
-
Add statistical distribution analysis with beta fitting and fix vertex configuration bug
This commit adds comprehensive statistical analysis capabilities and fixes a critical bug in vertex configuration across the codebase. New Features: - Add beta distribution fitting with MLE parameter estimation - Add bootstrap confidence intervals for distribution parameters - Add Kolmogorov-Smirnov and Anderson-Darling goodness-of-fit tests - Add multiprocessing support (64 CPU parallelization) - Add sample_size_calculator.py tool for precision planning - Add comprehensive volume_distribution_workflow.md documentation Key Results: - 20-vertex polyhedra: Beta fit with p=0.729 (excellent) - 40-vertex polyhedra: Beta fit with p=0.961 (near-perfect) - Strong empirical evidence for beta distribution convergence as n→∞ Bug Fixes: - Fix critical "i" bug: Changed fixed vertices from [0, 1, i] to [0, 1] - This affected 12 files across bin/ and examples/optimization/7vertex/ - Now correctly uses 2 fixed vertices with infinity implicit in triangulation - Fixes vertex count being off by 1 (e.g…3bf2012
-
Regenerate 9-vertex LLM benchmark with Bloch-Wigner and correct vertex config
Key improvements: - Use Bloch-Wigner dilogarithm for precise volume computation - Fix vertex configuration: 0, 1, ∞ + 6 free (was incorrectly 0, 1, i, ∞ + 5) - Add use_bloch_wigner parameter to ideal_poly_volume_via_delaunay() - Update optimization script with correct vertex counts and improved docs - New optimal volume: 8.162538347504972 (precise to 15 digits) Bloch-Wigner is ~2×10⁻⁵ more accurate than Lobachevsky with 256 terms. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>32a2e80 -
Fix critical bug: remove i from fixed vertices (should be 0, 1, ∞ only)
CRITICAL BUG FIX: The GUI was using 3 fixed vertices (0, 1, i) instead of the standard 2 (0, 1). This caused incorrect vertex counts and inflated volumes. Impact: - When user requested 4 vertices, got 5 (0, 1, i, 1 free, ∞) - Volume of 'regular tetrahedron' was 1.96 instead of ~1.015 - All prior optimization results may be affected Fixed by: - Changed fixed vertices from [0, 1, i] to [0, 1] - Updated all documentation and comments - Now: 4 vertices = 0, 1, 1 free, ∞ (correct) This aligns with the standard convention for ideal polyhedra. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>8750b11
-
Major reorganization and feature additions
## Reorganization - Moved all examples to organized examples/ directory by category - examples/distributions/ (tetrahedron, 5-vertex, 6-vertex, euclidean) - examples/optimization/ (7-vertex, 12-vertex, 20-vertex, platonic) - examples/visualization/ - examples/analysis/ - Created bin/ directory for command-line tools and GUI - Created results/ directory with data/, plots/, logs/ subdirectories - Moved documentation to docs/ directory - Cleaned up 91+ root-level files into organized structure ## New Features ### Command-Line Tools (bin/) - optimize_polyhedron.py: General optimization wrapper with canonical output - analyze_distribution.py: Distribution analysis wrapper - gui.py: Comprehensive Gradio web interface ### Gradio GUI (bin/gui.py) - 5-tab interface: Optimization, Distribution, Visualization, Arithmeticity, About - Parallel optimization using all CPU cores (64-core support) - Real-time progress tracking - 3D visualization in Klein and Poincaré ball models - Holonomy c…d7d27f0