PCT Results

Results of PCT experiments.

This application can also be used to run these results pct/applications/pct_example.py.

import json, os
import matplotlib.pyplot as plt
from   matplotlib import colors
from pct.pctexamples import PCTExamples
c:\Users\ruper\Versioning\python\nbdev\pct\.venv\lib\site-packages\gym\wrappers\monitoring\video_recorder.py:9: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.spawn
Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.

Lunar Lander environment

# Basic run with Lunar Lander config
PCTExamples.run_example('testfiles/LunarLander/LunarLander-4905d2.properties', render=True)
# config_file = 'testfiles/LunarLander/LunarLander-4905d2.properties' 
# result_basic = PCTExamples.run_example(config_file, render=True)
# result_basic
{'run_result': False, 'steps_completed': 500, 'success': True}