start_point.txt labels values set by starting_params as 'sampled'
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
Direzione di ricerca
Read Algorithm._emit_start_point in pybnf/algorithms/base.py and how sampler initialization applies starting_params and continue_run in pybnf/algorithms/samplers/base.py. Check the code and tests covering Results/start_point.txt labels and its legend. Done when rows seeded by either option identify that source and the legend defines both labels.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Results/start_point.txt exists so a reader can tell where a fit really started, and the source column is the part to read (docs/troubleshooting.rst, "Where did my fit actually start?"). For a sampler seeded with starting_params, every row says sampled. The file's own legend defines that as "drawn from the prior / bounds, as a population algorithm or sampler does". The values were not drawn. They are exactly the ones the user wrote.
Reproduce
An am run with an analytical objective, declared kcat, Km, alpha, with starting_params = 7 70 3:
# source: start_point -- a "start_point = <p> <v>" line
# sampled -- drawn from the prior / bounds, as a population
starts 1
starts_pinned 0
kcat 7 sampled 0.5 50
Km 70 sampled 1 500
alpha 3 sampled 0.1 20
The values are right (7, 70, 3, in declaration order), but the label says they were drawn at random.
continue_run = 1, which seeds every chain from adaptive_files/MLE_params.txt, takes the same branch, so reading the code, its rows are labelled sampled too. I did not run that case.
Where
Algorithm._emit_start_point in pybnf/algorithms/base.py (the source chain near line 2748) picks between refine, the start-point spellings, sampled, box_center, point and prior. Nothing in that chain knows about starting_params or continue_run, so a sampler that uses either one falls through to sampled. The sampler base applies both after the start point is resolved (pybnf/algorithms/samplers/base.py, lines 369–378).
Expected
These rows should say where the values came from, for example starting_params or continue_run, and the legend should define both. Every chain gets the same values, so the label is true for every chain, not only the one the file records.
Found during the review of #984.
- Lingua principale
- Python
- Stelle
- 25
- Fork
- 25
- Merge medio
- 4h 5m
- PR unite (30g)
- 10
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lanl/PyBNF
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug silent-incorrectness
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
software-mansion-labs/Diplomat#20 ·
I maintainer di solito rispondono entro 1 giorno
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaForse già presa @lijy91 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
libnativeapi/nativeapi#53 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
View Counts discarded due to field name mismatchForse già presa @rsiva0400 l’ha presa oggi. Apertasite-bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Model version publishes the new UK firm entity as a personForse già presa @vahid-ahmadi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/policyengine.py#764 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
spcl/HPCAgent-Bench#264 ·
I maintainer di solito rispondono entro 1 giorno