Nice - liking the logic/method there
FPL Cup 2018 - FINAL - ft FISO's Joshhhua
- RomynPG
- Dumbledore
- Posts: 9639
- Joined: 13 Oct 2005, 18:32
- FS Record: FPL 134 overall 06/07 ... never close since
- FPL:
Re: FPL Cup 2018
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
wow
sobering and humbling
may I ask in which age bracket do you fall, Kevlar?
please do tell me you're under 30
that was something I'd have immediately thought of, ......20 or 30 years ago...
now I just rely on brute force rather than thought out solutions
indeed,
there have been 19 FPL Cup rounds so far (wow, 19, you survived a long way, Joshhhhhua!)
you take just ANY random team, and you follow the link of the team who eliminated it
in the worst case, you need 19 clicks
much fewer if you pick or find a link to a team who had a long winning streak
you just need luck to avoid always starting with teams inside the same QF bracket
very well done, Kevlar
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
Re: FPL Cup 2018
Awesome, isn't it? That reminded me of one situation when my best friend's wife had to fill out some excel table in work with around 10000 new deliveries and he said to her that we could have made a script for her and she answered:"You and your pal? You would first spend a day arguing which programming language to use, then one day for coding and then three days arguing why it didn't work and I finished it in 10 hours!"
She was right.
Last edited by Joshhhua on 24 Apr 2018, 15:14, edited 1 time in total.
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
I tested it starting with my team
It took 13 clicks to get to your oppo, Joshhhua
I'm the loser of the loser of the loser of the loser....
I look up to you to vindicate me!
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
RPG ends to البوب as well, in 12 clicks
while Pirlo's Beard ends to River No Paddle in 10 clicks, as does Andybarrel in just 4
while Pirlo's Beard ends to River No Paddle in 10 clicks, as does Andybarrel in just 4
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
Re: FPL Cup 2018
Add one more loser there and you got me.
My first idea was parser, so I guess you are right about 30+ age and brutal force approach.
I did have a niggling feeling I'm missing something obvious though which is why I posted in the first place.
- Mav3rick
- FISO Jedi Knight
- Posts: 20858
- Joined: 20 Jul 2009, 20:35
- FS Record: FPL: 1082, 1201, 1800, 10203
The stats are dark and full of errors.
Re: FPL Cup 2018
Obviously Kevlar has already realised the logical conclusion and found the answers anyway, but for future reference it's possible to replicate his method via a script, just start with team id 1, and load the following JSON url:
https://fantasy.premierleague.com/drf/entry/1/cup
Then look at the entries cup matches, find the last one in the list and assuming that it's not at the index that corresponds to the target GW (GW35) then pick the "winning_entry" field:
Then iterate, loading the cup data for 119979 in this case, and keep going till you find a GW35 match.
Once you get a GW35 matchup record it and then repeat the entire process, starting at team id 2 and keep going until you found all 4 matches. You'd have to code for teams that didn't qualify for the cup, I would imagine they will either have a missing element for "cup_matches" or the collection will be empty.
https://fantasy.premierleague.com/drf/entry/1/cup
Then look at the entries cup matches, find the last one in the list and assuming that it's not at the index that corresponds to the target GW (GW35) then pick the "winning_entry" field:
Then iterate, loading the cup data for 119979 in this case, and keep going till you find a GW35 match.
Once you get a GW35 matchup record it and then repeat the entire process, starting at team id 2 and keep going until you found all 4 matches. You'd have to code for teams that didn't qualify for the cup, I would imagine they will either have a missing element for "cup_matches" or the collection will be empty.
-
- Wideboy
- Posts: 64
- Joined: 21 Aug 2013, 19:05
- FPL:
Re: FPL Cup 2018
As someone in their 30s that hasn't learnt to code (yet!) why would you start at team ID 1?
I selected my teams by picking those near the top of the overall league, as I assumed most of those would been performing well enough in time to qualify for the cup, whereas starting at ID1 might result in searching through a tonne of dead teams before even finding one that was even in the cup.
Would it be easy to code to scroll through the overall league, starting from 1st position?
I genuinely thought I was going for the brute force method btw! Had the question been asked a gameweek ago I wouldn't have tried.
I selected my teams by picking those near the top of the overall league, as I assumed most of those would been performing well enough in time to qualify for the cup, whereas starting at ID1 might result in searching through a tonne of dead teams before even finding one that was even in the cup.
Would it be easy to code to scroll through the overall league, starting from 1st position?
I genuinely thought I was going for the brute force method btw! Had the question been asked a gameweek ago I wouldn't have tried.
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
A top team has more points than most, thus on average it scored higher than most, in more gws than avg..
Thus has indeed higher chances to have won more Cup Matches, although the correlation is not direct and immediate.
After 19 rounds we're left with 8 teams.
Each one is the end point of a KO bracket 2^19 teams strong, that is 500k losing teams leading to that single one.
With two teams in a QF fixture, we have 1 million teams behind each one of the 4 QF.
Not counting the non-qualified teams, there's the theoretical risk to randomly leave all the 1 million teams from a same QF for last. That is, we could risk to pick 3 million teams in the worst case, before yet finding one leading to the 4th QF.
I figure this is about the chance all the oxygen molecules in a room find themselves all on the same side of a room at the same time (making you choke in the other side)
Thus has indeed higher chances to have won more Cup Matches, although the correlation is not direct and immediate.
After 19 rounds we're left with 8 teams.
Each one is the end point of a KO bracket 2^19 teams strong, that is 500k losing teams leading to that single one.
With two teams in a QF fixture, we have 1 million teams behind each one of the 4 QF.
Not counting the non-qualified teams, there's the theoretical risk to randomly leave all the 1 million teams from a same QF for last. That is, we could risk to pick 3 million teams in the worst case, before yet finding one leading to the 4th QF.
I figure this is about the chance all the oxygen molecules in a room find themselves all on the same side of a room at the same time (making you choke in the other side)
- RomynPG
- Dumbledore
- Posts: 9639
- Joined: 13 Oct 2005, 18:32
- FS Record: FPL 134 overall 06/07 ... never close since
- FPL:
Re: FPL Cup 2018
Currently 38 v 26 to Joshhhua - with his Kane & Son vs opponents Kane(c) & Son - no hits for either.
Joshhhua hoping Harry has a quiet night.
Good luck
Joshhhua hoping Harry has a quiet night.
Good luck
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
Re: FPL Cup 2018
Thanks Romyn. Yeah, a pretty poor gw for me as lot of things have gone wrong. If only one of the things happened like Milivojevic taking penalty or Salah scoring one on one or TAA scoring from Salah`s pass or ref giving deserved penalty to Liverpool I would have been already through, but one always concentrates on negative things. My opponent did have Willian benched, Lukaku injured and didn`t play his BB, so it is probably fair that Kane decides tonight. He did score "only" 3 goals in 9 games against Watford, but he has a tendency to punish me whenever he can and yes, I benched him for his haul against Chelsea in his breakthrough season and will never forget that.
- Smurphy Paw
- FISO Knight
- Posts: 14519
- Joined: 17 Aug 2006, 17:48
- FS Record: Mediocre, apparently
13/14: FPL 1792; FIFA 14 Top 700.
17/18: FPL 696th; loads of mini-League wins and side game promotions
18/19 1FC Köln 5AS Champions
#1 Spring Super League regular season 19/20 & 20/21 - FPL:
Re: FPL Cup 2018
Two goals and three bonus points would be 11 points. That’d be enough.
And if he scores more than that, amongst the whooping and hollering from those who captained him there’ll be loads of us empathising with you
And if he scores more than that, amongst the whooping and hollering from those who captained him there’ll be loads of us empathising with you
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
Re: FPL Cup 2018
Actually two goals and 3 bps would be 13 points, but in that case one yc would also be enough.Smurphy's Paw wrote: ↑30 Apr 2018, 16:24 Two goals and three bonus points would be 11 points. That’d be enough.
And if he scores more than that, amongst the whooping and hollering from those who captained him there’ll be loads of us empathising with you
- Smurphy Paw
- FISO Knight
- Posts: 14519
- Joined: 17 Aug 2006, 17:48
- FS Record: Mediocre, apparently
13/14: FPL 1792; FIFA 14 Top 700.
17/18: FPL 696th; loads of mini-League wins and side game promotions
18/19 1FC Köln 5AS Champions
#1 Spring Super League regular season 19/20 & 20/21 - FPL:
Re: FPL Cup 2018
For Kane? Ah, plus appearance points. I didn’t count the appearance points. Better hope that someone gets a glancing touch on that second attempt thenJoshhhua wrote: ↑30 Apr 2018, 16:56Actually two goals and 3 bps would be 13 points, but in that case one yc would also be enough.Smurphy's Paw wrote: ↑30 Apr 2018, 16:24 Two goals and three bonus points would be 11 points. That’d be enough.
And if he scores more than that, amongst the whooping and hollering from those who captained him there’ll be loads of us empathising with you
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
bump for ease of reference
(no GS doubling for Captaincy)
12p would be ok too, in case of a draw Joshhhhua would qualify having scored 1 more GoalKevlar wrote: ↑24 Apr 2018, 14:04 I think these are the quarter finals:
Bare ham rolls fam vs River No Paddle
Despicable Mee vs البوب
OneTooManyMorgans☆ vs wait for it
Nibelungen vs val
(no GS doubling for Captaincy)
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018
Btw, Google translator says البوب is read albub and means Pop,
Googling it brings up Pop Music links and Beatles images
Googling it brings up Pop Music links and Beatles images
- Ruth_NZ
- Grumpy Old Gorilla
- Posts: 9156
- Joined: 25 May 2015, 22:46
- FPL:
Re: FPL Cup 2018
WD Joshhhua, SF here we come.
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
- Ruth_NZ
- Grumpy Old Gorilla
- Posts: 9156
- Joined: 25 May 2015, 22:46
- FPL:
Re: FPL Cup 2018
He almost did. Set Sissoko up for a great chance late on and that would have been 11 or 12 points, perfect for us both. But your win is more important.
- Smurphy Paw
- FISO Knight
- Posts: 14519
- Joined: 17 Aug 2006, 17:48
- FS Record: Mediocre, apparently
13/14: FPL 1792; FIFA 14 Top 700.
17/18: FPL 696th; loads of mini-League wins and side game promotions
18/19 1FC Köln 5AS Champions
#1 Spring Super League regular season 19/20 & 20/21 - FPL:
Re: FPL Cup 2018
Congratulations. One game at a time, and all of that, but that’s an awesome run you’ve put together
- Ruth_NZ
- Grumpy Old Gorilla
- Posts: 9156
- Joined: 25 May 2015, 22:46
- FPL:
Re: FPL Cup 2018
A huge shout out for Joshhhua in the SF of the FPL Cup. As far as I can tell he is 68-69 with his opponent with one game remaining. Josh has DDG, Smalling and Pogba to come, his opponent is all out.
Fantastic balls this week too because Josh had his TC left and saved it for the final. Way to go!
Fantastic balls this week too because Josh had his TC left and saved it for the final. Way to go!
Last edited by Ruth_NZ on 09 May 2018, 22:35, edited 1 time in total.
- Pulpy
- Grumpy Old Man
- Posts: 1652
- Joined: 20 Jan 2015, 18:41
- FPL:
Re: FPL Cup 2018
Great going Joshhhua, best of luck for the final!
- Aldershot Rejects
- Dumbledore
- Posts: 9586
- Joined: 03 Aug 2011, 17:15
- Location: Kent
- FS Record: 5th Metro (2010-11); 146 - Sky (2015-16); 218 - Sky (2014-15); 386 - Sky (2020-21); 636 - FPL (2017-18); last 16 Sky Cup (2018-19)
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
Wow. Congratulations.
- Tacalabala
- FISO Knight
- Posts: 19010
- Joined: 07 Sep 2008, 01:03
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
I've temporarily sticky'd this
No pressure Josh...
No pressure Josh...
- Joshhhua
- Treebeard
- Posts: 131
- Joined: 20 Feb 2018, 18:52
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
Thanks guys. If it weren`t for FISO and especially Ruth`s brilliance I would never be in this position, so big thanks to all of you!
Because Kane didn`t get any BPS I`ll have 1 point less than my opponent, so let`s hope those 3 will show up tomorrow.
Because Kane didn`t get any BPS I`ll have 1 point less than my opponent, so let`s hope those 3 will show up tomorrow.
- RomynPG
- Dumbledore
- Posts: 9639
- Joined: 13 Oct 2005, 18:32
- FS Record: FPL 134 overall 06/07 ... never close since
- FPL:
- MoSe
- Dumbledore
- Posts: 9550
- Joined: 10 Sep 2014, 12:25
- Location: next door S.Siro stadium
- FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
Warning:
OPPO has 3 Goals Scored
Whilst J just 2
So DDG, Smalling and Pogba need to score 2p between them, 1p won't be enough
OPPO has 3 Goals Scored
Whilst J just 2
So DDG, Smalling and Pogba need to score 2p between them, 1p won't be enough
- RomynPG
- Dumbledore
- Posts: 9639
- Joined: 13 Oct 2005, 18:32
- FS Record: FPL 134 overall 06/07 ... never close since
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
You'd assume that would be a given - but seeing as how this GW has panned out so far I won't put it past them not managing it. Fingers crossed they all play to start with and then them not to balls it up.
- Tacalabala
- FISO Knight
- Posts: 19010
- Joined: 07 Sep 2008, 01:03
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
- RomynPG
- Dumbledore
- Posts: 9639
- Joined: 13 Oct 2005, 18:32
- FS Record: FPL 134 overall 06/07 ... never close since
- FPL:
Re: FPL Cup 2018 - FISO's Joshhhua (almost certainly) into the FINAL
... not what I meant.
(just in case I thought either you'd not stickied or that if you had it was a bit too temporary - should stay up top for the final - provided nothing tragic happens tommorrow night)
View Latest: 1 Day View Your posts