1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
Commit Graph

6957 Commits

Author SHA1 Message Date
Rob Rix
314bd97742 Correct the metric on diffs to sum the patches. 2016-06-06 12:30:49 -04:00
Rob Rix
441d617ae3 Move the Base and Unfoldable instances for ArbitraryTerm into Term.Arbitrary. 2016-06-06 12:30:16 -04:00
Rob Rix
29758790c7 I’m really not clear on how this even got committed. 2016-06-06 12:27:27 -04:00
Rob Rix
c9763c43ba Use the sizing functions in TermSpec. 2016-06-06 12:26:06 -04:00
Rob Rix
c173c38a6c Generate and shrink patches. 2016-06-06 12:25:47 -04:00
Rob Rix
6450f42e6a Add a function to compute the size of ArbitraryDiffs. 2016-06-06 12:25:37 -04:00
Rob Rix
632b222f48 Add a function to compute the size of an ArbitraryTerm. 2016-06-06 12:15:16 -04:00
joshvera
f92614fb7e Add weekly notes for 06/06/2016 2016-06-06 12:15:08 -04:00
joshvera
9df5b439a4 s/2015/2016 2016-06-06 12:14:58 -04:00
Rob Rix
74092797bc Use patchOf in the Arbitrary instance. 2016-06-06 12:09:30 -04:00
Rob Rix
825f6ceeb3 Add a generator of patches parameterized by another generator. 2016-06-06 12:09:00 -04:00
Rob Rix
29a725b125 Move ArbitraryDiff into semantic-diff proper. 2016-06-06 12:07:07 -04:00
Rob Rix
1109fdf32c 🔥 redundant imports. 2016-06-06 11:51:30 -04:00
Rob Rix
0321a97285 🔥 arbitraryLeaf. 2016-06-06 11:51:25 -04:00
Rob Rix
8780ea3f26 Move the Arbitrary instances for Join (,) and Join These into semantic-diff proper. 2016-06-06 11:50:45 -04:00
Rob Rix
4eb76ff3a3 Move the Arbitrary instance for Data.These into semantic-diff proper. 2016-06-06 11:46:30 -04:00
Rob Rix
378b577175 Move the Arbitrary instance for Patch into semantic-diff proper. 2016-06-06 11:43:38 -04:00
Rick Winfrey
be6f33c72f Merge pull request #572 from github/push-benchmarks-to-graphite
Push stats to graphite
2016-06-06 10:42:25 -05:00
Rob Rix
31ea0fcee1 Merge branch 'master' into push-benchmarks-to-graphite 2016-06-06 11:39:14 -04:00
Rob Rix
a613fa0369 Merge branch 'push-benchmarks-to-graphite' into benchmark-alignment 2016-06-06 11:36:48 -04:00
Josh Vera
e2d6480c4a Merge pull request #602 from github/program-and-error-categories
Program and error categories
2016-06-06 11:33:49 -04:00
Rob Rix
b1b9103a69 Whoops. 2016-06-06 11:29:40 -04:00
Josh Vera
8f51047c54 Merge branch 'master' into program-and-error-categories 2016-06-06 11:28:22 -04:00
Rob Rix
c51909aca6 Merge branch 'master' into push-benchmarks-to-graphite 2016-06-06 11:00:44 -04:00
Josh Vera
1152e5ad5f Merge pull request #603 from github/fix-the-benchmarks
Fix the benchmarks
2016-06-06 10:54:27 -04:00
Rob Rix
ce3b25d82d Merge branch 'fix-the-benchmarks' into push-benchmarks-to-graphite 2016-06-06 09:42:26 -04:00
Rob Rix
6f0bebe2fb Merge branch 'master' into fix-the-benchmarks 2016-06-06 09:28:53 -04:00
Rob Rix
955cd9c045 Merge remote-tracking branch 'origin/push-benchmarks-to-graphite' into push-benchmarks-to-graphite 2016-06-06 09:23:19 -04:00
Rob Rix
bfc28ec4a6 Merge branch 'master' into push-benchmarks-to-graphite 2016-06-06 09:22:36 -04:00
Rob Rix
6e66837cc0 Capitalize the Program category in the JSON fixtures. 2016-06-06 08:19:38 -04:00
Rob Rix
16207b03d1 Extract the term comparison relation. 2016-06-03 18:43:43 -04:00
Rob Rix
d3c23769e7 🔥 redundant parens. 2016-06-03 18:40:43 -04:00
Rob Rix
0f924f786c Assign the Error category. 2016-06-03 18:38:04 -04:00
Rob Rix
10b424cd47 Add an Error category. 2016-06-03 18:37:40 -04:00
Rob Rix
adca4a56a3 Assign the Program category. 2016-06-03 18:35:27 -04:00
Rob Rix
83b57fc643 Add a Category for the top-level scope. 2016-06-03 18:34:42 -04:00
Rob Rix
038bde4aaa Reformat to line Category constructors up.
This reverts commit 5ce35d2a39ff6b83abd19d0d9476cc75922a36fe.
2016-06-03 18:32:21 -04:00
Josh Vera
9b698b023b Merge pull request #593 from github/cache-cost-on-info
Cache cost on Info
2016-06-03 16:44:38 -04:00
Rob Rix
4d75f69e73 Reorder the comparable test before the equal terms test. 2016-06-03 16:37:09 -04:00
Rob Rix
a43be167f6 Merge branch 'master' into cache-cost-on-info 2016-06-03 16:24:02 -04:00
Josh Vera
6f91b5b86a Merge pull request #592 from github/construct-info-with-record-syntax
Construct Info with record syntax
2016-06-03 16:22:05 -04:00
Rob Rix
7802d4916c 🔥 FlexibleInstances & RecordWildCards pragmas. 2016-06-03 16:02:06 -04:00
Rob Rix
a571d9746d Add RecordWildCards and FlexibleInstances to our default extensions. 2016-06-03 15:59:58 -04:00
Rob Rix
9247980114 Revert "Don’t change diff sizes; don’t traverse subtrees to compute cost in SES."
This reverts commit 8735e65ea2de458116db0a58621083003a9129c0.
2016-06-03 15:31:07 -04:00
Rob Rix
8b98d25642 Revert "Go back to taking the absolute value, even tho it’s wrong."
This reverts commit 5278cd5e686406e3d08bbdafd980d813f1f33d1f.
2016-06-03 15:31:02 -04:00
Rob Rix
410629b165 Go back to taking the absolute value, even tho it’s wrong.
This is still a poor approximation to the edit distance, but it’s a
better one than `sum`, and it’s still very cheap.
2016-06-03 15:29:28 -04:00
Rob Rix
ec84afcadb Compare terms sans annotations.
🎩 @rewinfrey.
2016-06-03 15:28:15 -04:00
Rob Rix
0976c1e452 Don’t change diff sizes; don’t traverse subtrees to compute cost in SES. 2016-06-03 15:09:10 -04:00
Rob Rix
58363fc4de Assign costs in lineByLineParser. 2016-06-03 12:49:08 -04:00
Rob Rix
8dd124876d Assign leaf costs in breakDownLeavesByWord. 2016-06-03 12:48:54 -04:00