# OfficeProvenanceSignalMeasurement

Immutable, provider-specific detector evidence. Scores retain their named scale and are not AI-authorship probabilities.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[OfficeProvenanceSignalMeasurement.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L18)

**Modifiers**

sealed

Immutable, provider-specific detector evidence. Scores retain their named scale and are not AI-authorship probabilities.

## Inheritance

- object
- OfficeProvenanceSignalMeasurement

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [OfficeProvenanceSignalResult.Measurement](/api/core/officeimo-provenance-officeprovenancesignalresult/#property-measurement)

### Accepted by parameters 1

- Method [OfficeProvenanceSignalResult.WithMeasurement](/api/core/officeimo-provenance-officeprovenancesignalresult/#method-withmeasurement-officeimo-provenance-officeprovenancesignalmeasurement) parameter `measurement`

Filter members 

Show inherited

## Constructors

`public OfficeProvenanceSignalMeasurement(string detectorVersion, string algorithm, string scoreName, double score, double? threshold = null, int? tokenCount = null, string? tokenizer = null, string? configurationId = null, string? calibrationReference = null, string? textSha256 = null, int? textOffset = null, int? textLength = null)` [#](#constructor-ctor-string-string-string-double-nullable-system-double-nullable-system-int32-string-string-string-string-nullable-system-int32-nullable-system-int32)

[OfficeProvenanceSignalMeasurement.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L18)

Creates reproducible evidence without retaining the evaluated text or secret watermark keys.

Parameters

**detectorVersion string required**

Version of the detector implementation or service.

**algorithm string required**

Name of the watermark algorithm being evaluated.

**scoreName string required**

Provider-defined score scale, such as z-score. Its direction and interpretation belong to the calibration reference.

**score double required**

Finite observed score on that scale.

**threshold double? = null optional**

Optional finite decision threshold on the same scale.

**tokenCount int? = null optional**

Number of evaluated tokens, when the provider supplies it.

**tokenizer string? = null optional**

Tokenizer identity and version, when known.

**configurationId string? = null optional**

Non-secret configuration identifier; never include private keys.

**calibrationReference string? = null optional**

Versioned calibration reference explaining thresholds, error rates, languages and supported sample lengths. It is not fetched.

**textSha256 string? = null optional**

SHA-256 of the complete extracted text encoded as UTF-8 before span selection.

**textOffset int? = null optional**

Optional zero-based UTF-16 offset in the hashed text; must be paired with length and hash.

**textLength int? = null optional**

Optional UTF-16 length of the evaluated span. These are text coordinates, not file mutation offsets.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string DetectorVersion { get; }` [#](#property-detectorversion)

[OfficeProvenanceSignalMeasurement.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L46)

Gets the implementation or service version.

`public string Algorithm { get; }` [#](#property-algorithm)

[OfficeProvenanceSignalMeasurement.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L48)

Gets the named watermark algorithm.

`public string ScoreName { get; }` [#](#property-scorename)

[OfficeProvenanceSignalMeasurement.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L50)

Gets the provider-defined score scale.

`public double Score { get; }` [#](#property-score)

[OfficeProvenanceSignalMeasurement.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L52)

Gets the finite score, without interpreting it as an authorship probability.

`public double? Threshold { get; }` [#](#property-threshold)

[OfficeProvenanceSignalMeasurement.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L54)

Gets the optional threshold on the provider's score scale.

`public int? TokenCount { get; }` [#](#property-tokencount)

[OfficeProvenanceSignalMeasurement.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L56)

Gets the evaluated token count.

`public string? Tokenizer { get; }` [#](#property-tokenizer)

[OfficeProvenanceSignalMeasurement.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L58)

Gets the tokenizer identity and version.

`public string? ConfigurationId { get; }` [#](#property-configurationid)

[OfficeProvenanceSignalMeasurement.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L60)

Gets a non-secret configuration identifier.

`public string? CalibrationReference { get; }` [#](#property-calibrationreference)

[OfficeProvenanceSignalMeasurement.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L62)

Gets the calibration reference; OfficeIMO does not resolve or download it.

`public string? TextSha256 { get; }` [#](#property-textsha256)

[OfficeProvenanceSignalMeasurement.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L64)

Gets the complete extracted-text UTF-8 SHA-256 digest.

`public int? TextOffset { get; }` [#](#property-textoffset)

[OfficeProvenanceSignalMeasurement.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L66)

Gets the UTF-16 offset in the hashed text, not in the encoded file.

`public int? TextLength { get; }` [#](#property-textlength)

[OfficeProvenanceSignalMeasurement.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Core/Provenance/OfficeProvenanceSignalMeasurement.cs#L68)

Gets the evaluated UTF-16 span length.

<!-- PowerForge markdown artifact sha256:181BE1BB8C43AAF328E19A2ADA434D9417A141CB8BD49AFD86F6F6E9703B2099 -->
