{"id":31164253,"url":"https://github.com/yakdriver/magicmix","last_synced_at":"2025-09-19T07:57:03.276Z","repository":{"id":315490548,"uuid":"1058929669","full_name":"YakDriver/magicmix","owner":"YakDriver","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-18T21:38:08.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T23:51:39.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YakDriver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-17T18:37:47.000Z","updated_at":"2025-09-18T21:38:08.000Z","dependencies_parsed_at":"2025-09-18T23:51:40.884Z","dependency_job_id":"c99287fb-32c7-4014-a6f3-96565fe0534e","html_url":"https://github.com/YakDriver/magicmix","commit_stats":null,"previous_names":["yakdriver/magicmix"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/YakDriver/magicmix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fmagicmix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fmagicmix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fmagicmix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fmagicmix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YakDriver","download_url":"https://codeload.github.com/YakDriver/magicmix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fmagicmix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275902065,"owners_count":25549242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-19T07:57:01.161Z","updated_at":"2025-09-19T07:57:03.263Z","avatar_url":"https://github.com/YakDriver.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# magicmix\n\n`magicmix` is an experimental Go CLI for sequencing DJ tracklists. The initial release focuses on providing a flexible framework for importing tracks, applying pluggable ordering strategies, and exporting the result.\n\n## Status\n\n- CSV input with the columns `title,artist,bpm,energy,key`\n- Output written as a CSV next to the input file (use `--output` to override)\n- Default sorting strategy that balances Camelot key flow, incremental BPM adjustments, and cyclical energy ramps using heuristics\n- Strategy registry ready for future heuristic optimizations\n\n## Usage\n\n```bash\n# build the CLI\nGOCACHE=$(pwd)/.gocache GOMODCACHE=$(pwd)/.gomodcache go build ./...\n\n# run against a csv file\n# run against a csv file (CLI prints the seed it used so you can rerun with --seed=\u003cvalue\u003e)\n./magicmix --input tracks.csv --output ordered.csv\n\n# inspect available strategies\n./magicmix --list-strategies\n\n# run 20-round evaluation against the real-data fixture with a repeatable seed\nMAGICMIX_EVAL_SEED=12345 go test -run TestDefaultSorterRealDataEvaluation ./internal/strategy\n\n# run tests\nGOCACHE=$(pwd)/.gocache GOMODCACHE=$(pwd)/.gomodcache go test ./...\n```\n\nOptions:\n\n- `--input` (required) – path to the source CSV\n- `--output` – destination file; defaults to `\u003cinput\u003e_magicmix.csv`\n- `--strategy` – sorting strategy name (default `default`)\n- `--list-strategies` – print registered strategies and exit\n- `--timeout` – optional processing timeout (e.g. `30s`)\n- `--limit` – maximum number of tracks to output (leave unset to keep all)\n- `--seed` – deterministic seed for pseudo-random decisions; omit or set to `0` for a time-based seed (the CLI logs the chosen seed so you can rerun with it)\n\n## Next Steps\n\n- Tune heuristic weights with sample tracklists and automated evaluation\n- Add more strategies and comparison tooling\n- Expand input formats\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakdriver%2Fmagicmix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakdriver%2Fmagicmix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakdriver%2Fmagicmix/lists"}