Demo 08: Agent Evaluation¶
Oracle, random, and zero agents evaluated across difficulty levels.
In [1]:
Copied!
import sys
from pathlib import Path
# Ensure alienbio is importable
_root = Path(".").resolve().parent.parent / "src"
if str(_root) not in sys.path:
sys.path.insert(0, str(_root))
_demos = Path(".").resolve().parent
if str(_demos) not in sys.path:
sys.path.insert(0, str(_demos))
%matplotlib inline
import sys
from pathlib import Path
# Ensure alienbio is importable
_root = Path(".").resolve().parent.parent / "src"
if str(_root) not in sys.path:
sys.path.insert(0, str(_root))
_demos = Path(".").resolve().parent
if str(_demos) not in sys.path:
sys.path.insert(0, str(_demos))
%matplotlib inline
In [2]:
Copied!
from _core import demo_08_evaluation
fig_diff, fig_comp = demo_08_evaluation()
from _core import demo_08_evaluation
fig_diff, fig_comp = demo_08_evaluation()
Difficulty Curves¶
In [3]:
Copied!
fig_diff
fig_diff
Out[3]:
Agent Comparison¶
All agents at difficulty 2.
In [4]:
Copied!
fig_comp
fig_comp
Out[4]: