Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 6, 2016 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/5924403201d282e26505251e3850e69a to your computer and use it in GitHub Desktop.
Save Whateverable/5924403201d282e26505251e3850e69a to your computer and use it in GitHub Desktop.
bisectable
say ∞.Rat.nude
Bisecting: 820 revisions left to test after this (roughly 10 steps)
[552bf57220c9ea73cdc23db7c03d5839394563e7] Add version stress tests, BooK++
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 552bf57220c9ea73cdc23db7c03d5839394563e7
»»»»» Script output:
Method 'nude' not found for invocant of class 'Num'
in block <unit> at /tmp/1G1qruNPJr line 1
»»»»» Script exit code: 1
»»»»» Inverted logic, comparing 1 to 1
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 410 revisions left to test after this (roughly 9 steps)
[da5278ab04ae1674bb9600ea2e3506bfeae1447b] Implement Array.cow (for copy-on-write)
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing da5278ab04ae1674bb9600ea2e3506bfeae1447b
»»»»» Script output:
(Inf 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 204 revisions left to test after this (roughly 8 steps)
[c5dfd77a5838f6438545a77c689cb01518923c65] Bring Hash.keyof up to date, dogbert17++
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing c5dfd77a5838f6438545a77c689cb01518923c65
»»»»» Script output:
(Inf 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 102 revisions left to test after this (roughly 7 steps)
[f03564e2013124d5799e1de163425e85d49b1514] Fix thinko
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing f03564e2013124d5799e1de163425e85d49b1514
»»»»» Script output:
Cannot coerce Inf to a Rat
in block <unit> at /tmp/1G1qruNPJr line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in block <unit> at /tmp/1G1qruNPJr line 1
»»»»» Script exit code: 1
»»»»» Inverted logic, comparing 1 to 1
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 51 revisions left to test after this (roughly 6 steps)
[92068485c8c3b9651cdfdc421c12f32a6e7c560e] Fix infix:<cmp> for allomorphs
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 92068485c8c3b9651cdfdc421c12f32a6e7c560e
»»»»» Script output:
Cannot coerce Inf to a Rat
in block <unit> at /tmp/1G1qruNPJr line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in block <unit> at /tmp/1G1qruNPJr line 1
»»»»» Script exit code: 1
»»»»» Inverted logic, comparing 1 to 1
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 25 revisions left to test after this (roughly 5 steps)
[9de889612e71744cd182cff69b73e98d13091dd3] Mention my release announcement helper script
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 9de889612e71744cd182cff69b73e98d13091dd3
»»»»» Script output:
Cannot coerce Inf to a Rat
in block <unit> at /tmp/1G1qruNPJr line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in block <unit> at /tmp/1G1qruNPJr line 1
»»»»» Script exit code: 1
»»»»» Inverted logic, comparing 1 to 1
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[7afeb68bee12d593df2c6ad6bb2599a80136fc13] Simplify Rational.new
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 7afeb68bee12d593df2c6ad6bb2599a80136fc13
»»»»» Script output:
(1 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 5 revisions left to test after this (roughly 3 steps)
[2c4506843a3854d34efe6ebe728ec7dbbe0868a4] Merge pull request #774 from MasterDuke17/RT128097
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 2c4506843a3854d34efe6ebe728ec7dbbe0868a4
»»»»» Script output:
(1 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[947ed63bf0a8a408e845d8f49a9aa5be37eebc0b] Remove dead code
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 947ed63bf0a8a408e845d8f49a9aa5be37eebc0b
»»»»» Script output:
Method 'nude' not found for invocant of class 'Num'
in block <unit> at /tmp/1G1qruNPJr line 1
»»»»» Script exit code: 1
»»»»» Inverted logic, comparing 1 to 1
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 1 revision left to test after this (roughly 1 step)
[7a4ca4d90769ea03913f6a5eb827bd0accd2b3d9] Make sure Ratified Inf|-Inf|NaN stringify ok
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 7a4ca4d90769ea03913f6a5eb827bd0accd2b3d9
»»»»» Script output:
(1 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[1f3ca6469759c79aa809d60a7741b3a92fb9330f] Make Inf|-Inf|NaN.Rat.Num round-trippable
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/1G1qruNPJr 1
»»»»» Testing 1f3ca6469759c79aa809d60a7741b3a92fb9330f
»»»»» Script output:
(1 0)
»»»»» Script exit code: 0
»»»»» Inverted logic, comparing 0 to 1
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
1f3ca6469759c79aa809d60a7741b3a92fb9330f is the first bad commit
commit 1f3ca6469759c79aa809d60a7741b3a92fb9330f
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Sat May 21 21:43:15 2016 -0500
Make Inf|-Inf|NaN.Rat.Num round-trippable
- Inf.Rat gives 1/0
- -Inf.Rat gives -1/0
- NaN.Rat gives 0/0
- (1/0).Num gives Inf
- (-1/0).Num gives -Inf
- (0/0).Num gives NaN
As proposed at http://irclog.perlgeek.de/perl6-dev/2016-05-21#i_12521558
:040000 040000 46efcbd63a3f6e1f7429e9ee0b1caac6a6a30e0c bdbe68ea6394c45d1d59c1086bd96f02e7e1e4db M src
bisect run success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment