Shenrui-Ma/video-regen-recipes / templates/character-short/bit-by-bit-heartache
bit-by-bit-heartache
Verified用角色参考图在本机制作 Heartache 连续动作配乐短片.
tests/test_release_review.py
View on GitHubimport json
from pathlib import Path
import unittest
ROOT = Path(__file__).resolve().parents[1]
class ReleaseReviewTests(unittest.TestCase):
def test_release_exposes_reference_and_media_guides(self):
profile = json.loads((ROOT / 'profile.json').read_text())
for key in ('character_preprocessing', 'media_preflight', 'first_segment_validation'):
self.assertIn(key, profile['files'])
self.assertTrue((ROOT / profile['files'][key]).is_file())
self.assertEqual(profile['runtime']['distribution_mode'], 'portable-no-media')
def test_current_evidence_keeps_validation_scopes_separate(self):
path = ROOT / 'references/first-segment-validation.json'
self.assertTrue(path.exists())
data = json.loads(path.read_text())
self.assertTrue(data['existing_environment_first_segment_verified'])
self.assertFalse(data['clean_install_inference_verified'])
self.assertFalse(data['full_new_character_continuation_verified'])
self.assertEqual(len(data['runs']), 2)
for run in data['runs']:
self.assertEqual(run['frames'], 107)
self.assertEqual(run['fps'], 24)
self.assertTrue(run['full_decode'])
self.assertEqual(len(run['video_sha256']), 64)
licences = (ROOT / 'LICENSES.md').read_text()
self.assertIn('environments/h3/dependencies.lock.json', licences)
self.assertIn('environments/h3/vendor/', licences)
env_lock = json.loads((ROOT/'references/environment.lock.json').read_text())
self.assertEqual(env_lock['environment'], 'environments/h3')
self.assertIn(env_lock['commit'], licences)
if __name__ == '__main__':
unittest.main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |