LabelBatch questions show only the check id and a cut message, not the criterion or the passage the flag is about

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

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

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

評価

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

調査の方向性

Start in LIFEOS/TOOLS/LabelBatch.ts, especially pickFlags and the question line cited in the issue. Trace how batch items get their check data and whether the engine exposes a passage span; the issue suggests storing derived_from and probability, then showing a span or a marked best-match passage. Done means each question includes the criterion, relevant artifact passage, and probability.

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

説明

What happens

A LabelBatch question shows only the artifact's basename, the check id and the first 200 characters of the finding message (LIFEOS/TOOLS/LabelBatch.ts, pickFlags: message: fd.message...slice(0, 200); the question line is `${i.n}. ${basename(i.artifact)}: flag "${i.check_id}" said: ${i.message}. Was this flag right? y/n`).

To answer y/n the principal has to open the artifact, find the sentence the flag is about, and, for a criterion judged against a source, find the passage of the source too. With ten questions per batch this is most of the work, and an answer given without that lookup is a weak label.

Expected

Each question carries what it takes to answer it: the criterion text, the passage of the artifact the flag is about, and the probability Glance gave.

Possible fix

Store the criterion text (derived_from) and the probability on the batch item, and show them in the question. When the engine can return the span it relied on, show that span; otherwise show the artifact passage around the best match of the criterion's key terms, marked as a guess.

🤖 Generated with Claude Code

主要言語
TypeScript
スター
19.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

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

はじめの一歩

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

danielmiessler/LifeOS のほかの issue

danielmiessler/LifeOS の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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