Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

bug: algorithm output does not indicate when it has encountered transient error conditions

Aperta
#108 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@jjmaynard ci sta già lavorando.

Dal 5/11/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Engineering

Description

Currently when the algorithm encounters a transient error (e.g. SoilWeb API timeout) it logs an error and then tries a fallback API, which might return less accurate data. We should communicate what happened in the algorithm's output so that downstream clients can decide whether/how to retry.

Additional context

This can be triggered reliably by querying coordinates which don't have data (e.g. NOTCOM), like this coordinate pair:

{"lat": 34.92816, "lon": -114.80764}

But could happen for any coordinate due to transient network issues, which could result in suboptimal data being stored in a cache.

Lingua principale
Python
Stelle
2
Fork
3
Merge medio
16h 14m
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 techmatters/soil-id-algorithm

Tutte le issue di techmatters/soil-id-algorithm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.