- Modified the prompt generation to include all choices made by the player instead of limiting to the last three.
- Enhanced the formatting to ensure clarity by stripping existing numbering from character prompts.
- Improved readability of the decision and effects displayed for each choice in the history.
- Added debug print statements throughout the evaluation process to track the processing of test cards, input data, and generated prompts.
- Improved the `format_prompt` method to include detailed logging of kingdom state and choice history.
- Enhanced logging for training data selection to aid in debugging and understanding scenario generation.
- Added print statements to track the evaluation process, including the number of test scenarios and accuracy after evaluation.
- Improved JSON validation with additional logging for missing fields and invalid data types.
- Introduced counters for valid and invalid scenario generations during scoring.
- Enhanced feedback on scenario generation and processing errors for better debugging.
- Updated point system guidelines to restrict values for Piety, Stability, Power, and Wealth to a range of -20 to 20.
- Introduced a category field for scenario classification.
- Added examples for scenario generation to improve clarity.
- Implemented choice history tracking to maintain a record of player decisions and their effects on the kingdom's state.
- Enhanced prompt formatting to include current kingdom state and recent choices for better context in scenario generation.
- Introduced `dynastai_local_server.py` for local development and testing.
- Implemented `dynastai_server.py` as the main server entry point.
- Created FastAPI endpoints for game state management, card generation, and player choices.
- Developed a web interface with HTML, CSS, and JavaScript for user interaction.
- Added game logic for managing metrics and decision effects.
- Included configuration management and utility functions.
- Established a testing framework for API and environment functionality.
- Updated README.md with project overview and setup instructions.