Closed philderbeast closed 3 years ago
No it's not. The file is generated on the fly everytime. I would cross check the data in the yaml with what is published in the public area.
The YAML (already posted earlier) does not agree with the published results in the public area.
Try updating the competition overall score and publishing.. if this works then I know how to fix it.
I see that the JSON and YAML endpoints disagree on best time. I'd grabbed the YAML previously but this is the first time I grab the JSON.
Try updating the competition overall score and publishing.. if this works then I know how to fix it.
I'm not sure what you mean by "updating the competition overall score" or competition "publishing". I'm familiar with task publishing.
It should be fairly obvious from the scoring page. There's a comp score tab. The competition overall is the sum of all tasks. But it is updated when the scorekeeper chooses as to avoid changing overall standings when a task is not final if that is not desired. Regardless if the JSON is updating this is not your problem. JSON and yaml both come from the same source so probably an issue on your end. Eg browser cache or looking at old files in download folder.
so probably an issue on your end
The tool I was using let me down so curl to the rescue.
> curl http://localhost:5000/flaretiming_yaml/8/norm-score
bestTime:
- null
- 2.01472 h
...
> curl http://localhost:5000/flaretiming/8/norm-score
{
"bestTime": [
null,
"2.01472 h"
],
...
Given the nature of the tool, why isn't avoiding browser caching the default?
It should be fairly obvious from the scoring page. There's a comp score tab.
Sorry but I don't see it. Where is the "scoring page" and where is the "comp score tab"?
The page where you scored and published. See your opening comment on the issue.
I think I see it now. From the scope of a comp, navigating via the [Tasks] button and then the [Scores] button for a task row in the tasks list then switching from the [Task Results] tab to the [Comp Results] tab, I have arrived at the "comp score tab", impossible to get to except via a task.
The time that you would be updating the competition score would be immediately after updating a task score.
Following on from #219, I manually uploaded individual tracks that I had that were missed by the bulk import and
[Set Min Dist]
for the remaining pilots in each task. I scored and published and saw no change in the downloaded YAML so I full rescored and published and again saw no change in the downloaded YAML. I restarted docker and still no change. Is there some caching going on that we can opt out of?