1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

8175 Commits

Author SHA1 Message Date
Rob Rix
b43494afda 📝 compareCategoryEq. 2016-08-10 09:47:11 -04:00
Rob Rix
3f919eec26 Move compareCategoryEq down. 2016-08-10 09:47:03 -04:00
Rob Rix
b97b422cfb Revert "Enable FlexibleContexts for the tests."
This reverts commit 1c0007137862d4c263d75225c7ff579c574c48b1.
2016-08-10 09:44:55 -04:00
Rob Rix
959f15198c 🔥 Data.Vector.Arbitrary. 2016-08-10 09:44:02 -04:00
Rob Rix
f05570dd3e The RWS specs don’t need to generate arbitrary vectors. 2016-08-10 09:38:41 -04:00
Rob Rix
b6637828fa The diff summary specs don’t need to generate arbitrary vectors. 2016-08-10 09:30:03 -04:00
Rob Rix
45ce4bbf03 The interpreter specs don’t need to generate arbitrary vectors. 2016-08-10 09:26:58 -04:00
Rob Rix
04a4614dfc The diff specs don’t need to generate arbitrary vectors. 2016-08-10 09:21:58 -04:00
Rob Rix
f0466c0c43 Enable FlexibleContexts for the tests. 2016-08-10 09:15:42 -04:00
Rob Rix
1ce869b8d0 Avoid forAll/suchThat in the p/q tests.
This enables us to shrink properly.
2016-08-10 09:05:12 -04:00
joshvera
2933a24d45 Return Output from json, split, summary, and patch 2016-08-09 18:51:44 -04:00
joshvera
11863b8748 Add Output and return Output from Renderer in Renderer.hs 2016-08-09 18:51:21 -04:00
joshvera
8f721b8213 Rener Output in printDiff 2016-08-09 18:50:57 -04:00
joshvera
69e67c9a2f Return Output from diffFiles 2016-08-09 18:50:42 -04:00
joshvera
1857709c77 import encode, pairs, and encodingToLazyByteString 2016-08-09 18:50:16 -04:00
Rob Rix
9261f19074 🔥 featureVector. 2016-08-09 16:34:37 -04:00
Rob Rix
4b2a7eaea4 Test featureVectorDecorator directly. 2016-08-09 16:34:10 -04:00
Rob Rix
1b59d2782f Add a function to compute positive integers. 2016-08-09 16:33:54 -04:00
Rob Rix
67034c067d 🔥 pqGrams. 2016-08-09 16:24:05 -04:00
Rob Rix
46c2e4d8e0 Test pqGramDecorator directly. 2016-08-09 16:23:38 -04:00
Rob Rix
e0ec5ad7d0 Export pqGramDecorator. 2016-08-09 16:18:53 -04:00
Rob Rix
15f0f9c47a Label arbitrary p,q-grams with the text, not the record. 2016-08-09 16:18:45 -04:00
joshvera
9df1399168 output the inserted/deleted path in the patch header 2016-08-09 16:14:46 -04:00
joshvera
25a53ac718 add file addition and deletion tests 2016-08-09 16:14:46 -04:00
joshvera
c286b39146 Fix oids 2016-08-09 16:14:46 -04:00
joshvera
07dfb0f5d8 handle missing files in CorpusSpec 2016-08-09 16:14:46 -04:00
joshvera
5aac311a88 Add emptySourceBlob and sourceBlob functions to Source 2016-08-09 16:14:46 -04:00
joshvera
46b1a7385e Include protolude for Unsafe in tests 2016-08-09 16:14:46 -04:00
joshvera
55afdaba17 Add new file patch test 2016-08-09 16:14:46 -04:00
Rob Rix
0facfdbb7f Reformat the algebra. 2016-08-09 16:10:56 -04:00
Rob Rix
50c52af354 Define padToSize in pqGramDecorator. 2016-08-09 16:09:23 -04:00
Rob Rix
89aa3dc96e Roll decorateTermWithFeatureVector into featureVectorDecorator. 2016-08-09 16:08:03 -04:00
Rob Rix
e0087f535a Correct the 📝 for pqGramDecorator. 2016-08-09 16:07:23 -04:00
Rob Rix
8e84a9026f 🔥 labelDecorator. 2016-08-09 16:06:24 -04:00
Rob Rix
b89892d0e1 Rename decorateTermWithPQGram to pqGramDecorator. 2016-08-09 16:06:12 -04:00
Rob Rix
6012dfd354 Compute the label in the p,q-gram decorator. 2016-08-09 16:05:42 -04:00
Rob Rix
404c0b7fd5 Rename decorateTermWithLabel to labelDecorator. 2016-08-09 16:02:54 -04:00
Rob Rix
bf3b8fdc3f 🔥 decorateTermWithPGram. 2016-08-09 16:00:19 -04:00
Rob Rix
3cbba53c18 Assign the stem in decorateTermWithPQGram. 2016-08-09 16:00:04 -04:00
Rob Rix
b966b56494 Move vmagnitude into unitVector. 2016-08-09 14:39:00 -04:00
Rob Rix
0cfa23fcc2 Extract the assignment of siblings. 2016-08-09 14:21:54 -04:00
Rob Rix
45fce4dffd Extract a function setting gram bases. 2016-08-09 13:11:10 -04:00
Rob Rix
4ad79e70d8 Extract the computation of the set of sibling labels. 2016-08-09 13:07:49 -04:00
Josh Vera
5b8de2e9dd Merge branch 'master' into fix-new-empty-file-patches 2016-08-09 11:54:04 -04:00
Rob Rix
0cd9fa9e34 Correct the 📝 for decorateTermWithPQGram. 2016-08-09 11:10:04 -04:00
Rob Rix
6ab3e09c25 Implement featureVector in terms of the top-level unitVector binding. 2016-08-09 11:09:34 -04:00
Rob Rix
d255e16808 Correct the 📝 for decorateTermWithFeatureVector. 2016-08-09 11:08:44 -04:00
Rob Rix
c484a2c8fc Correct the 📝 for decorateTermWithPQGram. 2016-08-09 11:08:15 -04:00
Rob Rix
c63721cfd4 decorateTermWithPQGram calls out to decorateTermWithPGram. 2016-08-09 11:07:58 -04:00
Rob Rix
8d1fb84ed3 Idiomatic record construction. 2016-08-09 11:06:27 -04:00