Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringSeqPatternSetLaws.relate consistency flake #1157

Closed
johnynek opened this issue Feb 25, 2024 · 3 comments · Fixed by #1184
Closed

StringSeqPatternSetLaws.relate consistency flake #1157

johnynek opened this issue Feb 25, 2024 · 3 comments · Fixed by #1184

Comments

@johnynek
Copy link
Owner

==> X org.bykn.bosatsu.pattern.StringSeqPatternSetLaws.relate consistency  1.823s munit.FailException: /Users/oscar/code/oss/bosatsu/core/src/test/scala/org/bykn/bosatsu/set/SetOpsLaws.scala:337 assertion failed
336:
337:          assert(!eqv.eqv(intr, a :: Nil))
338:          assert(!eqv.eqv(intr, b :: Nil), s"intr = $intr")

Failing seed: lAso2CKIQtrnFJfJEqMpmwpceMK9gudtUPWcX0tKY5L=
You can reproduce this failure by adding the following override to your suite:

  override def scalaCheckInitialSeed = "lAso2CKIQtrnFJfJEqMpmwpceMK9gudtUPWcX0tKY5L="

Falsified after 416 passed tests.
> ARG_0: Cat(Lit(0),Cat(AnyElem,Cat(Lit(1),Empty)))
> ARG_1: Cat(Wildcard,Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Empty))))
> ARG_2: org.bykn.bosatsu.pattern.StringSeqPatternSetLaws$$anon$1@38c64b2e
@johnynek
Copy link
Owner Author

==> X org.bykn.bosatsu.pattern.StringSeqPatternSetLaws.relate consistency  1.059s munit.FailException: /Users/oscar/code/oss/bosatsu/core/src/test/scala/org/bykn/bosatsu/set/SetOpsLaws.scala:337 assertion failed
336:
337:          assert(!eqv.eqv(intr, a :: Nil))
338:          assert(!eqv.eqv(intr, b :: Nil), s"intr = $intr")

Failing seed: kSPZ3smv7HRvYt2xbXS36YDIFag6OiY3CmnOzbawzNH=
You can reproduce this failure by adding the following override to your suite:

  override def scalaCheckInitialSeed = "kSPZ3smv7HRvYt2xbXS36YDIFag6OiY3CmnOzbawzNH="

Falsified after 343 passed tests.
> ARG_0: Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(0),Empty))))
> ARG_1: Cat(Wildcard,Cat(Lit(1),Cat(Lit(0),Cat(Wildcard,Empty))))
> ARG_2: org.bykn.bosatsu.pattern.StringSeqPatternSetLaws$$anon$1@450eac7

@johnynek
Copy link
Owner Author

 ==> X org.bykn.bosatsu.pattern.StringSeqPatternSetLaws.relate consistency  1.93s munit.FailException: /home/runner/work/bosatsu/bosatsu/core/src/test/scala/org/bykn/bosatsu/set/SetOpsLaws.scala:338 intr = List(Cat(Lit(0),Cat(Lit(1),Cat(Lit(0),Empty))), Cat(Lit(0),Cat(Lit(1),Cat(Lit(0),Cat(Wildcard,Cat(Lit(0),Empty))))), Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(1),Cat(Lit(0),Empty))))), Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(1),Cat(Lit(0),Cat(Wildcard,Cat(Lit(0),Empty))))))))
337:          assert(!eqv.eqv(intr, a :: Nil))
338:          assert(!eqv.eqv(intr, b :: Nil), s"intr = $intr")
339:          assert(!eqv.eqv(a :: Nil, b :: Nil))

Failing seed: QOQcqLGtAByvbhi_foAYeMIYTs8NcdIb6MzxQ7nYxPP=
You can reproduce this failure by adding the following override to your suite:

  override def scalaCheckInitialSeed = "QOQcqLGtAByvbhi_foAYeMIYTs8NcdIb6MzxQ7nYxPP="

Falsified after 288 passed tests.
> ARG_0: Cat(Wildcard,Cat(Lit(1),Cat(Lit(0),Cat(Wildcard,Empty))))
> ARG_1: Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(0),Empty))))
> ARG_2: org.bykn.bosatsu.pattern.StringSeqPatternSetLaws$$anon$1@42daea75

@johnynek
Copy link
Owner Author

==> X org.bykn.bosatsu.pattern.StringSeqPatternSetLaws.relate consistency 0.26s munit.FailException: /home/runner/work/bosatsu/bosatsu/core/src/test/scala/org/bykn/bosatsu/set/SetOpsLaws.scala:338 intr = List(Cat(Lit(0),Cat(Lit(1),Cat(Lit(1),Empty))), Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(1),Cat(Lit(1),Empty))))), Cat(Lit(0),Cat(Wildcard,Cat(Lit(0),Cat(Lit(1),Cat(Lit(1),Empty))))), Cat(Lit(0),Cat(Wildcard,Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Cat(Lit(1),Cat(Lit(1),Empty))))))))
337:          assert(!eqv.eqv(intr, a :: Nil))
338:          assert(!eqv.eqv(intr, b :: Nil), s"intr = $intr")
339:          assert(!eqv.eqv(a :: Nil, b :: Nil))

Failing seed: ycidpYYPdzu2oxTSVgn_MoRxEWpA24YpdrsFHzC8kLL=
You can reproduce this failure by adding the following override to your suite:

  override def scalaCheckInitialSeed = "ycidpYYPdzu2oxTSVgn_MoRxEWpA24YpdrsFHzC8kLL="

Falsified after 5 passed tests.
> ARG_0: Cat(Wildcard,Cat(Lit(0),Cat(Lit(1),Cat(Wildcard,Empty))))
> ARG_1: Cat(Lit(0),Cat(Wildcard,Cat(Lit(1),Cat(Lit(1),Empty))))
> ARG_2: org.bykn.bosatsu.pattern.StringSeqPatternSetLaws$$anon$1@a0

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 a pull request may close this issue.

1 participant