[Debugging Task: Confidential]: I have done some work but getting wrong results

I need some body to help me to do some debugging or provide me some good feedback on my task so that I can have a proper reasoning and solution for my problem. Coding required. I am looking for somebody conversant with theoretical and technical aspects of Smart Contracts and related tools. But no leaking of information requested. Guide me how we can proceed to complete the task. [paid]