Skip to content

Commit

Permalink
[Test] Disable 'prop_shrinkTermSound' and 'prop_noTermShrinkLoops' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully authored Nov 20, 2024
1 parent 11383d4 commit e42a2e7
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ prop_genWellTypedFullyApplied = withMaxSuccess 50 $

-- | Test that shrinking a well-typed term results in a well-typed term
prop_shrinkTermSound :: Property
prop_shrinkTermSound = withMaxSuccess 10 $
-- The test is disabled, because it's exponential and was hanging CI.
prop_shrinkTermSound = withMaxSuccess 0 $
forAllDoc "ty,tm" genTypeAndTerm_ shrinkClosedTypedTerm $ \ (ty, tm) ->
let shrinks = shrinkClosedTypedTerm (ty, tm) in
-- While we generate well-typed terms we still need this check here for
Expand Down Expand Up @@ -157,7 +158,8 @@ prop_stats_leaves = withMaxSuccess 10 $

-- | Check the ratio of duplicate shrinks
prop_stats_numShrink :: Property
prop_stats_numShrink = withMaxSuccess 10 $
-- The test is disabled, because it's exponential and was hanging CI.
prop_stats_numShrink = withMaxSuccess 0 $
-- No shrinking here because we are only collecting stats
forAllDoc "ty,tm" genTypeAndTerm_ (const []) $ \ (ty, tm) ->
let shrinks = map snd $ shrinkClosedTypedTerm (ty, tm)
Expand Down Expand Up @@ -186,7 +188,8 @@ prop_inhabited = withMaxSuccess 50 $

-- | Check that there are no one-step shrink loops
prop_noTermShrinkLoops :: Property
prop_noTermShrinkLoops = withMaxSuccess 10 $
-- The test is disabled, because it's exponential and was hanging CI.
prop_noTermShrinkLoops = withMaxSuccess 0 $
-- Note that we need to remove x from the shrinks of x here because
-- a counterexample to this property is otherwise guaranteed to
-- go into a shrink loop.
Expand Down

1 comment on commit e42a2e7

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: e42a2e7 Previous: 11383d4 Ratio
validation-auction_1-1 185.8 μs 175.4 μs 1.06
validation-auction_1-4 328.1 μs 239.9 μs 1.37
validation-auction_2-1 254.6 μs 186.3 μs 1.37
validation-auction_2-2 913 μs 670.7 μs 1.36
validation-auction_2-3 1189 μs 875.4 μs 1.36
validation-auction_2-4 905.8 μs 665.8 μs 1.36
validation-auction_2-5 329 μs 241.9 μs 1.36
validation-crowdfunding-success-1 297.7 μs 218.7 μs 1.36
validation-crowdfunding-success-2 298 μs 218.8 μs 1.36
validation-crowdfunding-success-3 300.4 μs 249.8 μs 1.20
validation-escrow-redeem_1-1 496.2 μs 387.1 μs 1.28
validation-escrow-redeem_1-2 496.2 μs 363 μs 1.37
validation-escrow-redeem_2-1 581.6 μs 426.4 μs 1.36
validation-escrow-redeem_2-2 578.6 μs 426.8 μs 1.36
validation-escrow-redeem_2-3 578.3 μs 426.3 μs 1.36
validation-future-increase-margin-4 681.3 μs 506.3 μs 1.35
validation-future-pay-out-3 764.7 μs 559.9 μs 1.37
validation-future-pay-out-4 1078 μs 842.8 μs 1.28
validation-game-sm-success_1-1 465.7 μs 402.3 μs 1.16
validation-stablecoin_1-6 324.7 μs 268.5 μs 1.21
validation-stablecoin_2-1 984.1 μs 935.4 μs 1.05
validation-stablecoin_2-2 278.3 μs 204.2 μs 1.36
validation-stablecoin_2-3 1248 μs 1080 μs 1.16
validation-decode-auction_1-1 238.6 μs 213.5 μs 1.12
validation-decode-auction_2-5 246.5 μs 201 μs 1.23
validation-decode-currency-1 304.1 μs 241.7 μs 1.26
validation-decode-escrow-redeem_1-1 446.2 μs 325.4 μs 1.37
validation-decode-escrow-redeem_1-2 445.7 μs 325.9 μs 1.37
validation-decode-escrow-redeem_2-1 445.8 μs 323.4 μs 1.38
validation-decode-escrow-redeem_2-2 446.5 μs 325.3 μs 1.37
validation-decode-escrow-redeem_2-3 447.7 μs 326 μs 1.37
validation-decode-escrow-refund-1 447.9 μs 326.9 μs 1.37
validation-decode-future-increase-margin-1 331.7 μs 239.1 μs 1.39
validation-decode-future-increase-margin-2 449 μs 328.8 μs 1.37
validation-decode-stablecoin_1-4 232.2 μs 169.9 μs 1.37
validation-decode-stablecoin_1-5 958.7 μs 879.9 μs 1.09
nofib-queens5x5/bjbt1 115600 μs 88940 μs 1.30
marlowe-semantics/0000020002010200020101020201000100010001020101020201010000020102 410.7 μs 339 μs 1.21
marlowe-semantics/18cefc240debc0fcab14efdd451adfd02793093efe7bc76d6322aed6ddb582ad 825.7 μs 786.3 μs 1.05
marlowe-semantics/1f0f02191604101e1f201016171604060d010d1d1c150e110a110e1006160a0d 1072 μs 1006.9999999999999 μs 1.06
marlowe-role-payout/36866914aa07cf62ef36cf2cd64c7f240e3371e27bb9fff5464301678e809c40 260.3 μs 189.1 μs 1.38
marlowe-role-payout/371c10d2526fc0f09dbe9ed59e44dcd949270b27dc42035addd7ff9f7e0d05e7 310.4 μs 226.3 μs 1.37
marlowe-role-payout/3897ef714bba3e6821495b706c75f8d64264c3fdaa58a3826c808b5a768c303d 262.9 μs 194.9 μs 1.35
marlowe-role-payout/5efe992e306e31cc857c64a62436ad2f9325acc5b4a74a8cebccdfd853ce63d2 224.5 μs 199.4 μs 1.13
marlowe-role-payout/622a7f3bc611b5149253c9189da022a9ff296f60a5b7c172a6dc286faa7284fa 316 μs 230.3 μs 1.37
marlowe-role-payout/6621a69217f09d91f42876a9c0cecf79de0e29bdd5b16c82c6c52cf959092ec4 292 μs 213.1 μs 1.37
marlowe-role-payout/674b0577409957172ad85223c765d17e94c27714276c49c38dfae0a47a561a1e 255.8 μs 185.8 μs 1.38
marlowe-role-payout/6b7bc2b9002a71b33cfd535d43f26334a283d0b9ad189b7cd74baac232c3b9fc 253.3 μs 184 μs 1.38
marlowe-role-payout/6c364699767a84059ffd99cf718562a8c09d96e343f23dc481e8ffda13af424f 261.1 μs 190.3 μs 1.37
marlowe-role-payout/6d66bddb4269bdf77392d3894da5341cf019d39787522af4f83f01285991e93c 264.8 μs 193 μs 1.37
marlowe-role-payout/73f044f34a30f26639c58bafe952047f74c7bf1eafebab5aadf5b73cfb9024ed 261.3 μs 189.8 μs 1.38
marlowe-role-payout/7b1dd76edc27f00eb382bf996378155baf74d6a7c6f3d5ec837c39d29784aade 265 μs 237.4 μs 1.12
marlowe-role-payout/803eae94d62e2afc0e835c204af8362170301bc329e2d849d5f5a47dddf479ec 294.2 μs 206 μs 1.43
marlowe-role-payout/87167fc5469adac97c1be749326fa79a6b7862ce68aa4abcb438e3c034bd0899 309.9 μs 217.2 μs 1.43
marlowe-role-payout/8c0fa5d9d6724c5c72c67e055d4bfc36a385ded7c3c81c08cdbd8705829af6e6 310.8 μs 219.1 μs 1.42
marlowe-role-payout/962c2c658b19904372984a56409707401e64e9b03c1986647134cfd329ec5139 283.7 μs 200 μs 1.42
marlowe-role-payout/996804e90f2c75fe68886fc8511304b8ab9b36785f8858f5cb098e91c159dde9 268.8 μs 188.6 μs 1.43
marlowe-role-payout/a004a989c005d59043f996500e110fa756ad1b85800b889d5815a0106388e1d7 278.6 μs 195.5 μs 1.43
marlowe-role-payout/a0fba5740174b5cd24036c8b008cb1efde73f1edae097b9325c6117a0ff40d3b 292.9 μs 210.1 μs 1.39
marlowe-role-payout/a1b25347409c3993feca1a60b6fcaf93d1d4bbaae19ab06fdf50cedc26cee68d 252.3 μs 183.7 μs 1.37
marlowe-role-payout/a27524cfad019df45e4e8316f927346d4cc39da6bdd294fb2c33c3f58e6a8994 261.3 μs 190.6 μs 1.37
marlowe-role-payout/a92b4072cb8601fa697e1150c08463b14ffced54eb963df08d322216e27373cb 265.3 μs 192.4 μs 1.38
marlowe-role-payout/af2e072b5adfaa7211e0b341e1f7319c4f4e7364a4247c9247132a927e914753 257.7 μs 223.4 μs 1.15

This comment was automatically generated by workflow using github-action-benchmark.

CC: @IntersectMBO/plutus-core

Please sign in to comment.