a2ui-project / a2ui-project/a2ui
[FEATURE]: Add platform-agnostic conformance tests for a2ui-core libraries.
- Lingua principale
- TypeScript
- Stelle
- 16.4k
- Fork
- 1.3k
- Merge medio
- 2g 13h
- PR unite (30g)
- 134
Descrizione
Currently, our inference libraries have conformance tests for some features, which verify inputs and outputs. The expected inputs and outputs are encoded in YAML, with a description of how the test rig should be configured to use them.
We should do the same thing for the core libraries. e.g. to verify:
- Processing of messages is correct
- State of models is updated correctly - e.g. surfaceModel, componentModel etc, but also the node tree once it's implemented.
- The expected errors are emitted correctly
- Data model lookups work as expected with paths etc
- Functions work as expected, including nesting, functions that expose streams of data from the client etc.
This would go a long way towards making sure our libraries are consistent with each other.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at existing conformance tests for inference libraries to understand the YAML format and test rig configuration. Examine core libraries like surfaceModel and componentModel to identify key behaviors to test. The goal is to create tests that verify message processing, state updates, error emission, data model lookups, and function behavior across libraries.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, yaml
- Ambito
- testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100