> For the complete documentation index, see [llms.txt](https://docs.wiclax.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wiclax.com/en/all-competition-types/uphills-downhills.md).

# Uphills, downhills

This is an event where competitors do the same section multiple times - typically an uphill or downhill but potentially any other type of timed event. And between each attempt there is a connecting section or simply a waiting time.

## Settings

In Wiclax we set the event as a [lap race](/en/all-competition-types/lap-race-circuit.md). With a fixed duration or with a fixed number of laps depending on the context.

By default, the uphill/downhill times will be added and those who have completed the greatest number of laps will be ranked first. But we can specify that the ranking is done on the best lap, that is to say the best uphill/downhill time.

### Split point and segment

The we create an **intermediate split** to represent the start of the timed segment.

The end of the timed segment has to correspond to the finish line, or in other words the place where a new lap is counted.

The timed segement is then defined between the split point and the finish. It is declared as `timed only`, meaning that the time of a lap will be equal to the time of this segment. Or in other words, the connection/waiting time between segments will not be counted.

<figure><img src="/files/Za6lSpTOh5rXkHiTP7B5" alt=""><figcaption></figcaption></figure>

## Managing results

Results are managed as for a traditional lap race, with acquisitions pointing to the start of the segment and to the race finish.

{% hint style="info" %}
It is not necessary to specify a start time for the race
{% endhint %}

{% hint style="warning" %}
In the first round, competitors must be clocked in at the start of the section, otherwise the time for the first uphill/downhill will not be calculated as expected.
{% endhint %}

## Distances and best lap

The uphill/downhill distance is directly entered as the lap distance.

The notion of "best lap" will naturally designate in this context the best uphill/downhill time.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wiclax.com/en/all-competition-types/uphills-downhills.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
