%global _empty_manifest_terminate_build 0 Name: python-crowdsourcehinter-xblock Version: 0.6 Release: 1 Summary: crowdsourcehinter XBlock License: GNU Affero General Public License v3 or later (AGPLv3+) URL: https://github.com/edx/crowdsourcehinter Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e3/a2/7ee8e9d5c11e4ceb3eb74d43dae997296b18cf4ffaa0e29133d306b53ee7/crowdsourcehinter-xblock-0.6.tar.gz BuildArch: noarch Requires: python3-six Requires: python3-XBlock Requires: python3-web-fragments %description This is the repository for the Crowdsource Hinter XBlock. The Crowdsource Hinter serves to provide students with hints when they incorrectly answer a problem within a course. The hinter is compatible with numerical input and text input type problems. This XBlock is still a prototype. An example of a student recieving a hint ![CrowdSourceHinter Hint Screenshot](crowdsourcehinter_hint.png) An example of after a student corrects their answer ![CrowdSourceHinter Screenshot](crowdsourcehinter_correct.png) To bring the crowd sourced hinter into a demo course: Follow https://github.com/edx/edx-platform/wiki/Installing-a-new-XBlock for basic xblock installation. The name of the module to set in the advanced settings tab is "crowdsourcehinter". In studio view, edit the hinter so that the "Problem Element" is set to the "data-usage-id" of the problem block (findable by inspecting element of the problem block). If no problem element is set manually, the hinter will default to respond to the first problem block on the page. ![CrowdSourceHinter Installation Screenshot](crowdsourcehinter_setup.png) The two key features of the crowdsource hinter are the abilities to show students hints and to have the students themselves create hints to be shown to future students. When a student incorrectly answers a problem, the hinter will look through its database to search for a hint that has been stored for that exact incorrect answer input (i.e. when the database is large enough, two different incorrect answers would not receive the same hint). If hints exist for a student's incorrect answer, this hint is shown to the student. The student then may have the opportunity to input their answer again, which may prompt another hint to be displayed. After a student re-submits an answer correctly, they can rate hints for their usefulness or contribute a new hint to be used by other students. Rating hints works by upvoting, downvoting, or reporting hints. The new hint that is contributed by a student is specific to the incorrect answer that they make (currently the first incorrect answer will be prompted for contributing new hints). %package -n python3-crowdsourcehinter-xblock Summary: crowdsourcehinter XBlock Provides: python-crowdsourcehinter-xblock BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-crowdsourcehinter-xblock This is the repository for the Crowdsource Hinter XBlock. The Crowdsource Hinter serves to provide students with hints when they incorrectly answer a problem within a course. The hinter is compatible with numerical input and text input type problems. This XBlock is still a prototype. An example of a student recieving a hint ![CrowdSourceHinter Hint Screenshot](crowdsourcehinter_hint.png) An example of after a student corrects their answer ![CrowdSourceHinter Screenshot](crowdsourcehinter_correct.png) To bring the crowd sourced hinter into a demo course: Follow https://github.com/edx/edx-platform/wiki/Installing-a-new-XBlock for basic xblock installation. The name of the module to set in the advanced settings tab is "crowdsourcehinter". In studio view, edit the hinter so that the "Problem Element" is set to the "data-usage-id" of the problem block (findable by inspecting element of the problem block). If no problem element is set manually, the hinter will default to respond to the first problem block on the page. ![CrowdSourceHinter Installation Screenshot](crowdsourcehinter_setup.png) The two key features of the crowdsource hinter are the abilities to show students hints and to have the students themselves create hints to be shown to future students. When a student incorrectly answers a problem, the hinter will look through its database to search for a hint that has been stored for that exact incorrect answer input (i.e. when the database is large enough, two different incorrect answers would not receive the same hint). If hints exist for a student's incorrect answer, this hint is shown to the student. The student then may have the opportunity to input their answer again, which may prompt another hint to be displayed. After a student re-submits an answer correctly, they can rate hints for their usefulness or contribute a new hint to be used by other students. Rating hints works by upvoting, downvoting, or reporting hints. The new hint that is contributed by a student is specific to the incorrect answer that they make (currently the first incorrect answer will be prompted for contributing new hints). %package help Summary: Development documents and examples for crowdsourcehinter-xblock Provides: python3-crowdsourcehinter-xblock-doc %description help This is the repository for the Crowdsource Hinter XBlock. The Crowdsource Hinter serves to provide students with hints when they incorrectly answer a problem within a course. The hinter is compatible with numerical input and text input type problems. This XBlock is still a prototype. An example of a student recieving a hint ![CrowdSourceHinter Hint Screenshot](crowdsourcehinter_hint.png) An example of after a student corrects their answer ![CrowdSourceHinter Screenshot](crowdsourcehinter_correct.png) To bring the crowd sourced hinter into a demo course: Follow https://github.com/edx/edx-platform/wiki/Installing-a-new-XBlock for basic xblock installation. The name of the module to set in the advanced settings tab is "crowdsourcehinter". In studio view, edit the hinter so that the "Problem Element" is set to the "data-usage-id" of the problem block (findable by inspecting element of the problem block). If no problem element is set manually, the hinter will default to respond to the first problem block on the page. ![CrowdSourceHinter Installation Screenshot](crowdsourcehinter_setup.png) The two key features of the crowdsource hinter are the abilities to show students hints and to have the students themselves create hints to be shown to future students. When a student incorrectly answers a problem, the hinter will look through its database to search for a hint that has been stored for that exact incorrect answer input (i.e. when the database is large enough, two different incorrect answers would not receive the same hint). If hints exist for a student's incorrect answer, this hint is shown to the student. The student then may have the opportunity to input their answer again, which may prompt another hint to be displayed. After a student re-submits an answer correctly, they can rate hints for their usefulness or contribute a new hint to be used by other students. Rating hints works by upvoting, downvoting, or reporting hints. The new hint that is contributed by a student is specific to the incorrect answer that they make (currently the first incorrect answer will be prompted for contributing new hints). %prep %autosetup -n crowdsourcehinter-xblock-0.6 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-crowdsourcehinter-xblock -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 0.6-1 - Package Spec generated