Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natural Sort #565

Open
3 tasks
shon-button opened this issue Feb 15, 2025 · 1 comment
Open
3 tasks

Natural Sort #565

shon-button opened this issue Feb 15, 2025 · 1 comment

Comments

@shon-button
Copy link

Description of the Tech Debt

Possibly use django-naturalsort to sort in human-friendly order.

Image

from naturalsort import natural_sort_key

available_facilities = (
    FacilityDesignatedOperationTimeline.objects.filter(operation_id=operation_id)
    .distinct()
    .values('facility_id', 'facility__name', 'end_date')
)

# Sort using natural sort
available_facilities = sorted(available_facilities, key=lambda x: natural_sort_key(x['facility__name']))

Tech Debt Triage

The purpose of our technical debt triage process is to analyze technical debt to determine risk level of the technical debt and the value in tackling that technical debt.

Risk Value Scoring:

Level Value
High
3
Medium
2
Low
1
Technical Debt - Risk Types Level Value
Business Area Risk - Risk of business area visibility / damage to user experience 0 0
Developer Fault Risk - How likely will this tech debt cause a future error related to coding on top of it 0 0
System Fault Risk - Risk of system errors or application downtime 0 0
Time Scale Risk - Compound risk effect if left alone. How much more difficult to fix or dangerous will this become over time? 0 0
Time Sink Risk - How much will this tech debt slow the development process down 0 0
TOTAL SCORE:
0 0

Development Checklist:

  • Checklist item
  • Checklist item
  • Checklist item
@NewAchiever
Copy link

Hello,
Is this issue resolved? If not, can you assign it to me?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants