# trec_eval を Homebrew でインストール

trec_eval のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:trec_eval
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install trec_eval
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:trec_eval
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/trec_eval>
- **バージョン:** 10.0
- **ソース概要:** Evaluation software used in the Text Retrieval Conference
- **ホームページ:** <https://trec.nist.gov/>
- **リポジトリ:** <https://github.com/usnistgov/trec_eval>
- **上流ドキュメント:** <https://trec.nist.gov/>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://github.com/usnistgov/trec_eval/archive/refs/tags/v10.0.tar.gz>
- **最終更新:** 2026-06-17T22:17:22Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- trec_eval (cli)
- trec_eval (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 10.0
- マネージャ更新日: 2026-06-17
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/usnistgov/trec_eval
- 検出された最新: v10.0 (最新)
## プロジェクトの歴史と使われ方

trec_eval is the long-running command-line evaluator associated with the Text Retrieval Conference, used to score submitted information-retrieval runs against judged relevance files.

### プロジェクトの歴史

The Text Retrieval Conference began in 1992 as a NIST and U.S. Department of Defense effort to provide infrastructure for large-scale evaluation of text retrieval systems. Within that culture, trec_eval became the shared evaluator for ad hoc retrieval experiments, pairing submitted run files with standard judged results.

The official README describes trec_eval as the standard tool used by the TREC community for evaluating an ad hoc retrieval run. Its file layout reflects that role: parsers for qrels and TREC result formats, measure implementations, tests, and a single small C command-line program that researchers can build with make.

The code has evolved with the evaluation methodology. The 2008/2009 version 9 work was a large rewrite that separated individual measure calculations, made it easier to add measures and input formats, and added measures such as nDCG and preference-evaluation support. The 2026 version 10 changelog records a breaking scoring fix, added measures, stdin support for results files, Windows/GCC fixes, and continued maintenance.

### 採用の歴史

TREC itself grew from an annual research evaluation into a long-running benchmark ecosystem: NIST describes decades of datasets, measurement processes, and tools, and notes that the evaluation software is available so organizations can evaluate their own retrieval systems.

For package users, trec_eval matters because it is not just another metrics script; it is the reference implementation many IR papers, TREC tracks, and regression tests expect. Packaging it in Homebrew gives macOS researchers and search engineers the same executable name and behavior used in benchmark instructions.

### 使われ方

The typical workflow is to run `trec_eval` with official qrels and submitted results, optionally adding `-q` for per-query output, `-c` and `-M1000` for official-style handling, or `-m` to print a selected measure.

In package-manager culture, it is often installed for reproducible evaluation notebooks, search-ranking experiments, and old TREC run comparisons where the exact evaluator is part of the experiment.

### パッケージ好きにとっての重要性

trec_eval is a compact example of a domain-standard scientific CLI: tiny build surface, old C code, public benchmark authority, and enough historical behavior that package availability helps preserve reproducible research.

### タイムライン

- 1992: TREC starts as a NIST/DOD large-scale text retrieval evaluation effort.
- 2006: trec_eval adds infAP and fixes bpref-related relevance-level behavior.
- 2008: version 9.0 alpha rewrites the evaluator around separate measure calculations and extensible formats.
- 2009: version 9.0 is released after the rewrite.
- 2020: GitHub workflow/CI and portability fixes appear in version 9.0.8.
- 2026: version 10.0 records scoring fixes, additional measures, stdin support, and compiler/platform fixes.

### Related projects

- TREC qrels and run files are the main data formats that trec_eval consumes.
- The broader TREC ecosystem includes many NIST tracks and datasets for search, question answering, multimedia, and related retrieval evaluations.

### ソース

- <https://github.com/usnistgov/trec_eval>
- <https://raw.githubusercontent.com/usnistgov/trec_eval/main/CHANGELOG>
- <https://raw.githubusercontent.com/usnistgov/trec_eval/main/README>
- <https://trec.nist.gov/>
- <https://trec.nist.gov/overview.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** trec_eval
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/ja/scientific-computing-tools/) - Matched scientific computing metadata.
- [z3](https://pkg.so/ja/brew/z3/) - Shares pkgdb curated category or tags: cli, science.
- [numpy](https://pkg.so/ja/brew/numpy/) - Shares pkgdb curated category or tags: cli, science.
- [gts](https://pkg.so/ja/brew/gts/) - Shares pkgdb curated category or tags: cli, science.
- [jupyterlab](https://pkg.so/ja/brew/jupyterlab/) - Shares pkgdb curated category or tags: cli, science.
- [proj](https://pkg.so/ja/brew/proj/) - Shares pkgdb curated category or tags: cli, science.
- [fftw](https://pkg.so/ja/brew/fftw/) - Shares pkgdb curated category or tags: cli, science.
- [liblinear](https://pkg.so/ja/brew/liblinear/) - Shares pkgdb curated category or tags: cli, science.
- [pmix](https://pkg.so/ja/brew/pmix/) - Shares pkgdb curated category or tags: cli, science.
- [kytea](https://pkg.so/ja/brew/kytea/) - Local package facts share a topical domain. Shared terms: cli, science, text.
- [octomap](https://pkg.so/ja/brew/octomap/) - Local package facts share a topical domain. Shared terms: cli, eval, science.
- [dice-coefficient](https://pkg.so/ja/npm/dice-coefficient/) - Local package facts share a topical domain. Shared terms: cli, science, text.

## Combined YAML source

View the package source record on GitHub. [combined/trec_eval.yml](https://github.com/mxcl/pkgdb/blob/main/combined/trec_eval.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
