Spaces:
Runtime error
Runtime error
Commit History
-
fix: move imports to top-level to resolve linting errors
- Move belief_module import to top of test_architectural_constraints.py - Move BeliefUpdate import to top of test_game_coordination.py - Resolve PLC0415 linting errors from CI pipeline 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f63cf4c -
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 -
fix: resolve formatting inconsistencies between make format and pre-commit
- Update ruff version in pre-commit-config.yaml to v0.11.13 to match local ruff - Fix version mismatch that caused disagreement between make format and pre-commit - Standardize assert formatting throughout test_architectural_constraints.py - Both commands now run without making any formatting changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>706af58 -
ci: fix formating in test
05d254d -
ci: fix formating in test
9588ba3 -
feat: make HF deployment conditional on successful CI
- Update deploy workflow to trigger only after CI workflow completes successfully - Add workflow_run trigger with success condition check - Ensure deployment only happens when all tests, linting, and security checks pass - Maintain manual deployment option via workflow_dispatch 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>73accd1 -
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
-
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