1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00
Commit Graph

6624 Commits

Author SHA1 Message Date
Rob Rix
f8443c855c Add an Arbitrary instance over Patch. 2016-05-31 20:39:39 -04:00
Rob Rix
ea16b4616c Add ArbitraryTerm to the benchmarks. 2016-05-31 20:39:24 -04:00
Rob Rix
ad8a6fd241 Simplify the definition of arbitrary over ArbitraryTerm. 2016-05-31 20:33:13 -04:00
Rob Rix
f0f11a9f0a Simplify the definition of arbitrary over ArbitraryDiff. 2016-05-31 20:32:55 -04:00
Rob Rix
514c513f13 Simplify the definition of shrink over ArbitraryTerm. 2016-05-31 20:31:32 -04:00
Rob Rix
36168c1698 Rename unTerm to toTerm. 2016-05-31 20:29:12 -04:00
Rob Rix
dadaa6b420 Add an Arbitrary instance for ArbitraryDiff. 2016-05-31 20:24:49 -04:00
Rob Rix
fd4ad219ae Construct Diffs from ArbitraryDiffs. 2016-05-31 20:19:51 -04:00
Rob Rix
206c3cddc3 Add an ArbitraryDiff newtype wrapper. 2016-05-31 20:19:39 -04:00
Rob Rix
484ed765f0 Use the field accessor to define unTerm. 2016-05-31 20:17:49 -04:00
Rob Rix
50c6c6c4fa Define a field accessor for ArbitraryTerm. 2016-05-31 20:17:42 -04:00
Rob Rix
39ddbfc60f Add the DiffF type synonym back in. 2016-05-31 20:16:19 -04:00
Rob Rix
2696635aa4 ArbitraryTerm uses the TermF type synonym. 2016-05-31 20:15:24 -04:00
Rob Rix
37f960b6d1 ArbitraryTerm wraps CofreeF. 2016-05-31 20:14:38 -04:00
Rob Rix
64ac3703c0 Sort the benchmarks by the measured size. 2016-05-31 16:01:36 -04:00
Rob Rix
97b6e452b2 Merge branch 'master' into benchmark-alignment 2016-05-31 13:41:46 -04:00
Josh Vera
f1b4529ad1 Merge pull request #574 from github/fix-invalid-slice
Fix invalid slices in split diffs of certain reformatted nodes
2016-05-31 13:32:37 -04:00
Rob Rix
2887d0c2a1 Merge branch 'master' into fix-invalid-slice 2016-05-31 13:28:50 -04:00
Josh Vera
c1be9053a4 Merge pull request #571 from github/proportionate-cost-metric
Proportionate cost metric
2016-05-31 13:00:22 -04:00
Josh Vera
db864ee292 Merge branch 'master' into proportionate-cost-metric 2016-05-31 12:58:56 -04:00
Rob Rix
fe3bc8b83b Merge pull request #576 from github/add-notes-for-05-31-2016
Add weekly summary for 05-31-2016
2016-05-31 11:54:20 -04:00
Rick Winfrey
acf2fc85a6 Add weekly summary for 05-31-2016 2016-05-31 10:50:06 -05:00
Rob Rix
c7f51beb12 📝 generativeBenchmark. 2016-05-31 11:47:56 -04:00
Rob Rix
207c0ac24c Take the count as a parameter. 2016-05-31 11:45:17 -04:00
Rob Rix
b20dd87a48 Perform ten benchmarks within a default size. 2016-05-31 11:42:51 -04:00
Rob Rix
80cfd5d4f1 Maybe don’t do a hundred benchmarks just now. 2016-05-31 10:58:50 -04:00
Rob Rix
444bdb8c50 Depend on bifunctors & these. 2016-05-31 10:58:39 -04:00
Rob Rix
7cb5890831 Generate benchmarks for numberedRows. 2016-05-31 10:53:23 -04:00
Rob Rix
75b7b2c426 Implement Arbitrary instances for These & Join These.
These were lifted verbatim from ArbitraryTerm.hs.
2016-05-31 10:53:00 -04:00
Rob Rix
f58052cca1 Derive NFData instances for These & Join These. 2016-05-31 10:52:49 -04:00
Rob Rix
c93e0c65c0 Apply the benchmark to its input. 2016-05-31 10:40:25 -04:00
Rob Rix
ae6e59826d Rename arbitraryBenchmark to generativeBenchmark. 2016-05-31 10:38:19 -04:00
Rob Rix
7a3cfd3425 Add a function to produce generative benchmarks. 2016-05-31 10:37:34 -04:00
Rob Rix
275751b0c5 Specify the default language. 2016-05-31 10:37:14 -04:00
Rob Rix
b4becad5a3 Add the entry point. 2016-05-31 09:27:00 -04:00
Rob Rix
a7bdcaa7c2 Stub in a benchmark component. 2016-05-31 09:25:00 -04:00
Rob Rix
907e7fc40f Stub in a benchmark module. 2016-05-31 09:23:43 -04:00
Rob Rix
b7e724effd Sort the produced children by range. 2016-05-30 19:21:06 -04:00
Rob Rix
e44d629380 Revert "Sort children before rendering in split diffs."
This reverts commit d989a76742d1e725935a1dea1a349778a67c5c32.
2016-05-30 19:20:50 -04:00
Rob Rix
70bb48b933 Sort children before rendering in split diffs. 2016-05-30 19:15:46 -04:00
Rob Rix
07190fb6d1 Add a regression test for #573. 2016-05-30 19:04:16 -04:00
Rob Rix
7f3f408fb1 🔥 the absolute difference cost function. 2016-05-30 14:06:24 -04:00
Rob Rix
338ed4a5ce Revert "Represent term/diff costs as Rationals."
This reverts commit aea4e7ec784422696631156415855eab920af38a.
2016-05-30 14:05:23 -04:00
Rob Rix
9049478594 Revert "Generalize diff/patch/term sizes to a Num instance."
This reverts commit ebb98b0e97b3c184998fb1a17570af3f8262c2a6.
2016-05-30 14:04:48 -04:00
Rob Rix
f61fd62a04 Revert "Add a simple function to produce minimal strings from rationals."
This reverts commit 9f787b8ae46f329b4e8a50b112c13844c4ce3b87.
2016-05-30 14:04:43 -04:00
Rob Rix
6c435a39b4 Revert "Render sizes minimally in split diffs."
This reverts commit af17b7c6b85462a902ab296c0c0334aa26b4e0b9.
2016-05-30 14:04:40 -04:00
Rob Rix
a3ba420fb4 Revert "📝 showRational."
This reverts commit eff9eb21f0b91f4abc58624268cfd51233424511.
2016-05-30 14:04:36 -04:00
Rob Rix
8e45e5973d Correct the nested-insert fixture. 2016-05-30 13:54:33 -04:00
Rob Rix
f4ff8d0b89 Correct the insert fixture. 2016-05-30 13:54:28 -04:00
Rob Rix
e8f82b0845 Go back to using the cached term sizes. 2016-05-30 13:52:23 -04:00