coder13 / coder13/Competitor-groups

Render DNF and DNS instead of raw negative result sentinels

オープン 初心者向け
#86 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
11
フォーク
12
平均マージ
34分
マージ済み PR(30日)
2

説明

## 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
72/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。