Skip to content

ruby auto-complete function using trie data structures

Notifications You must be signed in to change notification settings

lao9/complete_me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CompleteMe Spec Harness

This is the evaluation test harness for Turing's CompleteMe. project.

Project Structure

For this harness to work, all the require statements in your CompleteMe project must be require_relative.

For example a file at my_project/lib/complete_me.rb that is using another file also in the lib directory would require it like:

require_relative "other_file"

Additionally, the harness does expect your main project file to be located in lib/complete_me.rb. You can organize the rest of your files however you like, but make sure you start with this structure.

Installing Locally

Git clone this project into a directory that lives at the same level as your complete_me project directory. It should be arranged like:

<my_code_directory>
|
|\
| \complete_me/
|
|\
| \complete_me_spec_harness/
|

Usage

Change directories into the complete_me_spec_harness/ directory and then execute:

$ bundle

To load in dependencies for the spec harness.

To test your implementation against the evaluation specs, run:

$ rake test

About

ruby auto-complete function using trie data structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published