Specify multiple challenge files

I am trying to do the below in my track.json file , where each of the json file is a challenge track .
"
...
"challenges": [
{% include "challenges/indexing.json" %},
{% include "challenges/restaurant_autocomplete.json" %},
{% include "challenges/tag_autocomplete.json" %},
{% include "challenges/area_autocomplete.json" %},
{% include "challenges/es_primary_search.json" %}
]
"

However, when I run it , I get an error saying ""Could not load '/Users/pgarg/src/personalizer-nightly-benchmarking/rally/track.json'", 'Expecting property name enclosed in double quotes: line 941 column 13 (char 27127)'". Could someone please help me in fixing it . Thank you

sorry , I figured out the issue. " I had aextra "," in one of the files"

One addition: You don't need to include all of your challenges explicitly as there is a little helper in Rally, e.g.:

{% import "rally.helpers" as rally %}
{
 ...
  "challenges": [
    {{ rally.collect(parts="challenges/*.json") }}
  ]
}

Please see the docs for all details.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.