foxtrick icon indicating copy to clipboard operation
foxtrick copied to clipboard

MaxTools

Open kauefelipe opened this issue 5 years ago • 11 comments

Module to show last match U20/U21/Senior

kauefelipe avatar Sep 16 '20 01:09 kauefelipe

I don't really like that this module is using an external API. This is not a ML model and can be calculated internally

minj avatar Sep 19 '20 10:09 minj

I don't really like that this module is using an external API. This is not a ML model and can be calculated internally

Hi @minj. The idea to use an API is to avoid duplicate the code for perfect age. The next U21 world cup is really complex and a given player may have two perfect age use. In the future me and @kauefelipe would like to extend the integration between Foxtrick and MaxTools always using APIs. For example allowing at match's order page review a direct result estimation using https://ht-mt.org/match/result-estimation. We would like to extend the perfect age information adding not only "last match" but also "last complete phase" and informing the amount of training the player would accumulate less than one in real perfect age for the phase. So if we keep only one code that will be really interesting to avoid rework. This is the reason for the API approach.

MaxDareDevil avatar Sep 20 '20 12:09 MaxDareDevil

Hi @minj.

Good afternoon. Did you see MaxDareDevil's justification for using an API? You could see the plugin code? It would be nice to have a solution since the old U20 that is on foxtrick is showing the wrong dates.

kauefelipe avatar Sep 29 '20 17:09 kauefelipe

Hi, I just renamed the account name here to be the same used at HT.

MaxDareDevil avatar Sep 29 '20 19:09 MaxDareDevil

Apologies for the delay. I was not in a good place mentally for weeks.

minj avatar Nov 08 '20 21:11 minj

Apologies for the delay. I was not in a good place mentally for weeks. Please do not worry about that. I'm in hurry with RL issues as well. I will talk with @kauefelipe asap.

MaxDareDevil avatar Nov 10 '20 12:11 MaxDareDevil

You could see the plugin code?

@kauefelipe I am not exactly sure, what you've meant here.

Btw, I'll ask for a CHPP feature to confirm this integration

minj avatar Nov 10 '20 17:11 minj

Are you still interested in working on this?

I would specifically like to see these:

  • CORS headers
  • Link to Data/Privacy policy

minj avatar Nov 29 '20 15:11 minj

Hello minj. I was on vacation last month and I couldn't get anything because I spent a lot of time traveling. I will try to make adjustments in the next few days.

kauefelipe avatar Nov 30 '20 01:11 kauefelipe

@minj , I made some of the adjustments you asked for.

I'm new to Git and I'm still learning. I gave you permission in my repository if you want to make any adjustments directly.

kauefelipe avatar Nov 30 '20 03:11 kauefelipe

Alright I hope to look at it this week but I can't make promises

minj avatar Nov 30 '20 22:11 minj