Skip to content

feat: add agent evals for answers with and without Telegram Dev - #2

Merged
Kay0k1 merged 1 commit into
mainfrom
feat/evals
Nov 10, 2026
Merged

Kay0k1 merged 1 commit into
mainfrom
feat/evals

Conversation

@Kay0k1

@Kay0k1 Kay0k1 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Measures whether Telegram Dev changes what a coding agent answers, and puts the numbers into the project.

Result (Codex CLI 0.167.0, gpt-6.1-sol, telegram-dev 0.5.0, 11 tasks)

Telegram Dev + web Web only Telegram Dev, no web Neither
Rubric facts 45/47 45/47 45/47 38/47
Tasks fully correct 9/11 9/11 9/11 8/11
Wrong claims 0 0 0 1
  • With Codex's built-in web access the plugin made no measurable difference. The baseline opened core.telegram.org / docs.ton.org itself and gave nearly identical answers.
  • With web access off, the plugin kept answers current: only the plugin runs knew Bot API 10.4 (HTML widgets) and Gram / Telegram Money / WalletTg; plain Codex declined to name the latest Bot API and described Toncoin / Wallet in Telegram / Wallet V5. A second run of those tasks gave the same split.
  • One task went the other way: on the Tolk task the plugin runs did not mention FunC (a rubric fact); plain Codex without web did, in both runs.
  • Not scored but visible: both plugin runs of the ton_proof task handle WalletTg key rotation in code, as the current docs require; the runs without the plugin do not.

What's in the PR

  • evals/tasks.json — 11 tasks (7 Telegram, 4 TON) with must / must-not rubrics checked against the official pages before the runs.
  • evals/run_codex.py — runs each task in a fresh trusted project, with uvx telegram-dev install --agent codex or without, optionally with web access disabled; --isolated-home runs Codex from a temporary CODEX_HOME so the machine's global AGENTS.md, skills and MCP servers do not leak in.
  • evals/grade.py — rubric patterns over the final answer plus manual decisions from grades.json (every answer was read; manual decisions decide all must-not claims).
  • evals/runs/2026-11-10/ — transcripts, grades.json with a note per answer, results.json.
  • evals/README.md — method, per-task table, cost and tool use, limitations (one model, small sample, grading by the author's agent, Claude Code and Cursor not measured).
  • One summary line in README.md / README.ru.md, a section in docs/validation.md, an [Unreleased] entry in CHANGELOG.md, and tests/test_evals.py (57 tests pass).

🤖 Generated with Claude Code

evals/ holds 11 Telegram and TON tasks with rubrics checked against the
official pages, a Codex CLI runner for four configurations (with and
without the plugin, with and without Codex web access), a grader that
combines rubric patterns with recorded manual decisions, and the
2026-11-10 run with transcripts.

With Codex web access the plugin made no measurable difference (45/47
rubric facts both ways). With web access off it did: 45/47 against
38/47, on Bot API 10.4 and the current TON coin and wallet names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Kay0k1
Kay0k1 merged commit 2b952ed into main Nov 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant