In development practice for DeepSeek Harness (DSH), it is often necessary to aggregate model inference metrics or data. When calculating growth rates or ratio-based data, simple arithmetic averages are often not suitable; the geometric mean is a more appropriate metric. This article introduces a plugin that implements this logic.

Plugin Purpose

dsh-geometric-mean is a DSH plugin implemented in pure Node.js, with no network dependencies. It is maintained by user uckkk and mainly addresses the need to calculate geometric means in DSH processes.

Core Features

Provides the ability to calculate geometric means.

Installation

Use the official installation command to add the plugin:

dsh plugin add github:uckkk/dsh-geometric-mean

Dependencies and Runtime Environment

The plugin depends on the following environment:

  • @deepseek-ai/cordis (^4.0.1)
  • @deepseek-ai/dsh-tools (>=0.1.0-rc.6)

The plugin runs with the current permissions of the DSH process. When using it, ensure that the above dependency versions meet the requirements.

Notes

  • License: The plugin is open-sourced under the MIT license.
  • Code Review: It is recommended to review the source code before installation to confirm that the calculation logic meets expectations.
  • Ecosystem Context: This plugin is a community-maintained project. The plugin directory site has no affiliation with official DeepSeek.

View Details

For more information, visit the plugin directory or the GitHub repository: https://github.com/uckkk/dsh-geometric-mean