Пропустить навигацию
Codex survives compaction quite well. Which means for massive refactors or "pass test suite" kind of…
0:00 / 0:39

Codex survives compaction quite well. Which means for massive refactors or "pass test suite" kind of…

Armin Ronacher ⇌

@mitsuhiko102 тыс. подписчиков

Открыть в X
153 отметки «Нравится»СкачатьОригинальный пост

17 424 просмотра

Codex survives compaction quite well. Which means for massive refactors or "pass test suite" kind of situations looping can work. I tried it for the MiniJinja port over night and it works. Basically /loop tells pi a) continue until "condition" and b) tweak compaction while loop is active.

10 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Armin Ronacher ⇌

    @mitsuhiko

    It basically just does @steipete's "queue continue" hack :)

    17 отметок «Нравится»

  • Фото профиля Vivek Anand

    @anandvivekIN

    Why not use codex cli? What’s advantage of pi? Apart from models.

    2 отметки «Нравится»

  • Фото профиля Karan Jagtiani

    @karanjagtiani04

    Loop until tests pass, with on-the-fly compaction tweaks-edge cases still bite you sometimes

    1 отметка «Нравится»

  • Фото профиля darin

    @dronathon

    it works for arbitrary implementation too, even if complex. scary strong model. im overhauling my beads port to be an actually realtime distributed database, have a 33ktok plan file, placed beads, and single-threaded codex has worked for 3 days and im 90% there. no preexisting tests

    1 отметка «Нравится»

  • Фото профиля Ben Cera

    @Bencera

    survives compaction is a wild way to say it only forgot some of your code

  • Фото профиля Son Luong

    @sluongng

    it's a coin toss. In some cases, compaction just stopped my entire thread as it failed to retain the latest goal(s).

  • Фото профиля Steve grins

    @stevegsn

    tried this with a big django app migration. looped until tests passed, compaction tweaks made a huge diff. codex handled the weird edge cases better than i expected

  • Фото профиля max.berlin

    @maxjendrall

    Armin Ralphing Ronacher

  • Фото профиля John Peng

    @theRealJohnPeng

    Just tell us if we shud cancel our claude max subs

  • Фото профиля Jordy.app

    @Jordy_vD_

    PI vs OpenCode?