the research preview
(Click to enlarge)
Its difficult to say whats wrong with the code without more context. Can you provide more information about what the code is supposed to do and what isnt working as expected? Also, is this the entire code or just a part of it?