oat-sa / extension-lti-test-review
用于查看已通过测试的扩展,显示实际和正确答案。
Requires
- oat-sa/extension-tao-delivery: >=15.0.0
- oat-sa/extension-tao-delivery-rdf: >=14.0.0
- oat-sa/extension-tao-lti: >=15.4.1
- oat-sa/extension-tao-ltideliveryprovider: >=12.0.0
- oat-sa/extension-tao-outcome: >=13.0.0
- oat-sa/extension-tao-outcomeui: >=11.0.0
- oat-sa/extension-tao-proctoring: >=20.0.0
- oat-sa/extension-tao-testqti: >=48.1.0
- oat-sa/extension-tao-testqti-previewer: >=3.0.0
- oat-sa/generis: >=15.22
- oat-sa/oatbox-extension-installer: ~1.1||dev-master
- oat-sa/tao-core: >=51.2.0
- dev-master
- v3.9.4
- v3.9.3
- v3.9.2
- v3.9.1
- v3.9.0
- v3.8.2.2
- v3.8.2.1
- v3.8.2
- v3.8.1
- v3.8.0
- v3.7.1
- v3.7.0.1
- v3.7.0
- v3.6.0
- v3.5.1
- v3.5.0
- v3.4.0
- v3.3.1
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.0
- v2.2.0
- v2.1.1.1
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.18.2
- v1.18.1
- v1.18.0
- v1.17.0.2
- v1.17.0.1
- v1.17.0
- v1.16.2
- v1.16.1
- v1.16.0
- v1.15.3
- v1.15.2
- v1.15.1
- v1.15.0
- v1.14.2
- v1.14.1
- v1.14.0
- v1.13.1
- v1.12.2
- v1.12.1
- v1.12.0
- v1.6.1
- v1.6.0
- v1.2.0
- v0.5.0
- v0.2.0
- dev-develop
- dev-release-3.8.2.2
- dev-feature/sonarqube-integration
- dev-fix/TR-3557/review-panel-not-visible-on-ipad
- dev-fix/update-autoRelease-action-with-bot-user
- dev-release-3.7.0.1
- dev-hotfix/AUT-2995/add-brazilian-portuguese-language
- dev-fix/INF-183_grading_progress_status
- dev-feature/AUT-3065
- dev-release-3.7.2
- dev-fix/INF-187/missing-flag-is-externally-graded
- dev-fix/INF-187/item-review-icons-fixed-when-externnaly-scored
- dev-release-2.1.1.1
- dev-feature/TR-3072/generate-translations
- dev-release/1.17.0.2
- dev-release-2.0.2
- dev-release/v1.17.0.1
- dev-remove-jenkinsfile
- dev-fix/BOSA-2-wrong-skipped-status-for-items-with-response
- dev-feature/TAO-8492/review_next_prev-init
This package is auto-updated.
Last update: 2024-09-24 11:13:37 UTC
README
用于查看已通过测试的扩展,显示实际和正确答案,以及每个答案的得分。
使用方法
运行composer require "oat-sa/extension-lti-test-review"
将代码包含到项目中。使用扩展管理器或CLI安装扩展:php tao/scripts/installExtension.php ltiTestReview
。
LTI调用
要启动特定交付执行的审查,使用以下端点
https://YOUR_DOMAIN/ltiTestReview/ReviewTool/launch?execution=YOUR_DELIVERY_EXECUTION_URI
上述端点没有execution
参数(https://YOUR_DOMAIN/ltiTestReview/ReviewTool/launch
)将使用启动数据中的lis_result_sourcedid
字段来确定交付执行。
要启动用户最新交付执行的审查,使用以下端点
https://YOUR_DOMAIN/ltiTestReview/ReviewTool/launch1p3?delivery=YOUR_DELIVERY_URI
用户ID应提供在for_user
声明中
{ "https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiSubmissionReviewRequest", "https://purl.imsglobal.org/spec/lti/claim/for_user": { "user_id": "<string>" } }
请求审查的交付执行可以通过resource_link_id
声明(将启动由user_id
、delivery_id
和resource_link_id
指定的最新交付执行)
{ "https://purl.imsglobal.org/spec/lti/claim/resource_link": { "id": "unique_Id" } }
为了向后兼容,以下端点允许选择确切的交付执行,其ID必须提供在自定义声明中
https://YOUR_DOMAIN/ltiTestReview/ReviewTool/launch1p3
{ "https://purl.imsglobal.org/spec/lti/claim/custom": { "execution": "<delivery_execution_id>" } }
LTI选项
有各种模式可用于审查测试。默认情况下,最简单的模式被应用,只显示测试通过的情况,学生的答案和没有得分。
以下自定义参数控制模式
当您使用IMS仿真器时,您必须删除前缀custom_
。
默认值
默认情况下,选项show_score
和show_correct
是关闭的。要默认开启它们,您可以更改平台配置,在文件config/ltiTestReview/DeliveryExecutionFinderService.conf.php
中。
return new oat\ltiTestReview\models\DeliveryExecutionFinderService([ 'show_score' => false, 'show_correct' => false ]);
注意:这将为整个平台设置这些选项的默认值。如果您默认开启它们,您仍然可以使用LTI自定义参数禁用它们。
custom_review_layout
、custom_section_titles
和custom_item_tooltip
的默认值从config/ltiTestReview/ReviewPanel.conf.php
读取。
return new oat\oatbox\config\ConfigurationService(array( 'config' => array( 'reviewLayout' => 'default', 'displaySectionTitles' => true, 'displayItemTooltip' => false ) ));
注意:这将为整个平台设置这些选项的默认值。如果您默认开启它们,您仍然可以使用LTI自定义参数禁用它们。