تخطٍّ إلى المحتوى
أطلس الذكاء الاصطناعي

توليد الشيفرة

كتابة شيفرة قابلة للتنفيذ من وصف لغوي

الشيفرة والبرمجياتمبتدئ #33
إدخالنصشيفرة

يُعرض النص الكامل باللغة الإنجليزية؛ وقد تمت ترجمة العنوان والملخص.

ما الذي تعنيه هذه القدرة

Takes a description — write a function that reads a CSV into a list of dicts and skips blank lines — and outputs the corresponding source. Unlike code completion it targets a new feature or a whole piece of logic, usually written from scratch; unlike reasoning the deliverable is compilable, runnable code rather than a textual conclusion.

كيف تُنفَّذ تقنيًا

The base is a language model pre-trained on large code corpora; strict syntax makes code easier to verify by execution than prose, so unit-test pass signals work well as reward for reinforcement learning or rejection-sampling fine-tuning. Training and evaluation use problems with test cases such as HumanEval and MBPP, and generation can sample several candidates and discard the ones that fail.

منتجات تمثيلية

11

GPT-4o

2024
OpenAI

نموذج عام متعدد الوسائط بطبيعته، يجمع النص والصورة والصوت في مدخل واحد

نموذج مغلق
نصصورةصوتنصصوت

Claude

2023
Anthropic

نموذج محادثة عام يشتهر بسياقه الطويل ومواءمته الأمنية

نموذج مغلق
نصصورةنص

DeepSeek-V3

2024
DeepSeek

نموذج MoE بأوزان مفتوحة بـ 671 مليار معامل، ينشّط 37 مليار لكل رمز

نموذج أوزان مفتوحة
نصنص

Qwen

2023
Alibaba (Qwen)

عائلة بأوزان مفتوحة تغطي أحجامًا متعددة، مع نسخ متعددة الوسائط

نموذج أوزان مفتوحة
نصصورةنص

Gemini

2023
Google DeepMind

نموذج عام متعدد الوسائط بطبيعته، مصمم لسياقات طويلة جدًا

نموذج مغلق
نصصورةصوتفيديونص

GitHub Copilot

2021
Microsoft

يكمل الكود ويعدّله داخل المحرر بحسب السياق

أداة مجاني جزئيًا
نصشيفرةشيفرة

o3

2025
OpenAI

يستنتج مطولًا قبل الإجابة، فيقايض حساب الاستدلال بدقة أكثر ثباتًا

نموذج مغلق
نصصورةنص

Claude Code

2025
Anthropic

وكيل برمجي ينفّذ مهامًا متعددة الخطوات من الطرفية

أداة مغلق
نصشيفرةشيفرة

DeepSeek-R1

2025
DeepSeek

نموذج استدلال دُرِّب بالتعلم المعزز على سلاسل التفكير، وأوزانه متاحة تحت رخصة MIT

نموذج أوزان مفتوحة
نصنص

Devin

2024
Cognition (Devin)

وكيل برمجي مستقل يملك طرفية ومحررًا ومتصفحًا خاصًا به

تطبيق مغلق
نصشيفرةشيفرة

Cursor

2023
Anysphere (Cursor)

محرر أكواد مكتبي يعتبر المستودع بأكمله سياقًا

تطبيق مجاني جزئيًا
نصشيفرةشيفرة

المؤسسات ذات الصلة

الاستخدامات الشائعة

  • New features and utility scripts
  • Data cleaning and transformation scripts
  • Test cases and project scaffolding
  • Porting code across languages and frameworks

كيف يُقاس مدى جودتها

pass@k
Share of problems with at least one sample passing all tests out of k
Benchmark pass rate
Pass rate on fixed sets such as HumanEval
Compile and lint pass rate
Whether generated code passes the compiler and type checks as-is

الحدود والصعوبات

  • It invents libraries or methods, producing plausible interfaces that do not exist
  • Code can pass unit tests yet leave holes in edge cases, error handling and security
  • Multi-file changes are inconsistent, with call sites disagreeing with definitions

المفاهيم الكامنة وراءها