{"id":21065648,"url":"https://github.com/adaptlearning/adapt-contrib-scoringassessment","last_synced_at":"2026-02-17T18:05:26.313Z","repository":{"id":136905569,"uuid":"610706846","full_name":"adaptlearning/adapt-contrib-scoringAssessment","owner":"adaptlearning","description":"An extension attached to an article, used to assess child question components.","archived":false,"fork":false,"pushed_at":"2025-03-04T09:49:16.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-30T13:15:11.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adaptlearning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T10:14:57.000Z","updated_at":"2025-03-04T09:49:09.000Z","dependencies_parsed_at":"2024-11-19T17:56:01.708Z","dependency_job_id":"16f16bb3-1964-4044-9302-8432a2bc44b2","html_url":"https://github.com/adaptlearning/adapt-contrib-scoringAssessment","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/adaptlearning/adapt-contrib-scoringAssessment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-scoringAssessment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-scoringAssessment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-scoringAssessment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-scoringAssessment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaptlearning","download_url":"https://codeload.github.com/adaptlearning/adapt-contrib-scoringAssessment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-scoringAssessment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29552267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T17:56:56.811Z","status":"ssl_error","status_checked_at":"2026-02-17T17:56:55.544Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T17:55:57.133Z","updated_at":"2026-02-17T18:05:26.299Z","avatar_url":"https://github.com/adaptlearning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adapt-contrib-scoringAssessment\n\nAn extension attached to an article, used to assess child question components.\n\nThis plugin is a replacement for [adapt-contrib-assessment](https://github.com/adaptlearning/adapt-contrib-assessment), and has a dependency on [adapt-contrib-scoring](https://github.com/adaptlearning/adapt-contrib-scoring) to provide the Scoring API and scoring set logic. `Adapt.scoring` replaces `Adapt.assessment` as an API to collate an overall score and collection of scoring sets. An assessment is an extension of a scoring set.\n\nPrevious functionality has been refactored to split the logic into a series of plugins to handle specific behaviour, such as with [question banks](https://github.com/adaptlearning/adapt-contrib-banking) and [randomisation](https://github.com/adaptlearning/adapt-contrib-randomise). This allows the plugin to handle the core functionality, with other dependent plugins only included as required.\n\n## Attributes\n\nThe attributes listed below are used in *articles.json* to configure the assessment, and are properly formatted as JSON in [*example.json*](https://github.com/adaptlearning/adapt-contrib-scoringAssessment/blob/master/example.json).\n\n**\\_isEnabled** (boolean): Determines whether this article is an assessment. The default is `false`.\n\n**\\_id** (string): Unique ID for this set. Referenced by other plugins when using the Scoring API.\n\n**title** (string): A title for this set. Not required, but exposed should it be used for reporting purposes.\n\n**_isScoreIncluded** (boolean): Determines whether the set should be included in the Scoring API score.\n\n**_isCompletionRequired** (boolean): Determines whether the set should be included in the Scoring API completion.\n\n**\\_reset** (object): The settings used to configure resetting this assessment. Contains the following attributes:\n\n * **\\_scrollTo** (boolean): Determines whether to scroll to this assessment when reset. The default is `false`.\n\n * **\\_questionsType** (string): Determines whether the questions will remain completed when reset. A `\"soft\"` reset allows questions to be retaken, but the complete attribute remains set to true. A `\"hard\"` reset requires the question to be completed again. For `\"soft\"`, when using [trickle](https://github.com/adaptlearning/adapt-contrib-trickle), please set the trickle `_completionAttribute` to `\"_isInteractionComplete\"` The default is `\"hard\"`.\n\n * **\\_presentationComponentsType** (string): Determines whether the presentation components will remain completed when reset. A `\"soft\"` reset allows questions to be retaken, but the complete attribute remains set to true. A `\"hard\"` reset requires the question to be completed again. For `\"soft\"`, when using [trickle](https://github.com/adaptlearning/adapt-contrib-trickle), please set the trickle `_completionAttribute` to `\"_isInteractionComplete\"` The default is `\"soft\"`.\n\n * **\\_failed** (object): The reset settings to apply for a failed assessment. Contains the following attributes:\n\n   * **\\_isEnabled** (boolean): Determines whether the assessment can be reset. The default is `true`.\n\n   * **\\_isResetOnRevisit** (boolean): Determines whether the assessment resets automatically (up to the number of available attempts) when a user revisits the page. The default is `true`.\n\n * **\\_passed** (object): The reset settings to apply for a passed assessment. Contains the following attributes:\n\n   * **\\_isEnabled** (boolean): Determines whether the assessment can be reset. The default is `true`.\n\n   * **\\_isResetOnRevisit** (boolean): Determines whether the assessment resets automatically (up to the number of available attempts) when a user revisits the page. The default is `false`.\n\n**\\_passmark** (object): The settings used to configure the passmark. Contains the following attributes:\n\n * **\\_isEnabled** (boolean): Determines whether a passmark is required. The default is `true`.\n\n * **\\_requiresPassedSubsets** (boolean): Determines whether all `_isScoreIncluded` scoring sets need to be passed. Used in conjunction with `_score` and `_correctness`. The default is `false`.\n\n * **\\_score** (number): Determines the score required to pass. The default is `60`.\n\n * **\\_correctness** (number): Determines the correctness required to pass The default is `60`.\n\n * **\\_isScaled** (boolean): Determines whether `_score` and `_correctness` are to be used as raw or percentage values. The default is `true`.\n\n**\\_attempts** (object): The settings used to configure the assessment attempts. Contains the following attributes:\n\n * **\\_limit** (number): Determines the number of attempts the user is allowed to complete this assessment. Set to -1 (or 0) to allow infinite attempts. The default is `-1`.\n\n * **\\_shouldStoreAttempts** (boolean): Determines whether the history of all attempts is retained across browser sessions. Requires a suitable tracking plugin to be used. The default is `false`.\n\n**\\_questions** (object): The settings used to configure the assessment questions. Contains the following attributes:\n\n * **\\_canShowFeedback** (boolean): Allows the user to view feedback on their answer. The default is `false`.\n\n * **\\_canShowMarking** (boolean): Displays ticks and crosses on question completion. The default is `false`.\n\n * **\\_canShowModelAnswer** (boolean): Allows the user to view the 'model answer' should they answer the question incorrectly. The default is `false`.\n\n**\\_suppressMarking** (boolean): Determines whether question marking should be delayed until completion of the assessment or until all attempts have been exhausted. The default is `true`.\n\n## Events\n\nThe following events are triggered:\n\n**Adapt#scoring:assessment:register**\u003cbr\u003e\n**Adapt#scoring:assessment:restored**\u003cbr\u003e\n**Adapt#scoring:assessment:complete**\u003cbr\u003e\n**Adapt#scoring:assessment:passed**\u003cbr\u003e\n**Adapt#scoring:assessment:preReset**\u003cbr\u003e\n**Adapt#scoring:assessment:reset**\u003cbr\u003e\n**Adapt#scoring:assessment:postReset**\n\nFor backward compatibility the following events are triggered if [Scoring](https://github.com/adaptlearning/adapt-contrib-scoring) `\"_isBackwardCompatible\": true`:\n\n**Adapt#assessments:register**\u003cbr\u003e\n**Adapt#assessments:restored**\u003cbr\u003e\n**Adapt#assessments:complete**\u003cbr\u003e\n**Adapt#assessments:preReset**\u003cbr\u003e\n**Adapt#assessments:reset**\u003cbr\u003e\n**Adapt#assessments:postReset**\n\n----------------------------\n**Version number:** 1.0.0\u003cbr\u003e\n**Framework versions:** \u003e=5.28.8\u003cbr\u003e\n**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-scoringAssessment/graphs/contributors)\u003cbr\u003e\n**Plugin dependenies:** [adapt-contrib-scoring](https://github.com/adaptlearning/adapt-contrib-scoring): \"\u003e=1.0.0\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptlearning%2Fadapt-contrib-scoringassessment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaptlearning%2Fadapt-contrib-scoringassessment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptlearning%2Fadapt-contrib-scoringassessment/lists"}