Skip to content

Stop the opener check rejecting clips that open on "so" - #172

Merged
nmbrthirteen merged 1 commit into
mainfrom
clip-opener-precision
Aug 22, 2026
Merged

Stop the opener check rejecting clips that open on "so"#172
nmbrthirteen merged 1 commit into
mainfrom
clip-opener-precision

Conversation

@nmbrthirteen

Copy link
Copy Markdown
Owner

Found by running the selection on a real episode rather than by reading the code.

findOrphanOpener was wrong in both directions:

Opening line Was Should be
So actually, did you try to help him out? rejected fine
So if you look at the latest NVIDIA GPUs, they run a thousand watts. rejected fine
However, we asked Claude to do unrelated tasks. accepted orphaned
So that's why we shut it down. rejected orphaned

so is the one opener that swings both ways, so it is now flagged only when the word after it points back. Contraction stems are matched, so that's counts as that. however, though, instead, otherwise and meanwhile join the set, since each answers something the viewer never heard.

The two rejected so lines were real moments I wanted from the episode, so this was costing picks.

673 Python tests, 315 vitest.

Running the selection on a real episode turned up both failure directions in
findOrphanOpener. "So actually, did you try to help him out?" and "So if you
look at the latest NVIDIA GPUs" were rejected, and both are fine places to
start a clip. Meanwhile "However, we asked Claude to do unrelated tasks" passed
while contrasting with something the viewer never heard.

"so" is now flagged only when the word after it points back, which keeps "So
that's why we quit" and drops the false positives. Contraction stems are
matched, so "that's" counts as "that". however, though, instead, otherwise and
meanwhile join the openers.

This came out of picking five moments by hand from the re-diarized episode and
watching which good cuts the gate refused.
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@nmbrthirteen, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eeee7235-6c35-4cb9-9607-914339acc205

📥 Commits

Reviewing files that changed from the base of the PR and between b8a64b4 and ddce8c5.

📒 Files selected for processing (2)
  • src/utils/clip-validation.test.ts
  • src/utils/clip-validation.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nmbrthirteen
nmbrthirteen merged commit c6e2a54 into main Aug 22, 2026
14 checks passed
@nmbrthirteen
nmbrthirteen deleted the clip-opener-precision branch August 22, 2026 08:08
@nmbrthirteen nmbrthirteen mentioned this pull request Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant