Spaces:
Runtime error
Runtime error
Commit History
-
feat: add entropy display to game status messages
- Show real-time entropy during playing rounds to track belief uncertainty - Include final entropy in completed game status alongside accuracy - Entropy displayed in bits with 2 decimal precision for educational value - Helps users understand Bayesian learning process and confidence levels 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1b86466
-
feat: add multi-evidence extension with configurable evidence types
- Add Basic and Extended evidence type configuration - Implement multi-evidence generation (e.g., ["lower", "half"]) - Update Bayesian inference for joint probability calculations - Add UI dropdown for evidence type selection - Maintain domain separation and architectural constraints - Update all tests (83 passing) for new multi-evidence format Basic Evidence: higher/lower/same Extended Evidence: adds half/double for richer inference 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>230696b -
refactor: fix CI/CD pipeline and modernize Python tooling
- Replace multiple linting tools with ruff for 10-100x performance improvement - Add comprehensive pre-commit hooks with ruff, mypy, and bandit - Create GitHub Actions workflows for multi-Python testing (3.10, 3.11, 3.12) - Add parallel test execution with pytest-xdist for faster CI - Configure security scanning with Trivy vulnerability scanner - Add auto-deployment workflow for Hugging Face Spaces - Create Makefile with uv run commands for consistent development workflow - Add centralized tool configuration in pyproject.toml - Remove round_info from UI for cleaner interface design - Update all tests to match new 3-tuple return format - Fix type annotations for modern Python (int | None syntax) - Add constants for magic numbers to improve code quality - Configure relaxed mypy settings for CI compatibility Breaking changes: - UI interface methods now return 3 values instead of 4 (removed round_info) - All linting now uses ruff instead of separate black/isort/flake8 tools 🤖 Generated …d10d3ce
-
refactor(ui): Remove round_info section to reduce visual clutter
a6994a0 -
refactor(ui): improve layout and code formatting
- Simplify layout by placing belief distribution and game log in right column - Improve code formatting with consistent string quotes and line breaks - Better visual hierarchy with status, round info, chart, and log in vertical flow - Maintain existing functionality while improving user experience8a0bc9d -
feat: implement complete Bayesian Game with domain-driven architecture
- Add Environment Domain with EnvironmentEvidence dataclass and Environment class for pure evidence generation - Add Belief Domain with BeliefUpdate dataclass and BayesianBeliefState class for Bayesian inference - Add Game Coordination with GameState dataclass and BayesianGame orchestration class - Add Gradio web interface with real-time belief visualization and game controls - Implement proper information filtering: belief agent receives only comparison results, not dice values - Add comprehensive test suite (78 tests) including architectural constraint verification - Add memory leak prevention and graceful game completion in UI - Support configurable dice sides and round counts with reproducible seeded experiments 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>571f3d0