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

Add diff prioritization and truncation with notices

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

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

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

評価

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

調査の方向性

Start by tracing the existing MAX_TOKENS handling that excludes oversized files, then read the linked context in #183. Identify where diffs are ordered and rendered. Done means code, documentation, and test files receive the stated priority, oversized diffs are partially retained, and truncated files include the specified notice.

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

説明

When total diff exceeds token limits, we should prioritize core logic files over documentation or tests, and truncate individual file diffs with a notice like:

... [diff truncated for length]

Currently, files exceeding the MAX_TOKENS limit are simply excluded entirely. We need a more nuanced approach that:

  1. Prioritizes certain file types (code > docs > tests)
  2. Truncates large diffs instead of excluding them entirely
  3. Appends truncation notices

Originally identified in #183 - Smart Token Budgeting & Large Diff Truncation.

主要言語
Go
スター
0
フォーク
0
平均マージ
18時間 49分
マージ済み PR(30日)
13

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

rm-hull/git-commit-summary のほかの issue

rm-hull/git-commit-summary の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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