From 676b909f15e1b076c922781472b18ad4642c8839 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 19:00:05 +0100 Subject: [PATCH] Sort the imports of the re-rank and its tests --- bin/do_epic/ranking.py | 2 +- bin/do_epic/test_ranking.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/do_epic/ranking.py b/bin/do_epic/ranking.py index 438cc9ab..488d9d54 100644 --- a/bin/do_epic/ranking.py +++ b/bin/do_epic/ranking.py @@ -7,9 +7,9 @@ import ast import dataclasses import decimal -from do_epic.backend.protocol import EpicStore from plan.blockers import blockers_first from plan.todo_table import CODE_HEALTH, EPIC_GOAL, Item, REPO_GOAL, SHAPE +from do_epic.backend.protocol import EpicStore from failure import Failure from plan.goals_file import GOAL_STEP, goal_weights, Mark, numbered, ranked_goals from review_rules.comprehension_history import latest_overall diff --git a/bin/do_epic/test_ranking.py b/bin/do_epic/test_ranking.py index 10c17e91..d4e4a414 100644 --- a/bin/do_epic/test_ranking.py +++ b/bin/do_epic/test_ranking.py @@ -6,10 +6,10 @@ import unittest sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1])) -from do_epic.backend.fake import MemoryEpic -from do_epic.ranking import chain, EpicItem, ranked, reranked, RepoRanking +from do_epic.ranking import chain, EpicItem, ranked, RepoRanking, reranked from failure import Failure from plan.todo_table import Item, parse_moves +from do_epic.backend.fake import MemoryEpic EPIC_GOALS = "1. **Achieve:** Ship invoices.\n2. **Achieve:** Cut support mail.\n3. **Maintain:** Leak no customer data.\n" VOIDED = RepoRanking("## Goals\n\n**Void:** code health, since it is a one-off script.\n\n1. **Achieve:** Fast builds.\n", "", "", decimal.Decimal("7.0"))