Skip to content

Commit

Permalink
refactor: remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiishme committed Apr 22, 2024
1 parent 7fa931f commit 0fa5027
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions school_center.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ def allocate_to_centers(centers: List[Dict[str, str]], school: Dict[str, str], t

# per_center = math.ceil(to_allot / min(calc_num_centers(to_allot), len(centers_for_school)))
to_allot, allocated_centers = allocate_to_centers(centers_for_school, s, to_allot, centers_remaining_cap)

if int(s['scode']) == 27159:
logger.info('FOR 27159:::::::')
logger.info(to_allot)
logger.info(allocated_centers)

if to_allot > 0: # try again with relaxed constraints and more capacity at centers
expanded_centers = centers_within_distance(s, centers, ABS_DISTANCE_THRESHOLD)
Expand Down

0 comments on commit 0fa5027

Please sign in to comment.