Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fail corpus validation when no Wave sources are discovered

クローズ 初心者向け
#810 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing, tooling

調査の方向性

tools/check_wave_corpus.py から始め、corpus_files と resolve_wavec にパッチを適用する、提供された Python の再現コードを実行します。空の maintained-corpus と --run-std-examples のパスを追跡します。完了条件は、空の選択がどちらもコンパイラを起動せずに明確に失敗し、空でない通過する選択がゼロを返すことです。

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

説明

bug good first issue needs testing

Problem

The corpus gate returns success when source discovery yields no files. An incomplete checkout or moved/deleted source tree can therefore produce a green validation run that checked nothing.

Starting points: tools/check_wave_corpus.py.

Reproduction

Executed on Linux amd64 with Python 3.14.7. The affected files at local ade878134519b0f957ca28a23c6f9cd98e43dff3 are byte-identical to canonical master 286dad9c8fcb0616f7c719c72cbf453a7d9925fd.

python3 -B - <<'PYREPRO'
import sys
from pathlib import Path
from unittest.mock import patch
from tools import check_wave_corpus as c
with patch.object(c, 'corpus_files', return_value=[]), \
     patch.object(c, 'resolve_wavec', return_value=Path(sys.executable)):
    print('exit:', c.main([]))
PYREPRO

Observed: Corpus result: 0 passed, 0 failed and exit: 0. This isolates discovery; no compiler process is started.

Scope

Easy: reject an empty maintained corpus. When --run-std-examples is requested, also reject an empty std-example selection. This adds failure behavior beyond the general test-coverage tracking in #354.

Completion criteria

  • An empty corpus returns nonzero with a clear diagnostic.
  • Requested example execution cannot pass with zero selected examples.
  • A nonempty passing selection still returns zero, and an empty selection launches no compiler.
主要言語
Rust
スター
56
フォーク
21
平均マージ
4時間 58分
マージ済み PR(30日)
54

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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