Repository navigation
fix(action-center): lower topic opportunity impact to the new volume scale - #1105
Merged
gkhngyk merged 1 commit intoOct 17, 2026
Merged
Conversation
…scale A topic opportunity's impact came from its suggestions' estimated volumes added up: high from 50k a month, medium from 10k. The model estimates those against the brand's tracked prompts, and with ansvisor#1103 (the median of the keywords at a 45% AI adoption rate instead of their sum at 15%) a brand's average prompt reads about a fifth of what it did. High is now 10k and medium 2k. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
8 of 12 tasks
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.
Summary
A topic opportunity's impact moves to the new volume scale: high from 10k a month (was 50k), medium from 2k (was 10k).
When Insights sends a topic opportunity to the Action Center,
topicOpportunityImpactgrades it by the topic's demand, which is its relevant suggestions'est_volumeadded up. The suggestion model estimates those volumes against the brand's tracked prompts. Its prompt gives it their average and maximum, and asks it to calibrate.#1103 changes those tracked volumes: the median of a prompt's keywords at a 45% AI adoption rate, instead of their sum at 15%. On the largest brand the average prompt goes from ~16.5k to ~3.3k a month, about a fifth. Once suggestions follow, the old 50k / 10k would grade almost every topic low. 10k / 2k keep the same proportions.
What changes
server/src/lib/action-center/from-topic-opportunity.js: the thresholds, with a comment on why.from-topic-opportunity.test.js: pins both boundaries (10,000 / 9,999 and 2,000 / 1,999). It fails on the old thresholds.Merge order and caveats
est_volumeuntil someone refreshes them. A topic sent from suggestions made before fix(volumes): estimate prompt volume from the median of its keywords at a 45% AI adoption rate #1103 can grade higher than its demand on the new scale.Related issue
None. Follows #1103 (prompt volume median and 45% AI adoption rate) and #1104.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
npm test -- from-topic-opportunityinserver/.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): this PR doesn't touchweb/yarn typecheckpasses (run fromweb/): this PR doesn't touchweb/yarn format:checkpasses (run fromweb/): this PR doesn't touchweb/Also run:
server:npm run format,npm run lintandnpm test(1,285) pass.🤖 Generated with Claude Code