| Age | Commit message (Collapse) | Author |
|
|
|
Amp-Thread-ID: https://ampcode.com/threads/T-019d2915-3f8e-7747-9223-8685d73bad67
Co-authored-by: Amp <amp@ampcode.com>
|
|
- Renamed all uppercase markdown files to lowercase for consistency
- ARCHITECTURE.md -> architecture.md
- DEVELOPER_GUIDE.md -> developer-guide.md
- TIMESTAMP_EVENTS_GUIDE.md -> timestamp-events-guide.md
- SERIALIZATION_NOTES.txt -> serialization-notes.txt
- Removed all Raft references from documentation
- Updated build-fixes-summary.md
- Updated testing-guide.md
- Updated test-infrastructure.md
- Updated simulation-builder-framework.md
- Created index.md for easy documentation navigation
- Organized docs by category (Architecture, Testing, GUI Decoupling, etc.)
- Added quick links for different user types
- Included documentation standards and contribution guidelines
All documentation is now consistent and up-to-date with the current codebase.
🤖 Generated with Claude Code
https://claude.ai/code
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
Removed all Raft-related code as it was not working properly:
- Removed VSRaftProtocol.java implementation
- Removed all Raft test files
- Removed Raft example/demo files
- Removed Raft documentation
- Removed Raft simulation files (.dat)
- Removed Raft scripts
- Updated VSRegisteredEvents to remove Raft registration
- Updated SimulationBuilder to remove RAFT constant
- Updated SimulationFactory to remove Raft methods
- Updated SimulationBuilderTest to remove Raft tests
- Updated pom.xml to remove Raft test configurations
The protocol had issues with leader election not completing in GUI mode.
🤖 Generated with Claude Code
https://claude.ai/code
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Fixed HeadlessSimulationEngine to use correct task manager from receiving process
- Reduced message delays for testing (10-50ms instead of 500-2000ms)
- Fixed process ID method call (getProcessID not getProcessId)
- Improved message delivery scheduling to ensure tasks go to the right task manager
This resolves message delivery issues where messages were sent but not received.
BasicMulticast test now passes, but 12 protocol tests still failing.
🤖 Generated with Claude Code
https://claude.ai/code
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Moved test-protocols.sh, test-quick.sh, test-verbose.sh to scripts/
- Updated references in README.md and docs/testing-guide.md
- Fixed HeadlessSimulationRunner to properly run simulations to completion
- Fixed message delivery timing (now respects 500-2000ms delays)
- Added proper process time synchronization
- Fixed HeadlessProtocolRunner to exit cleanly
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Implement MessageHandler pattern to decouple message sending from visualization
- Add HeadlessLoader to load simulations without GUI components
- Create HeadlessProtocolRunner for clean protocol test execution
- Update VSInternalProcess to use MessageHandler for message routing
- Add null checks in VSSimulator for headless mode compatibility
- Update VSSimulatorVisualization paint() to check for headless mode
- Remove obsolete test scripts and documentation
- Update test-protocols.sh to remove GUI error suppression options
- Consolidate testing documentation in docs/testing-guide.md
All protocol tests now run cleanly in headless mode without GUI errors,
enabling proper CI/CD integration and automated testing.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Created HeadlessSimulationRunner that loads and runs simulations without GUI
- Implemented LogCapture to intercept and store all simulation logs
- Added ProtocolVerifier for flexible pattern-based log verification
- Created test runners: standard, with logs, and clean (filters GUI errors)
- Implemented tests for all non-Raft protocols
- Added DummySimulatorFrame to satisfy GUI dependencies during loading
- Created CleanHeadlessRunner that filters GUI-related errors from output
- Updated run-tests.sh script with quiet mode option
- Documented the framework architecture and usage
The framework successfully runs protocol tests and verifies behavior through
log analysis. GUI errors occur internally due to tight coupling in DS-Sim
but are filtered in quiet mode for clean output.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Create ARCHITECTURE.md with system overview, component diagrams, and design patterns
- Add DEVELOPER_GUIDE.md for creating new protocols and events
- Add TIMESTAMP_EVENTS_GUIDE.md for timestamp-triggered event system
- Include PlantUML diagrams for technical architecture
- Document event-driven design and protocol framework
- Add sequence diagrams for key workflows
- Include best practices and common patterns
- Update README with links to new documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
|
|
|
|
Several bugfixes.
New feauture: Boolean: sim.periodic
A lot of more which i forgot!
|
|
latex structuring better.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|