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.7.0.tar.gz (282.4 kB view details)

Uploaded Source

Built Distribution

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

codedna-0.7.0-py3-none-any.whl (324.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codedna-0.7.0.tar.gz
  • Upload date:
  • Size: 282.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for codedna-0.7.0.tar.gz
Algorithm Hash digest
SHA256 4e026a6dcf27560c0dcd0878e5a87c4c2b0157411e97fba06bd91ed4d4c9e721
MD5 3669274153132f8e752742cdef543166
BLAKE2b-256 6fc535eca3a0175f792e287f9cd47e005c4dbe3b472c8756fb6ffbf90ca1d5a3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for codedna-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c31e8557eef9d5fd25984579b3a945982e6a521d502b7a9fec67da6ad5714d13
MD5 424d71322c8f4a0c8b670cbd4596210b
BLAKE2b-256 0b437fcd665a0578366b0f3f8d481843c50cea11de1d963e762d88b859ed816d

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