openpickleball-engine 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,95 @@
1
+ """OPEN (Open Pickleball Evaluation Network) rating engine.
2
+
3
+ Reference implementation: outputs are not OPEN ratings, and ratings are
4
+ provisional (see "Status" in docs/behavior.md). Do not use it to rate real
5
+ players.
6
+ """
7
+
8
+ from ._errors import (
9
+ ConfigError,
10
+ EvaluationError,
11
+ InvalidMatchError,
12
+ InvalidSeedError,
13
+ LedgerConflictError,
14
+ OpenEngineError,
15
+ PlayerError,
16
+ ReferenceDateError,
17
+ SnapshotError,
18
+ UnknownPlayerError,
19
+ )
20
+ from ._version import __version__ as __version__
21
+ from .engine import (
22
+ Config,
23
+ EvaluationReport,
24
+ ExternalRatingSnapshot,
25
+ GameFormat,
26
+ Match,
27
+ MatchResult,
28
+ MatchStatus,
29
+ MatchType,
30
+ NetworkConnectivity,
31
+ Player,
32
+ PlayerSummary,
33
+ PrequentialPrediction,
34
+ RatingEngine,
35
+ RatingFormat,
36
+ RatingState,
37
+ RejectionReason,
38
+ ReplayInfo,
39
+ ScaleFit,
40
+ ScoringType,
41
+ WinCalibrationFit,
42
+ evaluate,
43
+ expected_point_share,
44
+ fit_scale,
45
+ fit_win_calibration,
46
+ ledger_order,
47
+ prequential_predictions,
48
+ reliability,
49
+ replay,
50
+ )
51
+ from .winprob import calibrate_win_probability, game_win_probability, match_win_probability
52
+
53
+ __all__ = [
54
+ "Config",
55
+ "ConfigError",
56
+ "EvaluationError",
57
+ "EvaluationReport",
58
+ "ExternalRatingSnapshot",
59
+ "GameFormat",
60
+ "InvalidMatchError",
61
+ "InvalidSeedError",
62
+ "LedgerConflictError",
63
+ "Match",
64
+ "MatchResult",
65
+ "MatchStatus",
66
+ "MatchType",
67
+ "NetworkConnectivity",
68
+ "OpenEngineError",
69
+ "Player",
70
+ "PlayerError",
71
+ "PlayerSummary",
72
+ "PrequentialPrediction",
73
+ "RatingEngine",
74
+ "RatingFormat",
75
+ "RatingState",
76
+ "ReferenceDateError",
77
+ "RejectionReason",
78
+ "ReplayInfo",
79
+ "ScaleFit",
80
+ "ScoringType",
81
+ "SnapshotError",
82
+ "UnknownPlayerError",
83
+ "WinCalibrationFit",
84
+ "calibrate_win_probability",
85
+ "evaluate",
86
+ "expected_point_share",
87
+ "fit_scale",
88
+ "fit_win_calibration",
89
+ "game_win_probability",
90
+ "ledger_order",
91
+ "match_win_probability",
92
+ "prequential_predictions",
93
+ "reliability",
94
+ "replay",
95
+ ]