Type Alias EntryCandidate
type EntryCandidate = {
documentBytes: number;
entryBytes: number;
p: number;
path: string;
weight?: number;
}
documentBytes: number;
entryBytes: number;
p: number;
path: string;
weight?: number;
}
Properties
document Bytes
documentBytes: number
bytes of the document the entry replaces
entry Bytes
entryBytes: number
compressed bytes of the entry
p
p: number
the predicted share of devices that will open the page, 0 to 1
path
path: string
Optionalweight
weight?: number
the observations behind p; with a z it lowers p to a confidence bound, so a share seen once does not count as one seen a thousand times
a page a catalogue could carry the data of, with what the break-even rule needs to weigh it