Repository navigation
feat(ugc): sourcing form answers, +questions, strict filter values (v3.2.0) - #229
Merged
Merged
Conversation
…dy; v3.2.0 - `ugc sourcing +questions` lists the form questions people answered, with how many answered each and each choice's count. - `ugc sourcing +list --answer 'QUESTION::VALUE'` narrows by the latest answer; rows carry form_answers, sample_videos and creator_link, and --search matches answers too. - --category and --content-type take only the creator form's values; --country and --language take only codes (country in any case). A misspelt value used to answer an empty page; it is now refused with what to type instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MikeChenWM
marked this pull request as ready for review
November 19, 2026 12:46
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.
Context
Trying
ugc sourcingthe way ops and agents use it turned up two gaps: misspelt filter values (including the help's own example--content-type tutorials, and--country us,--language english,--category tech) silently answered an empty page, and there was no way to narrow by what people wrote on their forms, which the web page now does (Museon-AI/museon#7597).Changes
ugc sourcing +questions→GET .../creator-library/form-questions: questions answered in scope, people per question, and per choice value.ugc sourcing +list --answer 'QUESTION::VALUE'(repeatable) → the API'sanswerfilter.--searchhelp now says it matches answers.--category/--content-typeare enums of the creator form's values (argparse suggests the nearest one).--countryis uppercased,--language's first subtag lowercased; anything not a code is refused with a message naming the expected form.--min-followershelp says it measures project accounts only.Verification
uv run pytest -q: 2007 passedgen_command_docs.py --check,gen_command_contract.py --check,gen_task_index.py --check: in syncuv build+verify_public_artifacts.py: verifiedmuseoncli-3.2.0-py3-none-any.whl+questionslists 9 questions;+list --answer 'which of these have you done before?::3D design' --country us→ 10 people;--language english,--country USA,--answer 3Drefused with their messages;--content-type tutorialsrefused with "maybe you meant 'tutorial'?"Risk and rollout
Stricter input: a call that passed a misspelt value now fails instead of returning 0 rows. Release order: merge this, merge the monorepo catalog sync, then tag
v3.2.0.🤖 Generated with Claude Code