kececinumbers 0.5.5__py3-none-any.whl → 0.5.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
kececinumbers/__init__.py CHANGED
@@ -22,7 +22,7 @@ import warnings
22
22
  # importlib.reload(kececinumbers) # F821 undefined name 'kececinumbers'
23
23
 
24
24
  # Paket sürüm numarası
25
- __version__ = "0.5.5"
25
+ __version__ = "0.5.6"
26
26
  __author__ = "Mehmet Keçeci"
27
27
  __email__ = "mkececi@yaani.com"
28
28
 
kececinumbers/_version.py CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # _version.py
3
3
 
4
- __version__ = "0.5.5"
4
+ __version__ = "0.5.6"
5
5
  __license__ = "MIT"
6
6
  __description__ = "Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets."
7
7
  __author__ = "Mehmet Keçeci"
@@ -573,7 +573,6 @@ def unified_generator(kececi_type: int, start_input_raw: str, add_input_raw: str
573
573
 
574
574
  # --- 1. Değişkenlerin Başlatılması ---
575
575
  try:
576
- # Her sayı tipi, kendi `elif` bloğu içinde kendi girdisini işler.
577
576
  if kececi_type in [TYPE_POSITIVE_REAL, TYPE_NEGATIVE_REAL]:
578
577
  current_value = int(float(start_input_raw)); add_value_typed = int(float(add_input_raw)); ask_unit = 1; use_integer_division = True
579
578
  elif kececi_type == TYPE_FLOAT:
@@ -598,7 +597,7 @@ def unified_generator(kececi_type: int, start_input_raw: str, add_input_raw: str
598
597
  print(f"ERROR: Failed to initialize type {kececi_type} with start='{start_input_raw}' and increment='{add_input_raw}': {e}")
599
598
  return []
600
599
 
601
- # --- 2. Üreteç Döngüsü ---
600
+ # --- 2. Üreteç Döngüsü (Nihai ve Hata Tekrarını Önleyen Mantık) ---
602
601
  clean_trajectory = [current_value]
603
602
  full_log = [current_value]
604
603
 
@@ -635,11 +634,15 @@ def unified_generator(kececi_type: int, start_input_raw: str, add_input_raw: str
635
634
  last_divisor_used = divisor
636
635
  break
637
636
 
638
- # --- Sonuçları Ayrı Ayrı Kaydet ---
637
+ # --- Sonuçları Ayrı ve Doğru Listelere Kaydet ---
639
638
  full_log.append(added_value)
640
639
  if modified_value is not None:
641
640
  full_log.append(modified_value)
642
- full_log.append(next_q)
641
+
642
+ # Nihai sonucu, eğer bir önceki ara adımdan farklıysa log'a ekle.
643
+ # Bu, `(12.3, ...), (12.3, ...)` tekrarını önler.
644
+ if not full_log or next_q != full_log[-1]:
645
+ full_log.append(next_q)
643
646
 
644
647
  clean_trajectory.append(next_q)
645
648
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kececinumbers
3
- Version: 0.5.5
3
+ Version: 0.5.6
4
4
  Summary: Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets
5
5
  Home-page: https://github.com/WhiteSymmetry/kececinumbers
6
6
  Author: Mehmet Keçeci
@@ -0,0 +1,10 @@
1
+ docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
2
+ kececinumbers/__init__.py,sha256=pmRMcT9yVvrBTCuAVO7wPj3JNfjBpiyRvOyX0k7XfgY,3758
3
+ kececinumbers/_version.py,sha256=6ErptlqbjXrnld6IplmBnkQKhPNfpV_qkZZLw-Bu4qY,453
4
+ kececinumbers/kececinumbers.py,sha256=v3KyAjIKOGiG2HgpSn_jwZSMald41leb0VDdBKPJ6ME,43710
5
+ kececinumbers-0.5.6.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
6
+ tests/test_sample.py,sha256=qMWUBGQtlF1gZHZ_e6Gye1vHtyNnUWH7iXK72a1y6VQ,9728
7
+ kececinumbers-0.5.6.dist-info/METADATA,sha256=acRgMTt4zHgUxpwMLG35Fg3If1AWrRsoRupoi6tOvJ4,33010
8
+ kececinumbers-0.5.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ kececinumbers-0.5.6.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
10
+ kececinumbers-0.5.6.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
2
- kececinumbers/__init__.py,sha256=VbGT1zN-iC6yCOXzc7s-SlHiXhAVcK8hPiPsITfvoKk,3758
3
- kececinumbers/_version.py,sha256=qPBH1jRK5qhQB4yEChQ3-1SJ-o_Yn15iW54otBdWF9g,453
4
- kececinumbers/kececinumbers.py,sha256=Tbp6_yUm7dAQGkppH-yUNMF3zOcuoGwtYpHrXzjN18M,43525
5
- kececinumbers-0.5.5.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
6
- tests/test_sample.py,sha256=qMWUBGQtlF1gZHZ_e6Gye1vHtyNnUWH7iXK72a1y6VQ,9728
7
- kececinumbers-0.5.5.dist-info/METADATA,sha256=I3HQULDUBwpWgtJcyc10xMW0MJrcXnl46L00sGA4_Uc,33010
8
- kececinumbers-0.5.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- kececinumbers-0.5.5.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
10
- kececinumbers-0.5.5.dist-info/RECORD,,