From f8e5b87140d845ea38c7792be39276047d0183aa Mon Sep 17 00:00:00 2001 From: Remy Willems Date: Fri, 24 Jan 2025 14:14:56 +0100 Subject: [PATCH 1/4] Tweak the --progress option and rename the --iterations option --- Source/DafnyCore/Options/CommonOptionBag.cs | 6 +++--- .../Commands/MeasureComplexityCommand.cs | 14 +++++++------- .../LitTests/LitTest/logger/VerificationLogger.dfy | 2 +- .../outOfResourceAndIsolateAssertions.dfy | 2 +- .../proofDivision/isolateAllAssertions.dfy | 2 +- .../proofDivision/isolateAssertionOrJump.dfy | 2 +- .../verification/proofDivision/isolatePaths.dfy | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Source/DafnyCore/Options/CommonOptionBag.cs b/Source/DafnyCore/Options/CommonOptionBag.cs index 8ade67e6e07..979f0f9f4ee 100644 --- a/Source/DafnyCore/Options/CommonOptionBag.cs +++ b/Source/DafnyCore/Options/CommonOptionBag.cs @@ -14,12 +14,12 @@ public class CommonOptionBag { public static void EnsureStaticConstructorHasRun() { } - public enum ProgressLevel { None, Symbol, VerificationJobs } + public enum ProgressLevel { None, Symbol, Batch } public static readonly Option ProgressOption = new("--progress", $"While verifying, output information that helps track progress. " + $"Use '{ProgressLevel.Symbol}' to show progress across symbols such as methods and functions. " + - $"Verification of a symbol is usually split across several jobs. " + - $"Use {ProgressLevel.VerificationJobs} to additionally show progress across jobs."); + $"Verification of a symbol may be split across several assertion batches. " + + $"Use {ProgressLevel.Batch} to additionally show progress across batches."); public static readonly Option LogLocation = new("--log-location", "Sets the directory where to store log files") { diff --git a/Source/DafnyDriver/Commands/MeasureComplexityCommand.cs b/Source/DafnyDriver/Commands/MeasureComplexityCommand.cs index f02d8c7ded0..875476bf682 100644 --- a/Source/DafnyDriver/Commands/MeasureComplexityCommand.cs +++ b/Source/DafnyDriver/Commands/MeasureComplexityCommand.cs @@ -14,7 +14,7 @@ namespace Microsoft.Dafny; static class MeasureComplexityCommand { public static IEnumerable