Eval CSV validation accepts duplicate headers and loses a column value

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

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

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

2026年11月30日 から。

  • #701 @raunakpandey1 による — オープン
  • #706 @theluckystrike による — オープン

評価

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

調査の方向性

Start in together.lib.utils.files at check_file and trace how eval CSV headers are validated and loaded. Reproduce with the provided duplicate answer header, then run the relevant validation tests. Done means duplicate header names are rejected with a clear error before the dataset can be uploaded; pull request 701 is already open for this issue.

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

説明

Reproduction

On current main (5e863640), save this as eval.csv:

prompt,answer,answer
Question,intended answer,other answer

Run check_file(Path("eval.csv"), purpose="eval") from together.lib.utils.files. The SDK reports is_check_passed=True and load_csv=True, even though csv.DictReader keeps only the last value for the duplicated answer key.

Expected

Validation should reject duplicate header names and explain the problem so a user can correct the dataset before uploading it. Reproduced locally on macOS with Python 3.13. This only exercises local validation. Codex assisted with the reproduction.

主要言語
Python
スター
13
フォーク
6
平均マージ
2日 12時間
マージ済み PR(30日)
23

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

togethercomputer/together-py のほかの issue

togethercomputer/together-py の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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