Answer stability round 1: 1 🔴, 6 🟡 (0 misread); read every title through both templates, hold a title to its template only on an item's branch, and fail on a config fault
This commit is contained in:
@@ -95,13 +95,13 @@ import sys
|
||||
|
||||
from score_outcomes.anchors import anchor_lines, Anchors, ANCHORS_PATH, parse_anchors
|
||||
from branch_chunks.read import branch_chunks, unsupported
|
||||
from project_config.main import commit_title, project
|
||||
from git_cli.git_repo import default_branch, full_history, git, top
|
||||
from failure import Failure
|
||||
from score_outcomes.results import file_lines, fixed_later, item_text, misreads, nearest, render, report, Result, results_of
|
||||
from release_plan.todo_table import item_details, LEVELS, risk, TOP_SCORE
|
||||
from text_files.markdown_text import listed
|
||||
from release_plan.named_code import named_files
|
||||
from project_config.main import project, title_templates
|
||||
from transcript_archive.location import project_archive
|
||||
from score_outcomes.reversals import reversal_lines
|
||||
from record_store.stores import store
|
||||
@@ -194,7 +194,10 @@ def read_results(default: str) -> list[Result] | Failure:
|
||||
if isinstance(root, Failure):
|
||||
return root
|
||||
run = functools.partial(git, cwd=root)
|
||||
chunks = branch_chunks(default, run, commit_title(None, pathlib.Path.home()))
|
||||
templates = title_templates(None, pathlib.Path.home())
|
||||
if isinstance(templates, Failure):
|
||||
return templates
|
||||
chunks = branch_chunks(default, run, templates)
|
||||
if isinstance(chunks, Failure):
|
||||
return chunks
|
||||
empty_tree = run("hash-object", "-t", "tree", os.devnull)
|
||||
|
||||
Reference in New Issue
Block a user