Package-level declarations

Types

Link copied to clipboard
data class CardinalityResult(val target: String, val threadName: String, val cardinality: Int, val correlation: Double, val functionValuesCsvLine: String, val variableValuesCsvLine: String) : ProgressEvent

Stream one improved checkpoint row (and paired bitstring) for a specific cardinality K.

Link copied to clipboard
data class PrecomputedData(val averagePrecisionBySystem: Array<DoubleArray>, val topicColumnViewByTopic: Array<DoubleArray>, val fullSetMeanAPBySystem: DoubleArray, val numberOfSystems: Int, val numberOfTopics: Int, val systemIdsInOrder: List<String>, val systemIndexById: Map<String, Int>)

Immutable, shared, hot-path numeric bundle.

Link copied to clipboard
sealed interface ProgressEvent

ProgressEvent family

====================

Link copied to clipboard
data class RunCompleted(val target: String, val threadName: String, val computingTime: Long) : ProgressEvent

Terminal signal for a target run.

Link copied to clipboard
data class TopKReplaceBatch(val target: String, val threadName: String, val blocks: Map<Int, List<String>>) : ProgressEvent

Batch of K → 10 CSV lines, where each list is already sorted by correlation ASC and contains exactly 10 rows for that K:

Functions

Link copied to clipboard
fun buildPrecomputedData(averagePrecisionsBySystem: Map<String, DoubleArray>): PrecomputedData

Build PrecomputedData from primitive AP rows.

Link copied to clipboard

Convert legacy boxed rows to primitive arrays.