Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| @@ -47,20 +47,20 @@ class TableName(StrEnum): | |||
| model_descr=TableModelDescr(name="seven_foot_showood"), | |||
| ), | |||
| TableName.SNOOKER_GENERIC: SnookerTableSpecs( | |||
There was a problem hiding this comment.
Snooker table standarts according to WBSPA
| "yellow": BallPos([], (0.333, 0.2), {"yellow"}), | ||
| "green": BallPos([], (0.666, 0.2), {"green"}), | ||
| "brown": BallPos([], (0.5, 0.2), {"brown"}), | ||
| "white": BallPos([], (7 / 12, 0.2065), {"white"}), |
There was a problem hiding this comment.
Fix baulk line balls positions
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #284 +/- ##
=======================================
Coverage 46.36% 46.36%
=======================================
Files 144 144
Lines 10315 10315
=======================================
Hits 4783 4783
Misses 5532 5532
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I suggest merging this part as is, and I'll address both comments in a separate MR. We can also decide there how best to add the model source file. I'll optimize it a bit, but it'll still be ~70 MB... Won't that bloat the repository too much? Maybe it's better to store it in a separate repo like "pooltool-assets" or something? |
Ok I'll merge now. Good thinking about a separate repo. 70MB is tolerable (we've done worse) but it's not sustainable. I'll implement this soon. |


This is my attempt to fix some annoying things in snooker implementation.