Skip to content

Bug: calculation of inlap/outlap wrong #141

@mpapenbr

Description

@mpapenbr

Occured in 6hrs or the Glen: https://iracelog.iracing-tools.de/analysis/99059129-96ea-4c49-81a4-6370f79158d3/driverLaps

Check Team #20 laps 46-50. With in/out lap mode lap 48 is calculated with 6s. For some reason there are two laps marked as outlap.
Possible reason: this may be caused by a drivethrough penalty.

{
  "lapNo":  48,
  "lapTime":  99.5424,
  "lapInfo":  {
    "mode":  "LAP_MODE_OUTLAP",
    "time":  6.4
  }
},
{
  "lapNo":  49,
  "lapTime":  99.5424,
  "lapInfo":  {
    "mode":  "LAP_MODE_INLAP",
    "time":  94.75
  }
},
{
  "lapNo":  50,
  "lapTime":  105.0233,
  "lapInfo":  {
    "mode":  "LAP_MODE_OUTLAP",
    "time":  92.833336
  }
},

Obsoletes mpapenbr/iracelog-service-manager-go#292

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions