mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-18 07:11:47 +00:00
Update SkipTracker.tsx
This commit is contained in:
parent
a6328ed533
commit
644b6ca8c9
1 changed files with 2 additions and 3 deletions
|
|
@ -74,10 +74,9 @@ export function SkipTracker() {
|
||||||
? Math.max(0.1, pendingSkip.originalConfidence * 0.5) // Reduce confidence by half if adjusted
|
? Math.max(0.1, pendingSkip.originalConfidence * 0.5) // Reduce confidence by half if adjusted
|
||||||
: pendingSkip.originalConfidence;
|
: pendingSkip.originalConfidence;
|
||||||
|
|
||||||
// Only send analytics if skip time came from fed-skips or introdb (not theintrodb)
|
// Only send analytics if skip time came from fed-skips
|
||||||
if (
|
if (
|
||||||
pendingSkip.skipTimeSource === "fed-skips" ||
|
pendingSkip.skipTimeSource === "fed-skips"
|
||||||
pendingSkip.skipTimeSource === "introdb"
|
|
||||||
) {
|
) {
|
||||||
// Send analytics
|
// Send analytics
|
||||||
sendSkipAnalytics(pendingSkip.skip, adjustedConfidence);
|
sendSkipAnalytics(pendingSkip.skip, adjustedConfidence);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue