Compression Calculation

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developers.smartpm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "SmartPM Public API MCP server": {
    "url": "https://developers.smartpm.com/mcp"
  }
}

Close

Overview

SmartPM displays compression values using a specific calculation method. Understanding this calculation is important when working with compression data programmatically or when interpreting compression metrics.

Calculation Method

To determine the compression value displayed in SmartPM, use the following formula:

Compression (%) = (Value - 1) × 100

Steps:

  1. Take your compression value
  2. Subtract 1 from the value
  3. Multiply the result by 100

Examples

Original Value Calculation SmartPM Display
1.25 (1.25 - 1) × 100 25%
1.50 (1.50 - 1) × 100 50%
1.10 (1.10 - 1) × 100 10%
2.00 (2.00 - 1) × 100 100%

Implementation Note

When integrating with SmartPM or processing compression data, ensure your calculations follow this formula to maintain consistency with the values displayed in the SmartPM interface.