HF RL Explorer

UserData::get returns None causing host function panic

UserData::get returns None causing host function panic: a task in LegoFlow-SWE (Harbor dataset). fn main() { let my val = ...; let user data = UserData::new(my val); // attach function via builder: let plugin = PluginBuilder::new(manifest) .with function("example", , , user data.clone(), example)…

The task

fn main() { let my_val = ...; let user_data = UserData::new(my_val); // attach function via builder: let plugin = PluginBuilder::new(manifest) .with_function("example", [], [], user_data.clone(), example) .build() .unwrap(); plugin.call(...); } ```

Part of Lego-X/LegoFlow-SWE.