aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat: add visualization tools for character relationship graphs简律纯2025-11-011-24/+0
| | | | | | | - Implemented ASCII visualization of relationships. - Added Graphviz support for generating PNG images of relationship graphs. - Created an interactive HTML visualization using Cytoscape.js. - Included styles and scripts for enhanced user experience in the HTML output.
* feat: Implement plugin system with combat tracker and dice analyzer简律纯2025-10-258-156/+106
| | | | | | | | | | | | | - Added `plugin_system_demo.py` to demonstrate basic plugin usage, processing, and analysis. - Created `CombatTrackerPlugin` for tracking combat statistics including damage and healing. - Developed `DiceAnalyzerPlugin` for analyzing dice rolls and calculating success rates. - Introduced `renderer_demo.py` for rendering output in HTML, Markdown, and JSON formats. - Implemented `rule_system_demo.py` to showcase rule engine capabilities with various examples. - Established core rule engine functionality in `rules.py` with support for conditions and actions. - Enhanced base plugin structure in `base.py` to support different plugin types (Processor, Renderer, Analyzer). - Added custom exception handling in `exceptions.py` for better error management. - Configured logging setup in `logging_config.py` for improved logging capabilities. - Created unit tests in `test_rust_core.py` to validate core functionalities and performance.
* feat: Enhance Processor, RuleExtractor, and Renderers with type hints and ↵简律纯2025-10-246-0/+568
| | | | | | | | | | | | improved documentation - Added type hints to Processor methods for better clarity and type safety. - Improved documentation for Processor methods, including detailed descriptions of parameters and return types. - Refactored RuleExtractor to support optional configuration file loading and added error handling for file operations. - Enhanced MarkdownRenderer to handle both list and dictionary inputs, with improved rendering logic. - Created comprehensive examples and tests for all components, ensuring robust functionality and error handling. - Added example rules for D&D 5E and structured output files for various formats (JSON, HTML, Markdown). - Established a testing framework with clear instructions and coverage reporting.
* refactor: clean up code formatting and add new PluginManager classHsiangNianian2025-03-151-1/+1
|
* refactor(project)!: first implementation of the Conventional Role Play SDK ↵HsiangNianian2025-03-131-1/+1
| | | | with core components, renderers, extractors, and example usage.
* Initial commit简律纯2025-03-121-0/+4