pipelineVerified releasev2
hn_topic_digest
Turn supplied Hacker News records into an explainable HTML digest in one call: normalize records, apply explicit topic rules, and render a reading list. Returns a notebook-safe HTML fragment by default; full_document=True produces a standalone document. No live fetch or bundled dataset. Runs in the caller's Python environment.
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| stop_words | list | None |
| tag_rules | dict | None |
| remap | dict | None |
| window_hours | float |
| min_support | int |
| anchor_utc | str | None |
| limit | int |
| full_document | bool |
| records | list |
| source_info | dict | None |
Outputs
| Name | Type |
|---|---|
| analyze | unspecified |
| normalize | unspecified |
| result | unspecified |
Exact release
Pinned local call
from spl import SPLClient
result = SPLClient.embedded().call(
"splime://@splime.project/case4-hn/hn_topic_digest@2",
kwargs={'anchor_utc': 'replace-with-value', 'full_document': False, 'limit': 0, 'min_support': 0, 'records': [], 'remap': {}, 'source_info': {}, 'stop_words': [], 'tag_rules': {}, '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
- Render reading list
- No live fetch
- Normalize records
- Bundled dataset
- Full document
- Explainable HTML digest one call
- Apply explicit topic rules
History
Public versions
- v24 downloads
- v19 downloads
Discover
Similar Objects
- analyze_titlesApply explicit topic rules and compare document shares in adjacent equal-duration windows. Counts describe the supplied snapshot, not all Hacker News activity.
- render_digestRender a supplied topic analysis as an escaped responsive HTML fragment with container-scoped CSS, coverage notes, window counts and a reading list. Safe for inline notebook display by default; full_document=True produces a standalone HTML file.
- fetch_snapshotFetch and normalize a bounded sample of real Hacker News stories through the official API. Explicit feed, item limit, timeout, retries and total time budget. Requires network access and httpx in the caller's environment; returns records and acquisition provenance. No bundled dataset or fallback data.
- normalize_storiesValidate Hacker News records, normalize UTC timestamps and HTTP(S) links, and deduplicate by record identity. Input data stays with the caller.
- case5_first_pd1_predictApply the fitted first_pd1 rules embedded in this release. Returns application IDs, predicted classes, probabilities and segments. No caller-side model file or retraining is required.