From 06bfdfe861633852473a056eb67d1733064deae2 Mon Sep 17 00:00:00 2001 From: frindle <69526085+frindle@users.noreply.github.com> Date: Tue, 1 Dec 2026 14:18:19 -0800 Subject: [PATCH] Comments and model prompts say "the owner" instead of a first name The public repo named its owner in 46 comments, docstrings and prompt strings. Each now says "the owner"; the HEVC test checks the reworded policy text. The glacier test's sample share name drops the name too (the mover still skips it by the "timemachine" prefix). --- arr-webhook.py | 28 ++++++++++++++-------------- deluge_trim.py | 8 ++++---- llm_advisor.py | 6 +++--- llm_decide.py | 26 +++++++++++++------------- supersede_policy.py | 2 +- test_deluge_trim.py | 2 +- test_hard_rules.py | 2 +- test_hevc_always.py | 4 ++-- test_llm_chain.py | 2 +- test_no_speed_limit_tampering.py | 2 +- test_radarr_upgrade_label.py | 2 +- test_seed_earners.py | 2 +- tiering/glacier-mover.sh | 2 +- tiering/offload/tests/test_hotset.py | 2 +- tiering/tests/test_glacier.sh | 2 +- 15 files changed, 46 insertions(+), 46 deletions(-) diff --git a/arr-webhook.py b/arr-webhook.py index 720cae6..608fcc3 100644 --- a/arr-webhook.py +++ b/arr-webhook.py @@ -636,7 +636,7 @@ def from_remote_client(data): # (/run-stalled-seeds, dry-run by default) still works regardless of this # flag — this only gates the automatic weekly background removal. STALL_AUTOMATION_ENABLED = os.environ.get('STALL_AUTOMATION_ENABLED', 'false').lower() in ('1', 'true', 'yes') -# Upgrade-lane cap. Penn, 2026-11-15: first "cap the backlog at 30 torrents", +# Upgrade-lane cap. The owner, 2026-11-15: first "cap the backlog at 30 torrents", # then "remove the standing queue in deluge and just add an upgrade when one # finishes". So the default is Deluge's 10 active-download slots: untouched # upgrade torrents beyond it are dropped (anything with progress is always @@ -647,7 +647,7 @@ def from_remote_client(data): # torrents on these labels that have seeded SEED_RETIRE_DAYS, in a swarm with # more than SEED_RETIRE_MIN_SWARM other seeds, stop seeding (download copy # deleted only when the library verifiably holds every video). 0 days = off. -# 180 matches Penn's earlier six-month target for unseeding (STALL_SEED_MIN_DAYS). +# 180 matches the owner's earlier six-month target for unseeding (STALL_SEED_MIN_DAYS). SEED_RETIRE_DAYS = int(os.environ.get('SEED_RETIRE_DAYS', '180')) SEED_RETIRE_MIN_SWARM = int(os.environ.get('SEED_RETIRE_MIN_SWARM', str(STALL_MIN_SWARM_SEEDS))) SEED_RETIRE_PER_RUN = int(os.environ.get('SEED_RETIRE_PER_RUN', '100')) @@ -657,16 +657,16 @@ def from_remote_client(data): # updates two hours apart retired two batches of 100). SEED_RETIRE_STATE = os.environ.get('SEED_RETIRE_STATE', '/data/seed_retire_state.json') SEED_RETIRE_FIRST_DELAY = 900 -# Idle rule (Penn, 11-15: "can we do variable based on seeding activity?"): a +# Idle rule (the owner, 11-15: "can we do variable based on seeding activity?"): a # managed torrent that has uploaded nothing for SEED_IDLE_DAYS retires once it # has seeded SEED_IDLE_MIN_DAYS. One still uploading keeps seeding at any age -# (Penn, 11-15: "if its seeding actively i want to leave it"): with the idle +# (the owner, 11-15: "if its seeding actively i want to leave it"): with the idle # rule on, SEED_RETIRE_DAYS only puts idle torrents past it first in line. The # idle floor never drops below SEED_DAYS (remove_torrent would only defer it). # 0 idle days = idle rule off (then SEED_RETIRE_DAYS alone retires by age). SEED_IDLE_DAYS = int(os.environ.get('SEED_IDLE_DAYS', '14')) SEED_IDLE_MIN_DAYS = max(int(os.environ.get('SEED_IDLE_MIN_DAYS', str(SEED_DAYS))), SEED_DAYS) -# Earner set (Penn, 11-21: keep the top earners seeding, yes). The labeled torrents +# Earner set (the owner, 11-21: keep the top earners seeding, yes). The labeled torrents # with the most total_uploaded are never retired or unseeded as stalled. 0 = off. SEED_KEEP_TOP_EARNERS = int(os.environ.get('SEED_KEEP_TOP_EARNERS', '30')) UPGRADE_LANE_LABELS = (SONARR_UPG_LABEL, RADARR_UPG_LABEL, SONARR_UPG_PRIORITY_LABEL, RADARR_UPG_PRIORITY_LABEL) @@ -1207,7 +1207,7 @@ def _torrent_inflight_state(torrent_hash): def release_inflight_superseded(torrent_hash, state, progress, resume=True): """A superseded torrent that has NOT finished must be allowed to finish, - never removed (Penn's policy: the label is `superseded`, lift the speed + never removed (the owner's policy: the label is `superseded`, lift the speed limit, let it download to 100% and seed; cleanup_superseded reaps it after SEED_DAYS). The radarr-upgrade/sonarr-upgrade lanes carry a per-torrent max_download_speed that PERSISTS after relabel (the `superseded` label has @@ -1562,7 +1562,7 @@ def _arr_tracker_of(local_path, cache): def rar_set_action(rset, cache=None, contents=None): - """Unpack or delete one library RAR set (Penn, 2026-11-07). + """Unpack or delete one library RAR set (the owner, 2026-11-07). -> {'action': 'unpack'|'delete'|'skip'|'error', 'reason': str, 'arr': title} delete: the owning Sonarr series has a file for every episode in the set, or the owning Radarr movie has a file. @@ -3564,7 +3564,7 @@ def cleanup_stalled_seeds(dry_run=False): if prev is None: continue if h in earners: - continue # top earner: keeps seeding (Penn, 11-21) + continue # top earner: keeps seeding (the owner, 11-21) if info.get('seeding_time', 0) < STALL_SEED_MIN_DAYS * 86400: continue gained = uploaded - prev.get('total_uploaded', 0) @@ -6387,7 +6387,7 @@ def monthly_search_scheduler(): key so neither starves), and no pass starts once WEEKLY_UPGRADE_QUOTA confirmed upgrades have been queued in the rolling 7-day window. - With the lane cap on, this is a refill, not a standing queue (Penn, + With the lane cap on, this is a refill, not a standing queue (the owner, 2026-11-15): a pass runs only while the lane has free slots, and it searches at most that many items, so a finished upgrade frees a slot and the next poll adds one. If Deluge can't report the lane, the poll is @@ -6575,7 +6575,7 @@ def retire_old_seeds(dry_run=False): (deluge_trim.seed_retire_picks): seeded SEED_RETIRE_DAYS ('age'), or seeded SEED_IDLE_MIN_DAYS with no upload for SEED_IDLE_DAYS ('idle'). At most SEED_RETIRE_PER_RUN per run, aged-out first. Files are always kept - (11-15, Penn: "we're linking them, so we need to keep them"): Sonarr and + (11-15, the owner: "we're linking them, so we need to keep them"): Sonarr and Radarr import by hardlink (their logs show it), so deleting the download copy frees no space and only loses the chance to seed it again. The link count can't tell a hardlink from a copy here (shfs on /mnt/user always @@ -6677,7 +6677,7 @@ def seed_retire_scheduler(): def refresh_metadata_on_grab(data, source): """Best-effort metadata refresh on Grab. - Penn hit this live: an episode downloaded but Sonarr refused to import + The owner hit this live: an episode downloaded but Sonarr refused to import because the episode title in its DB was still 'TBA' (metadata never refreshed after grab). Pulling fresh metadata at grab time via a RefreshSeries/RefreshMovie command fixes it. Best-effort only — any @@ -8315,7 +8315,7 @@ def _find_torrent_by_filepath(torrents, filepath): return None, None -# Check before the duplicate cleanup removes a copy (Penn 11-15: have the model confirm correct matches). +# Check before the duplicate cleanup removes a copy (the owner 11-15: have the model confirm correct matches). # Code guards (llm_decide.dupe_conflict: episodes, years, edition tags, running times) keep both files in every # mode. Then the model (kind dupe_confirm, free layers only) is asked whether the two files are the same media: # LLM_DUPE_CONFIRM = off | shadow (default: ask and log, change nothing) | enforce (remove a copy only on a @@ -8354,7 +8354,7 @@ def _dupe_facts(entry, keeper, loser): return facts -# Pairs a check kept, or (in shadow) the model doubted, listed in the report so Penn can look at each one +# Pairs a check kept, or (in shadow) the model doubted, listed in the report so the owner can look at each one # ("never keeping dupes of the exact same media": a kept pair is not left quietly). Capped per run. DUPE_REVIEW_MAX = 200 @@ -8527,7 +8527,7 @@ def plex_dupe_fix(): }) continue media_list = present - # Score each Media: (HEVC, resolution_rank, size_gb). Higher wins. Penn always keeps HEVC over any + # Score each Media: (HEVC, resolution_rank, size_gb). Higher wins. The owner always keeps HEVC over any # other codec, even a higher-resolution one. res_rank = {'4k': 4, '2160': 4, '1080': 3, '720': 2, '576': 1, '480': 1, None: 0} def score(m): diff --git a/deluge_trim.py b/deluge_trim.py index 3e78616..77ede0c 100644 --- a/deluge_trim.py +++ b/deluge_trim.py @@ -3,7 +3,7 @@ torrents, calls these, and does the removals through remove_torrent (which keeps its own seed floor and library guards). -Upgrade-lane cap (added 2026-11-15 at Penn's request: "cap the backlog at 30 +Upgrade-lane cap (added 2026-11-15 at the owner's request: "cap the backlog at 30 torrents"). The lane is every unfinished torrent carrying an upgrade label. A torrent that has downloaded anything is never dropped: it may already be announced with data, so dropping it could leave a partial on a tracker. Only @@ -17,7 +17,7 @@ in a swarm that already has more than `min_swarm` other seeds, has paid its dues (TorrentLeech's hit-and-run rule is 10 days or 1:1) and can stop seeding. -Idle rule (Penn, 11-15: "can we do variable based on seeding activity?"). A +Idle rule (the owner, 11-15: "can we do variable based on seeding activity?"). A torrent nobody has downloaded from in `idle_days` retires as soon as it has seeded `idle_min_days`, instead of waiting out `min_days`; a torrent that is still uploading keeps seeding until `min_days`. Activity is Deluge's @@ -94,7 +94,7 @@ def seed_retire_rule(t, labels, min_days, min_swarm, idle_days=0, idle_min_days= the idle rule. Unknown seed time, swarm size or activity never qualifies. With the idle rule on, a torrent still uploading is never retired, however - long it has seeded (Penn, 11-15: "if its seeding actively i want to leave + long it has seeded (the owner, 11-15: "if its seeding actively i want to leave it, just torrents that aren't doing anything"): the age rule then only puts idle torrents that are past min_days first in line.""" if (t.get('label') or '') not in labels: @@ -122,7 +122,7 @@ def top_earners(torrents, n, labels=None): 0), ties broken by hash. labels=None means any non-empty label; unlabeled torrents never count. n <= 0 gives none. - Penn, 11-21: keep the top earners seeding (ratio and bonus points), on top + The owner, 11-21: keep the top earners seeding (ratio and bonus points), on top of the 21-day minimum that remove_torrent's SEED_DAYS floor enforces.""" if not n or n <= 0: return frozenset() diff --git a/llm_advisor.py b/llm_advisor.py index 5faca37..ee3b3c1 100644 --- a/llm_advisor.py +++ b/llm_advisor.py @@ -96,7 +96,7 @@ # Per-kind answer lifetime in hours (LLM_ANSWER_TTL_H_ overrides). Two files' names don't change, so a # dupe answer holds for a month; the rest use LLM_ANSWER_TTL_H. ANSWER_TTL_H = {'dupe_confirm': 720.0, 'torrent_error': 24.0, 'unregistered_triage': 24.0, 'stuck_import': 24.0, 'stuck_upgrade_tag': 24.0, 'duplicate_folder': 24.0, 'audit_findings': 24.0, 'arr_health': 24.0} -# Kinds that never use a paid layer, in any mode (Penn 11-15: paid services only for time-sensitive work such as +# Kinds that never use a paid layer, in any mode (the owner 11-15: paid services only for time-sensitive work such as # grab-time decisions and upgrades). They wait for the free layers, then fall back to the caller's rules action. FREE_ONLY_KINDS = frozenset({'dupe_confirm', 'torrent_error', 'unregistered_triage', 'stuck_import', 'stuck_upgrade_tag', 'duplicate_folder', 'audit_findings', 'arr_health'}) UNRAID_MODEL = 'qwen3:14b' @@ -842,7 +842,7 @@ def model_fn(): MODES = ('off', 'shadow', 'enforce') # Kinds added after the first three: off unless LLM_MODE_ is set, so a deploy never starts them before -# their back-test (Penn 11-19: back-test first). +# their back-test (the owner 11-19: back-test first). OPT_IN_KINDS = frozenset({'torrent_error', 'unregistered_triage', 'stuck_import', 'stuck_upgrade_tag', 'duplicate_folder', 'audit_findings', 'arr_health'}) @@ -1337,7 +1337,7 @@ def weak(dec): return res co = claude_only(env) if local is None and unraid is None and not (co and 'claude' in layers): - # Paid layers are only a backup for the free ones (Penn, 2026-11-16). With no free layer configured, + # Paid layers are only a backup for the free ones (the owner, 2026-11-16). With no free layer configured, # nothing is asked and the rules stand. The queue layer alone never opens the paid layers either. if res['decision'] is None: res['error'] = ('queue ' + str(res['queue'].get('pass') or 'failed')) if res['queue'] is not None \ diff --git a/llm_decide.py b/llm_decide.py index 9badcf3..f14250b 100644 --- a/llm_decide.py +++ b/llm_decide.py @@ -22,7 +22,7 @@ MIN_CONFIDENCE = 0.75 MIN_SEEDERS = 10 -# Penn's standing preferences, shown to the model. Advisory only: apply_hard_rules() enforces the +# The owner's standing preferences, shown to the model. Advisory only: apply_hard_rules() enforces the # non-negotiable ones in code. Edit here, not in the prompts. POLICY = { 'upgrade_gate': ( @@ -41,18 +41,18 @@ 'the candidate has 5.1 or more audio channels, the existing file has fewer, and hdr_surround_available is ' 'false (no HDR release with 5.1 audio is available). ' 'Also reject a candidate that is not x265 (x264, AV1 or any other codec) replacing an x265 file, even at a ' - 'higher resolution, a better source tier or with HDR: Penn always keeps HEVC over any other codec. ' + 'higher resolution, a better source tier or with HDR: the owner always keeps HEVC over any other codec. ' '2. Allow, even when the candidate is much bigger: a higher resolution; a better source tier (Bluray or ' 'Remux over a WEB-DL, WEBRip or HDTV file); HDR10 or disc Dolby Vision (Bluray/Remux) over SDR; lossless ' 'or Atmos audio over lossy; replacing an AV1 file (many Plex clients cannot play AV1 directly); a PROPER ' 'or REPACK (it fixes a broken release); a replacement of a poor release group. ' '3. Allow: an x265 candidate replacing a file that is not x265, whatever its size, resolution or source ' - 'tier: Penn always prefers HEVC. A re-encode of a WEB-DL counts. ' + 'tier: the owner always prefers HEVC. A re-encode of a WEB-DL counts. ' '4. Allow at the same resolution and source tier: a candidate at least 1.4 times the existing size (a ' 'higher-bitrate encode is better quality); or a smaller candidate with ' 'the same codec (saves space). ' '5. Throttle: same resolution and source tier from a different release group when no rule above ' - 'applies. Sonarr and Radarr rank release groups by Penn\'s preferences, which these facts do not show. ' + 'applies. Sonarr and Radarr rank release groups by the owner\'s preferences, which these facts do not show. ' '6. Anything else is a sidegrade (for example the same group at about the same size): reject it. ' 'Private-tracker ratio matters: prefer freeleech. freeleech is full, partial or no. ' 'For a season pack, episodes is how many episodes it holds, size_gb is the whole pack and ' @@ -63,7 +63,7 @@ 'import_identity': ( 'Answer match only when title AND year both agree with the matched item. A different year, a remake, a ' 'reboot or a different series is a mismatch. Doubled year tokens (Title.2015.2015) are not a mismatch. ' - 'Use unsure whenever the evidence is thin; unsure sends Penn a notification instead of importing. ' + 'Use unsure whenever the evidence is thin; unsure sends the owner a notification instead of importing. ' "For Sonarr, queue titles usually carry no year and matched_year is the series' first-air year: judge the " 'series name (and season/episode if present); a missing year is not a mismatch. A later season (S02, S03...) ' 'can air in the first-air year or any year after it. ' @@ -73,7 +73,7 @@ 'release, a late-December premiere).'), 'dupe_confirm': ( 'Plex lists two files under one library item. The duplicate cleanup keeps the keeper file and removes the ' - 'other file, because Penn never keeps two copies of exactly the same media. Answer same only when both ' + 'other file, because the owner never keeps two copies of exactly the same media. Answer same only when both ' 'files hold the same film, or the same episode(s) of the same show, in the same cut: a different ' 'resolution, codec, size, release group or source is still the same media. Answer different when they ' 'are different films or episodes, a remake or another year, or a different cut or edition (Extended, ' @@ -329,7 +329,7 @@ def sdr_over_hdr(facts): def non_hevc_over_hevc(facts): - """A candidate of a known codec other than HEVC that would replace an HEVC file. Penn always keeps HEVC. + """A candidate of a known codec other than HEVC that would replace an HEVC file. The owner always keeps HEVC. An unknown codec on either side means no (the model decides).""" if not isinstance(facts, dict): return False @@ -341,7 +341,7 @@ def non_hevc_over_hevc(facts): def sdr_surround_exception_possible(facts): - """Penn's one exception to keeping HDR: the SDR candidate brings 5.1 audio the HDR file lacks. True when the + """The owner's one exception to keeping HDR: the SDR candidate brings 5.1 audio the HDR file lacks. True when the channel facts allow it, so the caller should look for an HDR release with 5.1 audio (hdr_surround_available).""" if not sdr_over_hdr(facts): return False @@ -366,8 +366,8 @@ def upgrade_comparison(context): parts.append('source tier %s (%s vs %s)' % (word, _TIER_NAME[t_new], _TIER_NAME[t_old])) c_new, c_old = _codec_family(context.get('codec')), _codec_family(context.get('existing_codec')) if c_new and c_old: - note = ' (loses HEVC: Penn always keeps HEVC)' if c_old == 'x265' and c_new != 'x265' else \ - ' (gains HEVC: Penn always prefers HEVC)' if c_new == 'x265' and c_old != 'x265' else '' + note = ' (loses HEVC: the owner always keeps HEVC)' if c_old == 'x265' and c_new != 'x265' else \ + ' (gains HEVC: the owner always prefers HEVC)' if c_new == 'x265' and c_old != 'x265' else '' parts.append('codec %s -> %s%s' % (c_old, c_new, note)) ratio = _size_ratio(context) if ratio is None and context.get('size_gb') is None and _num_or_none(context.get('existing_size_gb')): @@ -631,15 +631,15 @@ def country_differs(queue_title, matched_title): _LOOKALIKE = str.maketrans('013457', 'oieast') -# Release names Penn confirmed are the matched title, for pairs no general rule can safely accept: +# Release names the owner confirmed are the matched title, for pairs no general rule can safely accept: # (release show name, matched title), both as _title_tokens joined by spaces. _CONFIRMED_ALIASES = frozenset(( - ('apollo has fallen', 'has fallen'), # Penn 2026-11-14: Sonarr's 'Has Fallen' is released as 'Apollo Has Fallen' + ('apollo has fallen', 'has fallen'), # the owner 2026-11-14: Sonarr's 'Has Fallen' is released as 'Apollo Has Fallen' )) def confirmed_alias(queue_title, matched_title): - """True when Penn has confirmed this release name is the matched title.""" + """True when the owner has confirmed this release name is the matched title.""" return (release_show_name(queue_title), ' '.join(_title_tokens(str(matched_title or '')))) in _CONFIRMED_ALIASES diff --git a/supersede_policy.py b/supersede_policy.py index 1ef62bb..3e42e67 100644 --- a/supersede_policy.py +++ b/supersede_policy.py @@ -1,4 +1,4 @@ -"""supersede_policy.py -- Penn's rule for torrent supersede decisions.""" +"""supersede_policy.py -- the owner's rule for torrent supersede decisions.""" def _check_upgrade_completes(new_torrent): diff --git a/test_deluge_trim.py b/test_deluge_trim.py index 6d011e0..59d7e77 100644 --- a/test_deluge_trim.py +++ b/test_deluge_trim.py @@ -220,7 +220,7 @@ def test_enforce_off_and_deluge_failure_never_raise(monkeypatch): def test_retire_always_keeps_files(monkeypatch): - # Penn 11-15: "we're linking them, so we need to keep them". Imports are + # The owner 11-15: "we're linking them, so we need to keep them". Imports are # hardlinks, so deleting the download copy frees nothing; files stay even # when the library verifiably has every video. monkeypatch.setattr(aw, 'SEED_RETIRE_DAYS', 180) diff --git a/test_hard_rules.py b/test_hard_rules.py index 9d5b5a1..ffdae91 100644 --- a/test_hard_rules.py +++ b/test_hard_rules.py @@ -202,7 +202,7 @@ def test_one_name_ending_the_other_needs_a_matching_year(): def test_confirmed_alias_is_the_matched_show(): - # Penn 2026-11-14: Sonarr's 'Has Fallen' is the show released as 'Apollo Has Fallen'. + # The owner 2026-11-14: Sonarr's 'Has Fallen' is the show released as 'Apollo Has Fallen'. assert _spin('Apollo.Has.Fallen.S02E04.1080p.WEB.h264-GRP', 'Has Fallen') == ('match', None) assert ld.confirmed_alias('Apollo Has Fallen S01E01 1080p', 'Has Fallen') # Only that exact pair: other names, or the alias against a different show, still go through the guards. diff --git a/test_hevc_always.py b/test_hevc_always.py index 9d700e3..42976e7 100644 --- a/test_hevc_always.py +++ b/test_hevc_always.py @@ -1,4 +1,4 @@ -"""Penn always keeps HEVC over any other codec: the upgrade gate rejects a non-HEVC candidate replacing an HEVC +"""The owner always keeps HEVC over any other codec: the upgrade gate rejects a non-HEVC candidate replacing an HEVC file (hard rule), and /plex-dupe-fix keeps the HEVC copy of a duplicate even when another copy is bigger or higher resolution.""" import llm_decide as ld @@ -40,7 +40,7 @@ def test_comparison_and_policy_say_hevc(): assert '(gains HEVC' in ld.upgrade_comparison(dict(BASE, codec='x265', existing_codec='x264')) assert 'HEVC' not in ld.upgrade_comparison(dict(BASE, codec='x265', existing_codec='x265')) pol = ld.POLICY['upgrade_gate'] - assert 'Penn always keeps HEVC' in pol and 'whatever its size' in pol + assert 'the owner always keeps HEVC' in pol and 'whatever its size' in pol assert 'unless it is x264 replacing x265' not in pol diff --git a/test_llm_chain.py b/test_llm_chain.py index 176a45a..3658716 100644 --- a/test_llm_chain.py +++ b/test_llm_chain.py @@ -185,7 +185,7 @@ def test_exhausted_chain_returns_rules(tmp_path): def test_no_free_layer_never_pays(tmp_path): - # Paid is only a backup for the free layers (Penn, 2026-11-16): with none configured the rules stand. + # Paid is only a backup for the free layers (the owner, 2026-11-16): with none configured the rules stand. http = FakeHttp({'api.darkbloom.dev': chat('reject')}) claude = FakeClaude('reject') out, info, rows = run(tmp_path, Clock(), http, env={'DARKBLOOM_CLOUD_API_KEY': KEY, 'ANTHROPIC_API_KEY': 'sk-fake'}, diff --git a/test_no_speed_limit_tampering.py b/test_no_speed_limit_tampering.py index ebeec2b..872b460 100644 --- a/test_no_speed_limit_tampering.py +++ b/test_no_speed_limit_tampering.py @@ -1,5 +1,5 @@ """Regression: background jobs must never change a torrent's per-torrent speed -limit except the superseded-release path (Penn's policy). 2026-10-13: a stray +limit except the superseded-release path (the owner's policy). 2026-10-13: a stray maintain_unlimited_upgrade_slots() (30s loop) set max_download_speed=-1 on the top 2 upgrade-lane torrents in the queue, silently un-throttling them. diff --git a/test_radarr_upgrade_label.py b/test_radarr_upgrade_label.py index d310d40..394d06e 100644 --- a/test_radarr_upgrade_label.py +++ b/test_radarr_upgrade_label.py @@ -4,7 +4,7 @@ old catalog movie (no file on disk, release year older than a rolling cutoff), which the Grab handler then labeled 'radarr-upgrade'. So brand-new grabs of old films (e.g. "10 Things I Hate About You" 1999, "Save the Last Dance" 2001) were -mislabeled as upgrades. Penn: "upgrade should only go to upgrade." +mislabeled as upgrades. The owner: "upgrade should only go to upgrade." Fix: is_upgrade_radarr() returns 'upgrade' iff the movie already has a file, else None. No-file grabs -- of ANY release year -- are new downloads and keep diff --git a/test_seed_earners.py b/test_seed_earners.py index f5a5ba1..c0b0d89 100644 --- a/test_seed_earners.py +++ b/test_seed_earners.py @@ -1,4 +1,4 @@ -"""Earner set (Penn, 11-21: keep the top earners seeding). The labeled torrents +"""Earner set (the owner, 11-21: keep the top earners seeding). The labeled torrents with the most total_uploaded are never retired (retire_old_seeds) and never unseeded as stalled (cleanup_stalled_seeds).""" import importlib.util diff --git a/tiering/glacier-mover.sh b/tiering/glacier-mover.sh index 1b8730b..c7835e9 100755 --- a/tiering/glacier-mover.sh +++ b/tiering/glacier-mover.sh @@ -237,7 +237,7 @@ resume_call() { # other data disks instead and writes much faster, but every array disk # spins while it copies. A live run turns it on just before its first copy and # sets it back to read/modify/write when the run ends (Unraid's help text: Auto -# selects read/modify/write). Already on (Penn set it) = left alone both ways. +# selects read/modify/write). Already on (the owner set it) = left alone both ways. # The value to restore waits in TURBO_STATE, so a run that was killed before it # could set it back is undone by the next run. TURBO_TRIED=0; TURBO_ON=0 diff --git a/tiering/offload/tests/test_hotset.py b/tiering/offload/tests/test_hotset.py index df4feb9..4a0fa38 100644 --- a/tiering/offload/tests/test_hotset.py +++ b/tiering/offload/tests/test_hotset.py @@ -138,7 +138,7 @@ def test_never_offloaded_sections_case_insensitive(): items = [movie(1, section="adult"), movie(2, section="Asian TV"), movie(3)] d = want(items) assert d["1"][0] == "section" - assert "2" not in d and "3" not in d # Asian TV can be offloaded (Penn, 2026-11-21) + assert "2" not in d and "3" not in d # Asian TV can be offloaded (the owner, 2026-11-21) d = want(items, cfg=Cfg(never_sections=("adult", "ASIAN TV"))) assert d["1"][0] == "section" and d["2"][0] == "section" d = want(items, cfg=Cfg(never_sections=("Movies",))) diff --git a/tiering/tests/test_glacier.sh b/tiering/tests/test_glacier.sh index 719bc7c..23ca8ca 100644 --- a/tiering/tests/test_glacier.sh +++ b/tiering/tests/test_glacier.sh @@ -157,7 +157,7 @@ check "source intact after short copy" src disk2 data/Media/a.mkv check "short copy removed" gone data/Media/a.mkv setup skip_list -NEVER="Downloads Incomplete InfluxDB Docker Documents Sandbox ollama-models appdata system domains Vault bloom-ledger GC timemachine-penn resell-tracker .hidden" +NEVER="Downloads Incomplete InfluxDB Docker Documents Sandbox ollama-models appdata system domains Vault bloom-ledger GC timemachine-mac resell-tracker .hidden" for d in $NEVER; do mkf disk2 "data/$d/x.mkv" 1000 300 mkf disk2 "data/Media/deep/$d/y.mkv" 1000 300