EvaluatorReportConfig

scalus.cardano.ledger.EvaluatorReportConfig
See theEvaluatorReportConfig companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromEnv(base: EvaluatorReportConfig = ..., env: Map[String, String] = ...): EvaluatorReportConfig

Layer environment overrides on top of base, field by field.

Layer environment overrides on top of base, field by field.

Only variables that are present change anything; absent variables leave base untouched. Presence of SCALUS_DUMP / SCALUS_PROFILE flips enabled = true; SCALUS_DUMP=off (also false/none) is an explicit kill-switch that forces enabled = false.

  • SCALUS_DUMP — comma list of flat,cbor,budget,profile (or off)
  • SCALUS_DUMP_DIR — output directory
  • SCALUS_PROFILEoff | summary | full
  • SCALUS_PROFILE_OUT — comma list of destinations: -/console to display, or a file name (format inferred from .html/.csv/.json/.txt); enables profiling
  • SCALUS_PROFILE_THRESHOLD — budget fraction (Double)
  • SCALUS_PROFILE_MAX_ROWS — Int

env is injectable so the precedence rules can be unit-tested without touching the process environment.

Attributes

def fromLegacyBoolean(debugDumpFilesForTesting: Boolean): EvaluatorReportConfig

Map the legacy debugDumpFilesForTesting boolean onto a config.

Map the legacy debugDumpFilesForTesting boolean onto a config.

true reproduces the historical artifact set: the fully-applied .flat files plus the per-builtin budget log (the latter only takes effect in VALIDATE mode). The on-disk layout changes — stable, overwriting filenames plus a manifest.json — but the set of artifacts is unchanged.

Attributes

Concrete fields

Reporting fully off — the default.

Reporting fully off — the default.

Attributes