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
7d8eb02ec8 Strip the diff and terms in the rws correctness test. 2016-08-11 12:50:56 -04:00
Rob Rix
23ba6bf12a Export stripTerm. 2016-08-11 12:49:23 -04:00
Rob Rix
3bb86389ed Strip the diff in the replacement of unicode equivalent terms test. 2016-08-11 12:48:41 -04:00
Rob Rix
15b515e7a1 Strip the diff in the correctness test. 2016-08-11 12:48:27 -04:00
Rob Rix
336f37d0c8 Strip diffs in the unbiased test. 2016-08-11 12:45:40 -04:00
Rob Rix
0aef8a8467 Use stripDiff in the RWS spec. 2016-08-11 12:44:49 -04:00
Rob Rix
cbe397ed1d stripDiff expects diff annotations to be in a functor. 2016-08-11 12:44:43 -04:00
Rob Rix
66e1ff3c50 Add functions to strip terms and diffs to RWS. 2016-08-11 12:42:53 -04:00
Rob Rix
8d22e7bd85 Pointfree definition of root. 2016-08-11 12:37:19 -04:00
Rob Rix
7bb5d7cd36 Use a single function to compute both roots. 2016-08-11 12:36:41 -04:00
Rob Rix
b551f9c3d9 Test that the bias of interpreter by reversing the inputs & output. 2016-08-11 12:34:32 -04:00
Rob Rix
af831671bc Interpreter uses category equality. 2016-08-11 12:32:44 -04:00
Rob Rix
544a6d3daf RWS uses category equality for its comparisons. 2016-08-11 12:31:44 -04:00
Rob Rix
2477a40b6c Enable FlexibleContexts for the tests. 2016-08-11 12:29:17 -04:00
Rob Rix
fd6701973f Replace termA/termB with functions. 2016-08-11 12:25:30 -04:00
Rob Rix
fb847d9d3f Add a test that interpreter is unbiased for deletions. 2016-08-11 12:23:34 -04:00
Rob Rix
e4c55a8dbd Add (failing) tests of rws’ bias. 2016-08-11 11:53:51 -04:00
Rob Rix
6debe0a076 Add a function to get the tail of non-empty records. 2016-08-11 11:53:21 -04:00
Rob Rix
f7055f16e8 Extract the decorating of arbitrary terms. 2016-08-11 10:27:11 -04:00
Rob Rix
7dcaf788f6 Merge pull request #685 from github/one-json-to-rule-them-all
Output one JSON object for the JSON and summary renderers
2016-08-11 09:24:45 -04:00
Rob Rix
8caa0b5c67 Merge branch 'master' into one-json-to-rule-them-all 2016-08-11 09:22:37 -04:00
joshvera
21cb7f71d7 Merge 'origin/master' into one-json-to-rule-them-all 2016-08-10 17:33:11 -04:00
Josh Vera
9a6399c362 Merge pull request #640 from github/precompute-p,q-grams
Precompute p,q-grams
2016-08-10 16:03:06 -04:00
Rob Rix
704ff4db08 Factor the base & stem assignment into the where clause. 2016-08-10 15:57:55 -04:00
Rob Rix
e162987c26 Factor the calculation of the gram into the where clause. 2016-08-10 15:54:37 -04:00
Rob Rix
d03ab55c23 📝 pqGramDecorator. 2016-08-10 15:53:37 -04:00
Rob Rix
98f54cabd2 Reformat pqGramDecorator’s type signature for 📝s. 2016-08-10 15:51:24 -04:00
Rob Rix
db75159a63 📝 the return value of rws. 2016-08-10 15:50:39 -04:00
Rob Rix
38c7e5f3b9 Fix a typo in the docs for rws. 2016-08-10 15:50:13 -04:00
joshvera
59932277f9 Merge remote-tracking branch 'origin/master' into one-json-to-rule-them-all 2016-08-10 13:49:26 -04:00
joshvera
7a9f0b7786 Output file path as summary key 2016-08-10 13:38:18 -04:00
joshvera
ae0f18593b Remove redundant imports 2016-08-10 12:18:53 -04:00
joshvera
347f4fbb4b Concat outputs in CorpusSpec 2016-08-10 12:17:33 -04:00
joshvera
220ade0473 Move concatOutputs to Renderer 2016-08-10 12:17:23 -04:00
Rob Rix
1d9315c545 Merge branch 'master' into precompute-p,q-grams 2016-08-10 11:36:15 -04:00
Rob Rix
78fe3550b0 Merge pull request #684 from github/run-less-tests
Run less tests
2016-08-10 11:36:02 -04:00
Rob Rix
cd04fe5dd3 Move positively into a let binding. 2016-08-10 11:32:42 -04:00
joshvera
1c1938080c Use either path in output 2016-08-10 11:00:40 -04:00
joshvera
dfbc5e1867 infix 2016-08-10 10:58:41 -04:00
joshvera
d09c1314a4 infix 2016-08-10 10:56:28 -04:00
joshvera
1574e74bcb Normalize names before unioning 2016-08-10 10:55:48 -04:00
Rob Rix
c384909668 Revert "Diff these branches by similarity."
This reverts commit 4be9f2f0eee59d7b4163ae9cb074bb85b50f9c76.
2016-08-10 10:42:31 -04:00
Rob Rix
9e7f45216a Revert "Move the multiple hunks & jquery fixtures to diffs-todo."
This reverts commit d2e7047c03212f567a5c705c8fc409a9a4d8e2c4.
2016-08-10 10:37:28 -04:00
Rob Rix
47ea24e90a Merge branch 'master' into precompute-p,q-grams
# Conflicts:
#	test/CorpusSpec.hs
2016-08-10 10:24:07 -04:00
Rob Rix
f9bbe63a4f Merge pull request #680 from github/fix-new-empty-file-patches
Don't output filepaths when adding or deleting an empty file
2016-08-10 10:15:00 -04:00
Rob Rix
22fd3a7a6c Move the multiple hunks & jquery fixtures to diffs-todo. 2016-08-10 10:02:37 -04:00
Rob Rix
cea38b06f3 🔥 decorateParser. 2016-08-10 09:55:38 -04:00
Rob Rix
cc0850ae43 Use Program in the line by line parser. 2016-08-10 09:55:14 -04:00
Rob Rix
f6cd8fd8f6 Annotate terms with costs in Diffing. 2016-08-10 09:53:39 -04:00
Rob Rix
48213c4134 🔥 some stray blank lines. 2016-08-10 09:48:16 -04:00