Reinstitute common embed definitions

Aperta
#173 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Inizia esaminando le modifiche annullate in PR #172 e la struttura esistente di completion-criteria/mastery-criteria a cui fa riferimento l’issue. Identifica dove sono definiti gli schemi di embed comuni e come vi accedono i consumer sia del frontend sia del backend; il lavoro è completato quando le definizioni condivise coprono più di UUID e rimangono sicure quando jsonschema non è installato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

P2 - normal

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Current behavior

We rolled back separating some common schema definitions (solely a UUID definition) into a separate file because it was not supporting both frontend and backend usage.

Desired behavior

Separate out some common embed definitions, including more than just the previous UUID definition, and structure it similarly to how completion criteria uses mastery criteria, such that we can utilize the schemas on both the frontend and backend.

  • Since le-utils does not have a hard requirement on jsonschema itself, any usage should be overly defensive on it not being installed

Value add

  • DRY

Possible tradeoffs

  • Complexity of separating schema definitions into more than 2 files
Lingua principale
Python
Stelle
7
Fork
38
Merge medio
1g 3h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di learningequality/le-utils

Tutte le issue di learningequality/le-utils

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.