FLUXFLUX
  • Introduction
  • Quickstart
  • Two Specs, One Substrate
  • The Six Families
  • The FLUID Seam
  • Deterministic & Governed
  • Runtime & Evidence
  • Anatomy
  • The Nineteen Kinds
  • Versions
  • Changelog
  • JSON Schema 0.5.1
  • UI Hints 0.5.1
  • Enforcement Contract 0.5.0
  • Bundle Manifest 0.5.0
  • Overview
  • Tutorial
  • How-to guides
  • Reference
  • Explanation
  • Command line
  • Error codes
  • Accuracy program
  • The vNext Plan
  • The Nine RFCs
  • RFC-10 (proposed)
  • Conformance Profiles
Examples
What's New
FLUID
GitHub
  • Introduction
  • Quickstart
  • Two Specs, One Substrate
  • The Six Families
  • The FLUID Seam
  • Deterministic & Governed
  • Runtime & Evidence
  • Anatomy
  • The Nineteen Kinds
  • Versions
  • Changelog
  • JSON Schema 0.5.1
  • UI Hints 0.5.1
  • Enforcement Contract 0.5.0
  • Bundle Manifest 0.5.0
  • Overview
  • Tutorial
  • How-to guides
  • Reference
  • Explanation
  • Command line
  • Error codes
  • Accuracy program
  • The vNext Plan
  • The Nine RFCs
  • RFC-10 (proposed)
  • Conformance Profiles
Examples
What's New
FLUID
GitHub
  • FLUX Simulation Engine
  • Tutorial
    • First evidence pack in five minutes
  • How-to guides
    • Model your customers
    • Add a journey
    • Use the FLUID seam
    • Calibrate from aggregates: declare a scorecard
    • Ship with evidence
  • Reference
    • Command line
      • fluxsim init
      • fluxsim validate
      • fluxsim plan
      • fluxsim apply
      • fluxsim run
      • fluxsim verify
      • fluxsim ship
      • fluxsim replay
      • fluxsim calibrate
      • fluxsim accuracy
      • fluxsim gate
      • fluxsim expr
      • fluxsim describe
      • fluxsim plugins
      • fluxsim explain
    • Error codes
    • Python API
    • Schemas
  • Explanation
    • The six-step loop
    • Determinism and the seed tree
    • The FLUID seam
    • The evidence pack, and what it does not claim
  • Accuracy program

    • The accuracy program: design
    • Accuracy report

fluxsim expr

Parse, check and evaluate one flux-expr/1 expression, or print the model.

Commands

CommandWhat it does
fluxsim expr evalparse, check and evaluate one expression
fluxsim expr modelprint the attrmodel/1 document for a bundle

fluxsim expr eval

Evaluate one expression against a subject view supplied as JSON.

Synopsis

fluxsim expr eval [options] <source>

Examples

# check an expression and evaluate it against one subject
fluxsim expr eval "tenureMonths > 12" --bundle ./bundle \
    --values '{"tenureMonths": 24}'

Arguments

ArgumentDescription
sourcethe expression source

Options

OptionValueDescription
--bundleBUNDLEpath to the FLUX bundle directory (required)
--simulation-idSIMULATION_IDwhich Simulation document to resolve (default: the bundle's only one)
--valuesVALUESa subject view as JSON (required)
-j, --jsonemit machine-readable JSON

fluxsim expr model

Print the attribute model an expression in this bundle is checked against.

Synopsis

fluxsim expr model [options]

Examples

# every attribute in scope
fluxsim expr model --bundle ./bundle

Options

OptionValueDescription
--bundleBUNDLEpath to the FLUX bundle directory (required)
--simulation-idSIMULATION_IDwhich Simulation document to resolve (default: the bundle's only one)
-j, --jsonemit machine-readable JSON

All commands

Last Updated: 11/12/26, 10:41 PM
Prev
fluxsim gate
Next
fluxsim describe