# collectSubsystemEvidence

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/techdocs/subsystem-narrative.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/techdocs/subsystem-narrative.ts#L141)

Everything the sections below are allowed to say, gathered in one pass over the members.

`internalDependents` and the boundary weights are supplied by the caller, which is the only
place that knows which subsystem owns which entity.

## Signature

```ts
function collectSubsystemEvidence(members: Entity[], internalDependents: Map<string, number>, inboundEdges: Record<string, number>, outboundEdges: Record<string, number>, inboundTargets: Map<string, number>): SubsystemEvidence
```

## Parameters

| Name | Type |
|---|---|
| `members` | `Entity[]` |
| `internalDependents` | `Map<string, number>` |
| `inboundEdges` | `Record<string, number>` |
| `outboundEdges` | `Record<string, number>` |
| `inboundTargets` | `Map<string, number>` |

**Returns:** `SubsystemEvidence`
