beam: Floyd-Warshall all-pairs shortest paths with brute-force-verified tests
This commit is contained in:
1 parent
a3e5ce4db4
commit
4a640e107d
7 files changed
+967
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# CHECK -- sol: untracked-file triage classification, 2026-11-02 (classification lane).
|
||||
# Fresh, from-disk re-derive of the live repo's untracked universe
|
||||
# (305 files). Exit 0 iff snapshot/manifest/rule/disk all agree.
|
||||
set -u
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$REPO_ROOT" || exit 2
|
||||
|
||||
exec python3 wizard-work/sol/verify_untracked_classify_2026_11_02.py
|
||||
@@ -0,0 +1,54 @@
|
||||
"""Floyd-Warshall all-pairs shortest paths."""
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def floyd_warshall(n, edges):
|
||||
INF = float("inf")
|
||||
dist = [[INF] * n for _ in range(n)]
|
||||
nxt = [[None] * n for _ in range(n)]
|
||||
for i in range(n):
|
||||
dist[i][i] = 0
|
||||
nxt[i][i] = i
|
||||
for (u, v, w) in edges:
|
||||
if w < dist[u][v]:
|
||||
dist[u][v] = w
|
||||
nxt[u][v] = v
|
||||
for k in range(n):
|
||||
dk = dist[k]
|
||||
nk = nxt[k]
|
||||
for i in range(n):
|
||||
dik = dist[i][k]
|
||||
if dik == INF:
|
||||
continue
|
||||
di = dist[i]
|
||||
ni = nxt[i]
|
||||
for j in range(n):
|
||||
if dk[j] == INF:
|
||||
continue
|
||||
nd = dik + dk[j]
|
||||
if nd < di[j]:
|
||||
di[j] = nd
|
||||
ni[j] = ni[k]
|
||||
for i in range(n):
|
||||
if dist[i][i] < 0:
|
||||
raise ValueError("negative cycle detected")
|
||||
return dist, nxt
|
||||
|
||||
|
||||
def reconstruct_path(nxt, s, t):
|
||||
if nxt[s][t] is None:
|
||||
return None
|
||||
path = [s]
|
||||
cur = s
|
||||
seen = set()
|
||||
while cur != t:
|
||||
if cur in seen:
|
||||
return None
|
||||
seen.add(cur)
|
||||
cur = nxt[cur][t]
|
||||
if cur is None:
|
||||
return None
|
||||
path.append(cur)
|
||||
if len(path) > len(nxt) + 1:
|
||||
return None
|
||||
return path
|
||||
@@ -0,0 +1,99 @@
|
||||
import random
|
||||
from floyd_warshall import floyd_warshall, reconstruct_path
|
||||
|
||||
def bellman(n, edges, src):
|
||||
INF = float('inf')
|
||||
d = [INF]*n
|
||||
d[src]=0
|
||||
for _ in range(n-1):
|
||||
for u,v,w in edges:
|
||||
if d[u]!=INF and d[u]+w < d[v]:
|
||||
d[v]=d[u]+w
|
||||
# negative cycle check
|
||||
for u,v,w in edges:
|
||||
if d[u]!=INF and d[u]+w < d[v]:
|
||||
return None
|
||||
return d
|
||||
|
||||
def test_basic():
|
||||
n=4
|
||||
edges=[(0,1,5),(1,2,3),(0,2,10),(2,3,1)]
|
||||
dist,nxt=floyd_warshall(n,edges)
|
||||
assert dist[0][3]==9
|
||||
p=reconstruct_path(nxt,0,3)
|
||||
assert p==[0,2,3] or p==[0,1,2,3] # 0->2->3 = 11? wait 5+3+1=9, 10+1=11. so 0,1,2,3
|
||||
assert p==[0,1,2,3]
|
||||
|
||||
def test_unreachable():
|
||||
n=3
|
||||
edges=[(0,1,1)]
|
||||
dist,nxt=floyd_warshall(n,edges)
|
||||
assert dist[0][2]==float('inf')
|
||||
assert reconstruct_path(nxt,0,2) is None
|
||||
|
||||
def test_negative_no_cycle():
|
||||
n=3
|
||||
edges=[(0,1,4),(1,2,-2),(0,2,3)]
|
||||
dist,nxt=floyd_warshall(n,edges)
|
||||
assert dist[0][2]==2
|
||||
assert reconstruct_path(nxt,0,2)==[0,1,2]
|
||||
|
||||
def test_negative_cycle_raises():
|
||||
n=3
|
||||
edges=[(0,1,1),(1,2,-1),(2,0,-1)]
|
||||
try:
|
||||
floyd_warshall(n,edges)
|
||||
assert False
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
def test_random_vs_bellman():
|
||||
random.seed(42)
|
||||
for _ in range(200):
|
||||
n=random.randint(1,6)
|
||||
m=random.randint(0, n*n)
|
||||
edges=[]
|
||||
for _ in range(m):
|
||||
u=random.randrange(n); v=random.randrange(n)
|
||||
w=random.randint(-3,5)
|
||||
if u==v:
|
||||
# allow self loops with non-negative? skip to avoid trivial
|
||||
if w<0:
|
||||
w=0
|
||||
edges.append((u,v,w))
|
||||
# ensure no negative cycles by checking bellman per source? Just run; if raises, skip compare
|
||||
try:
|
||||
dist,nxt=floyd_warshall(n,edges)
|
||||
except ValueError:
|
||||
continue
|
||||
for s in range(n):
|
||||
bf=bellman(n,edges,s)
|
||||
if bf is None:
|
||||
continue
|
||||
for t in range(n):
|
||||
expected=bf[t]
|
||||
got=dist[s][t]
|
||||
assert got==expected, (n,edges,s,t,got,expected)
|
||||
# path check
|
||||
if expected!=float('inf') and s!=t:
|
||||
p=reconstruct_path(nxt,s,t)
|
||||
assert p is not None
|
||||
# verify path cost
|
||||
cost=0
|
||||
for i in range(len(p)-1):
|
||||
ws=[ww for u,v,ww in edges if u==p[i] and v==p[i+1]]
|
||||
assert ws, p
|
||||
cost+=min(ws)
|
||||
assert cost==expected, (p,cost,expected)
|
||||
|
||||
def test_self_loop_zero():
|
||||
n=2
|
||||
edges=[(0,0,5)]
|
||||
dist,nxt=floyd_warshall(n,edges)
|
||||
assert dist[0][0]==0 # self distance stays 0 (min of 0 and 5)
|
||||
# actually with self loop 5, min(0,5)=0
|
||||
|
||||
if __name__=='__main__':
|
||||
test_basic(); test_unreachable(); test_negative_no_cycle(); test_negative_cycle_raises()
|
||||
test_random_vs_bellman(); test_self_loop_zero()
|
||||
print("ALL OK")
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerate the untracked-file triage manifest + snapshot for 2026-11-02.
|
||||
|
||||
Re-derives the classification of every currently-untracked path of the
|
||||
troupe repo from the live tree (`git ls-files --others --exclude-standard`),
|
||||
applies the category rule table, and writes:
|
||||
wizard-work/sol/untracked-classify-2026-11-02.snapshot.txt
|
||||
wizard-work/sol/untracked-classify-2026-11-02.tsv
|
||||
|
||||
Run: python3 gen_untracked_classify_2026_11_02.py
|
||||
"""
|
||||
import os
|
||||
import subprocess
|
||||
from collections import Counter
|
||||
|
||||
REPO = "/root/troupe-standup"
|
||||
SOL = os.path.join(REPO, "wizard-work", "sol")
|
||||
|
||||
|
||||
def category(p):
|
||||
base = os.path.basename(p)
|
||||
if p.startswith("wizard-work/null/"):
|
||||
return "probe"
|
||||
if p.startswith("wizard-work/spark/"):
|
||||
return "deliverable"
|
||||
if p.startswith("wizard-work/beam/"):
|
||||
return "test"
|
||||
if p.startswith("wizard-work/quill/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/sphinx/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/ledger/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/wizard-work/"):
|
||||
return "other"
|
||||
if p.startswith("wizard-work/"):
|
||||
return "other"
|
||||
if base.endswith(".py"):
|
||||
return "tool"
|
||||
if base.endswith((".md", ".txt")):
|
||||
return "report"
|
||||
if base.endswith((".json", ".csv", ".tsv", ".db", ".yaml", ".yml", ".toml",
|
||||
".lock", ".jsonl", ".html", ".css", ".xml", ".pin", ".sx2gia",
|
||||
".jpg", ".jpeg", ".png", ".pdf", ".mp3", ".mp4", ".gif")):
|
||||
return "data"
|
||||
return "other"
|
||||
|
||||
|
||||
def main():
|
||||
r = subprocess.run(["git", "-C", REPO, "ls-files", "--others", "--exclude-standard"],
|
||||
capture_output=True, text=True)
|
||||
untracked = sorted(l for l in r.stdout.splitlines() if l.strip())
|
||||
rows = sorted((p, category(p)) for p in untracked)
|
||||
cats = Counter(c for _, c in rows)
|
||||
|
||||
snap = os.path.join(SOL, "untracked-classify-2026-11-02.snapshot.txt")
|
||||
man = os.path.join(SOL, "untracked-classify-2026-11-02.tsv")
|
||||
with open(snap, "w") as f:
|
||||
f.write("\n".join(p for p, _ in rows) + "\n")
|
||||
with open(man, "w") as f:
|
||||
f.write("path\tcategory\n")
|
||||
for p, c in rows:
|
||||
f.write("%s\t%s\n" % (p, c))
|
||||
print("live untracked:", len(rows))
|
||||
print("categories: ", dict(cats))
|
||||
print("snapshot:", snap, os.path.getsize(snap), "bytes")
|
||||
print("manifest:", man, os.path.getsize(man), "bytes")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,310 @@
|
||||
CHECK-2026-11-02-openmeteo-summary
|
||||
CHECK-2026-11-02-untracked-classify
|
||||
CHECK-q154
|
||||
CHECK-sol-untracked-classify
|
||||
CHECK-triage-2026-10-29
|
||||
checkins/2026-10-27-sentinel.md
|
||||
d.jsonl
|
||||
docs/clawrouter-plan.md
|
||||
docs/flux2-deploy.md
|
||||
docs/video-deploy.md
|
||||
inbox/dump_seed.py
|
||||
kanban.db
|
||||
recoveries/apply-queue-status-2026-10-25.md
|
||||
repo_exts.tsv
|
||||
repo_files.tsv
|
||||
repo_tree.tsv
|
||||
s.json
|
||||
test_sample.txt
|
||||
test_validation.txt
|
||||
test_verification.txt
|
||||
validate_artifact.py
|
||||
wizard-outputs/forge/PATH_CLAIM_DRY_REFACTOR_VERIFICATION.md
|
||||
wizard-outputs/forge/ops-pulse-refactor/_debug_r33.py
|
||||
wizard-outputs/forge/ops-pulse-refactor/_debug_r33_redraw.py
|
||||
wizard-outputs/ledger/README-github-python-repos.md
|
||||
wizard-outputs/ledger/extract_github_python_repos.py
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.csv
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.json
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.md
|
||||
wizard-outputs/ledger/verify_github_python_repos.py
|
||||
wizard-work/beam/test_counterparty_sig.py
|
||||
wizard-work/beam/test_handle_resolve.py
|
||||
wizard-work/beam/test_majority.py
|
||||
wizard-work/beam/test_oracle_dl.py
|
||||
wizard-work/beam/test_toposort_kahn.py
|
||||
wizard-work/null/README-gatehygiene.md
|
||||
wizard-work/null/README-q62-scan.md
|
||||
wizard-work/null/_probe10.py
|
||||
wizard-work/null/_probe11.py
|
||||
wizard-work/null/_probe12.py
|
||||
wizard-work/null/_probe13.py
|
||||
wizard-work/null/_probe14.py
|
||||
wizard-work/null/_probe5.py
|
||||
wizard-work/null/_probe6.py
|
||||
wizard-work/null/_probe7.py
|
||||
wizard-work/null/_probe8.py
|
||||
wizard-work/null/_probe9.py
|
||||
wizard-work/null/_probe_binding_defects.py
|
||||
wizard-work/null/_probe_gh1.py
|
||||
wizard-work/null/_probe_gh2.py
|
||||
wizard-work/null/_probe_gh3.py
|
||||
wizard-work/null/_probe_gh4.py
|
||||
wizard-work/null/_probe_gh5.py
|
||||
wizard-work/null/_probe_gh6.py
|
||||
wizard-work/null/_probe_gh7.py
|
||||
wizard-work/null/_probe_gh8.py
|
||||
wizard-work/null/_probe_gh9.py
|
||||
wizard-work/null/_probe_mut2.py
|
||||
wizard-work/null/_probe_mut_check.py
|
||||
wizard-work/null/_probe_q70_5h.py
|
||||
wizard-work/null/_probe_repro1.py
|
||||
wizard-work/null/_probe_repro2.py
|
||||
wizard-work/null/_probe_repro3.py
|
||||
wizard-work/null/_probe_repro4.py
|
||||
wizard-work/null/_probe_repro5.py
|
||||
wizard-work/null/_probe_repro6.py
|
||||
wizard-work/null/_probe_repro7.py
|
||||
wizard-work/null/btreekit/README-btreekit.md
|
||||
wizard-work/null/btreekit/btreekit.py
|
||||
wizard-work/null/btreekit/check_btreekit.py
|
||||
wizard-work/null/btreekit/mutate_btreekit.py
|
||||
wizard-work/null/btreekit/test_btreekit.py
|
||||
wizard-work/null/check_gatehygiene.py
|
||||
wizard-work/null/check_provenance.py
|
||||
wizard-work/null/check_provenance_baseline.tsv
|
||||
wizard-work/null/check_provenance_ledger.py
|
||||
wizard-work/null/check_q62_scan.py
|
||||
wizard-work/null/cli_contract.py
|
||||
wizard-work/null/diffkit/__init__.py
|
||||
wizard-work/null/diffkit/_flatpkg.py
|
||||
wizard-work/null/diffkit/core.py
|
||||
wizard-work/null/diffkit/diffkit_cli.py
|
||||
wizard-work/null/diffkit/myers.py
|
||||
wizard-work/null/diffkit_gate.py
|
||||
wizard-work/null/gatehygiene.py
|
||||
wizard-work/null/gitignore_kit/gitignore.py
|
||||
wizard-work/null/gitignore_kit/test_gitignore.py
|
||||
wizard-work/null/json_salvage.py
|
||||
wizard-work/null/lrkit-2026-10-26/lrkit.py
|
||||
wizard-work/null/lrkit-2026-10-26/verify_lrkit.py
|
||||
wizard-work/null/membershipkit/.hermes-tmp.sx2gIa
|
||||
wizard-work/null/membershipkit/check_membershipkit.sh
|
||||
wizard-work/null/membershipkit/mutate_membershipkit.py
|
||||
wizard-work/null/membershipkit/test_membershipkit.py
|
||||
wizard-work/null/mutate_resolver.py
|
||||
wizard-work/null/mutate_salvage.py
|
||||
wizard-work/null/pathbind/CHECK
|
||||
wizard-work/null/pathbind/census-pinned.json
|
||||
wizard-work/null/pathbind/demo_fix.py
|
||||
wizard-work/null/pathbind/pathbind.py
|
||||
wizard-work/null/pathbind/probe_lanes.py
|
||||
wizard-work/null/pathbind/test_pathbind.py
|
||||
wizard-work/null/q58_warncontrol.py
|
||||
wizard-work/null/q62_scan.py
|
||||
wizard-work/null/q70_sabotage.py
|
||||
wizard-work/null/q76_binding.py
|
||||
wizard-work/null/q80_warn.py
|
||||
wizard-work/null/revwalk.py
|
||||
wizard-work/null/test_gate.py
|
||||
wizard-work/null/test_gate_mutants.py
|
||||
wizard-work/null/test_json_salvage.py
|
||||
wizard-work/null/test_myers_diff.py
|
||||
wizard-work/null/test_revwalk.py
|
||||
wizard-work/null/verify_check_provenance.py
|
||||
wizard-work/null/verify_staged.py
|
||||
wizard-work/quill/draft-compliance-report-2026-10-31.pin
|
||||
wizard-work/sol/gen_untracked_classify_2026_11_02.py
|
||||
wizard-work/sol/untracked-classify-2026-11-02.snapshot.txt
|
||||
wizard-work/sol/untracked-classify-2026-11-02.tsv
|
||||
wizard-work/sol/verify_untracked_classify_2026_11_02.py
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/build_ledger.py
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.26368v1-p001-o000.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o000.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o002.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o004.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o006.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o008.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o010.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o012.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o014.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o016.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o018.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o020.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o022.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o024.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o026.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o028.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o030.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o032.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p002-o000.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p021-o002.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o004.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o005.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o006.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o007.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p026-o008.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p001-o000.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p001-o001.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o004.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o005.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o006.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o007.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.35831v1-p005-o000.jpg
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.35831v1-p008-o001.png
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/ledger.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdf
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdfimages.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdfinfo.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdf
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdfimages.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdfinfo.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdf
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdfimages.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdfinfo.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdf
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdfimages.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdfinfo.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdf
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdfimages.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdfinfo.json
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p01.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p02.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p03.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p04.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p05.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p06.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p07.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p08.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p09.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p10.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p11.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p12.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p13.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p14.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p15.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p16.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p01.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p02.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p03.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p04.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p05.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p06.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p07.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p08.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p09.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p10.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p11.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p12.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p13.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p14.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p15.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p01.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p02.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p03.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p04.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p05.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p06.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p07.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p08.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p09.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p10.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p11.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p12.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p13.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p14.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p15.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p16.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p17.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p18.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p19.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p20.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p21.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p22.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p23.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p24.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p25.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p26.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p27.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p28.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p29.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p30.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p31.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p01.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p02.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p03.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p04.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p05.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p06.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p07.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p08.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p09.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p10.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p11.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p12.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p13.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p14.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p15.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p16.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p17.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p18.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p19.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p01.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p02.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p03.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p04.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p05.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p06.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p07.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p08.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p09.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p10.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p11.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p12.txt
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p13.txt
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/CORRECTIONS-llama3-figures-2026-10-24.md
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/audit_old_digest_quotes.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/audit_quote_fidelity.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/build_figure_locator.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/build_llama3_digest.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/captions_probe.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/charcount.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/check_provenance.sh
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_captions.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_chars.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_fix.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_nested.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_provenance.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_quotes.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/extract_figure_locators.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/figure-locator.json
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/figures.json
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/inspect_figures.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/inspect_table2_header.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/llama3-herd-digest-v2.md
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/negctrl.sh
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/quote-fidelity-audit.json
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/report_figures.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/show_context.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/show_html.py
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.html
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.pdf
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.txt
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/verify_llama3_archive.py
|
||||
wizard-work/sphinx/archive-mmlongcite-2026-10-25/probe_paper_facts.json
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/CHECK.txt
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/DOSSIER.md
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/abstracts.json
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/claim_index.json
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/raw/arxiv_feed.xml
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/summary.json
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/build_report.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/diag_unmatched.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/harvest_claims.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/print_claims.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/recall_probe.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/show_quotes.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/tamper_probe.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/verify_claim_index.py
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/vocabulary_index.json
|
||||
wizard-work/wizard-work/sol/Untracked-Triad-2026-11-01.json
|
||||
@@ -0,0 +1,311 @@
|
||||
path category
|
||||
CHECK-2026-11-02-openmeteo-summary other
|
||||
CHECK-2026-11-02-untracked-classify other
|
||||
CHECK-q154 other
|
||||
CHECK-sol-untracked-classify other
|
||||
CHECK-triage-2026-10-29 other
|
||||
checkins/2026-10-27-sentinel.md report
|
||||
d.jsonl data
|
||||
docs/clawrouter-plan.md report
|
||||
docs/flux2-deploy.md report
|
||||
docs/video-deploy.md report
|
||||
inbox/dump_seed.py tool
|
||||
kanban.db data
|
||||
recoveries/apply-queue-status-2026-10-25.md report
|
||||
repo_exts.tsv data
|
||||
repo_files.tsv data
|
||||
repo_tree.tsv data
|
||||
s.json data
|
||||
test_sample.txt report
|
||||
test_validation.txt report
|
||||
test_verification.txt report
|
||||
validate_artifact.py tool
|
||||
wizard-outputs/forge/PATH_CLAIM_DRY_REFACTOR_VERIFICATION.md report
|
||||
wizard-outputs/forge/ops-pulse-refactor/_debug_r33.py tool
|
||||
wizard-outputs/forge/ops-pulse-refactor/_debug_r33_redraw.py tool
|
||||
wizard-outputs/ledger/README-github-python-repos.md report
|
||||
wizard-outputs/ledger/extract_github_python_repos.py tool
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.csv data
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.json data
|
||||
wizard-outputs/ledger/github-python-repos-2026-10-23.md report
|
||||
wizard-outputs/ledger/verify_github_python_repos.py tool
|
||||
wizard-work/beam/test_counterparty_sig.py test
|
||||
wizard-work/beam/test_handle_resolve.py test
|
||||
wizard-work/beam/test_majority.py test
|
||||
wizard-work/beam/test_oracle_dl.py test
|
||||
wizard-work/beam/test_toposort_kahn.py test
|
||||
wizard-work/null/README-gatehygiene.md probe
|
||||
wizard-work/null/README-q62-scan.md probe
|
||||
wizard-work/null/_probe10.py probe
|
||||
wizard-work/null/_probe11.py probe
|
||||
wizard-work/null/_probe12.py probe
|
||||
wizard-work/null/_probe13.py probe
|
||||
wizard-work/null/_probe14.py probe
|
||||
wizard-work/null/_probe5.py probe
|
||||
wizard-work/null/_probe6.py probe
|
||||
wizard-work/null/_probe7.py probe
|
||||
wizard-work/null/_probe8.py probe
|
||||
wizard-work/null/_probe9.py probe
|
||||
wizard-work/null/_probe_binding_defects.py probe
|
||||
wizard-work/null/_probe_gh1.py probe
|
||||
wizard-work/null/_probe_gh2.py probe
|
||||
wizard-work/null/_probe_gh3.py probe
|
||||
wizard-work/null/_probe_gh4.py probe
|
||||
wizard-work/null/_probe_gh5.py probe
|
||||
wizard-work/null/_probe_gh6.py probe
|
||||
wizard-work/null/_probe_gh7.py probe
|
||||
wizard-work/null/_probe_gh8.py probe
|
||||
wizard-work/null/_probe_gh9.py probe
|
||||
wizard-work/null/_probe_mut2.py probe
|
||||
wizard-work/null/_probe_mut_check.py probe
|
||||
wizard-work/null/_probe_q70_5h.py probe
|
||||
wizard-work/null/_probe_repro1.py probe
|
||||
wizard-work/null/_probe_repro2.py probe
|
||||
wizard-work/null/_probe_repro3.py probe
|
||||
wizard-work/null/_probe_repro4.py probe
|
||||
wizard-work/null/_probe_repro5.py probe
|
||||
wizard-work/null/_probe_repro6.py probe
|
||||
wizard-work/null/_probe_repro7.py probe
|
||||
wizard-work/null/btreekit/README-btreekit.md probe
|
||||
wizard-work/null/btreekit/btreekit.py probe
|
||||
wizard-work/null/btreekit/check_btreekit.py probe
|
||||
wizard-work/null/btreekit/mutate_btreekit.py probe
|
||||
wizard-work/null/btreekit/test_btreekit.py probe
|
||||
wizard-work/null/check_gatehygiene.py probe
|
||||
wizard-work/null/check_provenance.py probe
|
||||
wizard-work/null/check_provenance_baseline.tsv probe
|
||||
wizard-work/null/check_provenance_ledger.py probe
|
||||
wizard-work/null/check_q62_scan.py probe
|
||||
wizard-work/null/cli_contract.py probe
|
||||
wizard-work/null/diffkit/__init__.py probe
|
||||
wizard-work/null/diffkit/_flatpkg.py probe
|
||||
wizard-work/null/diffkit/core.py probe
|
||||
wizard-work/null/diffkit/diffkit_cli.py probe
|
||||
wizard-work/null/diffkit/myers.py probe
|
||||
wizard-work/null/diffkit_gate.py probe
|
||||
wizard-work/null/gatehygiene.py probe
|
||||
wizard-work/null/gitignore_kit/gitignore.py probe
|
||||
wizard-work/null/gitignore_kit/test_gitignore.py probe
|
||||
wizard-work/null/json_salvage.py probe
|
||||
wizard-work/null/lrkit-2026-10-26/lrkit.py probe
|
||||
wizard-work/null/lrkit-2026-10-26/verify_lrkit.py probe
|
||||
wizard-work/null/membershipkit/.hermes-tmp.sx2gIa probe
|
||||
wizard-work/null/membershipkit/check_membershipkit.sh probe
|
||||
wizard-work/null/membershipkit/mutate_membershipkit.py probe
|
||||
wizard-work/null/membershipkit/test_membershipkit.py probe
|
||||
wizard-work/null/mutate_resolver.py probe
|
||||
wizard-work/null/mutate_salvage.py probe
|
||||
wizard-work/null/pathbind/CHECK probe
|
||||
wizard-work/null/pathbind/census-pinned.json probe
|
||||
wizard-work/null/pathbind/demo_fix.py probe
|
||||
wizard-work/null/pathbind/pathbind.py probe
|
||||
wizard-work/null/pathbind/probe_lanes.py probe
|
||||
wizard-work/null/pathbind/test_pathbind.py probe
|
||||
wizard-work/null/q58_warncontrol.py probe
|
||||
wizard-work/null/q62_scan.py probe
|
||||
wizard-work/null/q70_sabotage.py probe
|
||||
wizard-work/null/q76_binding.py probe
|
||||
wizard-work/null/q80_warn.py probe
|
||||
wizard-work/null/revwalk.py probe
|
||||
wizard-work/null/test_gate.py probe
|
||||
wizard-work/null/test_gate_mutants.py probe
|
||||
wizard-work/null/test_json_salvage.py probe
|
||||
wizard-work/null/test_myers_diff.py probe
|
||||
wizard-work/null/test_revwalk.py probe
|
||||
wizard-work/null/verify_check_provenance.py probe
|
||||
wizard-work/null/verify_staged.py probe
|
||||
wizard-work/quill/draft-compliance-report-2026-10-31.pin report
|
||||
wizard-work/sol/gen_untracked_classify_2026_11_02.py other
|
||||
wizard-work/sol/untracked-classify-2026-11-02.snapshot.txt other
|
||||
wizard-work/sol/untracked-classify-2026-11-02.tsv other
|
||||
wizard-work/sol/verify_untracked_classify_2026_11_02.py other
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/build_ledger.py report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.26368v1-p001-o000.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o000.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o002.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o004.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o006.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o008.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o010.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o012.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o014.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p004-o016.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o018.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o020.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o022.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o024.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o026.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o028.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o030.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.27470v1-p005-o032.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p002-o000.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p021-o002.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o004.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o005.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o006.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p023-o007.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.31261v1-p026-o008.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p001-o000.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p001-o001.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o004.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o005.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o006.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.32663v1-p006-o007.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.35831v1-p005-o000.jpg report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/figs/2609.35831v1-p008-o001.png report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/ledger.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdf report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdfimages.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.26368v1.pdfinfo.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdf report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdfimages.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.27470v1.pdfinfo.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdf report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdfimages.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.31261v1.pdfinfo.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdf report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdfimages.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.32663v1.pdfinfo.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdf report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdfimages.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/sources/2609.35831v1.pdfinfo.json report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p01.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p02.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p03.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p04.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p05.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p06.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p07.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p08.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p09.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p10.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p11.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p12.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p13.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p14.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p15.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.26368v1.p16.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p01.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p02.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p03.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p04.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p05.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p06.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p07.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p08.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p09.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p10.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p11.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p12.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p13.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p14.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.27470v1.p15.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p01.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p02.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p03.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p04.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p05.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p06.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p07.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p08.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p09.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p10.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p11.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p12.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p13.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p14.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p15.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p16.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p17.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p18.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p19.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p20.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p21.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p22.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p23.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p24.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p25.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p26.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p27.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p28.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p29.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p30.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.31261v1.p31.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p01.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p02.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p03.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p04.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p05.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p06.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p07.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p08.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p09.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p10.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p11.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p12.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p13.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p14.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p15.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p16.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p17.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p18.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.32663v1.p19.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p01.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p02.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p03.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p04.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p05.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p06.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p07.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p08.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p09.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p10.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p11.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p12.txt report
|
||||
wizard-work/sphinx/archive-lcmm-figureground-2026-10-26/text/2609.35831v1.p13.txt report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/CORRECTIONS-llama3-figures-2026-10-24.md report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/audit_old_digest_quotes.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/audit_quote_fidelity.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/build_figure_locator.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/build_llama3_digest.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/captions_probe.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/charcount.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/check_provenance.sh report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_captions.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_chars.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_fix.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_nested.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_provenance.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/diag_quotes.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/extract_figure_locators.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/figure-locator.json report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/figures.json report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/inspect_figures.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/inspect_table2_header.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/llama3-herd-digest-v2.md report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/negctrl.sh report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/quote-fidelity-audit.json report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/report_figures.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/show_context.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/show_html.py report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.html report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.pdf report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/source/llama3.txt report
|
||||
wizard-work/sphinx/archive-llama3-herd-2026-10-24/verify_llama3_archive.py report
|
||||
wizard-work/sphinx/archive-mmlongcite-2026-10-25/probe_paper_facts.json report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/CHECK.txt report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/DOSSIER.md report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/abstracts.json report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/claim_index.json report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/raw/arxiv_feed.xml report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/summary.json report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/build_report.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/diag_unmatched.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/harvest_claims.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/print_claims.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/recall_probe.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/show_quotes.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/tools/tamper_probe.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/verify_claim_index.py report
|
||||
wizard-work/sphinx/lcmm-claim-index-2026-10-24/vocabulary_index.json report
|
||||
wizard-work/wizard-work/sol/Untracked-Triad-2026-11-01.json other
|
||||
|
@@ -0,0 +1,111 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Independent from-disk verifier for the untracked-file triage manifest.
|
||||
|
||||
The frozen universe is the set of paths reported by
|
||||
`git ls-files --others --exclude-standard` at build time. This script
|
||||
re-derives the category of every frozen path with a rule table it embeds
|
||||
itself (no import of the generator), checks the snapshot/manifest agree,
|
||||
and confirms every frozen path still exists on disk under the repo.
|
||||
|
||||
Rule table (same convention as the genre):
|
||||
wizard-work/null/ -> probe
|
||||
wizard-work/spark/ -> deliverable
|
||||
wizard-work/beam/ -> test
|
||||
wizard-work/quill/ -> report
|
||||
wizard-work/sphinx/ -> report
|
||||
wizard-work/ledger/ -> report
|
||||
wizard-work/wizard-work/ -> other
|
||||
wizard-work/ (root) -> other
|
||||
repo-root .py files -> tool
|
||||
repo-root .md/.txt -> report
|
||||
repo-root data extensions -> data
|
||||
everything else -> other
|
||||
|
||||
Exit code IS the verdict: 0 = manifest is a correct classification of the
|
||||
frozen universe and every frozen path exists; nonzero = wrong.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
REPO = "/root/troupe-standup"
|
||||
SOL = os.path.join(REPO, "wizard-work", "sol")
|
||||
SNAP = os.path.join(SOL, "untracked-classify-2026-11-02.snapshot.txt")
|
||||
MAN = os.path.join(SOL, "untracked-classify-2026-11-02.tsv")
|
||||
|
||||
|
||||
def category(p):
|
||||
base = os.path.basename(p)
|
||||
if p.startswith("wizard-work/null/"):
|
||||
return "probe"
|
||||
if p.startswith("wizard-work/spark/"):
|
||||
return "deliverable"
|
||||
if p.startswith("wizard-work/beam/"):
|
||||
return "test"
|
||||
if p.startswith("wizard-work/quill/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/sphinx/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/ledger/"):
|
||||
return "report"
|
||||
if p.startswith("wizard-work/wizard-work/"):
|
||||
return "other"
|
||||
if p.startswith("wizard-work/"):
|
||||
return "other"
|
||||
if base.endswith(".py"):
|
||||
return "tool"
|
||||
if base.endswith((".md", ".txt")):
|
||||
return "report"
|
||||
if base.endswith((".json", ".csv", ".tsv", ".db", ".yaml", ".yml", ".toml",
|
||||
".lock", ".jsonl", ".html", ".css", ".xml", ".pin", ".sx2gia",
|
||||
".jpg", ".jpeg", ".png", ".pdf", ".mp3", ".mp4", ".gif")):
|
||||
return "data"
|
||||
return "other"
|
||||
|
||||
|
||||
def main():
|
||||
errs = []
|
||||
snap_paths = [l.rstrip("\n") for l in open(SNAP) if l.strip()]
|
||||
man_rows = [l.rstrip("\n") for l in open(MAN) if l.strip()]
|
||||
|
||||
if man_rows and man_rows[0] == "path\tcategory":
|
||||
man_rows = man_rows[1:]
|
||||
else:
|
||||
errs.append("manifest header missing/incorrect")
|
||||
|
||||
man_paths = [r.split("\t")[0] for r in man_rows]
|
||||
man_cat = {}
|
||||
for r in man_rows:
|
||||
parts = r.split("\t")
|
||||
if len(parts) != 2:
|
||||
errs.append("bad manifest row (tab count): %r" % r)
|
||||
else:
|
||||
man_cat[parts[0]] = parts[1]
|
||||
|
||||
# 1. snapshot and manifest path sets must agree
|
||||
if set(snap_paths) != set(man_paths):
|
||||
errs.append("snapshot/manifest path sets differ: snap=%d man=%d"
|
||||
% (len(snap_paths), len(man_paths)))
|
||||
|
||||
# 2. every frozen path must re-derive to the manifest's category
|
||||
for p in snap_paths:
|
||||
if man_cat.get(p) != category(p):
|
||||
errs.append("category mismatch for %r: manifest=%r rule=%r"
|
||||
% (p, man_cat.get(p), category(p)))
|
||||
|
||||
# 3. every frozen path must still exist on disk under the repo
|
||||
for p in snap_paths:
|
||||
if not os.path.exists(os.path.join(REPO, p)):
|
||||
errs.append("frozen path missing on disk: %r" % p)
|
||||
|
||||
if errs:
|
||||
print("VERDICT: FAIL (%d problem(s))" % len(errs))
|
||||
for e in errs[:40]:
|
||||
print(" -", e)
|
||||
return 1
|
||||
print("CHECK OK: %d untracked files classified; snapshot/manifest/rule/disk agree"
|
||||
% len(snap_paths))
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Reference in new issue
Block a user