tallyfy 1.0.8__py3-none-any.whl → 1.0.9__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.
Potentially problematic release.
This version of tallyfy might be problematic. Click here for more details.
- tallyfy/template_management/analysis.py +9 -3
- tallyfy/template_management/automation.py +1 -1
- tallyfy/template_management/health_assessment.py +40 -10
- {tallyfy-1.0.8.dist-info → tallyfy-1.0.9.dist-info}/METADATA +2 -2
- {tallyfy-1.0.8.dist-info → tallyfy-1.0.9.dist-info}/RECORD +8 -8
- {tallyfy-1.0.8.dist-info → tallyfy-1.0.9.dist-info}/WHEEL +0 -0
- {tallyfy-1.0.8.dist-info → tallyfy-1.0.9.dist-info}/licenses/LICENSE +0 -0
- {tallyfy-1.0.8.dist-info → tallyfy-1.0.9.dist-info}/top_level.txt +0 -0
|
@@ -514,15 +514,21 @@ class TemplateAnalysis(TemplateManagerBase):
|
|
|
514
514
|
raise TallyfyError("Unable to retrieve template data for kickoff field analysis")
|
|
515
515
|
|
|
516
516
|
template_title = template_data.get('title', '').lower()
|
|
517
|
-
|
|
517
|
+
try:
|
|
518
|
+
template_summary = template_data.get('summary', '').lower()
|
|
519
|
+
except:
|
|
520
|
+
template_summary = ''
|
|
518
521
|
steps = template_data.get('steps', [])
|
|
519
522
|
existing_prerun = template_data.get('prerun', [])
|
|
520
523
|
|
|
521
524
|
# Collect all step content for analysis
|
|
522
525
|
all_step_content = ""
|
|
523
|
-
for step in steps:
|
|
526
|
+
for step in steps['data']:
|
|
524
527
|
step_title = step.get('title', '').lower()
|
|
525
|
-
|
|
528
|
+
try:
|
|
529
|
+
step_summary = step.get('summary', '').lower()
|
|
530
|
+
except:
|
|
531
|
+
step_summary = ''
|
|
526
532
|
all_step_content += f" {step_title} {step_summary}"
|
|
527
533
|
|
|
528
534
|
combined_content = f"{template_title} {template_summary} {all_step_content}"
|
|
@@ -360,7 +360,7 @@ class TemplateAutomation(TemplateManagerBase):
|
|
|
360
360
|
steps = template_data.get('steps', [])
|
|
361
361
|
|
|
362
362
|
# Create step lookup
|
|
363
|
-
step_lookup = {step.get('id'): step.get('title', 'Unknown') for step in steps}
|
|
363
|
+
step_lookup = {step.get('id'): step.get('title', 'Unknown') for step in steps['data']}
|
|
364
364
|
|
|
365
365
|
analysis = {
|
|
366
366
|
'redundant_rules': [],
|
|
@@ -165,9 +165,12 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
165
165
|
score += 3
|
|
166
166
|
else:
|
|
167
167
|
score += 5
|
|
168
|
-
|
|
168
|
+
|
|
169
169
|
# Check summary/description quality (5 points)
|
|
170
|
-
|
|
170
|
+
try:
|
|
171
|
+
summary = template_data.get('summary', '').strip()
|
|
172
|
+
except:
|
|
173
|
+
summary = None
|
|
171
174
|
if not summary:
|
|
172
175
|
issues.append({
|
|
173
176
|
'category': 'metadata',
|
|
@@ -189,7 +192,11 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
189
192
|
score += 5
|
|
190
193
|
|
|
191
194
|
# Check guidance quality (5 points)
|
|
192
|
-
|
|
195
|
+
try:
|
|
196
|
+
guidance = template_data.get('guidance', '').strip()
|
|
197
|
+
except:
|
|
198
|
+
guidance = None
|
|
199
|
+
|
|
193
200
|
if not guidance:
|
|
194
201
|
issues.append({
|
|
195
202
|
'category': 'metadata',
|
|
@@ -243,8 +250,15 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
243
250
|
very_short_titles = 0
|
|
244
251
|
|
|
245
252
|
for step in steps:
|
|
246
|
-
|
|
247
|
-
|
|
253
|
+
try:
|
|
254
|
+
step_title = step.get('title', '').strip()
|
|
255
|
+
except:
|
|
256
|
+
step_title = None
|
|
257
|
+
|
|
258
|
+
try:
|
|
259
|
+
step_summary = step.get('summary', '').strip()
|
|
260
|
+
except:
|
|
261
|
+
step_summary = None
|
|
248
262
|
|
|
249
263
|
# Check title clarity
|
|
250
264
|
if not step_title:
|
|
@@ -371,9 +385,22 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
371
385
|
# Check if steps might need forms
|
|
372
386
|
form_keywords = ['input', 'enter', 'provide', 'fill', 'complete', 'details', 'information']
|
|
373
387
|
steps_needing_forms = 0
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
388
|
+
for step in steps['data']:
|
|
389
|
+
try:
|
|
390
|
+
step_title = step.get('title', '').lower()
|
|
391
|
+
if not step_title:
|
|
392
|
+
step_title = ""
|
|
393
|
+
except:
|
|
394
|
+
step_title = ""
|
|
395
|
+
|
|
396
|
+
try:
|
|
397
|
+
step_summary = step.get('summary', '').lower()
|
|
398
|
+
if not step_summary:
|
|
399
|
+
step_summary = ""
|
|
400
|
+
except:
|
|
401
|
+
step_summary = ""
|
|
402
|
+
|
|
403
|
+
step_text = (step_title + " " + step_summary).lower()
|
|
377
404
|
if any(keyword in step_text for keyword in form_keywords):
|
|
378
405
|
steps_needing_forms += 1
|
|
379
406
|
|
|
@@ -496,7 +523,10 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
496
523
|
unreasonable_deadlines = 0
|
|
497
524
|
|
|
498
525
|
for step in steps:
|
|
499
|
-
|
|
526
|
+
try:
|
|
527
|
+
deadline = step.get('deadline')
|
|
528
|
+
except:
|
|
529
|
+
deadline = None
|
|
500
530
|
if deadline:
|
|
501
531
|
steps_with_deadlines += 1
|
|
502
532
|
|
|
@@ -597,7 +627,7 @@ class TemplateHealthAssessment(TemplateManagerBase):
|
|
|
597
627
|
score += 2
|
|
598
628
|
else:
|
|
599
629
|
score += 3
|
|
600
|
-
|
|
630
|
+
steps = steps['data']
|
|
601
631
|
# Check step positioning and logic (5 points)
|
|
602
632
|
positions = [step.get('position', 0) for step in steps]
|
|
603
633
|
unique_positions = len(set(positions))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tallyfy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.9
|
|
4
4
|
Summary: A comprehensive Python SDK for interacting with the Tallyfy API
|
|
5
5
|
Home-page: https://github.com/tallyfy/tallyfy-sdk
|
|
6
6
|
Author: Tallyfy
|
|
@@ -738,5 +738,5 @@ For bugs, feature requests, or questions:
|
|
|
738
738
|
2. Contact us at: support@tallyfy.com
|
|
739
739
|
---
|
|
740
740
|
|
|
741
|
-
**Version:** 1.0.
|
|
741
|
+
**Version:** 1.0.9
|
|
742
742
|
**Last Updated:** 2025
|
|
@@ -15,17 +15,17 @@ tallyfy/task_management/creation.py,sha256=reaiAFWH7GIlNLTzGwqgJX5iXbHUROXh5oFgE
|
|
|
15
15
|
tallyfy/task_management/retrieval.py,sha256=fWsED0K_DnDunQl-Y2B7uIjtqz47LdP4oLhrXAUNKYA,7926
|
|
16
16
|
tallyfy/task_management/search.py,sha256=2bFMIsnjq-sE8inj0EP_bK_Ituuq-59bcq9cYedDEmw,7404
|
|
17
17
|
tallyfy/template_management/__init__.py,sha256=9ID-EHNIyucko5TBWagVSp3FKi9ADjNfRMWyT7rPSAo,3674
|
|
18
|
-
tallyfy/template_management/analysis.py,sha256=
|
|
19
|
-
tallyfy/template_management/automation.py,sha256=
|
|
18
|
+
tallyfy/template_management/analysis.py,sha256=jYkTL7trZmNkQveTuvUChq1nA8VAIdm1omTDOHoPSrU,51721
|
|
19
|
+
tallyfy/template_management/automation.py,sha256=Qkz-JXl_IUzfGrtt7cME-XMTDF_a71UshcssUylXW-s,19817
|
|
20
20
|
tallyfy/template_management/base.py,sha256=wP18jd5T06QwCV2rw4FhSDQCEKlAMwbSg5ffd8vSDVw,2031
|
|
21
21
|
tallyfy/template_management/basic_operations.py,sha256=RzZSvGJ8Q0fcF_c6Vk_PrFhp0rGJ_UUMd3YfxgY5AwE,18888
|
|
22
|
-
tallyfy/template_management/health_assessment.py,sha256=
|
|
22
|
+
tallyfy/template_management/health_assessment.py,sha256=1Kan_mfQ2cGPyoiASQwcfN_Wre5CMLOjj4sptxJfBa4,32877
|
|
23
23
|
tallyfy/user_management/__init__.py,sha256=LTyxJ7i4JrsUMf8QMdtrLdwbgtv8_mmMi8eUmo5Yre8,2658
|
|
24
24
|
tallyfy/user_management/base.py,sha256=jD5jOAu3y0K7fumSH65t9zFRDLriOV-YYPZSuJzYuTE,4681
|
|
25
25
|
tallyfy/user_management/invitation.py,sha256=Ss1Gtii-sS02GuY-XUPYi7dHwAKWMkaG_tRFVOfS_2Q,11395
|
|
26
26
|
tallyfy/user_management/retrieval.py,sha256=M5xFlY2IPIR2b5TUbF0YF2Cm12Mdnu5ZU1iahBFI1vA,11696
|
|
27
|
-
tallyfy-1.0.
|
|
28
|
-
tallyfy-1.0.
|
|
29
|
-
tallyfy-1.0.
|
|
30
|
-
tallyfy-1.0.
|
|
31
|
-
tallyfy-1.0.
|
|
27
|
+
tallyfy-1.0.9.dist-info/licenses/LICENSE,sha256=8HUsrXnc3l2sZxhPV9Z1gYinq76Q2Ym7ahYJy57QlLc,1063
|
|
28
|
+
tallyfy-1.0.9.dist-info/METADATA,sha256=qMiQ4yKGlRuNPYpGeqn0sUSjP4MfvNJ99g_N4zIPYSA,26359
|
|
29
|
+
tallyfy-1.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
30
|
+
tallyfy-1.0.9.dist-info/top_level.txt,sha256=yIycWbR61EZJD0MYRPwUQjOS2XZw5B5jCWx1IP73KcM,8
|
|
31
|
+
tallyfy-1.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|