Rob Rix
|
1e0c908423
|
Merge branch 'master' into unbiased-branch-diffs
|
2016-08-15 09:38:47 -04:00 |
|
Josh Vera
|
4f91f878dd
|
Merge pull request #692 from github/unbiased-branch-diff-tests-that-actually-test-branch-diff-bias
Unbiased branch diff tests that actually test branch diff bias
|
2016-08-12 16:36:29 -04:00 |
|
Rob Rix
|
08835f5a36
|
Merge branch 'master' into unbiased-branch-diff-tests-that-actually-test-branch-diff-bias
|
2016-08-12 13:52:03 -04:00 |
|
Rob Rix
|
9dcbe04297
|
Move the multiple hunks fixture to the todo list.
See also #682.
|
2016-08-12 13:43:00 -04:00 |
|
Rick Winfrey
|
d226eacdfc
|
Add missing arbitrary instances for Category constructors
|
2016-08-12 12:42:22 -05:00 |
|
Rob Rix
|
6542c7182e
|
Revert "Revert "Diff branches by similarity.""
This reverts commit 32439e62459ac2736944462fb81afbb9635c9246.
|
2016-08-12 13:41:43 -04:00 |
|
Rob Rix
|
e820b43469
|
🔥 a redundant import.
|
2016-08-12 13:40:41 -04:00 |
|
Rob Rix
|
e3b98b3da1
|
Merge branch 'master' into unbiased-branch-diffs
|
2016-08-12 13:31:26 -04:00 |
|
Rob Rix
|
2ac77b0afa
|
Merge pull request #688 from github/if-syntax
Add If constructor to Syntax
|
2016-08-12 13:25:29 -04:00 |
|
Rob Rix
|
b91b305f32
|
Re-enable the RWS insertion bias tests.
|
2016-08-12 13:22:55 -04:00 |
|
Rob Rix
|
443df7da7c
|
Merge branch 'unbiased-branch-diff-tests-that-actually-test-branch-diff-bias' into unbiased-branch-diffs
# Conflicts:
# src/Diffing.hs
# test/CorpusSpec.hs
# tools/semantic-git-diff/test/corpus/diff-summaries.json
|
2016-08-12 13:04:33 -04:00 |
|
Rob Rix
|
d9be26396c
|
Make the RWS test pending on #683.
|
2016-08-12 12:58:37 -04:00 |
|
Rob Rix
|
17f3c74c20
|
Revert "Enable RWS for lists."
This reverts commit 0b6810484dca24ac0a659ab097aeaab52ba5f5ab.
|
2016-08-12 12:49:02 -04:00 |
|
Rob Rix
|
7997cdb55b
|
Enable RWS for lists.
|
2016-08-12 12:44:15 -04:00 |
|
Rob Rix
|
2b35110d0a
|
🔥 the faulty tests of unbiased branch diffs.
|
2016-08-12 12:24:38 -04:00 |
|
Rob Rix
|
ff4861e2fb
|
Add the unbiased insertion test to the Interpreter spec.
|
2016-08-12 12:16:48 -04:00 |
|
Rob Rix
|
d3c333ae64
|
🔥 the faulty tests of unbiased insertions.
|
2016-08-12 11:59:44 -04:00 |
|
Rob Rix
|
b1e893b3f8
|
Add a concrete test of unbiased insertions.
|
2016-08-12 11:59:09 -04:00 |
|
Rob Rix
|
ada00d0485
|
The RWS unbiased tests require disjoint syntax constructors.
|
2016-08-12 11:44:29 -04:00 |
|
Rob Rix
|
5462278d0f
|
Use the replacing combinator in the tests.
|
2016-08-12 11:44:23 -04:00 |
|
Rob Rix
|
bcaf909957
|
Revert "Mark the (failing) rws tests as pending for the time being."
This reverts commit a9025cacda01db216590e99dd36e867611e0f953.
|
2016-08-12 11:44:18 -04:00 |
|
Rob Rix
|
fa983e5561
|
Add a concrete test of unbiased deletions.
|
2016-08-12 11:40:30 -04:00 |
|
Rob Rix
|
842ff553c1
|
Revert "Diff branches by similarity."
This reverts commit 50c94ed7b601871c56e0de1706f531dfef97d859.
|
2016-08-12 11:33:38 -04:00 |
|
Rob Rix
|
33b5987a34
|
Diff branches by similarity.
|
2016-08-12 10:47:26 -04:00 |
|
Rob Rix
|
0ca6daca62
|
Rename the local byIndex binding to branch .
|
2016-08-12 09:59:56 -04:00 |
|
Rob Rix
|
2eead056e1
|
The RWS unbiased tests require disjoint syntax constructors.
|
2016-08-12 09:56:24 -04:00 |
|
Rob Rix
|
7bbbc4cbea
|
Use the replacing combinator in the tests.
|
2016-08-12 09:53:16 -04:00 |
|
Rob Rix
|
0c47648c5b
|
🔥 a let binding.
|
2016-08-12 09:52:22 -04:00 |
|
Rob Rix
|
0eb43f47a3
|
Use wrap in the RWS correctness test.
|
2016-08-12 09:46:45 -04:00 |
|
Rob Rix
|
4100ac4173
|
Do the lookup symmetrically.
|
2016-08-12 09:45:42 -04:00 |
|
Rob Rix
|
1a342edb37
|
Rename found to foundA.
|
2016-08-12 09:44:55 -04:00 |
|
Rob Rix
|
4e6fa4ded7
|
Find unmapped elements in A with a helper function.
|
2016-08-12 09:44:17 -04:00 |
|
Rob Rix
|
7f6901966c
|
Insertion unmaps the element in the B list.
|
2016-08-12 09:38:20 -04:00 |
|
Rob Rix
|
11950fed8a
|
Insert if the nearest elements aren’t mutual.
|
2016-08-12 09:38:01 -04:00 |
|
Rob Rix
|
d4d291a219
|
Lookup the nearest element in b.
|
2016-08-12 09:37:38 -04:00 |
|
Rob Rix
|
443fe118d7
|
We don’t need to bind the unmapped elements in B.
|
2016-08-12 09:32:58 -04:00 |
|
Rob Rix
|
ae443aa660
|
Move the guard up.
|
2016-08-12 09:26:19 -04:00 |
|
Rob Rix
|
96333fd54f
|
Mark the current element in B as mapped.
|
2016-08-12 09:25:55 -04:00 |
|
Rob Rix
|
0cf6a40e08
|
Carry the lists of unmapped elements in B around too.
|
2016-08-12 09:23:56 -04:00 |
|
Rob Rix
|
f2be7c27a9
|
Rename unmapped to unmappedA.
|
2016-08-12 09:22:54 -04:00 |
|
Rob Rix
|
d4b2ffc616
|
Bind a variable for a.
|
2016-08-12 09:19:56 -04:00 |
|
Rob Rix
|
b7d63bd589
|
Rename v to b.
|
2016-08-12 09:19:35 -04:00 |
|
Rob Rix
|
df25851902
|
Revert "Mark the (failing) rws tests as pending for the time being."
This reverts commit a9025cacda01db216590e99dd36e867611e0f953.
|
2016-08-12 09:13:52 -04:00 |
|
Josh Vera
|
d95470c566
|
Merge branch 'master' into if-syntax
|
2016-08-11 17:52:03 -04:00 |
|
joshvera
|
e209199016
|
Add If constructor to Syntax
|
2016-08-11 17:39:44 -04:00 |
|
Rob Rix
|
73f73fdb40
|
Mark the (failing) rws tests as pending for the time being.
|
2016-08-11 15:24:02 -04:00 |
|
Rob Rix
|
3647248666
|
Merge branch 'master' into unbiased-branch-diff-tests
|
2016-08-11 15:20:51 -04:00 |
|
Rob Rix
|
2d63f3f1f1
|
Merge pull request #671 from github/auto-generate-test-cases
Auto generate test cases
|
2016-08-11 15:07:49 -04:00 |
|
Rob Rix
|
86fd5b21fd
|
Use the replacing smart constructor.
|
2016-08-11 14:42:17 -04:00 |
|
Rob Rix
|
0346b5d8f1
|
Use galign to ensure that the constructors are disjoint.
|
2016-08-11 14:32:10 -04:00 |
|