Giter VIP home page Giter VIP logo

bamboo.js's Introduction

bamboo.js's People

Contributors

larryweya avatar myf avatar dorey avatar mejymejy avatar prabhasp avatar

Stargazers

 avatar  avatar  avatar  avatar Megatron avatar Peter Lubell-Doughtie avatar Nandini Bhardwaj avatar

Watchers

Peter Lubell-Doughtie avatar Matt Berg avatar Ukang'a Dickson avatar  avatar  avatar  avatar Moses Katembu avatar  avatar Aarabi  avatar James Cloos avatar  avatar  avatar  avatar Megatron avatar  avatar  avatar

Forkers

pld

bamboo.js's Issues

Self-hosting test datasets

in lieu of the hard-coded dropbox csv files, I'm thinking about hosting them on github itself instead so that we can reference to themselves on github for the testing.

Path to jasmine submodule incorrect

The path within .gitmodules points to public/jasmine, which doesn't exist, this prevents fresh clones from initialising the submodule. The correct path is lib/jasmine

Update webpage with a new data source url

The link in the web page no longer exists. The example also leaves something to be desired since there's very little output. I used a cached good_eats CSV and this flow worked for me,

var dataset = new bamboo.Dataset({url: 'http://formhub.org/mberg/exports/good_eats/csv/good_eats_2013_03_23_13_25_14.csv'});

var dataset = new bamboo.Dataset({id: dataset.load_from_url()['id']});
dataset.query_info();
dataset.info;

but I'm sure it could be more literate.

Write a better test for "can access dataset info by existing id"

Right now, the test works by querying a hard-coded bamboo dataset id, and checking that it exists. It has been fixed in the past by simply updating the hardcoded dataset id.

I think this is a bad test; it depends on an external environment.

Proposal to fix it:

  • first test that dataset creation using csv works
  • test that getting an id of a dataset created using csv works
  • then, for a dataset created using a csv, get the id, and create a new dataset object using that id. test that this second object is defined, its info is queryable, etc.

ref: https://github.com/modilabs/bamboo_js/blob/f928292749f6bdeef00fe51503e409bbb2841a6a/src/spec.coffee#L20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.