Skip to content

cardano-recon-framework: Add cardano-recon-grep and ContinuousFormula (v1.2.0)#6560

Open
Russoul wants to merge 9 commits intomasterfrom
russoul/recon-grep
Open

cardano-recon-framework: Add cardano-recon-grep and ContinuousFormula (v1.2.0)#6560
Russoul wants to merge 9 commits intomasterfrom
russoul/recon-grep

Conversation

@Russoul
Copy link
Copy Markdown
Contributor

@Russoul Russoul commented May 6, 2026

Summary

  • Add ContinuousFormula — the temporal-operator-free fragment of Formula, with retract for converting a Formula and eval for deciding it against a single event
  • Add cardano-recon-grep executable (Global Realisation Print): given a YAML list of continuous formulas and a JSON array of TraceMessages, prints only the messages that realise all formulas
  • Simplify prettyTraceMessage to serialise via the ToJSON instance directly, enabling round-trip parsing
  • Format negative-outcome relevant events as a JSON array in prettySatisfactionResult
  • Remove dead Common.hs
  • Add docs/formula-languages.txt — ASCII diagram of the full formula language hierarchy
  • Add note to docs/ltl-formula-syntax.txt clarifying that the data prefix is omitted when referencing TraceMessage properties
  • Bump version to 1.2.0; update CHANGELOG and README

@Russoul Russoul requested a review from a team as a code owner May 6, 2026 11:21
@Russoul Russoul force-pushed the russoul/recon-grep branch from 0e06127 to 6e3a289 Compare May 6, 2026 12:33
Comment thread bench/cardano-recon-framework/cardano-recon-framework.cabal Outdated
Comment thread bench/cardano-recon-framework/cardano-recon-framework.cabal Outdated
Comment thread bench/cardano-recon-framework/app/Cardano/ReCon/TraceMessage.hs
Comment thread bench/cardano-recon-framework/app/Cardano/ReCon/TraceMessage.hs Outdated
Comment thread bench/cardano-recon-framework/app/Cardano/ReCon/TraceMessage.hs
Comment thread bench/cardano-recon-framework/app/Cardano/ReConGrep.hs Outdated
Comment thread bench/cardano-recon-framework/app/Cardano/ReConGrep.hs Outdated
Russoul added 9 commits May 11, 2026 16:24
… (v1.2.0)

- Add `ContinuousFormula` — temporal-operator-free fragment of `Formula`,
  with `retract :: Formula event ty -> Maybe (ContinuousFormula ty)` and
  `eval :: ... -> event -> Reader OnMissingKey Bool`
- Add `cardano-recon-grep` executable (Global Realisation Print): prints a
  JSON array of TraceMessages that realise all given continuous formulas
- Simplify `prettyTraceMessage` to use ToJSON directly (no field remapping)
- Format negative-outcome relevant events as a JSON array in `prettySatisfactionResult`
- Remove dead `Common.hs` (extractJsonProps)
- Add `docs/formula-languages.txt` ASCII diagram of the formula language hierarchy
- Add note to `docs/ltl-formula-syntax.txt` on the `data` prefix omission convention
- Bump version to 1.2.0; update CHANGELOG and README
…e message

- --grep now prints directly to stdout, keeping greppable out of TraceMessage
- Context printout replaced with a ContextDump TraceMessage at Debug severity
- Use Text.unlines in prettyRelevanceArray and forHuman ContextDump
- Rename JSON keys eventsPerSecond and catchUpRatio to camelCase
- Simplify printArray to build a single Text value
- Use maybe [] Map.toList instead of Map.toList . fromMaybe Map.empty
@Russoul Russoul force-pushed the russoul/recon-grep branch from cfcfa8d to be8e51e Compare May 11, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants