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

Path forward on IO operations

Chiusa
#785 34 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
numpy, python
Ambito
data

Direzione di ricerca

Inizia leggendo l’implementazione IO esistente e l’issue #685, identificata come prerequisito per sostituire i commenti CSV con output JSON. L’issue descrive diversi passaggi possibili e un futuro percorso per l’output binario, ma non indica file o test; i criteri di completamento dovrebbero essere ristretti prima dell’implementazione.

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

Descrizione

code cleanup help wanted method outputs

This issue serves to document plans that myself, @bob-carpenter, and @mitzimorris have all discussed in person.

Issues:

  • the existing IO code re-uses very little between the different services.
  • the existing IO code is slow.
  • the existing IO code depends on things like the order of comments in the files.

Steps:

  • Split IO code into two passes. One pass should ignore all comments and use a fast reader like numpy's fromtxt to read in the draws. This can be used for all services. The second pass should deal with the comments. This will be service-specific. This change can be done any time
  • Replace the second pass of the above with the newer JSON outputs rather than CSV comments. This requires a minimum supported cmdstan version: #685
  • The first step could later be replaced with some sort of binary output. This would require upstream Stan changes
Lingua principale
Python
Stelle
198
Fork
81
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la 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 stan-dev/cmdstanpy

Tutte le issue di stan-dev/cmdstanpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.