EvaluatorReportConfig

scalus.cardano.ledger.EvaluatorReportConfig
See theEvaluatorReportConfig companion object
final case class EvaluatorReportConfig(enabled: Boolean = ..., outputDir: String = ..., artifacts: Set[DumpArtifact] = ..., profile: ProfileLevel = ..., profileOutputs: Seq[ProfileOutput] = ..., profileThreshold: Double = ..., maxRows: Int = ...)

Controls all diagnostic output of PlutusScriptEvaluator.

Replaces the former lone debugDumpFilesForTesting: Boolean. Construct one directly, derive one from the legacy boolean with EvaluatorReportConfig.fromLegacyBoolean, or layer environment overrides on top with EvaluatorReportConfig.fromEnv.

Value parameters

artifacts

which DumpArtifacts to write

enabled

master switch; when false the evaluator writes nothing

maxRows

row cap per profile section

outputDir

directory artifacts are written to (plain string so the type stays cross-platform; created via platform.createDirectories). Default "." is the current working directory, matching the historical dump location.

profile

profile verbosity (rendering is wired in a later step)

profileOutputs

explicit profile renderings; empty ⇒ derived from profile

profileThreshold

rows below this fraction of total budget collapse into "... and N more"

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def dumps(artifact: DumpArtifact): Boolean

True when reporting is enabled and the given artifact is requested.

True when reporting is enabled and the given artifact is requested.

Attributes

The profile renderings to produce: explicit profileOutputs when set, otherwise derived from the profile level (Summary ⇒ compact text to the console; Full ⇒ HTML + CSV files).

The profile renderings to produce: explicit profileOutputs when set, otherwise derived from the profile level (Summary ⇒ compact text to the console; Full ⇒ HTML + CSV files).

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product