Brandon Keepers
|
cd743332f4
|
Use yajl since it is already a dependency
Both JSON and Yajl were listed as dependencies. Pygments.rb already requires yajl, so let's just use that instead of using both.
|
2014-10-17 14:45:28 -04:00 |
|
Arfon Smith
|
e71eefe8fc
|
Merge branch 'master' into 1515-local
|
2014-09-30 08:38:26 -05:00 |
|
Arfon Smith
|
2e4e602787
|
Housekeeping
|
2014-09-29 15:20:11 -05:00 |
|
Arfon Smith
|
ca59303dba
|
Preferred syntax
|
2014-09-18 14:25:36 -05:00 |
|
Arfon Smith
|
3284450dc4
|
Make sure samples.json is present before running tests
|
2014-09-18 13:56:41 -05:00 |
|
Brandon Keepers
|
e67c1789b8
|
Generate samples.json before building gem
|
2014-09-16 10:26:35 -04:00 |
|
Brandon Keepers
|
015af19eaf
|
Move Samples::DATA constant to Samples.cache method
|
2014-09-16 10:25:30 -04:00 |
|
Arfon Smith
|
5932f5f273
|
Allow for result to be generated when there are un-committed changes.
|
2014-09-13 11:06:15 -05:00 |
|
Brandon Keepers
|
dab75f6f97
|
Rework benchmarking script to avoid git operations
$ git checkout master
$ bundle exec rake benchmark:generate CORPUS=~/Downloads/samples-9
wrote benchmark/results/samples-9-8cdb8ed4.json
$ git checkout branch-name
$ bx rake benchmark:generate CORPUS=~/Downloads/samples-9
wrote benchmark/results/samples-9-8d8020dd.json
$ bx rake benchmark:compare
REFERENCE=benchmark/results/samples-9-8cdb8ed4.json
CANDIDATE=benchmark/results/samples-9-8d8020dd.json
LanguageA changed from 95.9% to 0.0%
LanguageB changed from 4.0% to 99.9%
|
2014-09-10 15:47:44 -05:00 |
|
Arfon Smith
|
417bf7e1c9
|
Reworking Rake tasks
|
2014-08-06 19:21:20 +01:00 |
|
Arfon Smith
|
e376fe921b
|
Skipping Text and Binary dirs
|
2014-07-23 11:30:25 -05:00 |
|
Arfon Smith
|
7d13b9eb99
|
Formatting
|
2014-07-23 10:59:10 -05:00 |
|
Arfon Smith
|
6ed0a05b44
|
Reporting errors in classifications
|
2014-07-23 10:49:29 -05:00 |
|
Arfon Smith
|
20154eb049
|
Rework diff slightly
|
2014-07-23 10:30:54 -05:00 |
|
Arfon Smith
|
84ea710d42
|
Moving linguist detection into rake task and ignoring diff for now.
|
2014-07-23 10:30:53 -05:00 |
|
Arfon Smith
|
4d83bf34f3
|
Ditching IO
|
2014-07-23 10:26:23 -05:00 |
|
Arfon Smith
|
3a797e2583
|
Formatting
|
2014-07-23 10:26:23 -05:00 |
|
Arfon Smith
|
7802030a53
|
Counting changes
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
e8e1e0ca23
|
Abort unless files exist
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
973431be40
|
Breaking comparsion step out into separate task
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
7fa1b52497
|
Benchmark dir
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
a90d21899a
|
Shellwords
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
569058f481
|
test on all
|
2014-07-23 10:26:22 -05:00 |
|
Arfon Smith
|
4ecda08f1f
|
Prettier print
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
3b23059c09
|
Prettier print
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
a474ffc101
|
Deep diffing
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
f7672b837a
|
Building language indexes
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
9094923de9
|
Debug statements
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
6454c96e6a
|
Abort
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
0a717f5c81
|
Gem
|
2014-07-23 10:26:21 -05:00 |
|
Arfon Smith
|
dab9777621
|
Branches
|
2014-07-23 10:26:20 -05:00 |
|
Ted Nyman
|
b5df71950d
|
Minor formatting
|
2013-12-20 14:55:47 -08:00 |
|
Charlie Somerville
|
bf11900bc9
|
prefer to load from languages.json if it exists
|
2013-12-04 15:58:34 +11:00 |
|
Joshua Peek
|
b798e28bfb
|
No warnings
|
2012-10-07 15:37:09 -05:00 |
|
Joshua Peek
|
bacfd4e832
|
Fix test task
|
2012-07-23 16:40:16 -05:00 |
|
Joshua Peek
|
a81105d987
|
Always rebuild samples
|
2012-07-23 16:05:20 -05:00 |
|
Joshua Peek
|
12d2e2ec74
|
Switch to json for samples db
|
2012-07-23 16:02:14 -05:00 |
|
Joshua Peek
|
314f0e4852
|
Use simple yaml dump for now
|
2012-07-23 15:05:08 -05:00 |
|
Joshua Peek
|
5cda67530d
|
Seperate test file for samples
|
2012-07-23 13:55:30 -05:00 |
|
Joshua Peek
|
bf944f6d1a
|
Make classify a function on the Classifier
|
2012-07-23 13:47:15 -05:00 |
|
Joshua Peek
|
80e8ee7ce6
|
Rename Sample -> Samples
|
2012-07-23 13:15:27 -05:00 |
|
Joshua Peek
|
0c9a947f39
|
Load classifer db into sample data hash
|
2012-07-23 13:13:52 -05:00 |
|
Joshua Peek
|
97ae7c1a11
|
Move classifer db to samples.yml
|
2012-07-23 13:05:08 -05:00 |
|
Joshua Peek
|
817e3cb946
|
Clobber before generating classifier
|
2012-07-23 11:19:33 -05:00 |
|
Joshua Peek
|
f461150eea
|
Fix classifier test task
|
2012-07-20 15:54:41 -05:00 |
|
Joshua Peek
|
a7108e4086
|
Fix calling to_yaml on 1.9
|
2012-06-22 10:15:14 -05:00 |
|
Joshua Peek
|
5521dd08a0
|
Move test fixtures to samples/
|
2012-06-22 10:09:24 -05:00 |
|
Joshua Peek
|
26f95507ef
|
Test against real gist data
|
2012-06-20 14:55:13 -05:00 |
|
Joshua Peek
|
e2b0f6bb50
|
Depend classifier db on fixtures
|
2012-06-19 14:23:12 -05:00 |
|
Joshua Peek
|
9ecab364d1
|
Dump classifier results
|
2012-06-08 14:13:26 -05:00 |
|