Spaces:
Sleeping
Sleeping
| # Author: Liam Grinstead | |
| # Displays all logged simulations from Codex_Registry.json | |
| from registry_utils import read_registry | |
| def display_registry(): | |
| entries = read_registry() | |
| if not entries: | |
| return "No simulations logged yet." | |
| output = "๐ **Codex Simulation Registry**\n\n" | |
| for e in entries[::-1]: # newest first | |
| output += ( | |
| f"๐ง Agent: {e['agent_id']}\n" | |
| f"โ๏ธ Torque: {e['collapse_torque']}\n" | |
| f"๐ Tier: {e['tier_drift']}\n" | |
| f"๐ Resonance: {e['emotional_resonance']}\n" | |
| f"๐ Score: {e['fitness_score']}\n" | |
| f"๐ Hash: `{e['hash']}`\n" | |
| f"๐ Timestamp: {e['timestamp']}\n" | |
| f"๐ค Author: {e['author']}\n\n" | |
| ) | |
| return output |