Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Builder - Review for release on edx.org #119

Merged
merged 429 commits into from
Nov 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
94a88c5
Fix: Unhelpful tooltips shown in sequential accordion in the LMS
bradenmacdonald Jul 27, 2015
0bf1ae6
Fix: answers in the same LMS sequential should auto-refresh
bradenmacdonald Jul 28, 2015
e87453b
Merge pull request #52 from open-craft/hgse-fixes-iii
bradenmacdonald Jul 28, 2015
6ffbf05
Add an extra selector to fix CSS rule ambiguity
bradenmacdonald Jul 28, 2015
fa85907
Merge pull request #53 from open-craft/hgse-lms-theme-fix
mtyaka Jul 28, 2015
36cd10b
Update master with fixes from release
bradenmacdonald Jul 30, 2015
741de06
Add unit tests that detect issues discovered during internal review of a
itsjeyd Jul 22, 2015
66e6762
Add integration tests that check size of root block dropdown and input
itsjeyd Aug 6, 2015
a9f7743
Merge pull request #50 from open-craft/instructor-tool-unit-tests
itsjeyd Aug 10, 2015
7460c77
Allow instructors to search for answers from multiple users simultane…
itsjeyd Aug 19, 2015
cd2304e
Merge pull request #57 from open-craft/instructor-tool-multiple-usern…
itsjeyd Aug 24, 2015
db9bed5
Return message instead of template from get_message.
itsjeyd Aug 31, 2015
d500a62
Merge pull request #58 from open-craft/assessment-cleanup
itsjeyd Sep 1, 2015
b232a70
Make sure jump_to_id links in table column headers are translated
itsjeyd Sep 2, 2015
07586e6
Extend integration test to make sure table block tries to translate URLs
itsjeyd Sep 3, 2015
9af13c3
Merge pull request #59 from open-craft/fix-invalid-links-in-tables
itsjeyd Sep 3, 2015
e8f9afa
Making question checkmark display question-level feedback + tests
e-kolpakov Sep 4, 2015
7d33b80
Implemented targeted feedback during assessment review
bradenmacdonald Sep 4, 2015
74fc6b0
Minor optimization/cleanup
bradenmacdonald Sep 4, 2015
77ca788
Test for new review tips feature
bradenmacdonald Sep 5, 2015
947c75f
Merge pull request #60 from open-craft/extended-feedback-question-mes…
e-kolpakov Sep 7, 2015
d5a7579
Fix position and appearance of review tips
bradenmacdonald Sep 8, 2015
e8e2b48
Combine hard-coded assessment review message with the customizable one.
bradenmacdonald Sep 8, 2015
8ee006b
Allow defining only one on-assessment-review-question message at a time
bradenmacdonald Sep 8, 2015
e1128b1
Fix: assessment review message persisted when trying again
bradenmacdonald Sep 8, 2015
c1bf919
Fix flakiness of the test changed in the previous commit.
bradenmacdonald Sep 8, 2015
6af171b
Merge pull request #61 from open-craft/assessment-targeted-review
bradenmacdonald Sep 10, 2015
e8be9bf
New version of mentoring block that supports explicit steps.
itsjeyd Sep 9, 2015
f839d58
Merge pull request #62 from open-craft/mentoring-step-xblock
itsjeyd Sep 14, 2015
ce8ae16
Display one step block at a time and add basic functionality for
itsjeyd Sep 16, 2015
af8f576
Add submit button and logic for enabling/disabling it based on validity
itsjeyd Sep 17, 2015
9cf2ee4
Implement submission logic.
itsjeyd Sep 17, 2015
d02539c
Persist step info.
itsjeyd Sep 17, 2015
17201a0
Add functionality for resetting new mentoring block.
itsjeyd Sep 17, 2015
b285ea7
Fix PEP8 violations.
itsjeyd Sep 18, 2015
6a45664
Address review comments.
itsjeyd Sep 18, 2015
6c0390d
Add Tim Krones to AUTHORS.
itsjeyd Sep 18, 2015
eb1f83d
Make sure messages get jump_to_id URLs rewritten.
Kelketek Sep 18, 2015
e195051
Merge pull request #63 from open-craft/step-navigation
itsjeyd Sep 21, 2015
be0c46a
Merge pull request #64 from open-craft/feedback-jump-to-id
Kelketek Sep 21, 2015
2d9110d
Rename: pb-mentoring -> step-builder; pb-mentoring-step -> sb-step.
itsjeyd Sep 22, 2015
7a5e230
Introduce ReviewStep block and allow adding it to new mentoring
itsjeyd Sep 22, 2015
8b4df83
Hide review step by default.
itsjeyd Sep 22, 2015
987e583
Add "Review grade" button and hide/show/enable/disable it when approp…
itsjeyd Sep 22, 2015
defaff3
Show review step when clicking on "Review grade" button.
itsjeyd Sep 22, 2015
433ce15
Allow only one review step per mentoring block.
itsjeyd Sep 22, 2015
f07502f
Redirect to review step when reloading page after submitting last step.
itsjeyd Sep 22, 2015
1806c75
Hide "Submit", "Next Step", "Review grade" buttons when displaying
itsjeyd Sep 22, 2015
d91007a
Don't show "Try again" button at last step.
itsjeyd Sep 22, 2015
431bc48
Handle cases where review step is not present (because it has not been
itsjeyd Sep 22, 2015
a06370c
Show appropriate assessment message when reaching review step.
itsjeyd Sep 23, 2015
839840a
Add max_attempts and num_attempts fields to new mentoring block and make
itsjeyd Sep 23, 2015
677ffef
Update num_attempts field of new mentoring block after submitting las…
itsjeyd Sep 23, 2015
177e01e
Add implementation for max_attempts_reached property (was just returning
itsjeyd Sep 23, 2015
c251a61
Show info about number of attempts used if limited number of attempts…
itsjeyd Sep 23, 2015
6a86b67
Disable "Try again" button if no attempts left.
itsjeyd Sep 23, 2015
8f86a2e
Make sure "Review grade" button is disabled at last step.
itsjeyd Sep 23, 2015
95c9486
Don't show "Try again" button if no review step present; show message
itsjeyd Sep 23, 2015
ca1e9f9
Don't allow num_attempts to be larger than max_attempts.
itsjeyd Sep 23, 2015
bc87907
Display score (percentage) and count of correct/partial/incorrect ans…
itsjeyd Sep 23, 2015
fce6efc
Introduce extended_feedback field and make it editable in Studio.
itsjeyd Sep 23, 2015
a69d486
Change default display names of existing mentoring block ("Problem
itsjeyd Sep 23, 2015
ef0812a
Show review tips if there are some attempts left.
itsjeyd Sep 24, 2015
9e86458
Get rid of "runDetails not defined error".
itsjeyd Sep 24, 2015
67a9c25
Add functionality for reviewing steps.
itsjeyd Sep 24, 2015
0d62734
Display step- and answer-level feedback when reviewing step.
itsjeyd Sep 25, 2015
a0dfa54
Conditionally enable "Try again" button when showing review step.
itsjeyd Sep 25, 2015
c3a7d6d
Make sure relevant info is updated and retrieved sequentially after
itsjeyd Sep 25, 2015
9c847f2
Fix: Make sure links for reviewing questions are not displayed multiple
itsjeyd Sep 25, 2015
026446e
Clean up.
itsjeyd Sep 25, 2015
8133e63
Move logic for displaying grade and review links to review step.
itsjeyd Sep 25, 2015
e5a7557
Make sure data relevant for displaying review links is up-to-date when
itsjeyd Sep 25, 2015
1645784
Clean up: Compute score only once in get_score.
itsjeyd Sep 25, 2015
99b72b1
Fix test failures.
itsjeyd Sep 26, 2015
4f6d3f8
Move code shared by existing mentoring block (problem builder) and new
itsjeyd Sep 26, 2015
1a3602d
Fix: Make sure assessment message is up-to-date when submitting last
itsjeyd Sep 26, 2015
bef01e8
DRY out code that computes current status (correct/partial/incorrect)…
itsjeyd Sep 26, 2015
9e94e81
Implement integration tests.
itsjeyd Sep 27, 2015
c92b9fe
Update documentation.
itsjeyd Sep 28, 2015
a4414a5
Show friendly message that ReviewStep block is not editable when
itsjeyd Sep 28, 2015
aa065a1
Remove option to add "Complete" and "Incomplete" messages to Step
itsjeyd Sep 28, 2015
47fe2f6
Address review comments.
itsjeyd Sep 28, 2015
1ff860a
Make sure num_attempts info is always up-to-date by fetching it from
itsjeyd Sep 29, 2015
67d7371
Remove option to set mode for Problem Builder in Studio.
itsjeyd Sep 29, 2015
334cb20
Allow "Complete" and "Incomplete" messages to be used with Step Builder.
itsjeyd Sep 29, 2015
06665d1
Update tests.
itsjeyd Sep 29, 2015
dde3c4c
Merge pull request #65 from open-craft/review-step
itsjeyd Sep 29, 2015
f0b3e66
Move messages to review step.
itsjeyd Sep 30, 2015
8bf1561
Add tests.
itsjeyd Sep 30, 2015
79b53ca
Update documentation.
itsjeyd Sep 30, 2015
2c5efc6
Make sure Step Builder descendants don't show up in sequence navigati…
itsjeyd Sep 30, 2015
732405c
Publish "grade" event when submitting last step.
itsjeyd Sep 30, 2015
0b992c6
Address review comments.
itsjeyd Sep 30, 2015
fa5d5e5
Merge pull request #66 from open-craft/review-step-messages
itsjeyd Sep 30, 2015
feaf5da
Don't try to replace "jump_to_id" URLs in review tips if there are no
itsjeyd Oct 1, 2015
3e8040b
Merge pull request #67 from open-craft/fix-review-tips
itsjeyd Oct 1, 2015
6ae2e89
Fix: Enable "Add" buttons after removing child that can only be added
itsjeyd Oct 2, 2015
1ce056f
Fix: Make sure clicking buttons causes corresponding child to be added
itsjeyd Oct 2, 2015
df56471
Step Builder: Lock and unlock navigation when appropriate.
itsjeyd Oct 5, 2015
8e36431
Merge pull request #68 from open-craft/assessments-qa
itsjeyd Oct 7, 2015
a96a146
Fixed appearance of step links in extended feedback
bradenmacdonald Oct 9, 2015
3c1d28a
Address review comments
bradenmacdonald Oct 10, 2015
457ee18
Fix Travis CI build broken by new Selenium release (2.48.0)
bradenmacdonald Oct 10, 2015
5c07c47
Merge pull request #69 from open-craft/ext-feedback-links-polish-oc-986
bradenmacdonald Oct 10, 2015
43436a9
Make 'next' button text customizable in Mentoring Steps.
Kelketek Oct 14, 2015
c6e6060
Merge pull request #74 from open-craft/custom_next_text
Kelketek Oct 15, 2015
3eba4fc
Update master with fixes from release
bradenmacdonald Oct 15, 2015
c45a601
Enable seamless use of steps that have no questions.
Kelketek Oct 15, 2015
e204da3
Update requirements (xblock-utils fixes for OC-988).
itsjeyd Oct 19, 2015
1326a0c
Merge pull request #79 from open-craft/fix-review-messages
itsjeyd Oct 19, 2015
2105c1b
Merge pull request #76 from open-craft/empty_step
Kelketek Oct 19, 2015
32f7e7b
Allow Videos and images to be added to Mentoring Step Block.
Kelketek Oct 14, 2015
c131a90
Create structure and append gitignore for latest workbench.
Kelketek Oct 19, 2015
8d8a8f9
Merge pull request #73 from open-craft/nested-steps
Kelketek Oct 19, 2015
fe2b725
Implement plot block.
itsjeyd Oct 15, 2015
dd04ee8
Update plots when navigating to next step to make sure they are alway…
itsjeyd Oct 15, 2015
fbf23f9
Clean up.
itsjeyd Oct 16, 2015
df202ce
Fix test failures.
itsjeyd Oct 16, 2015
cc0fda9
Add tests.
itsjeyd Oct 16, 2015
c2fb804
Address review comments.
itsjeyd Oct 19, 2015
3296ca7
Extend tests.
itsjeyd Oct 19, 2015
e487221
Fix failing test.
itsjeyd Oct 20, 2015
bc2a12e
Improve tests: Make sure we are at the correct step before checking p…
itsjeyd Oct 20, 2015
015fe14
Merge pull request #77 from open-craft/sb-plot-block
itsjeyd Oct 20, 2015
772c1f2
Initial/basic implementation of slider block
bradenmacdonald Oct 17, 2015
b63d2bf
Tests for the slider block, plus fix title
bradenmacdonald Oct 17, 2015
6db5712
Addressed bugs reported in review
bradenmacdonald Oct 19, 2015
b30ab46
Fix: extended review of slider step showed wrong value
bradenmacdonald Oct 19, 2015
c78663b
Fix review comments
bradenmacdonald Oct 20, 2015
eb164bc
Remove headers when sliders appear inside parent block in Studio
bradenmacdonald Oct 20, 2015
914d132
Fix Travis build
bradenmacdonald Oct 20, 2015
8aba22a
Change required post-rebase
bradenmacdonald Oct 21, 2015
2f7e35a
Fix to be compatible with PR #76
bradenmacdonald Oct 21, 2015
f236deb
Merge pull request #78 from open-craft/slider-block
bradenmacdonald Oct 21, 2015
769192e
Add support for additional overlays for plot blocks.
itsjeyd Oct 21, 2015
4ee4532
Add tests.
itsjeyd Oct 22, 2015
0ff61a2
Fix: Make sure plot can retrieve data from scale questions.
itsjeyd Oct 22, 2015
21326b8
Update master with fixes from release
bradenmacdonald Oct 22, 2015
144bf82
Implement proper interoperability for scale and plot blocks.
itsjeyd Oct 23, 2015
8af9fa2
Minor clean up and i18n.
itsjeyd Oct 23, 2015
addea00
Merge pull request #82 from open-craft/plot-overlays
itsjeyd Oct 23, 2015
2885f77
Making MCQ use message attribute the same way MRQ does
e-kolpakov Oct 22, 2015
7cd071d
Merge pull request #86 from open-craft/scale-plot-interop
itsjeyd Oct 26, 2015
dd14454
Merge pull request #81 from open-craft/mcq_messages
e-kolpakov Oct 26, 2015
17aeea3
Add instructional message to step blocks.
Kelketek Oct 23, 2015
127c50d
Merge pull request #84 from open-craft/instruction-message
Kelketek Oct 26, 2015
318d8c0
Fix: Step Builder grades did not appear
bradenmacdonald Oct 23, 2015
b542f0c
Fix: Refreshing the page during a second step builder attempt will di…
bradenmacdonald Oct 23, 2015
28e6b62
Fix: Image not shown to the user for MRQ feedback tip on question lev…
bradenmacdonald Oct 23, 2015
b692714
Fix: delay between submitting answer and next step being clickable
bradenmacdonald Oct 23, 2015
ea4d14e
Fix XML
bradenmacdonald Oct 24, 2015
b4ef868
Addressed review comments
bradenmacdonald Oct 27, 2015
9f96727
Merge pull request #85 from open-craft/qa-bug-fixes-oc-998
bradenmacdonald Oct 27, 2015
63a0d9e
Make sure tooltips for plot points work across different browsers.
itsjeyd Oct 28, 2015
78716cf
Fix JS error that causes Step Builder to crash if no review step is p…
itsjeyd Oct 28, 2015
38fc29e
Merge pull request #87 from open-craft/plot-tooltips-everywhere
itsjeyd Oct 29, 2015
5b75184
Merge pull request #88 from open-craft/fix-no-review-step
itsjeyd Oct 29, 2015
cc9498c
Refactored Step Builder Messages
bradenmacdonald Nov 1, 2015
dfec4fa
Address initial review comments, fix bug with perfect_score
bradenmacdonald Nov 2, 2015
cf68d83
Two improvements when run in the test environment:
bradenmacdonald Nov 2, 2015
755ba35
Fix extended review
bradenmacdonald Nov 2, 2015
ee49a27
Fix error when editing the review component blocks
bradenmacdonald Nov 2, 2015
0365c76
Improve usability of conditional messages in Studio, fix doctoring
bradenmacdonald Nov 2, 2015
7ddaa7b
Update tests
bradenmacdonald Nov 2, 2015
8b17cb4
Update documentation
bradenmacdonald Nov 3, 2015
ff271b2
Merge pull request #89 from open-craft/step-builder-reviews-refactor
smarnach Nov 3, 2015
caa5bdb
Fix: unable to re-order child blocks within Step Builder
bradenmacdonald Nov 6, 2015
fdb4309
Drive-by fix of bug in Studio with old mentoring assessment mode
bradenmacdonald Nov 6, 2015
ff2bd31
Fix minor layout and style issues
bradenmacdonald Nov 6, 2015
37d5d42
Merge pull request #90 from open-craft/qa-fixes
bradenmacdonald Nov 9, 2015
06e41fc
Remove ticks and tick labels from plot axes.
itsjeyd Nov 11, 2015
cffa453
Scroll to top when navigating to next step or loading page.
itsjeyd Nov 11, 2015
8d0f977
Add integration test for scrolling behavior.
itsjeyd Nov 11, 2015
e6276a4
Fix scrolling for steps without questions.
itsjeyd Nov 11, 2015
d4682f2
Display copyright notice on mentoring/step block.
mtyaka Nov 11, 2015
0de4581
Make sure only one scroll animation gets queued/run.
mtyaka Nov 12, 2015
836a3be
Resize video elements when step is displayed.
mtyaka Nov 12, 2015
fb02978
Spell out abbreviations (w/r/t -> with respect to).
itsjeyd Nov 12, 2015
6157e30
Use explicit waits instead of time.sleep.
mtyaka Nov 13, 2015
cc0c234
Merge pull request #91 from open-craft/competing-evidence-qa
mtyaka Nov 13, 2015
df6addc
Fix flaky scroll_into_view test.
mtyaka Nov 17, 2015
6838aa8
Patch wsgi handler to ignore broken pipe errors.
mtyaka Nov 17, 2015
7211bb3
Add circle.yml file.
mtyaka Nov 18, 2015
6789d9e
Sleep a while before reloading xblock.
mtyaka Nov 19, 2015
5833d53
More robust pipe error check.
mtyaka Nov 20, 2015
dea7748
Replace TravisCI build status icon with CircleCI.
mtyaka Nov 20, 2015
67d7563
Merge pull request #92 from open-craft/headandshoulders
mtyaka Nov 20, 2015
71016a4
Explain review links to users.
itsjeyd Dec 22, 2015
1db52e8
Merge pull request #93 from open-craft/explain-review-links
itsjeyd Dec 23, 2015
64cbd3e
Move old migrations into south_migrations.
Kelketek Jan 21, 2016
ae56cf1
Merge branch 'edx-release' into django-migrations
Kelketek Jan 21, 2016
d2dbe3b
Add in Django migration for shares.
Kelketek Jan 21, 2016
86f86e2
Bump XBlock utils in requirements.txt.
Kelketek Jan 22, 2016
910114c
Remove migrations from pylint/pep8; remove 'include-ids', which is de…
Kelketek Jan 25, 2016
b3d2449
Merge pull request #95 from open-craft/django-migrations
Kelketek Jan 25, 2016
46485e7
Bump version.
Kelketek Feb 4, 2016
7dca877
Merge pull request #98 from open-craft/bump_master_version
Kelketek Feb 4, 2016
9263475
Fix exponential rerendering after hitting next button too many times.
Kelketek Feb 19, 2016
f16b9ec
Merge pull request #99 from open-craft/performance_fix
bradenmacdonald Feb 22, 2016
5e5d897
Fix: Make sure collecting "step" children of Problem Builder (Mentoring)
itsjeyd Feb 24, 2016
79bdff7
Introduce instance-wide setting that specifies if previous answers to
itsjeyd Feb 24, 2016
86e2483
Update tests.
itsjeyd Feb 25, 2016
b17c0ee
Address review comments.
itsjeyd Feb 29, 2016
d754b29
Merge pull request #102 from open-craft/hide-previous-answer
itsjeyd Feb 29, 2016
0552709
Ensure default theme is used if theme has not been customized.
itsjeyd Mar 1, 2016
22891c9
Have pylint check for unused imports.
itsjeyd Mar 1, 2016
ce3a087
Merge pull request #103 from open-craft/ensure-default-theme
itsjeyd Mar 2, 2016
5c1a8c9
OC-1387 Show tooltip feedback if tips are present straightaway
jbzdak Feb 23, 2016
9a6f5bd
Fixed new pylint error
jbzdak Mar 3, 2016
09af7fb
Build without scroll_to, fix Workbench header interference.
bradenmacdonald Mar 2, 2016
91f77e2
Merge pull request #101 from open-craft/jbzdak/show-popup-always-on-mcq
jbzdak Mar 3, 2016
ac902d7
Problem Builder: Introduce instance-wide setting that specifies if
itsjeyd Mar 3, 2016
1a3f72a
Address review comments.
itsjeyd Mar 4, 2016
3a9ded9
Merge pull request #104 from open-craft/hide-feedback
itsjeyd Mar 4, 2016
7fbaea1
Fix: Show choice tips on click.
itsjeyd Mar 8, 2016
594f1f2
Merge pull request #105 from open-craft/fix-choice-tips
itsjeyd Mar 8, 2016
6660f98
Test report downloads
Mar 10, 2016
0ef0a74
Fix cross-domain images and images with relative urls or without expl…
Mar 11, 2016
e01af34
Merge pull request #107 from open-craft/omar/report-download
omarkhan Mar 17, 2016
6a02cf2
Add instructions for enabling dashboard in studio
Mar 17, 2016
a8ac398
Use dashboard image from master branch in tests
Mar 17, 2016
082edaa
Merge pull request #109 from open-craft/omar/dashboard-image
omarkhan Mar 18, 2016
1c49b87
Merge pull request #108 from open-craft/omar/dashboard-docs
omarkhan Mar 18, 2016
98be9ce
StepBuilder: Fix inconsistent feedback for MCQs.
itsjeyd Mar 23, 2016
aa9fa67
Make MRQs behave like MCQs when hide_previous_answer is True.
mtyaka Mar 23, 2016
8b4fd30
Merge pull request #111 from open-craft/fix-inconsistent-feedback
itsjeyd Mar 24, 2016
0be5bd6
Enable freeform answer submit when feedback is hidden.
mtyaka Mar 23, 2016
ff61a46
Merge pull request #110 from open-craft/freetext-submit
mtyaka Mar 25, 2016
5a0c553
Detach HTML elements from the DOM when hiding a step.
Mar 29, 2016
2af1ddc
Removed special handling when hiding video blocks.
Apr 7, 2016
4b7b231
Renamed lms_utils -> step_util
Apr 7, 2016
313837a
Merge pull request #115 from open-craft/jbzdak/oc-1441/detach-html-el…
jbzdak Apr 11, 2016
ea3924a
Hide MRQ question-level feedback on return.
mtyaka Apr 12, 2016
527671f
Merge pull request #116 from open-craft/hide-mrq-feedback
mtyaka Apr 13, 2016
82bd45d
Update xblock-utils to v1.0.3.
itsjeyd Sep 12, 2016
51277a3
Fix dependency installation for CircleCI builds.
itsjeyd Sep 12, 2016
4360197
Add comment pointing to commit message that explains why we need to pin
itsjeyd Sep 13, 2016
1ba7126
Merge pull request #120 from open-craft/update-xblock-utils
itsjeyd Sep 13, 2016
344fea2
Merge branch 'edx-release' into merge-edx-release
itsjeyd Sep 27, 2016
d6ffe52
Merge pull request #123 from open-craft/merge-edx-release
itsjeyd Sep 28, 2016
a72c283
Shows the "on-assessment-review" and "on-assessment-review-question" …
pomegranited Sep 28, 2016
88450ee
Merge pull request #122 from open-craft/jill/message-assessment-review
pomegranited Sep 29, 2016
efe6f23
Refactor MentoringBlock to use NestedXBlock mixin
Sep 16, 2016
4c79a37
Handle unresolvable anonymous ids gracefully.
smarnach Oct 4, 2016
484131c
Merge pull request #124 from open-craft/smarnach/anonymous-id
Oct 5, 2016
8ac56fc
Improves the accessibility of the Problem Builder, Step Builder, and …
pomegranited Oct 5, 2016
432c1b9
Merge pull request #125 from open-craft/jill/a11y-fixes
pomegranited Oct 8, 2016
8d096b6
PR review: ensure all template text is translated.
pomegranited Oct 30, 2016
6a6c0dc
Bump version to 2.6.0
pomegranited Nov 1, 2016
2be6171
Merge pull request #127 from open-craft/jill/bump_version_2.6
pomegranited Nov 1, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
/workbench.*
/dist
/templates
/var
*.iml
.idea/*
dump.rdb
problem_builder.tests.*
2 changes: 2 additions & 0 deletions .pep8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pep8]
exclude=problem_builder/migrations
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Alan Boudreault <[email protected]>
Eugeny Kolpakov <[email protected]>
Braden MacDonald <[email protected]>
Jonathan Piacenti <[email protected]>
Tim Krones <[email protected]>
30 changes: 30 additions & 0 deletions LICENSE.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
------------------------------------------------------------------------------
This license applies to the following third-party libraries included
in this repository:

- backbone.paginator
- Backbone.js
- Underscore.js
------------------------------------------------------------------------------

The MIT License (MIT)

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
41 changes: 16 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
Problem Builder XBlock
----------------------
Problem Builder and Step Builder
--------------------------------

[![Build Status](https://travis-ci.org/open-craft/problem-builder.svg?branch=master)](https://travis-ci.org/open-craft/problem-builder)
[![Circle CI](https://circleci.com/gh/open-craft/problem-builder.svg?style=svg)](https://circleci.com/gh/open-craft/problem-builder)

This XBlock allows creation of questions of various types and simulating the
workflow of real-life mentoring, within an edX course.
This repository provides two XBlocks: Problem Builder and Step Builder.

It supports:
Both blocks allow to create questions of various types. They can be
used to simulate the workflow of real-life mentoring, within an edX
course.

Supported features include:

* **Free-form answers** (textarea) which can be shared accross
different XBlock instances (for example, to allow a student to
review and edit an answer he gave before).
* **Self-assessment MCQs** (multiple choice), to display predetermined
feedback to a student based on his choices in the
review and edit an answer they gave before).
* **Self-assessment MCQs** (multiple choice questions), to display
predetermined feedback to a student based on his choices in the
self-assessment. Supports rating scales and arbitrary answers.
* **MRQs (Multiple Response Questions)**, a type of multiple choice
question that allows the student to choose more than one choice.
question that allows the student to select more than one choice.
* **Answer recaps** that display a read-only summary of a user's
answer to a free-form question asked earlier in the course.
* **Progression tracking**, to require that the student has
Expand All @@ -26,34 +29,22 @@ It supports:
* **Dashboards**, for displaying a summary of the student's answers
to multiple choice questions. [Details](doc/Dashboard.md)

The screenshot shows an example of a problem builder block containing a
free-form question, two MCQs and one MRQ.
The following screenshot shows an example of a Problem Builder block
containing a free-form question, two MCQs and one MRQ:

![Problem Builder Example](doc/img/mentoring-example.png)

Installation
------------

Install the requirements into the python virtual environment of your
Install the requirements into the Python virtual environment of your
`edx-platform` installation by running the following command from the
root folder:

```bash
$ pip install -r requirements.txt
```

Enabling in Studio
------------------

You can enable the Problem Builder XBlock in studio through the advanced
settings.

1. From the main page of a specific course, navigate to `Settings ->
Advanced Settings` from the top menu.
2. Check for the `advanced_modules` policy key, and add `"problem-builder"`
to the policy value list.
3. Click the "Save changes" button.

Usage
-----

Expand Down
27 changes: 27 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
machine:
python:
version: 2.7.10
dependencies:
override:
- "pip install -U pip wheel"
# Temporarily pin setuptools to a specific version.
# See commit message of https://github.com/open-craft/problem-builder/commit/51277a34fb426724616618c1afdb893ab2de4c6b for more info:
- "pip install setuptools==24.3.1"
- "pip install -e git://github.com/edx/xblock-sdk.git@bddf9f4a2c6e4df28a411c8f632cc2250170ae9d#egg=xblock-sdk"
- "pip install -r requirements.txt"
- "pip install -r $VIRTUAL_ENV/src/xblock-sdk/requirements/base.txt"
- "pip install -r $VIRTUAL_ENV/src/xblock-sdk/requirements/test.txt"
- "pip uninstall -y xblock-problem-builder && python setup.py sdist && pip install dist/xblock-problem-builder-2.6.0.tar.gz"
- "pip install -r test_requirements.txt"
- "mkdir var"
test:
override:
- "if [ $CIRCLE_NODE_INDEX = '0' ]; then pep8 problem_builder --max-line-length=120; fi":
parallel: true
- "if [ $CIRCLE_NODE_INDEX = '1' ]; then pylint problem_builder --disable=all --enable=function-redefined,undefined-variable,unused-import,unused-variable; fi":
parallel: true
- "python run_tests.py":
parallel: true
files:
- "problem_builder/v1/tests/**/*.py"
- "problem_builder/tests/**/*.py"
13 changes: 13 additions & 0 deletions doc/Dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,16 @@ must be in JSON format. The supported entries are:
* **`"width"`**: (Important) The width of the images, in pixels (all images
should be the same size).
* **`"height"`**: (Important) The height of the images, in pixels


Enabling in Studio
------------------

You can enable the Dashboard XBlock in Studio by modifying the advanced settings
for your course:

1. From the main page of a specific course, navigate to **Settings** ->
**Advanced Settings** from the top menu.
2. Find the **Advanced Module List** setting.
3. Add `"pb-dashboard"` to the modules listed there.
4. Click the **Save changes** button.
32 changes: 32 additions & 0 deletions doc/Problem Builder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Problem Builder Usage
=====================

When you add the **Problem Builder** component to a course in the studio, the
built-in editing tools guide you through the process of configuring the block
and adding individual questions.

See [Question Types](Questions.md) to learn about the various types of question
that can be added to a Problem Builder block.


Configuration Options
---------------------

### Maximum Attempts

You can limit the number of times students are allowed to complete a
Mentoring component by setting the **Max. attempts allowed** option.

Before submitting an answer for the first time:

![Max Attempts Before](img/max-attempts-before.png)

After submitting a wrong answer two times:

![Max Attempts Reached](img/max-attempts-reached.png)

### Custom Window Size for Tip Popups

You can specify **Width** and **Height** attributes of any Tip
component to customize the popup window size. The value of those
attributes should be valid CSS (e.g. `50px`).
138 changes: 138 additions & 0 deletions doc/Questions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
Questions and Other Components
==============================

These are the types of questions that can be added to Problem Builder and Step
Builder:


### Free-form Questions

Free-form questions are represented by a **Long Answer** component.

Example screenshot before answering the question:

![Answer Initial](img/answer-1.png)

Screenshot after answering the question:

![Answer Complete](img/answer-2.png)

You can add **Long Answer Recap** components to problem builder blocks later on
in the course to provide a read-only view of any answer that the student entered
earlier.

The read-only answer is rendered as a quote in the LMS:

![Answer Read-Only](img/answer-3.png)

### Multiple Choice Questions (MCQs)

Multiple Choice Questions can be added to a problem builder component and have
the following configurable options:

* **Question** - The question to ask the student
* **Message** - A feedback message to display to the student after they have
made their choice.
* **Weight** - The weight is used when computing total grade/score of the
problem builder block. The larger the weight, the more influence this question
will have on the grade. Value of zero means this question has no influence on
the grade (float, defaults to `1`).
* **Correct Choice[s]** - Specify which choice[s] are considered correct. If a
student selects a choice that is not indicated as correct here, the student
will get the question wrong.

Using the Studio editor, you can add **Custom Choice** blocks to an MCQ. Each
Custom Choice represents one of the options from which students will choose
their answer.

You can also add **Tip** entries. Each Tip must be configured to link it to one
or more of the choices. If the student selects a choice, the tip will be
displayed.

**Screenshots**

Before attempting to answer the questions:

![MCQ Initial](img/mcq-1.png)

While attempting to complete the questions:

![MCQ Attempting](img/mcq-2.png)

After successfully completing the questions:

![MCQ Success](img/mcq-3.png)

#### Rating Questions

When constructing questions where the student rates some topic on the scale from
`1` to `5` (e.g. a Likert Scale), you can use the Rating question type, which
includes built-in numbered choices from 1 to 5. The `Low` and `High` settings
specify the text shown next to the lowest and highest valued choice.

Rating questions are a specialized type of MCQ, and the same instructions apply.
You can also still add **Custom Choice** components if you want additional
choices to be available such as "I don't know".

### Multiple Response Questions (MRQs)

Multiple Response Questions are set up similarly to MCQs. The answers are
rendered as checkboxes. Unlike MCQs where only a single answer can be selected,
MRQs allow multiple answers to be selected at the same time.

MRQ questions have these configurable settings:

* **Question** - The question to ask the student
* **Required Choices** - For any choices selected here, if the student does
*not* select that choice, they will lose marks.
* **Ignored Choices** - For any choices selected here, the student will always
be considered correct whether they choose this choice or not.
* Message - A feedback message to display to the student after they have made
their choice.
* **Weight** - The weight is used when computing total grade/score of the
problem builder block. The larger the weight, the more influence this question
will have on the grade. Value of zero means this question has no influence on
the grade (float, defaults to `1`).
* **Hide Result** - If set to `True`, the feedback icons next to each choice
will not be displayed (This is `False` by default).

The **Custom Choice** and **Tip** components work the same way as they do when
used with MCQs (see above).

**Screenshots**

Before attempting to answer the questions:

![MRQ Initial](img/mrq-1.png)

While attempting to answer the questions:

![MRQ Attempt](img/mrq-2.png)

After clicking on the feedback icon next to the "Its bugs" answer:

![MRQ Attempt](img/mrq-3.png)

After successfully completing the questions:

![MRQ Success](img/mrq-4.png)

Other Components
================

### Tables

Tables allow you to present answers to multiple free-form questions in a concise
way. Once you create an **Answer Recap Table** inside a Mentoring component in
Studio, you will be able to add columns to the table. Each column has an
optional **Header** setting that you can use to add a header to that column.
Each column can contain one or more **Answer Recap** elements, as well as HTML
components.

Screenshot:

![Table Screenshot](img/mentoring-table.png)

### "Dashboard" Self-Assessment Summary Block

[Instructions for using the "Dashboard" Self-Assessment Summary Block](Dashboard.md)
Loading