Skip to content

Commit

Permalink
Remove writing state-space statistics after the demise of cimetrics.
Browse files Browse the repository at this point in the history
Part of "Run TLA+ consensus/consistency from vscode" #6490

#6490
Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
  • Loading branch information
lemmy committed Oct 2, 2024
1 parent 76b2dcf commit 6cde298
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
3 changes: 0 additions & 3 deletions tla/consensus/MCccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ POSTCONDITION
CONSTRAINTS
CoverageExpressions

_PERIODIC
SerializeCoverage

PROPERTIES
CommittedLogAppendOnlyProp
MonotonicTermProp
Expand Down
5 changes: 2 additions & 3 deletions tla/consensus/MCccfraft.tla
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------- MODULE MCccfraft ----------
EXTENDS ccfraft, StatsFile, MCAliases, TLC, IOUtils
EXTENDS ccfraft, MCAliases, TLC, IOUtils

CONSTANTS
NodeOne, NodeTwo, NodeThree
Expand Down Expand Up @@ -168,8 +168,7 @@ AreAllCovered ==
----

PostConditions ==
/\ WriteStatsFile
/\ AreAllCovered
AreAllCovered

----
\* Refinement
Expand Down
6 changes: 0 additions & 6 deletions tla/consensus/SIMccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ CONSTANTS
NodeFour = n4
NodeFive = n5

StatsFilename = "SIMccfraft_stats.json"
CoverageFilename = "SIMccraft_coverage.json"

Timeout <- SIMTimeout
ChangeConfigurationInt <-SIMChangeConfigurationInt
CheckQuorum <- SIMCheckQuorum
Expand Down Expand Up @@ -69,9 +66,6 @@ PROPERTIES
NeverCommitEntryPrevTermsProp
RefinementToAbsProp

POSTCONDITION
WriteStatsFile

\* ALIAS
\* \* DebugAlias
\* \* DebugActingServerAlias
Expand Down
2 changes: 1 addition & 1 deletion tla/consensus/SIMccfraft.tla
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------- MODULE SIMccfraft ----------
EXTENDS ccfraft, TLC, Integers, StatsFile, IOUtils, MCAliases
EXTENDS ccfraft, TLC, Integers, IOUtils, MCAliases

CONSTANTS
NodeOne, NodeTwo, NodeThree, NodeFour, NodeFive
Expand Down

0 comments on commit 6cde298

Please sign in to comment.