Publish PR #1513 per-trial dataset and re-benchmark llguidance whitespace bound

Aperta
#1,820 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Read PR #1513's empirical evidence table and PR #1807 to identify the missing per-trial data and the current {0,64} whitespace bound. The remaining work requires publishing the original trials, then benchmarking that bound against the 250-trial correctness set for LocalHFBackend and checking that the #1510 collapse does not return.

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

Descrizione

Summary

Split out of #1515. PR #1807 resolves the root cause (llguidance <= 1.7.6 did not enforce whitespace_pattern upper bounds; fixed upstream in llguidance #370 / v1.8.0, now required via llguidance>=1.8.0). The two items below could not be completed there because they depend on data that was never published.

Remaining work

  • Publish the raw per-trial data behind PR #1513's empirical evidence table (currently only aggregated pass/fail counts are in the PR description), so whitespace-tuning work can be verified against the same trials rather than re-run from scratch. This belongs with the PR #1513 author.
  • Once the dataset exists, re-benchmark the current whitespace_pattern bound ({0,64} after #1807) against the 250-trial correctness set to confirm it does not reintroduce the #1510 collapse.

Context

  • #1807 verifies enforcement directly at the acceptance-mask level with a byte-level tokenizer, which is the layer where the semantics changed. It does not replace a model-level benchmark.
  • Because the original data was unavailable, the limit in #1807 was chosen from a rebuilt version of the #1510 test (granite-4.1-3b and 8b, varied list lengths, flat and deeply nested schemas, compact and indented output). That rebuild is the stopgap; the original trials are still the reference.
  • Scope is the LocalHFBackend only. vLLM, llama.cpp and Ollama apply their own whitespace rules server-side.

Refs #1515, #1510, #1513, #1807

Lingua principale
Python
Stelle
1.8k
Fork
161
Merge medio
4g 3h
PR unite (30g)
45

Preparare l'ambiente

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 generative-computing/mellea

Tutte le issue di generative-computing/mellea

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.