Help us shape the future of Go! Take the 2026 Go Developer Survey

engine

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package engine contains the certification scoring and status logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertifyUnit

func CertifyUnit(
	unit domain.Unit,
	rules []domain.PolicyRule,
	ev []domain.Evidence,
	expiryCfg domain.ExpiryConfig,
	now time.Time,
) domain.CertificationRecord

CertifyUnit runs the full certification pipeline for a single unit.

func Score

Score computes dimension scores from evidence and evaluation results.

func StatusFromScore

func StatusFromScore(score float64, hasBlockingViolations bool) domain.Status

StatusFromScore determines certification status from a weighted score.

Types

This section is empty.

Jump to

Keyboard shortcuts

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