agentmodels / webppl-agents

Webppl library for generating Gridworld MDPs. JS library for displaying Gridworld.
22 stars 4 forks source link

beliefSimpleBandits tests failing #25

Closed jsalvatier closed 8 years ago

jsalvatier commented 8 years ago

Not sure what the right fix is.

Its a good idea to run the tests before you push. Partially broken tests are harder to use it to confirm your code is running correctly.

assert.js:89
  throw new assert.AssertionError({
  ^
AssertionError: outputType key not in ['states', 'actions', 'stateAction', 'stateBelief']
    at eval (eval at <anonymous> (/Users/jsalvatier/npm/lib/node_modules/webppl/src/main.js:184:10), <anonymous>:681:48)
    at eval (eval at <anonymous> (/Users/jsalvatier/npm/lib/node_modules/webppl/src/main.js:184:10), <anonymous>:186:46)
    at trampolineRunners.cli (/Users/jsalvatier/npm/lib/node_modules/webppl/src/util.js:31:11)
    at eval (eval at <anonymous> (/Users/jsalvatier/npm/lib/node_modules/webppl/src/main.js:184:10), <anonymous>:5:13)
    at /Users/jsalvatier/npm/lib/node_modules/webppl/src/main.js:184:44
    at Object.timeif (/Users/jsalvatier/npm/lib/node_modules/webppl/src/util.js:222:37)
    at Object.run (/Users/jsalvatier/npm/lib/node_modules/webppl/src/main.js:183:8)
    at run (/Users/jsalvatier/npm/lib/node_modules/webppl/webppl:34:10)
    at main (/Users/jsalvatier/npm/lib/node_modules/webppl/webppl:134:3)
    at Object.<anonymous> (/Users/jsalvatier/npm/lib/node_modules/webppl/webppl:137:1)
tests/beliefSimpleBandits.wppl failed