---
title: "GET /users/me/inconsistencies/length_3_cycles/{poll_name}"
method: GET
path: "/users/me/inconsistencies/length_3_cycles/{poll_name}"
tags: ["users"]
---

# GET /users/me/inconsistencies/length_3_cycles/{poll_name}

`GET /users/me/inconsistencies/length_3_cycles/{poll_name}`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `http://127.0.0.1:8000/o/token/` scopes: `read write groups`

List the cycles of length 3 in the comparisons graphs.

These "graphs" (one graph per criteria) are modeled by considering
entities as nodes, and comparisons as directed edges.

A cycle between 3 entities A, B, C is when A is preferred to
B, which is preferred to C, which is preferred to A (A > B > C > A).
Longer cycles are ignored, because it would be too long to count.

A "comparison trio" is any set of 3 entities that are all compared to each other.
The ratio cycles_count / comparison_trios_count can be used as an indicator of consistency.

## Path parameters

- `poll_name` string, required

## Query parameters

- `date_gte` string, date-time

## Response `200`

- Length3Cycles: Return statistics about length-3 cycles in the contributor's comparisons.
  - `count` integer, required
  - `results` Cycle[], required
    - `criteria` string, required
    - `entity_1_uid` string, required
    - `entity_2_uid` string, required
    - `entity_3_uid` string, required
  - `stats` object, required

## Changes

- **2022-06-11** `14e74f00c870`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tournesol-app/apis/tournesol-api/changes/users/me/inconsistencies/length_3_cycles/:poll_name/get.md)

---

[API](https://skmtc.dev/tournesol-app/apis/tournesol-api.md) - [All operations](https://skmtc.dev/tournesol-app/apis/tournesol-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tournesol-app/apis/tournesol-api/revisions/96c8c62ad972?raw)
