Source: https://guthlabs.ai/docs/instruments/earthquake-magnitude-comparison-energy-ratio/implementation/

instrument implementation / implementation-contract

# Earthquake Magnitude Comparison (energy ratio) implementation

A source-bound implementation contract for Earthquake Magnitude Comparison (energy ratio); deployment and executable qualification remain separate.

Status: **VERIFIED_CLEAN**Lifecycle: **implementation-contract**

## Binding contract

This record describes what an executable surface must bind and validate. It does not claim that a public calculator, package, or production route is deployed.

**Record owner**: Guth Instruments

**Lifecycle**: verified-clean

**Evidence ID**: t5-049

**Effect**: Computation or source lookup only

## Input and validation requirements

At magnitude difference ΔM = 1000, both mathematical ratios exceed JavaScript's finite numeric range and evaluate to Infinity in plain JavaScript arithmetic. The instrument should detect and flag this overflow.

## Required corrections

No binding erratum is attached to this unique-name record. Implementers must still preserve the declared units, domain, and failure behavior.

## Inspectable interface fixture

The sample below is evidence for interface and validation tests, not a production implementation.

````
{
  "inputs": {
    "magnitude_1": 6,
    "magnitude_2": 5
  },
  "expected_outputs": {
    "energy_ratio": 31.6227766017,
    "amplitude_ratio": 10
  },
  "working": "ΔM = 6.0 − 5.0 = 1.0. Energy ratio = 10^(1.5 × 1.0) = 10^1.5 = 31.6227766017. Amplitude ratio = 10^1.0 = 10.0."
}
````

## Other records

[01**Overview**](<https://guthlabs.ai/docs/instruments/earthquake-magnitude-comparison-energy-ratio/>)[02**Mechanism**](<https://guthlabs.ai/docs/instruments/earthquake-magnitude-comparison-energy-ratio/mechanism/>)[04**Qualification**](<https://guthlabs.ai/docs/instruments/earthquake-magnitude-comparison-energy-ratio/qualification/>)

## Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

- `VERIFIED_LEDGER.json`

- `evidence-tranche5/tranche5-results.json`
