pipelineVerified releasev4
hn_topic_digest
Fetch real HN stories, normalize them, apply the required immutable embedded trained model, count observed attention and render notebook-safe HTML. Training is a separate operation. Published implementation executes locally in embedded mode.
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| source | unspecified |
| start_utc | unspecified |
| end_utc | unspecified |
| feeds | unspecified |
| max_items | unspecified |
| page_size | unspecified |
| max_requests | unspecified |
| timeout | unspecified |
| attempts | unspecified |
| budget_seconds | unspecified |
| pause_seconds | unspecified |
| max_response_bytes | unspecified |
| proxy | unspecified |
| transport | unspecified |
| periods | list | None |
| window_hours | float |
| anchor_utc | str | None |
| limit | int |
| full_document | bool |
| source_info | unspecified |
Outputs
| Name | Type |
|---|---|
| fetch | unspecified |
| model | unspecified |
| normalize | unspecified |
| predict | unspecified |
| result | unspecified |
| summarize | unspecified |
Exact release
Pinned local call
from spl import SPLClient
result = SPLClient.embedded().call(
"splime://@splime.project/case4-hn/hn_topic_digest@4",
kwargs={'anchor_utc': 'replace-with-value', 'attempts': 'replace-with-value', 'budget_seconds': 'replace-with-value', 'end_utc': 'replace-with-value', 'feeds': 'replace-with-value', 'full_document': False, 'limit': 0, 'max_items': 'replace-with-value', 'max_requests': 'replace-with-value', 'max_response_bytes': 'replace-with-value', 'page_size': 'replace-with-value', 'pause_seconds': 'replace-with-value', 'periods': [], 'proxy': 'replace-with-value', 'source': 'replace-with-value', 'source_info': 'replace-with-value', 'start_utc': 'replace-with-value', 'timeout': 'replace-with-value', 'transport': 'replace-with-value', 'window_hours': 0.0},
trust=True,
)Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.
Evidence
Evidence-backed concepts
- Hn topic digest
- Count observed attention
- Training separate operation
- Normalize them
- Max response bytes
- Render notebook safe HTML
- Start utc
- End utc
History
Public versions
- v46 downloads
- v30 downloads
- v25 downloads
- v19 downloads
Discover
Similar Objects
- fetch_snapshotCollect real HN stories from date-filtered Algolia search or current Firebase feeds. Explicit time range, overlapping feeds, request/item/time budgets and collection timestamp; no substitute data. Returns normalized rows and coverage diagnostics.
- tag_titlesAssign HN titles to topics with the immutable trained model embedded as a required native graph dependency. Automatic names use learned top terms; no caller model file or retraining. Returns hn-topics-v1 predictions.
- render_digestRender observed HN topics, tags, attention summaries, collection coverage and real story links as an escaped notebook-safe HTML fragment with scoped CSS; optional standalone document.
- evaluate_topics_temporallySplit HN stories chronologically, fit vocabulary and topics only on earlier titles, then inspect later-title coverage and reconstruction. No supervised accuracy or future-popularity forecast is claimed.
- analyze_titlesApply explicit topic rules and compare document shares in adjacent equal-duration windows. Counts describe the supplied snapshot, not all Hacker News activity.