@inventure71/paddockjs 4.0.0 → 4.2.0
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.
- package/CHANGELOG.md +48 -0
- package/INSTALL_AND_UPDATE.md +14 -1
- package/README.md +33 -1
- package/docs/architecture.md +3 -1
- package/docs/component_inventory.md +5 -4
- package/docs/composable-layouts.md +2 -0
- package/docs/data_contract.md +5 -1
- package/docs/getting-started.md +33 -0
- package/docs/index.md +4 -2
- package/docs/loading.md +141 -0
- package/docs/system_specs.md +15 -2
- package/docs/testing-reliability-guide.md +62 -0
- package/package.json +16 -9
- package/src/data/index.d.ts +64 -1
- package/src/environment/index.d.ts +75 -12
- package/src/index.d.ts +72 -6
- package/src/placeholder/index.d.ts +11 -0
- package/src/placeholder/index.js +61 -0
- package/src/placeholder.css +72 -0
- package/src/simulation/collisionGeometry.js +7 -9
- package/src/simulation/driver/driverController.js +2 -2
- package/src/simulation/driver/edgeRecovery.js +2 -2
- package/src/simulation/driver/racingControls.js +35 -25
- package/src/simulation/driver/racingLinePlan.js +6 -5
- package/src/simulation/driver/rejoinControls.js +3 -3
- package/src/simulation/driver/trafficScan.js +48 -22
- package/src/simulation/participants/participantInteractions.js +24 -15
- package/src/simulation/race/raceStep.js +19 -10
- package/src/simulation/race/safetyCar.js +2 -1
- package/src/simulation/rules/pitLaneSpeedingSteward.js +1 -1
- package/src/simulation/rules/rulesReview.js +19 -9
- package/src/simulation/rules/trackLimitsSteward.js +2 -2
- package/src/simulation/timing/sectorPerformance.js +11 -3
- package/src/simulation/track/spatialQueries.js +80 -11
- package/src/simulation/track/trackModel.js +10 -1
- package/src/simulation/vehicle/contactResolution.js +4 -4
- package/src/simulation/vehicle/vehicleGeometry.js +87 -49
- package/src/simulation/vehicle/vehiclePhysics.js +7 -2
- package/src/simulation/vehicle/vehicleSnapshots.js +5 -2
- package/src/simulation/vehicle/vehicleState.js +3 -2
- package/src/ui/raceCanvasTemplate.js +3 -2
- package/src/ui/raceControlsTemplate.js +1 -0
- package/src/ui/telemetryDrawerTemplate.js +1 -0
- package/src/ui/telemetryTemplates.js +1 -0
- package/examples/train-basic-policy.mjs +0 -276
- package/examples/trainingData.mjs +0 -133
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
export const TRAINING_DEMO_DRIVERS = [
|
|
2
|
-
{
|
|
3
|
-
id: 'budget',
|
|
4
|
-
code: 'BUD',
|
|
5
|
-
icon: 'BB',
|
|
6
|
-
name: 'Budget Buddy',
|
|
7
|
-
color: '#ff2d55',
|
|
8
|
-
tire: 'M',
|
|
9
|
-
raceData: ['AI finance coach', 'Python + LLM', 'Budget guardrails'],
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
id: 'noir',
|
|
13
|
-
code: 'NOI',
|
|
14
|
-
icon: 'NN',
|
|
15
|
-
name: 'Neural Noir',
|
|
16
|
-
color: '#ffb000',
|
|
17
|
-
tire: 'M',
|
|
18
|
-
raceData: ['Procedural mystery', 'Gemini storytelling', 'Unreal loop'],
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: 'vinyl',
|
|
22
|
-
code: 'HOL',
|
|
23
|
-
icon: 'HV',
|
|
24
|
-
name: 'HoloVinyl',
|
|
25
|
-
color: '#00c2a8',
|
|
26
|
-
tire: 'H',
|
|
27
|
-
raceData: ['Touchless DJ control', 'Computer vision', 'Hand tracking'],
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
id: 'drsorriso',
|
|
31
|
-
code: 'DRS',
|
|
32
|
-
icon: 'DR',
|
|
33
|
-
name: 'DrSorrisoDonations',
|
|
34
|
-
color: '#e10600',
|
|
35
|
-
tire: 'S',
|
|
36
|
-
raceData: ['Donation intake', 'Database workflow', 'Automation tool'],
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'victoria',
|
|
40
|
-
code: 'VIC',
|
|
41
|
-
icon: 'VI',
|
|
42
|
-
name: 'VictorIA',
|
|
43
|
-
color: '#00a3ff',
|
|
44
|
-
tire: 'M',
|
|
45
|
-
raceData: ['Game AI sandbox', 'Robotics ideas', 'Vision systems'],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: 'reminderz',
|
|
49
|
-
code: 'REM',
|
|
50
|
-
icon: 'RZ',
|
|
51
|
-
name: 'ReminderZ',
|
|
52
|
-
color: '#a3e635',
|
|
53
|
-
tire: 'H',
|
|
54
|
-
raceData: ['Knowledge workflow', 'Personal graph', 'Capture tool'],
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: 'clipclop',
|
|
58
|
-
code: 'CLP',
|
|
59
|
-
icon: 'CC',
|
|
60
|
-
name: 'ClipClop',
|
|
61
|
-
color: '#f97316',
|
|
62
|
-
tire: 'S',
|
|
63
|
-
raceData: ['Mac + Android sync', 'Local clipboard', 'Productivity app'],
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
id: 'core',
|
|
67
|
-
code: 'COR',
|
|
68
|
-
icon: 'AI',
|
|
69
|
-
name: 'Core Conflict',
|
|
70
|
-
color: '#38bdf8',
|
|
71
|
-
tire: 'M',
|
|
72
|
-
raceData: ['Runtime AI agents', 'Multiplayer state', 'Game systems'],
|
|
73
|
-
},
|
|
74
|
-
];
|
|
75
|
-
|
|
76
|
-
export const TRAINING_DEMO_ENTRIES = [
|
|
77
|
-
{
|
|
78
|
-
driverId: 'budget',
|
|
79
|
-
driverNumber: 71,
|
|
80
|
-
timingName: 'Budget',
|
|
81
|
-
driver: { pace: 52, racecraft: 74, aggression: 38, riskTolerance: 47, patience: 81, consistency: 86 },
|
|
82
|
-
vehicle: { id: 'budget-bb01', name: 'BB-01 Ledger', power: 48, braking: 72, aero: 55, dragEfficiency: 66, mechanicalGrip: 63, weightControl: 58, tireCare: 82 },
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
driverId: 'noir',
|
|
86
|
-
driverNumber: 13,
|
|
87
|
-
timingName: 'Noir',
|
|
88
|
-
driver: { pace: 68, racecraft: 83, aggression: 61, riskTolerance: 72, patience: 57, consistency: 64 },
|
|
89
|
-
vehicle: { id: 'noir-nn13', name: 'NN-13 Shadow', power: 64, braking: 60, aero: 73, dragEfficiency: 57, mechanicalGrip: 69, weightControl: 54, tireCare: 51 },
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
driverId: 'vinyl',
|
|
93
|
-
driverNumber: 33,
|
|
94
|
-
timingName: 'HoloVinyl',
|
|
95
|
-
driver: { pace: 71, racecraft: 66, aggression: 52, riskTolerance: 59, patience: 62, consistency: 58 },
|
|
96
|
-
vehicle: { id: 'vinyl-hv33', name: 'HV-33 Groove', power: 70, braking: 49, aero: 58, dragEfficiency: 74, mechanicalGrip: 52, weightControl: 68, tireCare: 46 },
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
driverId: 'drsorriso',
|
|
100
|
-
driverNumber: 55,
|
|
101
|
-
timingName: 'DrSorriso',
|
|
102
|
-
driver: { pace: 46, racecraft: 69, aggression: 44, riskTolerance: 43, patience: 76, consistency: 73 },
|
|
103
|
-
vehicle: { id: 'sorriso-ds55', name: 'DS-55 Intake', power: 54, braking: 67, aero: 62, dragEfficiency: 49, mechanicalGrip: 71, weightControl: 45, tireCare: 69 },
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
driverId: 'victoria',
|
|
107
|
-
driverNumber: 11,
|
|
108
|
-
timingName: 'VictorIA',
|
|
109
|
-
driver: { pace: 78, racecraft: 79, aggression: 58, riskTolerance: 65, patience: 55, consistency: 68 },
|
|
110
|
-
vehicle: { id: 'victoria-vi11', name: 'VI-11 Vector', power: 76, braking: 58, aero: 65, dragEfficiency: 63, mechanicalGrip: 61, weightControl: 60, tireCare: 48 },
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
driverId: 'reminderz',
|
|
114
|
-
driverNumber: 7,
|
|
115
|
-
timingName: 'ReminderZ',
|
|
116
|
-
driver: { pace: 41, racecraft: 61, aggression: 34, riskTolerance: 39, patience: 85, consistency: 80 },
|
|
117
|
-
vehicle: { id: 'reminderz-rz07', name: 'RZ-07 Recall', power: 42, braking: 76, aero: 50, dragEfficiency: 72, mechanicalGrip: 58, weightControl: 63, tireCare: 88 },
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
driverId: 'clipclop',
|
|
121
|
-
driverNumber: 14,
|
|
122
|
-
timingName: 'ClipClop',
|
|
123
|
-
driver: { pace: 73, racecraft: 88, aggression: 76, riskTolerance: 78, patience: 48, consistency: 61 },
|
|
124
|
-
vehicle: { id: 'clipclop-cc14', name: 'CC-14 Sync', power: 68, braking: 63, aero: 59, dragEfficiency: 61, mechanicalGrip: 78, weightControl: 56, tireCare: 44 },
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
driverId: 'core',
|
|
128
|
-
driverNumber: 91,
|
|
129
|
-
timingName: 'Core',
|
|
130
|
-
driver: { pace: 82, racecraft: 85, aggression: 67, riskTolerance: 74, patience: 53, consistency: 72 },
|
|
131
|
-
vehicle: { id: 'core-ai91', name: 'AI-91 Core', power: 80, braking: 61, aero: 72, dragEfficiency: 59, mechanicalGrip: 75, weightControl: 51, tireCare: 50 },
|
|
132
|
-
},
|
|
133
|
-
];
|