Skip to content

Feedback for “NanoBench”: open question — orchestration language (Python vs shared toolchain) #34

Closed

Description

@will-lamerton

Opening this as a dedicated thread so the collective can weigh in on one of the open questions the whitepaper raises in §14, rather than it living only inside the document.

Orchestration Language. Should the evaluation core remain in Python for its subprocess and data processing strengths, or be rewritten to share a native build toolchain with Nanocoder? This affects long-term maintainability and contributor onboarding friction.

A few angles worth considering in the discussion:

  • Python keeps the evaluation core close to the wider ML/eval ecosystem (pytest harnesses, dataset tooling) and is where most benchmark contributors will feel at home.
  • TypeScript / shared toolchain with Nanocoder would let the two projects share types (the --json report shape, task schemas), CI, and release tooling, and lowers the number of languages a Nano Collective contributor has to context-switch between. Nanocoder itself is TypeScript.
  • A middle path: a thin TS orchestrator that shells out to Nanocoder and manages telemetry, with Python reserved only where a task's own test suite needs it (which it will, per-repo, regardless of orchestrator language).

No decision needed here yet. The point of the thread is to gather opinions during the review window so the choice is made in the open. Contributors with a strong view either way, please chime in.

Activity

  1. jason1015-coder commented on Aug 1, 2026

    @jason1015-coder
    Contributor

    I think middle path is better, personally

  2. will-lamerton commented on Aug 6, 2026

    @will-lamerton
    MemberAuthor

    Decision: the orchestrator language stays the maintainer's call. What is mandated is the contract, not the language.

    Closing this as a deliberate non-mandate. NanoBench v1 has one builder, and forcing a rewrite for architectural tidiness is a good way to stall a project that is otherwise moving well. @RONAK-AI647 should write the evaluation core in whichever language gets v1 shipped. Python is fine. TypeScript is fine.

    What is not fluid is the thing the language choice was really protecting. Nanocoder's --json run report is the integration contract for the entire failure taxonomy: §9.1's rule engine reads toolCalls[], filesChanged[] and exit codes, and every category in §9 collapses if that shape changes without NanoBench noticing. In TypeScript that drift is a build error. In any other language it is a silent parser failure that produces confidently wrong diagnostics, which is worse than no diagnostics at all.

    So the requirement, whatever the language:

    • The run report shape is consumed through a checked in schema, not an ad hoc parser.
    • CI validates a real --json payload from the pinned Nanocoder version against that schema, and fails on mismatch.
    • The pinned Nanocoder version is recorded in every result set, so a taxonomy break can be traced to a harness upgrade rather than mistaken for a model regression.

    @jason1015-coder's middle path stands as the recommendation rather than the mandate: a thin orchestrator, with Python reserved for the task sandboxes where each repository's own test suite requires it regardless.

    One documentation fix falls out of this. §1 states Python is the primary language for the evaluation core, while the §6 architecture diagram labels the Manifest Ingestion Layer "(TS)". The final version should state that the orchestrator language is the maintainer's choice, and describe it consistently in both places.

  3. added
    whitepaper:nanobench
    on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    whitepaper:nanobench

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions