Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
corvix 0.0.1.dev95+gf9ae140ff documentation
corvix 0.0.1.dev95+gf9ae140ff documentation

Contents:

  • corvix
  • Quickstart
  • Installation
  • Usage
    • Basic Usage
  • Implementing a New Notification Target
  • Corvix — Design Specification
  • Contributing
  • Credits
  • API Reference
    • corvix
      • corvix.actions
      • corvix.cli
      • corvix.config
      • corvix.dashboarding
      • corvix.db
      • corvix.domain
      • corvix.enrichment
        • corvix.enrichment.base
        • corvix.enrichment.engine
        • corvix.enrichment.providers
          • corvix.enrichment.providers.github_latest_comment
          • corvix.enrichment.providers.github_pr_state
      • corvix.env
      • corvix.ingestion
      • corvix.notifications
        • corvix.notifications.dedupe
        • corvix.notifications.detector
        • corvix.notifications.dispatcher
        • corvix.notifications.models
        • corvix.notifications.targets
          • corvix.notifications.targets.base
      • corvix.presentation
      • corvix.rules
      • corvix.scoring
      • corvix.services
      • corvix.storage
      • corvix.tools
      • corvix.types
      • corvix.web
        • corvix.web.app
Back to top
View this page

corvix.scoring¶

Custom scoring logic for ranking notifications.

Functions¶

score_notification(→ float)

Compute a configurable score used for dashboard sorting.

Module Contents¶

corvix.scoring.score_notification(notification: corvix.domain.Notification, config: corvix.config.ScoringConfig, now: datetime.datetime | None = None) → float[source][source]¶

Compute a configurable score used for dashboard sorting.

Next
corvix.services
Previous
corvix.rules
Copyright © 2023, Rene Fritze
Made with Sphinx and @pradyunsg's Furo
On this page
  • corvix.scoring
    • Functions
    • Module Contents
      • score_notification()