Skip to content

feat(test-cases): add the bengali-web category (12 tasks) and a Bengali font for the base image - #400

Open
dipta007 wants to merge 2 commits into
TIGER-AI-Lab:mainfrom
dipta007:feat/bengali-web
Open

dipta007 wants to merge 2 commits into
TIGER-AI-Lab:mainfrom
dipta007:feat/bengali-web

Conversation

@dipta007

@dipta007 dipta007 commented Oct 31, 2026 •

Copy link
Copy Markdown

What does this PR do?

Adds an isolated test-cases/bengali-web/ category: 12 read-only tasks on Bengali-language websites from Bangladesh. The agent must read a Bengali interface, type Bengali text, and choose options by their Bengali labels. V1, V2, and framework code are unchanged, except for one line in Dockerfile.base.

The PR has two commits, so you can split out the font fix if you prefer:

  • build(docker): add fonts-noto-core to the base image
  • feat(test-cases): add the bengali-web category with 12 tasks

Font fix

clawbench-base had no Bengali font (fc-list :lang=bn returned 0 fonts), so Bengali text rendered as empty boxes in the browser and in screenshots. This PR adds fonts-noto-core next to the existing fonts-noto-color-emoji and fonts-noto-cjk. After the change, Bengali, Hindi, Arabic, Thai, Hebrew, and Tamil all have fonts. The image grows from 1.30 GB to 1.34 GB.

bn.wikipedia.org in the container, before and after the change:

Before After
bn.wikipedia.org before: Bengali text shows as empty boxes bn.wikipedia.org after: Bengali text renders

Tasks and intercepted requests

The suite README has the full table. Each task ends at one request:

Task Intercepted request
bnwiki_article_history_100 GET https://bn.wikipedia.org/w/index.php (history of রবীন্দ্রনাথ ঠাকুর)
bnwiki_padma_template_search GET https://bn.wikipedia.org/w/index.php (বিশেষ:অনুসন্ধান)
wikisource_tagore_incomplete_shortest GET https://bn.wikisource.org/wiki/বিশেষ:IndexPages
banglapedia_padma_article GET https://bn.banglapedia.org/index.php (বিশেষ:অনুসন্ধান)
accessible_dictionary_bn_bn_nodi GET https://accessibledictionary.gov.bd/bengali-to-bengali.php
bdportal_passport_title_sort GET https://bangladesh.gov.bd/views/search
mygov_birth_registration_search GET https://www.mygov.bd/search-result
bdnews24_health_search_sep2026 GET https://bangla.bdnews24.com/archive/fetch
prothomalo_ilish_business_latest GET https://www.prothomalo.com/route-data.json
daraz_panjabi_price_sort GET https://www.daraz.com.bd/catalog/
chaldal_egg_search POST https://catalog.chaldal.com/searchPersonalized
bdjobs_teacher_chattogram GET https://api.bdjobs.com/Jobs/api/JobSearch/GetJobSearch

Human time: not measured. Most tasks are a search plus one to four filter choices.

Corpus

  • v2
  • v1
  • both
  • not applicable (new isolated category, like environmental-observation)

Test plan

  • Live: all 12 tasks ended with eval_matched in clawbench-base built from this branch. A script drove Chromium with CDP mouse and keyboard events, starting from each site's home page.
  • Negative live runs: one per task, with one choice wrong. None was intercepted.
  • Offline: 219 checks (41 accept, 178 reject) with _const_fields_match and _parse_body taken from server.py.
  • validate-task schema check: 12 of 12 pass. scripts/ci/check_markdown_links.py passes. git diff --check is clean. CHANGELOG has Unreleased entries.

Limits:

  • Scripted UI runs, not human runs.
  • The container was started with the same settings as docker_run_human, not through clawbench-run, which creates a PurelyMail account. No model runs, and no Stage 2 judge.
  • Language toggles on Daraz, Chaldal, and bdjobs do not appear in the request, so the schema cannot check them.
  • Live-site risks are listed in the README.

Related issues

Proposal and questions: #399

Built with Claude Code under my direction. I am a native Bengali speaker. I checked every instruction and Bengali label, and I take responsibility for the tasks.

The base image had no Bengali font (fc-list :lang=bn returned nothing),
so Bengali, Devanagari, Arabic, and Thai pages rendered as empty boxes
in the browser and in its screenshots.

This branch has not been deployed

No deployments
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