Repository navigation
Add BRAINIALL diarized transcription example #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fasuizu-br
wants to merge
4
commits into
triggerdotdev:main
Choose a base branch
from
fasuizu-br:agent/brainiall-diarized-transcription
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fleet(20260809-trigger-fixes/coderabbit-fixes): trabalho do executor …
…(round 1)
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,145 @@ | ||
| > brainiall-diarized-transcription@0.1.0 test | ||
| > tsx --test tests/**/*.test.ts | ||
|
|
||
| TAP version 13 | ||
| # Subtest: sends the fixed BRAINIALL multipart contract without returning the key | ||
| ok 1 - sends the fixed BRAINIALL multipart contract without returning the key | ||
| --- | ||
| duration_ms: 8.930875 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: maps authorization failures without returning the response body | ||
| ok 2 - maps authorization failures without returning the response body | ||
| --- | ||
| duration_ms: 0.514667 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects empty keys before making a request | ||
| ok 3 - rejects empty keys before making a request | ||
| --- | ||
| duration_ms: 0.075167 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: redacts details from network errors | ||
| ok 4 - redacts details from network errors | ||
| --- | ||
| duration_ms: 0.214458 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: parses word timestamps and renders speaker-labelled SRT and VTT | ||
| ok 5 - parses word timestamps and renders speaker-labelled SRT and VTT | ||
| --- | ||
| duration_ms: 0.707208 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: joins punctuation without introducing spaces | ||
| ok 6 - joins punctuation without introducing spaces | ||
| --- | ||
| duration_ms: 0.053875 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: reconstructs text when the API text field is blank | ||
| ok 7 - reconstructs text when the API text field is blank | ||
| --- | ||
| duration_ms: 0.062917 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: splits a cue after a long silence even for the same speaker | ||
| ok 8 - splits a cue after a long silence even for the same speaker | ||
| --- | ||
| duration_ms: 0.130958 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects responses without valid timestamped words | ||
| ok 9 - rejects responses without valid timestamped words | ||
| --- | ||
| duration_ms: 0.210834 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: accepts only exact allowlisted public HTTPS hosts | ||
| ok 10 - accepts only exact allowlisted public HTTPS hosts | ||
| --- | ||
| duration_ms: 3.545167 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: downloads allowed audio without exposing the query in its result | ||
| ok 11 - downloads allowed audio without exposing the query in its result | ||
| --- | ||
| duration_ms: 9.536125 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: redacts source URLs from network errors | ||
| ok 12 - redacts source URLs from network errors | ||
| --- | ||
| duration_ms: 0.216417 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: redacts source URLs from response body read errors | ||
| ok 13 - redacts source URLs from response body read errors | ||
| --- | ||
| duration_ms: 0.428917 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: redacts source URLs from reader cancellation errors | ||
| ok 14 - redacts source URLs from reader cancellation errors | ||
| --- | ||
| duration_ms: 0.272125 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: revalidates every redirect against the hostname allowlist | ||
| ok 15 - revalidates every redirect against the hostname allowlist | ||
| --- | ||
| duration_ms: 0.420375 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects oversized audio before reading a declared body | ||
| ok 16 - rejects oversized audio before reading a declared body | ||
| --- | ||
| duration_ms: 0.205709 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects malformed declared content lengths | ||
| ok 17 - rejects malformed declared content lengths | ||
| --- | ||
| duration_ms: 0.447542 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: enforces the size limit while streaming when content-length is absent | ||
| ok 18 - enforces the size limit while streaming when content-length is absent | ||
| --- | ||
| duration_ms: 0.781958 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects HTML or a generic response without an audio extension | ||
| ok 19 - rejects HTML or a generic response without an audio extension | ||
| --- | ||
| duration_ms: 0.740709 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: requires an explicit rights and consent confirmation before network access | ||
| ok 20 - requires an explicit rights and consent confirmation before network access | ||
| --- | ||
| duration_ms: 0.503834 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: rejects unsupported languages before network access | ||
| ok 21 - rejects unsupported languages before network access | ||
| --- | ||
| duration_ms: 0.0655 | ||
| type: 'test' | ||
| ... | ||
| # Subtest: requires a server-side API key before network access | ||
| ok 22 - requires a server-side API key before network access | ||
| --- | ||
| duration_ms: 0.057375 | ||
| type: 'test' | ||
| ... | ||
| 1..22 | ||
| # tests 22 | ||
| # suites 0 | ||
| # pass 22 | ||
| # fail 0 | ||
| # cancelled 0 | ||
| # skipped 0 | ||
| # todo 0 | ||
| # duration_ms 183.320208 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Preserve Spanish inverted punctuation.
joinTokens(["¿", "Cómo", "estás", "?"])returns"¿ Cómo estás?". The current condition inserts a space after¿and¡. Add both characters to the opening-punctuation expression. Add a regression test for separate Spanish punctuation tokens.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents