by SimRacing.org.uk  

Read this first!    
 
nonchalant-unilinear
April 28, 2024, 02:39:41 PM +0100 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Series
Recent
Forthcoming
News: Upcoming Events are as follows: 1 - RRE/AC/ACC Sunday - No event ; 2 - GTL Monday - No event 3 - AC Wed - No event 4 - RRE Thursday - No event

RACE SERIES KEY A19=Assetto Corsa, E10=Raceroom Experience, L23=UKGTL GT Legends, LN2=Legacy NoGrip GT Legends, LNE1=Legacy NoGrip GT Legends Endurance races
 
  Start Here      Home   Help Search Calendar Login Register     LM2 Replays Rules Links Circuits Teams  
Pages: [1] 2 3 4
  Print  
Author Topic: iRacing semi-automated incident wibbletron  (Read 7981 times)
0 Members and 1 Guest are viewing this topic.
Dave 'Gizmo' Gymer
Director General
SimRacing.org.uk Staff
Hero Member
****
Posts: 15100


Currum auriga quasi furtivum


View Profile WWW
« on: March 18, 2010, 03:59:14 PM +0000 »

Rather than have this rumble on in the Silverstone race thread, I thought I'd start a new one.

I'll have a play at getting a system that can parse the data into a more readable format from just the SessionID.  From looking at it, it seems pretty do-able.

Before we get too carried away, let me point out (again!) the gaps between the available data and what needs to go into the court system as reports that the drivers can respond to:
  • 'SR flags' involving several cars as part of a single incident need to be grouped together so that each driver knows which incident it is they're responding to.
  • A car may have more than one incident of the same type on a single lap, and there needs to be an incident report for each one.
These two may overlap, of course.

If only we had a GPLRA-type tool that could spot related incidents in the replay and provide timestamped groups of data from which incident reports could be generated. Undecided
Logged

To finish first, first you must have fins.
Paul968
Former UKGPL Moderators
Sr. Member
**
Posts: 3613



View Profile
« Reply #1 on: March 18, 2010, 04:44:26 PM +0000 »

As you pointed out a few weeks ago when I asked about this, we can't get all the data, just the laps where things occur. If we had a report which collated all the data into one place though it would help enormously, and this is all I would suggest is needed. A mod can always check the rest of a contact lapto see if there is anything else untoward. The system wouldn't be foolproof but as long as the vast majority of incidents were picked up then then it would do its job.
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #2 on: March 18, 2010, 04:53:38 PM +0000 »

The basics are certainly do-able - here's a quick test I did for the last race in the Skip at Silverstone (not automated, but used the logic I'd implement to get the data pulled together):-

http://www.zensoftware.co.uk/downloads/temp/iracing/20100316.Silverstone.Skippy/incidents.htm

Certainly makes it quick and easy for mods to see where they need to be looking in the replay.

I should be able to put together an automated solution for this for mods to use which would present the data in a nicer way (mainly to include driver names instead of just their number), but that data can easily be copy/pasted into a spreadsheet.

Cheers, Ross.

(updated to point to revised URL)
« Last Edit: March 24, 2010, 10:41:01 AM +0000 by ross.mcw » Logged
popabawa
Legendary Leader
Former Moderators
Hero Member
**
Posts: 4939


Less yapping and more lapping!


View Profile
« Reply #3 on: March 18, 2010, 04:59:00 PM +0000 »

Great work Ross! looks very promising Smiley

Looks like there were 6 instances of car contact then (12 mentions, I'm assuming 2 cars involved each time?) so not too onerous for the moderator to check each one.

Having the driver name would be v. helpful, I think that might be enough really.
Logged

Legends Racing simracing team
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #4 on: March 18, 2010, 05:07:34 PM +0000 »

Yeah, should also be make it easy to pick-up on anyone consistently over-driving or track clipping.
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #5 on: March 18, 2010, 05:08:20 PM +0000 »

Having the driver name would be v. helpful, I think that might be enough really.

Yeah, that shouldn't be a problem at all, quite a few things I can do with the data once it's done programatically.
Logged
popabawa
Legendary Leader
Former Moderators
Hero Member
**
Posts: 4939


Less yapping and more lapping!


View Profile
« Reply #6 on: March 18, 2010, 05:13:29 PM +0000 »

Could you do a summary per driver then? e.g.

name1x off track2x lost control4x car contactTotal Incidents
Iain Mabbott4208


« Last Edit: March 18, 2010, 05:18:52 PM +0000 by popabawa » Logged

Legends Racing simracing team
Paul968
Former UKGPL Moderators
Sr. Member
**
Posts: 3613



View Profile
« Reply #7 on: March 18, 2010, 05:21:12 PM +0000 »

Yes, that would be good. It would also be useful to see if the number of incidents added up to the total reported on the results page, as this would show if some were hidden.
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #8 on: March 18, 2010, 05:30:30 PM +0000 »

Yes that might be do-able as it'll just be a different database query but can't car contacts be 2x or 4x?  If so, the data doesn't seem to provide any differentiation.

I did find that there's a flag (the lowest bit of the binary version of the flags value) for an incident that doesn't have a description which is a bit odd, but it's only occasionally incurred so probably isn't important at all - could be anything really and is perhaps just a status flag for something relatively unrelated.
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #9 on: March 18, 2010, 05:34:24 PM +0000 »

...ah except that, as Dave's highlighted above, the data available only flags any incident type once per lap so trying to provide a breakdown of incident points won't be do-able I'm afraid.

I guess it should just be viewed as a tool to help figure out where moderation for non-reported incidents may be needed.

Cheers, Ross.
Logged
Paul968
Former UKGPL Moderators
Sr. Member
**
Posts: 3613



View Profile
« Reply #10 on: March 18, 2010, 05:36:11 PM +0000 »

What I meant was that the results give an incident total for each driver. It would be good if the report could flag up the difference between this count and the calcualted total from the different types of incident.
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #11 on: March 18, 2010, 05:38:48 PM +0000 »

Thing is it could be wrong because you could have 10 off track incidents and get 10 points, but this would only be flagged in the lap chart once.  Just seems to be a limitation of the available data I'm afraid.
Logged
Fred Basset
Incident Moderators
Full Member
****
Posts: 522


View Profile
« Reply #12 on: March 18, 2010, 05:43:31 PM +0000 »

But even if this just tells the mod which laps/drivers to look at it would be an enormous help wouldn't it.

Looks like good work to me.

Gary
Logged
Paul968
Former UKGPL Moderators
Sr. Member
**
Posts: 3613



View Profile
« Reply #13 on: March 18, 2010, 05:47:24 PM +0000 »

I know - that is why I want to see the difference.

e.g

Dave Gymer       53 total incidents           4 x car contact     7 x loss of control     14 x off track    =    44 incident points         discrepency = 9 inc points
Logged
ross.mcw
Full Member
***
Posts: 510



View Profile
« Reply #14 on: March 18, 2010, 05:55:01 PM +0000 »

Dave Gymer       53 total incidents           4 x car contact     7 x loss of control     14 x off track    =    44 incident points         discrepency = 9 inc points

The day that happens, I'll eat my computer....

I'm still puzzled as to why you want to see the discrepancy though given that we know the data we have access doesn't allow us to calculate the incident points total with any certainty at all?  Am I missing something?
« Last Edit: March 18, 2010, 05:56:43 PM +0000 by ross.mcw » Logged
Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.738 seconds with 24 queries.
anything