shevandrin / rqti

Create QTI Exercises and Exams from R
https://shevandrin.github.io/rqti/
GNU General Public License v3.0
4 stars 2 forks source link

add metadata in AI and AT #179

Closed shevandrin closed 3 months ago

shevandrin commented 4 months ago

items of metadata (according to LOM):

  1. description
  2. version
  3. format
  4. rights

items of metadata from Opal:

  1. author
  2. Modified date
  3. Created date

@bondarenko-petr add new classes QtiMetadata and QtiContributor on the OOP scheme TODO:

johannes-titz commented 4 months ago

Version refers to exercise version.

What is format again?

shevandrin commented 4 months ago

image image

format is qti version)

shevandrin commented 4 months ago

if we keep 'format' here, i would suggest to eliminate slot 'qti_versio' from AssessementItem and AssessmentTest

johannes-titz commented 4 months ago

I agree, this sounds reasonable.

shevandrin commented 4 months ago

LOM ├── Annotation ├── Classfication ├── Educational ├── General │ ├── Aggregation Level │ ├── Coverage │ ├── Description │ ├── Identifier │ │ ├── Entry │ │ └── Identifier │ ├── Keyword │ ├── Language │ ├── Structure │ └── Title ├── LifeCycle │ ├── Contribute │ │ ├── Date │ │ ├── Entry │ │ └── Role │ ├── Status │ └── Version ├── MetaMetadata │ ├── Contribute │ ├── Identifier_md │ ├── Language │ └── MetadataSchema ├── Relation ├── Rights │ ├── CopyrightAndOtherDRestrictions │ ├── Cost │ └── Description └── Technical ├── Duration ├── Format ├── InstallationRemarks ├── Location ├── OthePlatformRequirements ├── Requirement └── Size

shevandrin commented 4 months ago

this is a part of the whole tree of LOM. I can not find the place for 'created_date' and 'modified_date'. The only data, that i can suggest is date in 'contribute'. According to docu it means 'the date of contribution'. So i am confused: should i add new 'dates' or keep the LOM structure?

johannes-titz commented 4 months ago

So Opal is using custom attributes? I think date of contribution is sufficient. authors can bump the version instead. Overall, version is more important.

shevandrin commented 4 months ago

In XMLs from Opal i cant find any tags that relates to creation and modification dates

johannes-titz commented 4 months ago

This is interesting: Es wird festgelegt, dass der -Eintrag mit der Rolle Creator das Datum der letzten Änderung enthält. Außerdem wird festgelegt, dass der -Eintrag mit der Rolle Validator das Datum der Veröffentlichung enthält.

Basically, if you are a creator, date is treated as last modification. If you are a validator, it is the publication date.

shevandrin commented 4 months ago

ok., i keep the date of contribution only

shevandrin commented 4 months ago

@bondarenko-petr for AssessmentItem and AsssessementSection add methods getContributors() on OOP scheme

shevandrin commented 4 months ago

@bondarenko-petr delete slot 'format' from QtiMetadata class

shevandrin commented 4 months ago

@bondarenko-petr add method getContributors() for 'character' @bondarenko-petr in tests: suppress messages about contributors

shevandrin commented 4 months ago

@bondarenko-petr cover creation QtiMetadata and QtiContributor classes, qti_metadata(), qti_contributor(), method createMetadata() with tests

shevandrin commented 4 months ago

@bondarenko-petr cover with tests appropriate transfer of metadata details from Rmd file