Fix issues with a malfunctioning php algorithm

In Progress Posted 6 years ago Paid on delivery
In Progress Paid on delivery

Please be sure to read the whole project description, and follow all instructions, before bidding.

The URL for this project is: [login to view URL]

This site loads data (NBA player statistics) from a CSV into an array. The algorithm then sorts the array, calculates player combinations and then returns the 8 best possible lineups.

If you upload the first attached file ([login to view URL]) you will see the data load into the array. If you then press the "optimize" button, you will see the algorithm return results in the 8 tabs at the top of the page. This is the expected and the correct result.

If you then try the same thing using the 2nd attached file ([login to view URL]) you will see that the data does load correctly into the array. However, when you press "optimize" to run the algorithm, you will see the following error message, "There are no possible lineups for draftkings using the players that you selected". To confirm that you have read and understood the job so far, please use the word Tequila at the top of your quote/proposal. Any quotes/proposals that do not include this word will be ignored.

After some troubleshooting on my end, I noticed a few things that seem to consistently cause the error to occur. These *may* help point you in the correct direction to help find a fix:

1) It seems that the algorithm works consistently when the original csv includes a large number of players. As soon as the number of players in the original upload csv drops below X, the algorithm gives the error.

2) You will notice that on the webpage, next to the players in the array, that there are 3 radio button options: "Allow," "Pick" and "Ban". Allow, if set (or if blank with no other buttons selected, tells the algorithm that the players is available to be used in the end results. "Pick", if set, *requires* the algorithm to include that player in all returned results and "Ban" forces the algorithm to exclude that player from all possible results. To confirm that you have read this far and understand, include the word Bourbon in your quote/proposal. Whenever the "Pick" option is selected, the algorithm gives the same error. These issues may be related.

Your job, should you choose to accept it, is to make sure that the algorithm returns results correctly with all uploaded csv data sets, and that the "pick" radio button option functions correctly.

Thanks!

HTML PHP Software Architecture

Project ID: #15582592

About the project

9 proposals Remote project Active 6 years ago

9 freelancers are bidding on average $25 for this job

MyAwesomeTeam

Nice to see you, jbffed. .I have the ability to do it Our skills same your requirement skills : HTML, PHP, Software Architecture I will complete this project on time, Do this project by the best way More

$40 USD in 5 days
(119 Reviews)
6.8
testotorko

Please be sure to read the whole project description, and follow all instructions, before bidding. 1

$20 USD in 2 days
(136 Reviews)
5.8
shiva1977

Tequila Bourbon I am ready to do it.

$20 USD in 1 day
(57 Reviews)
5.1
tsebro

Tequila and Bourbon. Hello! I can fix the issues with a malfunctioning php algorithm. I am a senior PHP/SQL developer with about 10 years of experience. I can do this job. If you are interested please contact me in a More

$24 USD in 1 day
(12 Reviews)
6.1
stillart

Hello, if you send me your php code I can take a look immediately. Relevant Skills and Experience I have more than 20 years experience in programming. Proposed Milestones $25 USD - Problem solved

$25 USD in 1 day
(7 Reviews)
3.8
sharmaaarti996

experienced in PSD website template designing, PSD to HTML conversion, PSD to WordPress conversion, WordPress theme designing, WordPress theme development, PHP development, MySQL database development. Relevant Skills More

$25 USD in 1 day
(2 Reviews)
1.2
yaiamshailesh

Tequila give me the php script Relevant Skills and Experience php Proposed Milestones $20 USD - ms

$20 USD in 0 days
(1 Review)
1.1
LajosArpad

Tequila Bourbon Hi, I am Lajos Árpád, a veteran developer. If you work with me, your project will be successfully completed. Relevant Skills and Experience I have many years of experience in PHP and this task will su More

$25 USD in 1 day
(0 Reviews)
0.0