scoring

package
v0.0.0-...-8d7cf1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateScore

func CalculateScore(fileID pgtype.UUID) int

CalculateScore computes an aggregate score (0-100) for a file based on all scanner results.

func UpdateFileScore

func UpdateFileScore(fileID pgtype.UUID, score int) error

UpdateFileScore updates the score in the database for a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL