fit

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fit deterministically reduces a model.Report so its rendered size fits a byte budget, degrading the largest attribute diffs first, then falling back through a report-level terminal cascade.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fit

func Fit(r *model.Report, budget int) (fits bool)

Fit mutates r in place. budget <= 0 disables reduction. It returns whether the rendered report fits within budget.

Types

This section is empty.

Jump to

Keyboard shortcuts

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