Skip to content

five-on-it / apps/worker/src/audit / GenerateAudit

Interface: GenerateAudit ​

Defined in: apps/worker/src/audit.ts:22

What the audit of a generation did and found, in its stats.

Properties ​

dropped ​

dropped: Partial<Record<AuditRule, number>>

Defined in: apps/worker/src/audit.ts:24

Pieces left out, by the rule that found them.


faults ​

faults: object[]

Defined in: apps/worker/src/audit.ts:28

The faults no repair cleared: the generator's, each naming its pieces, the point and its district.

message ​

message: string

rule ​

rule: "props-in-each-other" | "prop-in-building" | "buildings-in-each-other" | "not-resting" | "in-the-road" | "z-fighting" | "paint-over-paint" | "roads-joined"


paint ​

paint: number

Defined in: apps/worker/src/audit.ts:26

Triangles of the level's own paint left out (from under other paint).


rounds ​

rounds: number

Defined in: apps/worker/src/audit.ts:32

How many audits it took.


seconds ​

seconds: number

Defined in: apps/worker/src/audit.ts:34

How long it took (s).


warnings ​

warnings: string[]

Defined in: apps/worker/src/audit.ts:30

What is worth saying and no fault (a road the spawn's road cannot reach).