Split packages/engine/src/surgical.ts (about 1,900 lines)

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
53/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, testing

Direzione di ricerca

Start by reading packages/engine/src/surgical.ts and tracing the versions step, repair rounds, ranking, sandbox choice, and test running; inspect the engine tests and how a fake ModelClient can record prompts. Split the code into modules without behavior changes. Done means the existing engine tests pass unchanged and recorded prompts are byte-identical before and after.

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

Descrizione

enhancement help wanted

surgical.ts holds the versions step, repair rounds, ranking, sandbox choice and test running in one file. Split it into modules with no behaviour change. Acceptance: the engine tests pass unchanged and a test shows the prompts sent to a fake model are byte-identical before and after (record them from a fake ModelClient).

Lingua principale
TypeScript
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 apex-context-dev/apex-engine

Tutte le issue di apex-context-dev/apex-engine

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.