Inspiration
I enjoy working with data and numbers and sharing interesting developments across fields with others. New findings are released every day, and sometimes it is not easy to identify emergent trends that are gaining traction on the Internet. Additionally it's not easy to evaluate whether the trends are worth looking into and how much to trust it.
What it does
Trend Evidence Radar takes a creator's expertise, audience, format, location and call to action, then uses a live web search to find emerging trends in their field. For each trend it:
- grades every source on validity, authority and intended utility, and the trend on reliability (do independent sources agree?);
- combines these into a transparent evidence-strength score, with a warning when a trend rests on a single or sponsored source;
- gives five cited reasons to cover the trend and five reasons not to, plus angles for the creator's audience;
- shows whether dated sources and research output support the trend's direction, and labels the trend "signals mixed" when they disagree;
- lets the creator pick up to five Subject Matter Experts (SMEs) and shows what they say, with reasons for and against.
How I built it
Python and Streamlit for the interface. The You.com Search and Contents APIs supply live sources and page text. Claude models rate each source against a written rubric and write the cited reasons, and code, not the model, computes the score:
$$\text{evidence strength} = 100 \times \frac{0.3R + 0.3V + 0.2A + 0.2U}{4}$$
where $R$, $V$, $A$ and $U$ are reliability, validity, authority and utility, each on a 0 to 4 scale. The charts use Plotly, and the OpenAlex API supplies research-publication counts. I wrote a detailed build specification and used Claude Code to implement it. [EDIT: anything else about your process.]
Challenges I ran into
- Measuring direction without trusting mention counts, since AI-generated text can inflate them. I used dated events from independent origins instead.
- Showing the score honestly in a chart. On an ordinary radar chart, area does not match a weighted score, so I drew wedges whose widths equal the weights and whose area equals weight times score.
- Privacy. The optional profile pre-fill first displayed contact details from public pages, so I removed them from everything shown. It also pulled an outdated location, which is why every pre-filled field stays editable.
- Messy dates and speed. Pages often lack a clear date, so the app labels each date "stated in page" or "search-engine date". Running the searches and ratings in parallel brought a run down to about 30 seconds.
Accomplishments that I'm proud of
- It runs end to end on live data in about 30 seconds.
- Every claim traces to a source link, and the tool says when its own signals disagree.
What I learned
Evidence quality matters more than volume. A rubric makes a model's judgments easier to inspect, and having code do the arithmetic makes them repeatable. Building in honest labels ("not popularity", "not proof of truth") changed the design as much as the features did.
What's next for Trend Evidence Radar
- Add a search-demand chart from keyword data, and research abstracts as evidence.
- Check how consistent the model's ratings are by rating each source twice.
- Piloting the platform with real creators and independent experts could generate additional useful feedback.
Built With
- claude
- haiku
- openstreetmap
- plotly
- pydantic
- pytest
- python
- requests
- sonnet
- streamlit
- you.com