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

Allow customization of type checker settings in target code base in LLM-based synthesis.

Chiusa
#796 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start at the type-checking path used by exec_code and locate where the default --follow-imports setting is applied. Add a way to customize that setting for the target code base, then verify the RoboTL example succeeds with silent imported-module checking while retaining imported type information.

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

Descrizione

bug enhancement module:llm

In repos with their own mypy config, like RoboTL, synthesis can fail because the harness rejects the snippet that passes local type checking. For example, running exec_code with the following code fails:

import robotl.handlers.mujoco.rollouts as rollouts
print(rollouts.Threadpool)

With the following errors:

process.py 345  Incompatible return value type (got "tuple[Any | Array, Any | T]", ...
rollouts.py 107 Argument 2 to "rollout" of "Threadpool" has incompatible type "ndarray...

This is because --follow-imports has been enabled by default. Changing --follow-imports=silent would fix this: It keeps type information from imported modules but does not report errors from them.

Lingua principale
Python
Stelle
54
Fork
4
Merge medio
2g 7h
PR unite (30g)
12

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 BasisResearch/effectful

Tutte le issue di BasisResearch/effectful

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.