aria-systems-group / sym_quant_reactive_synth Goto Github PK
View Code? Open in Web Editor NEWSymbolic Regret synthesis and graph search
License: MIT License
Symbolic Regret synthesis and graph search
License: MIT License
What: AssertionError.
I get the following error
Traceback (most recent call last):
File "/root/symbolic_planning/src/main.py", line 225, in <module>
regret_synthesis_handle.solve(verbose=False, just_adv_game=False, run_monitor=True, monolithic_tr=MONOLITHIC_TR)
File "/root/symbolic_planning/src/src/symbolic_graphs/strategy_synthesis_scripts/franka_symbolic_regret_main.py", line 157, in solve
self.graph_of_utls_handle.get_best_alternatives(mod_act_dict=self.mod_act_dict,
File "/root/symbolic_planning/src/src/symbolic_graphs/symbolic_regret_graphs/symbolic_graph_of_utility.py", line 460, in get_best_alternatives
assert self.ba_set.issubset(self.leaf_vals), f"Error computing set of beat alternatives. The BA set: [{self.ba_set}] should be a subset of utility values [{self.leaf_vals}]"
AssertionError: Error computing set of beat alternatives. The BA set: [{1.0, 3.0, 4.0, 5.0}] should be a subset of utility values [{1, 3, 4}]
When: running a simple 2 block 5 loc example with weighting_factor=3
for Regret Synthesis code with and without Monolithic TR flag set to true.
Why: The cause of the problem is this line. Is this logic correct?
Problem File:
(define (problem dynamic_only_franka_world) (:domain dynamic_franka_box_world)
(:objects
;;;;; Locs where only the robot can operate ;;;;;
l0 - box_loc
l1 - box_loc
;;;;; Locs where the robot & human can operate ;;;;;
; NOTE: The way pyperplan parses the PDDL file, you need atleast two human locs to construct `human-move` action
l6 - hbox_loc
l7 - hbox_loc
;l8 - hbox_loc
b0 - box
b1 - box
)
;todo: put the initial state's facts and numeric values here
(:init
(ready else)
(on b0 l0)
(on b1 l6)
)
(:goal
(and
(on b0 l0)
))
)
Task:
F(p01 | p17)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.