# Interface WeekBucket

Per-week aggregate built by bucketByWeek.

interface WeekBucket {
abstentionRate: number;
abstentions: number;
crossPartyAlignments: number;
decisive: number;
defectionRate: number;
defections: number;
voted: number;
voteIds: string[];
weekStart: string;
}

- Defined in utils/votingBaseline.ts:87

##### Index

### Properties

abstentionRate
abstentions
crossPartyAlignments
decisive
defectionRate
defections
voted
voteIds
weekStart

## Properties

### abstentionRate

abstentionRate: number

Abstention rate as a percentage of voted (decisive + abstain), 0 when `voted === 0`.

- Defined in utils/votingBaseline.ts:114

### abstentions

abstentions: number

Votes where the MEP abstained.

- Defined in utils/votingBaseline.ts:97

### crossPartyAlignments

crossPartyAlignments: number

Decisive defections where the MEP's position also matched at least one non-home group's plurality majority — i.e. a true cross-party signal.

This count is intentionally narrower than "any decisive vote matching a non-home majority": when the MEP aligns with their home group, matching other groups voting the same way reflects consensus, not cross-party realignment. Only counted when the MEP both broke from home AND moved toward another bloc.

- Defined in utils/votingBaseline.ts:108

### decisive

decisive: number

Number of decisive votes (FOR/AGAINST, excludes abstentions).

- Defined in utils/votingBaseline.ts:93

### defectionRate

defectionRate: number

Defection rate as a percentage of decisive votes, 0 when `decisive === 0`.

- Defined in utils/votingBaseline.ts:112

### defections

defections: number

Decisive votes where the MEP defected from the home-group majority.

- Defined in utils/votingBaseline.ts:95

### voted

voted: number

Number of votes (decisive + abstentions, excludes absences).

- Defined in utils/votingBaseline.ts:91

### voteIds

voteIds: string[]

DOCEO vote IDs in this bucket (preserving DOCEO order).

- Defined in utils/votingBaseline.ts:110

### weekStart

weekStart: string

ISO week start (Monday) in YYYY-MM-DD format.

- Defined in utils/votingBaseline.ts:89