Skip to content

SPF-Open/Tao_export

Repository files navigation

Tao Export

Svelte web app to convert QTI packages to PDF.

Target

This application is intended for the testing team of the SPF Finances. It allows them to convert QTI packages generated by TAO into PDF. No changes will be made to comply to use cases other than those of the SPF Finances test team.

How to use

  1. Upload your QTI package from TAO by clicking on the "Upload" button.
  2. Select the options you want to apply to your PDF.
  3. Preview your PDF directly in the browser.
  4. Download your PDF by clicking on the "Get PDF" button.

Options

  • Answers: Hide the answers in your PDF.
  • Instruction: Hide the instructions specific to the assessment in your PDF.
  • Letter: Replace the dot to letter for each alternative.
  • Compare test: Show two test side by side. (NL/FR)
  • Inzage mode: Change the alternative with the underline (Used dugin test review • Test Inzage -> Test Review ).
  • Sort question: Force the question to be ordered by their title. (When exporting individual question in bulk instead of exam)

Requirements

  • Node.js 😭
  • pnpm

Installation

  1. Clone the repository: git clone git@github.com:SPF-Open/Tao_export.git
  2. Install the dependencies: pnpm install
  3. Start the development server: pnpm run dev
  4. Open the link provided in the console.

Build

  1. Run the build command: pnpm run build
  2. The build files will be located in the public directory.