# Interface QualitySignals

Quality signals extracted from task execution.

interface QualitySignals {
testsPass?: boolean;
lintErrors?: number;
userApproved?: boolean;
retryCount: number;
completionRatio: number;
validStructure?: boolean;
coherenceScore?: number;
}

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:29

##### Index

### Properties

testsPass?
lintErrors?
userApproved?
retryCount
completionRatio
validStructure?
coherenceScore?

## Properties

### `Optional` `Readonly` testsPass

testsPass?: boolean

Whether code tests passed (for code tasks)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:31

### `Optional` `Readonly` lintErrors

lintErrors?: number

Number of lint errors (for code tasks)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:33

### `Optional` `Readonly` userApproved

userApproved?: boolean

Explicit user approval/rejection

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:35

### `Readonly` retryCount

retryCount: number

Number of retries required

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:37

### `Readonly` completionRatio

completionRatio: number

Task completion percentage (0-1)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:39

### `Optional` `Readonly` validStructure

validStructure?: boolean

Whether output was valid JSON/structured (for structured output tasks)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:41

### `Optional` `Readonly` coherenceScore

coherenceScore?: number

Response coherence score (0-1)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:43