Skip to content

Example 2 output doesn't match vroom 1.7 output #361

@dtrodrigues

Description

@dtrodrigues

Running vroom -i example_2.json no longer produces the same output as example_2_sol.json:

$ vroom -i example_2.json | jq .routes[].steps[]
{
  "type": "start",
  "arrival": 0,
  "duration": 0
}
{
  "type": "job",
  "id": 1414,
  "service": 0,
  "waiting_time": 0,
  "job": 1414,
  "arrival": 2104,
  "duration": 2104
}
{
  "type": "job",
  "id": 1515,
  "service": 0,
  "waiting_time": 0,
  "job": 1515,
  "arrival": 4359,
  "duration": 4359
}
{
  "type": "end",
  "arrival": 5461,
  "duration": 5461
}

$ cat example_2_sol.json |  jq .routes[].steps[]
{
  "type": "start",
  "arrival": 0,
  "duration": 0
}
{
  "type": "job",
  "job": 1414,
  "service": 0,
  "waiting_time": 0,
  "arrival": 2104,
  "duration": 2104
}
{
  "type": "job",
  "job": 1515,
  "service": 0,
  "waiting_time": 0,
  "arrival": 4359,
  "duration": 4359
}
{
  "type": "end",
  "arrival": 5461,
  "duration": 5461
}

There looks to be an additional id field present in each of the job steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions