Skip to content

docs: fix incorrect import path for MMLUTask in benchmarks docs#2427

Open
YassinNouh21 wants to merge 1 commit intoconfident-ai:mainfrom
YassinNouh21:fix/benchmarks-docs-import-path
Open

docs: fix incorrect import path for MMLUTask in benchmarks docs#2427
YassinNouh21 wants to merge 1 commit intoconfident-ai:mainfrom
YassinNouh21:fix/benchmarks-docs-import-path

Conversation

@YassinNouh21
Copy link

Summary

  • Fixed incorrect import path from deepeval.benchmarks.task import MMLUTask to from deepeval.benchmarks.tasks import MMLUTask in benchmarks-introduction.mdx
  • Updated benchmarks-MMLU.mdx to use the centralized tasks module for consistency

Problem

The documentation showed an import path that doesn't exist:

from deepeval.benchmarks.task import MMLUTask  # ModuleNotFoundError

Solution

Use the correct centralized tasks module:

from deepeval.benchmarks.tasks import MMLUTask  # Works correctly

Fixes #1284

Fix the import path from `deepeval.benchmarks.task` to
`deepeval.benchmarks.tasks` in benchmarks-introduction.mdx.

Also update benchmarks-MMLU.mdx to use the centralized tasks
module for consistency with other benchmark documentation.

Fixes confident-ai#1284
@vercel
Copy link

vercel bot commented Jan 11, 2026

@YassinNouh21 is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 11, 2026

PR author is not in the allowed authors list.

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.

Benchmarks introduction does setup wrong

1 participant