Repository navigation
Conversation
Text similarity alone put a flow's output variable (narrative frames) above the corpus variable for a transcript upload. Suggestions now rank first the variables a registered flow or model input accepts these files under, then those an input takes without a declared format, then format mismatches, then variables nothing takes, keeping the semantic order within each group. Each suggestion says which flows and models take it.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Combined into #482 so all five build and deploy together. |
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
On the upload page, a transcript dataset described as "transcriptions of oral histories" was suggested
document_collection_narrative_frame__description(a flow output nothing takes as input) abovedocument_collection__text(the corpus input of six flows). On dev the semantic scores were 0.17 vs 0.16, with groundwater variables in between, so the frames variable was picked and the dataset never appeared in a thread's data step.Change
Suggestions are re-ordered using the model tree the page already loads, keeping the semantic order within each group:
Each suggestion now says who takes it ("Input to 2 flows", "No registered flow or model takes this as an input"). The picker's preferred order uses the same ranking.
Tests
src/lib/datasets/__tests__/upload-preview.test.ts, using dev's real order for the transcript case.tsc -bclean, eslint clean on the changed files.Do not merge until dev testing is scheduled.
🤖 Generated with Claude Code