How lorenzgoenner/maze_analysis works
Project type and purpose
• This is a Python-based research analysis codebase for modeling human decision‐making in a maze environment.
File structure
• Top‐level scripts (runnable mains):
• visualize_steps.py
• fit_SR_neighbours.py
• fit_planning.py
• fit_Q-learning.py
• Core helper modules:
• init_door_config.py (maze setup)
• maze_functions.py (environment utilities)
• log_info.py (parsing raw log files)
• model_fitting.py (generic fitting routines)
• Q_learning.py, planning.py, successor_rep.py (model‐specific implementations)
• Exploratory/aux analysis scripts:
• learning_rates.py, reaction_times.py, trunc_script_lg.py
• Static data/config:
• initial_layout.txt (room‐door mapping)
• No external services or databases—pure file‐based I/O.
Key insights from the README
• The “main” scripts orchestrate the pipeline: load data, configure the maze, compute parameter fits, and output results.
• Helper modules provide reusable functions for parsing logs, initializing environment, and low‐level model computations.