coder13 / coder13/Competitor-groups

Render DNF and DNS instead of raw negative result sentinels

Abierto Apto para principiantes
#86 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
11
Forks
12
Merge medio
34 min
PR fusionados (30 d)
2

Descripción

## Problem

Competition result values use WCA sentinel values for non-results:

- `-1` means `DNF`
- `-2` means `DNS`

The current result formatter passes these values through numeric event formatting, so result tables can display the raw values `-1` and `-2`. This is visible in the Lipnica Wielka Open 2026 results screenshot.

## Expected behavior

Every displayed attempt, best, average, or mean result should render the WCA status text instead of the sentinel number:

- `-1` -> `DNF`
- `-2` -> `DNS`

## Acceptance criteria

- Negative WCA result sentinels are handled before event-specific formatting.
- `-1` renders as `DNF`.
- `-2` renders as `DNS`.
- Normal centisecond, FMC, and Multi-Blind result formatting remains unchanged.
- Existing zero-value placeholder behavior remains unchanged.
- Add focused regression tests for both sentinels.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Locate the result formatter used by the competition result tables and inspect where values enter event-specific formatting. Add focused regression coverage for -1 and -2, verifying DNF and DNS while preserving normal centisecond, FMC, Multi-Blind, and zero-value placeholder behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
frontend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
72/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.