kececinumbers 0.5.5__tar.gz → 0.5.6__tar.gz
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-0.5.5/kececinumbers.egg-info → kececinumbers-0.5.6}/PKG-INFO +1 -1
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers/__init__.py +1 -1
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers/_version.py +1 -1
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers/kececinumbers.py +7 -4
- {kececinumbers-0.5.5 → kececinumbers-0.5.6/kececinumbers.egg-info}/PKG-INFO +1 -1
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/pyproject.toml +1 -1
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/LICENSE +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/MANIFEST.in +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/README.md +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/docs/conf.py +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers.egg-info/SOURCES.txt +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers.egg-info/dependency_links.txt +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers.egg-info/requires.txt +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/kececinumbers.egg-info/top_level.txt +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/setup.cfg +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/setup.py +0 -0
- {kececinumbers-0.5.5 → kececinumbers-0.5.6}/tests/test_sample.py +0 -0
@@ -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ı
|
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
|
-
|
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
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|