OpenWarp - Fix Wave Frequency and Direction Crash bug

Register
Submit a solution
The challenge is finished.

Challenge Overview

Welcome to the OpenWarp - Fix Wave Frequency and Direction Crash bug contest. We have encountered a bug when running the simulator and we want you to find this bug and fix it.

 

Project Overview

OpenWARP allows Wave Energy Conversion (WEC) companies to create a software model to simulate the movement of waves and determine the amount of power that the WEC device would output in the modelled environment. It consists of a web application that can mesh and simulate a body of an offshore structure.

 

Contest Details

Our client noticed that when they provide a specific value to certain fields, namely the Wave Frequency and the Wave Direction fields, their application does not produce the desired results.

 

There does not seem to be an exact threshold below which the application executes with a success. In fact, in our client’s tests, they discovered that setting a value of 25 for the Wave Frequency successfully executes the simulator while setting a value of 26 causes failure. However, when we tested it out for our client, we found that changing the Wave Frequency value had no effect on the simulation results. Instead, if we gave a value of greater than 1 for the Wave Direction field, the application would not execute successfully.

 

We would like you to investigate the cause of this issue and support at least a value of 360 for the Wave Directions field and at least a value of 500 for Wave Frequencies field to guarantee a successful execution of the simulation.

 

Documents Provided

- Data file that you can readily import into the simulator

- A video demonstrating both the successful execution and failed execution for you to clearly distinguish between the two and to help you reproduce the issue.


As mentioned above, there doesn’t seem to be a concrete set of steps that cause the execution to fail in all systems. Our client’s tests and our tests differ. So, when you are attempting to reproduce the issue, try up to values 360 and 500 for the Wave Frequencies and Wave Directions field respectively to get a failed execution.

Final Submission Guidelines

Before submitting, kindly ensure that the requirements specified above are met. The application size is huge. As such, it does not make sense to upload the entire app. You can either submit a git patch of your changes or you can submit a pull request 5 minutes before the contest ends and upload just a text file containing your github handle to Topcoder.

 

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30053573