TextWorld icon indicating copy to clipboard operation
TextWorld copied to clipboard

ENH: New Event classes

Open MarcCote opened this issue 5 years ago • 1 comments

This PR allows Events to be combined using boolean expressions (e.g. and/or). This is needed to make more complex quests.

This PR closes #218.

MarcCote avatar May 21 '20 01:05 MarcCote

Codecov Report

Merging #235 (b2bda1a) into master (fd0d419) will decrease coverage by 1.55%. The diff coverage is 92.51%.

:exclamation: Current head b2bda1a differs from pull request most recent head ec5185b. Consider uploading reports for the commit ec5185b to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
- Coverage   83.83%   82.28%   -1.56%     
==========================================
  Files          62       57       -5     
  Lines        7976     7839     -137     
==========================================
- Hits         6687     6450     -237     
- Misses       1289     1389     +100     
Impacted Files Coverage Δ
textworld/generator/maker.py 85.51% <77.94%> (-1.89%) :arrow_down:
textworld/generator/text_generation.py 84.13% <83.33%> (-0.15%) :arrow_down:
textworld/generator/inform7/world2inform7.py 90.04% <95.04%> (+0.01%) :arrow_up:
textworld/generator/game.py 92.50% <95.22%> (-2.27%) :arrow_down:
textworld/generator/__init__.py 95.48% <100.00%> (ø)
textworld/generator/logger.py 79.48% <100.00%> (ø)
textworld/challenges/tw_cooking/cooking.py 60.84% <0.00%> (-20.19%) :arrow_down:
textworld/gym/utils.py 83.33% <0.00%> (-16.67%) :arrow_down:
textworld/generator/data/__init__.py 78.02% <0.00%> (-1.57%) :arrow_down:
... and 13 more

codecov-commenter avatar May 21 '20 03:05 codecov-commenter