2 commenti (2 commenti)0 reazioni (0 reazioni)0 assegnatari (0 assegnatari)Python67 fork (67 fork)auto 404
acquisitionapi changeenhancementhelp wanted
Metriche repository
- Star
- 104 stelle (104 stelle)
- Metriche merge PR
- Metriche PR in attesa (Metriche PR in attesa)
Descrizione
- metadata generation routine can get the list of src/sig faster now by using just the signal dimension TABLE and not the big complicated VIEW to gather them
- add
sort_keys=True to json.dumps() to ensure deterministic output
- add number of points to metadata for each aggregation since we are in there already... and maybe avg number of re-issues to metadata if we wanna also hit the
full table
https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/acquisition/covidcast/database.py#L494
Guida contributor
- Direzione di ricerca
- Modifica la generazione dei metadati: (1) sostituisci la VIEW complessa con la più semplice tabella di dimensioni del segnale per elencare più velocemente le sorgenti/i segnali, (2) aggiungi `sort keys=True` a `json.dumps()` per un output deterministico, (3) aggiungi il conteggio dei punti e il numero medio di riemissioni ai metadati. Fai riferimento alla sezione di codice collegata in `src/acquisition/covidcast/database.py`. Verifica le modifiche per assicurarne la correttezza.
- Tech stack
- python
- Dominio
- backenddata
- Tipo issue
- Refactoring
- Prerequisiti
- PythonSQL