ranking

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ranking implements token-budget-aware file selection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectFiles

func SelectFiles(rm *model.RepoMap, maxFiles int) *model.RepoMap

SelectFiles returns a new RepoMap with only the top-ranked files. If maxFiles is <= 0 or >= len(files), all files are returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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