Fix issues with a malfunctioning php algorithm
$10-30 USD
Kiszállításkor fizetve
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!
Projektazonosító: #15582592
A projektről
9 szabadúszó tett átlagosan 25$ összegű árajánlatot erre a munkára
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 Továbbiak
Please be sure to read the whole project description, and follow all instructions, before bidding. 1
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
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 Továbbiak
Tequila give me the php script Relevant Skills and Experience php Proposed Milestones $20 USD - ms
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 Továbbiak