GithubHelp home page GithubHelp logo

ruql's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruql's Issues

Ability to use images in questions (or answers)

How likely is it that support for raw HTML will be disappearing? (I guess I can always use a fork..)
I'm looking to use ruql to build a bunch of courses, but we need to be able to have images in our question bodies.

Images as answers would also be useful, and I don't think there is currently a way to do that natively?

example.rb is not a valid quiz

It looks like maybe lib/fill_in.rb is missing? When attempting to generate a quiz from the supplied example.rb file, I receive the following error.

Artemis% ./quiz example.rb html5 --template=./html_template/template.html.erb > questionfile.html
./quiz:42:in `instance_eval': undefined method `fill_in' for #<Quiz:0x007fc46b1b8578> (NoMethodError)
    from /Users/jmeady/Code/saas-class/quiz/lib/quiz.rb:101:in `instance_eval'
    from /Users/jmeady/Code/saas-class/quiz/lib/quiz.rb:101:in `quiz'
    from (eval):4:in `main'
    from ./quiz:42:in `instance_eval'
    from ./quiz:42:in `main'
    from ./quiz:47:in `<main>'
Artemis% grep -r -n fill_in .
./example.rb:19:  fill_in :points => 2 do
./example.rb:25:  fill_in do
./example.rb:31:  fill_in :order => false do

Ability to specify max choices supported by scantron or whatever

Our scantrons only allow choices A-E per answer, but you can specify additional choices by combining multiple letters, eg AB, AC, etc. HTML and other output modes of Ruql should support a 'max_choices' option so that, eg, if it is set to 3, then a 5-choice question would print the choices as A, B, C, AB,AC (or similar), and an error would be raised if any questions are "select all that apply". Of course, given the finding that 3 choices are optimal for most MCQs, this is low priority :-)

When --solutions is used, <li> elements for answers incorrectly have nested <p>

When questions are generated without solutions, the answer choices look like this (correct):

<ol class="answers">
  <li>choice 1</li>
  <li>choice 2</li>
</ol>

But when --solutions is used, they incorrectly look like this (note the embedded <p>...</p>), resulting in extra vertical whitespace:

<ol class="answers">
  <li class="incorrect"><p>choice 1</p></li>
  <li class="correct"><p>choice 2</p></li>
</ol>

can not set 0.5 points

I was trying to run the following code. The system can not assign 0.5 pt to a question. Any floating point number less than 1 will lead to 1pt on a question.

choice_answer :points => 0.5, :randomize => true do
end

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.