Skip to main content

AI kod şeffaflık aracı — her commit'te AI yazım oranını ve anlama skorunu ölçer

Project description

🧬 CodeDNA — AI Kod Şeffaflık Aracı

Her commit'te hangi kodun AI tarafından yazıldığını tespit eden, geliştiricinin o kodu gerçekten anlayıp anlamadığını ölçen ve takım genelinde "anlama borcu" haritası çıkaran CLI aracı.

Kurulum

# Geliştirme ortamı için
uv pip install -e .

# veya
pip install codedna

Kullanım

# Git hook'u kur ve veritabanını oluştur
codedna init

# Tüm repoyu tara
codedna scan

# Son commit skorunu göster
codedna status

# Geçmiş commit skorlarını listele
codedna history

# Hook'u kaldır
codedna uninstall

Nasıl Çalışır?

codedna scan komutu her desteklenen dosyayı (*.py, *.js, *.ts, *.jsx, *.tsx) analiz eder:

Metrik Açıklama
comment_ratio > 0.3 AI kodu genelde aşırı yorum yazar → +0.20
avg_function_length > 50 AI büyük fonksiyon blokları üretir → +0.15
single_commit_ratio > 0.7 Toplu yapıştırma işareti → +0.30
Yüksek karmaşıklık + tek commit AI imzası → +0.25

Gereksinimler

  • Python 3.10+
  • Git kurulu olmalı

test

test2

test4

test5

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codedna-0.2.0.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codedna-0.2.0-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

File details

Details for the file codedna-0.2.0.tar.gz.

File metadata

  • Download URL: codedna-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for codedna-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8698802c9160e8400c998ab4c05fc227e5c8469b48df24f203a5fbac28791176
MD5 9b38402936134c3bf8fbcfd1470b4688
BLAKE2b-256 4f17bd25e773e2af526e191ed3e0fa6747f6179bce4d99638ca116bf752d1bd8

See more details on using hashes here.

File details

Details for the file codedna-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: codedna-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 75.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for codedna-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc70fb3cd8d0296344412406253da3ab60c5b8a5f569277930cbc40cdce26b78
MD5 a65b32159630248e547fb1dd6491b127
BLAKE2b-256 fe0d3ce383d1ba288acd7e2dbfb55269ab0966e533d9bfcc70a03e9686c3fa8f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page