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

8203 Commits

Author SHA1 Message Date
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
Rick Winfrey
408f03916f Add corpus/javascript git submodule to the project 2016-08-09 14:34:10 -05: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
Rob Rix
638d8eda23 📝 unitVector. 2016-08-09 11:05:35 -04:00
Rob Rix
71a42c2d98 Extract unitVector to the top level. 2016-08-09 11:05:32 -04:00
Rob Rix
5798a3b03d 🔥 decorateTermWithUnitVector. 2016-08-09 11:03:14 -04:00
Rob Rix
dc4b0be491 Extract the computation of the unit vector to the where clause. 2016-08-09 11:03:02 -04:00
Rob Rix
ccd734c117 Roll decorateTermWithUnitVector back into decorateTermWithFeatureVector. 2016-08-09 11:01:46 -04:00
Rob Rix
e369b445c2 Simplify the unit vector summation. 2016-08-09 10:57:25 -04:00
Rob Rix
4009d547a1 Revert "Add a unit vector decorator."
This reverts commit 94cdb43e577b4bf9381a34b1225c30163d3cac3f.
2016-08-09 10:51:17 -04:00
Rob Rix
dfffc15760 Add a unit vector decorator. 2016-08-08 16:56:15 -04:00
Rob Rix
076ad36229 🔥 some redundant parens. 2016-08-08 16:56:06 -04:00
Rob Rix
2d6857a51e Merge branch 'master' into precompute-p,q-grams 2016-08-08 16:48:47 -04:00
Rob Rix
0cfb700c23 Pad root labels out. 2016-08-08 16:47:33 -04:00
Rob Rix
3d4ea56ff3 Assign sibling labels to gram bases. 2016-08-08 16:47:03 -04:00
Rob Rix
23d4a0bd56 🔥 windowed. 2016-08-08 16:47:00 -04:00
Rob Rix
62e16b51cd 🔥 getGrams. 2016-08-08 16:46:56 -04:00
Rob Rix
832d8606a6 🔥 setBases. 2016-08-08 16:46:51 -04:00
Rob Rix
17bba1b762 Add a function to retrieve the head of a non-empty record. 2016-08-08 16:46:34 -04:00
Rob Rix
7603390361 Constrain the term functor to be Traversable. 2016-08-08 16:24:09 -04:00
Rob Rix
0c8b880aa6 Merge pull request #681 from github/improve-error-diff-summaries
Improve error diff summaries
2016-08-08 16:03:53 -04:00
joshvera
15b9726bc4 Merge remote-tracking branch 'origin/master' into fix-new-empty-file-patches 2016-08-08 15:42:34 -04:00
joshvera
3a72b396ee Merge remote-tracking branch 'origin/master' into improve-error-diff-summaries 2016-08-08 15:41:27 -04:00
Rob Rix
adf8c902a8 Merge pull request #679 from github/summary-contexts
Output nearest identifiable parent in a patch's diff summary
2016-08-08 15:31:45 -04:00
joshvera
12f2300fa9 Print the error term when printing ErrorInfos 2016-08-08 15:28:09 -04:00
joshvera
7d4e6affc2 Output error text from source 2016-08-08 15:23:08 -04:00