User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz 2 > Script for Match Analysis - Feedback
Page:
 
kaiijy
offline
Link
 
Hello, guys.

If you ever visited the Greasemonkey Scripts subforum, you probably saw my adventures using Python to collect data from GLB2.

At the moment I'm working on a script that analyzes every play in a match and can grab all sorts of information, such as number of WR/TE, kind of play (inside/outside run, pass, etc, by breaking the play description), defense/offense play name, etc.

With this data I can make a couple of relations, such as:

What Team A does when they play with 4 WR? Inside Run? Pass?
When Team B is 3 yards from the first down, on the 2nd, what's their play?
What tactic Team A use most often when performing against 2 TEs?

I was wondering what other relations you'd find useful and how they should be displayed.
 
Xavori
offline
Link
 
For me as a defensive coordinator, the biggest thing I'd want is a breakdown of which play/formation do teams run on what down and distance. That's pretty much the starting point for everything I try to gameplan.
 
kaiijy
offline
Link
 
Originally posted by Xavori
For me as a defensive coordinator, the biggest thing I'd want is a breakdown of which play/formation do teams run on what down and distance. That's pretty much the starting point for everything I try to gameplan.


For example, this is what I am considering:

Inside Run:
Two Receivers: 10 (75%)
Three Receivers: 5 (20%)
Four Receivers: 10 (50%)
Five Receivers: 0
Two TEs: 0

1st & 10: 20 (80%)
2nd & <=3: 30 (75%)
2nd & <=6: 5 (20%)
2nd & <=10: 0
2nd & 10+: 0
3rd & <=3: 17 (100%)
3rd & <=6: 12 (33%)
3rd & <=10: 0
3rd & 10+: 0
1st & G: 8 (100%)
2nd & G: 2 (6%)
3rd & G: 0

Would this be useful to you? Formation is a little bit more difficult, because I can get each individual position participating in a play, however, I'd have to run another function to break the quantities into a formation.
 
Rob.
offline
Link
 
Originally posted by kaiijy
For example, this is what I am considering:

Inside Run:
Two Receivers: 10 (75%)
Three Receivers: 5 (20%)
Four Receivers: 10 (50%)
Five Receivers: 0
Two TEs: 0

1st & 10: 20 (80%)
2nd & <=3: 30 (75%)
2nd & <=6: 5 (20%)
2nd & <=10: 0
2nd & 10+: 0
3rd & <=3: 17 (100%)
3rd & <=6: 12 (33%)
3rd & <=10: 0
3rd & 10+: 0
1st & G: 8 (100%)
2nd & G: 2 (6%)
3rd & G: 0

Would this be useful to you? Formation is a little bit more difficult, because I can get each individual position participating in a play, however, I'd have to run another function to break the quantities into a formation.


This would be very useful. This would save me time of doing it manually
 
Stobie
MoD
offline
Link
 
Originally posted by kaiijy
For example, this is what I am considering:

Inside Run:
Two Receivers: 10 (75%)
Three Receivers: 5 (20%)
Four Receivers: 10 (50%)
Five Receivers: 0
Two TEs: 0

1st & 10: 20 (80%)
2nd & <=3: 30 (75%)
2nd & <=6: 5 (20%)
2nd & <=10: 0
2nd & 10+: 0
3rd & <=3: 17 (100%)
3rd & <=6: 12 (33%)
3rd & <=10: 0
3rd & 10+: 0
1st & G: 8 (100%)
2nd & G: 2 (6%)
3rd & G: 0

Would this be useful to you? Formation is a little bit more difficult, because I can get each individual position participating in a play, however, I'd have to run another function to break the quantities into a formation.


Just my 2 cents. Get the play ID's from the JSON pbp information and cross reference it against the JSON in the playbooks. You can get all sorts of attributes and such from that.
 
kaiijy
offline
Link
 
Originally posted by Stobie
Just my 2 cents. Get the play ID's from the JSON pbp information and cross reference it against the JSON in the playbooks. You can get all sorts of attributes and such from that.


That's how I do it right now, that data I posted earlier is already done, in 2 different scripts. I want to integrate both and make it as easier as possible so anyone can use it without much Python knowledge (insert game ID and you're good to go).

If someone else wants to know what Stobie is talking about, open any replay and add /1 to the URL, like this: http://glb2.warriorgeneral.com/game/replay/53990/3350979/1
 
Xavori
offline
Link
 
Well, when you call a defense, you're always tied to offense formation in your playbook. Then when you get to tactics, it's primarily down and distance.

So the optimum would be knowing that on 1st and 10 the offense ran X # of WR's and called an inside run/outside run/pass. Do that for all down's and distances.

The reason I bring that up is that while it's useful to know if a team calls inside runs on 2 and very short for tactics, that still doesn't tell me which page(s) in my playbook I need to include inside run stuffing plays for.
 
kaiijy
offline
Link
 
Originally posted by Xavori
Well, when you call a defense, you're always tied to offense formation in your playbook. Then when you get to tactics, it's primarily down and distance.

So the optimum would be knowing that on 1st and 10 the offense ran X # of WR's and called an inside run/outside run/pass. Do that for all down's and distances.

The reason I bring that up is that while it's useful to know if a team calls inside runs on 2 and very short for tactics, that still doesn't tell me which page(s) in my playbook I need to include inside run stuffing plays for.


And how do you think this information should be displayed? That's quite important as you may notice, we're dealing with 3 layers of information:

1st & 10:
Two Receivers: I: 20 (80%), P: 5 (20%), O: 0
Three Receivers: etc, etc, etc.
 
kaiijy
offline
Link
 
Originally posted by Stobie
Just my 2 cents. Get the play ID's from the JSON pbp information and cross reference it against the JSON in the playbooks. You can get all sorts of attributes and such from that.


Actually, I lied. I don't get the JSON from the pbp, at the moment I'm scraping the source code using CSS via the requests module to build an array of links. It is fast, but I should check if the JSON approach isn't faster in this case (not that checking every play is quick anyway)
 
Xavori
offline
Link
 
Originally posted by kaiijy
And how do you think this information should be displayed? That's quite important as you may notice, we're dealing with 3 layers of information:

1st & 10:
Two Receivers: I: 20 (80%), P: 5 (20%), O: 0
Three Receivers: etc, etc, etc.


That actually would work pretty well. Just change the order to Inside, Outside, Pass so the running stuffs are together.

1st & 10:
2WR - I: 20(80%), O: 0 (0%), P: 5(20%)
3WR ...
4WR ...
5WR ...
2TE ...
GL ...
 
kaiijy
offline
Link
 
Originally posted by Xavori
That actually would work pretty well. Just change the order to Inside, Outside, Pass so the running stuffs are together.

1st & 10:
2WR - I: 20(80%), O: 0 (0%), P: 5(20%)
3WR ...
4WR ...
5WR ...
2TE ...
GL ...


And what distances would you use? Same as I used in my previous example?

Also, would be nice if we could have more input on this
 
Xavori
offline
Link
 
Originally posted by kaiijy
And what distances would you use? Same as I used in my previous example?

Also, would be nice if we could have more input on this


Prolly just go with the default distance ranges you get from the defense tactics sheet. I always change them, but that's on me not the general public.
 
Adderfist
offline
Link
 
You should go every yard and a half. 0-1.5-3-4.5-6-7.5
 
bhall43
offline
Link
 
Originally posted by Xavori
Prolly just go with the default distance ranges you get from the defense tactics sheet. I always change them, but that's on me not the general public.


I'd definitely go with this. Simple yet effective.
 
tbray222
offline
Link
 
That'd be clutch as hell bro. Honestly, if you just did it for what types of plays and how often out of each formation (2wr, 3wr etc) that would be plenty for me personally. No shame in making us do SOME work, but I'm certainly not here to tell you that more info is a bad thing.
 
Page:
 


You are not logged in. Please log in if you want to post a reply.