Skip to content
Signalcrest
← Back to feed
stackoverflowdevtools

How to use a public struct defined in a source file of /src folder from a test.rs file in /tests folder?

Shows how to import a public struct from src into Rust integration tests.

Steady

32

signal score

as of 1d ago

🔗 3

sources · rust

Steady

7-day est. ~29

Why this scored 32

every term, weighted
Velocity+0.0 / 40 max

Engagement gained per hour since the last capture, against the fastest item on its own source

Acceleration+12.0 / 25 max

Whether that velocity is itself speeding up, as a per-hour rate

Cross-source spread+16.7 / 25 max

How many independent communities are talking about the same entity

Recency+5.0 / 10 max

Decays to zero over 14 days

Saturation penalty1.7 / 30 max

Subtracted once something is big and old — we rank what's next, not what's peaked

Composite32.0

Weights are hand-tuned, not learned — we're calibrating them against realized trends as history accumulates. On a topic's first sighting there's no previous reading to compare against, so acceleration starts from a neutral prior rather than a measurement, and velocity falls back to engagement over its whole lifetime until a second reading exists. Full methodology

Outlook

low confidence · estimate, not a guarantee

7-day

~29

range 040

14-day

~23

range 037

30-day

~9

range 028

Signal history

7-day window (free)

— — projected trajectory (estimate, not a guarantee)

Entities

rust
Embed a live signal badge
Signalcrest signal badge
[![Signalcrest signal](https://www.signalcrest.app/api/badge/so%3A79996434)](https://www.signalcrest.app/topic/so%3A79996434)

Drop this in a README or blog post — it updates automatically as the score moves.