`unlint-non-existing-defect` benchmark lacks coverage for documents with `+unlint` metas, potentially missing regressions

オープン
#1,284 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@VasilevNStas がすでに取り組んでいます。

2026年8月19日 から。

  • #1285 @VasilevNStas による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java

調査の方向性

README のベンチマーク表にある「unlint-non-existing-defect」のエントリと、LtUnlintNonExistingDefect の実装から始めます。+unlint メタが名前付き lint をどのように選択するか、また existingDefects() がどのように計測されるかを追跡し、その後、既存の欠陥を参照する +unlint メタを含むベンチマーク fixture を追加します。README のベンチマークがこの経路をカバーし、将来のリグレッションに備えたタイミングを提供すれば完了です。

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

説明

enhancement good-title

I cannot tell whether objectionary/lints#1233 (or any future change to LtUnlintNonExistingDefect) is safe, because the only benchmark we have for that lint — the unlint-non-existing-defect entries in the README benchmark table — is driven by real-world bytecode-derived XMIR (com.sun.jna.*, org.apache.hadoop...FSNamesystem), none of which contain a single +unlint meta. That benchmark only measures the "no +unlint at all" fast path.

objectionary/lints#1233 changes the other path too: when +unlint metas are present, it now filters this.lints down to only the lints referenced by name before computing existingDefects(), instead of running the full list. We have no fixture with +unlint metas referencing defects that actually exist, so we have zero timing signal for that code path — no way to tell if it got faster, stayed the same, or regressed.

主要言語
Java
スター
14
フォーク
43
平均マージ
1日 20時間
マージ済み PR(30日)
166

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

objectionary/lints のほかの issue

objectionary/lints の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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