ship-heading: the draft controller against the accepted one

Scenario s1: Nomoto gain 0.2 per second, time constant 20 s, light waves. Ordered course 30 degrees to starboard. Both runs come from the built plimsoll/sandbox-sim image through the project API; the fingerprints below are the SHA-256 of each trajectory as recorded from that image.

The simulator is written in C, compiled to WebAssembly and shipped in that image: its source, EXTERNAL · source repo ↗. A controller is a separate program that reads the simulator's observations each tick and sets its input. This page runs two hand-written controllers against it: a draft that makes a plausible mistake and fails, and an accepted one that passes the environment's scoring program. The controllers, the scoring program and the other scenarios are not published. Every simulator in the image, EXTERNAL · source repo ↗.

Work in progress. These charts show two hand-written reference controllers. No AI-generated controller is plotted for this environment yet.

Draft controllerovershootmax heading deg 115.164, overshoot at 24, first on course s 19, band fraction 0.017
Accepted controllerscore 1.000max heading deg 34.061, overshoot at none, first on course s 22, band fraction 1
Draft controllerAccepted controllerhard limit
Heading overshoot limit, 45 degrees 0304590160 050100150200250300 seconds degrees on course, 30 plus or minus 2 degrees Rudder angle hard stop, 35 degrees -35035 050100150200250300 seconds degrees
Table view (100 rows)
secondsdraft heading_raddraft yaw_rate_rad_per_sdraft rudder_angle_raddraft actionaccepted heading_radaccepted yaw_rate_rad_per_saccepted rudder_angle_radaccepted action
00.00000.00000.00000.61090.00000.00000.00000.6109
30.00590.00570.15720.61090.00590.00570.15720.6109
60.03780.01540.31440.61090.03780.01540.31440.6109
90.09350.02130.47160.61090.09350.02130.46030.4768
120.16720.02900.57890.61090.16440.02620.38150.2472
150.27450.04380.60390.61090.25290.03330.2243-0.0575
180.43020.05930.60940.56050.36090.03730.0671-0.3467
210.61920.06460.4674-0.57380.46520.0301-0.0901-0.4257
240.80900.06150.3102-0.61090.53540.0163-0.2468-0.3172
270.99070.06030.1530-0.61090.56910.0076-0.2563-0.2284
301.17110.0590-0.0042-0.61090.58790.0049-0.2306-0.2164
331.33510.0482-0.1614-0.61090.5939-0.0020-0.1832-0.1047
361.45290.0297-0.3186-0.61090.5747-0.0101-0.04470.0791
391.51730.0140-0.4758-0.61090.5440-0.00840.07990.1102
421.54160.0020-0.5801-0.61090.5313-0.00000.0537-0.0150
451.5260-0.0137-0.6042-0.61090.53610.0014-0.0277-0.0499
481.4556-0.0336-0.6094-0.61090.5320-0.0043-0.00190.0612
511.3314-0.0478-0.6106-0.61090.5163-0.00450.07430.0951
541.1784-0.0536-0.6108-0.61090.51300.00270.0444-0.0270
571.0088-0.0606-0.6109-0.61090.52660.0047-0.0500-0.0897
600.8088-0.0734-0.6109-0.61090.5319-0.0018-0.04350.0166
630.5719-0.0833-0.5946-0.28970.5198-0.00460.04580.0910
660.3209-0.0823-0.43740.61090.51360.00140.0490-0.0058
690.0821-0.0771-0.28020.61090.52550.0050-0.0407-0.0938
72-0.1460-0.0753-0.12300.61090.5337-0.0006-0.0565-0.0089
75-0.3663-0.07010.03420.61090.5232-0.00510.03150.0917
78-0.5560-0.05450.19140.61090.5136-0.00010.06030.0215
81-0.6899-0.03480.34860.61090.52270.0050-0.0233-0.0888
84-0.7713-0.02010.50580.61090.53360.0008-0.0636-0.0340
87-0.8124-0.00650.58790.61090.5260-0.00490.01430.0840
90-0.80540.01250.60590.61090.5140-0.00150.06570.0460
93-0.73710.03270.60980.61090.51980.0047-0.0049-0.0775
96-0.61910.04450.61070.61090.53270.0021-0.0664-0.0569
99-0.47710.05020.61080.61090.5286-0.0044-0.00440.0695
102-0.31350.06020.61090.61090.5152-0.00280.06580.0667
105-0.11230.07390.61090.61090.51740.00400.0137-0.0600
1080.12290.08140.61090.61090.53110.0033-0.0638-0.0752
1110.36870.08210.61090.61090.5309-0.0036-0.02280.0494
1140.61870.08530.5061-0.57090.5171-0.00380.06060.0822
1170.88220.09000.3489-0.61090.51540.00300.0313-0.0378
1201.15100.08710.1917-0.61090.52890.0043-0.0562-0.0875
1231.39420.07370.0345-0.61090.5326-0.0024-0.03930.0254
1261.59310.0594-0.1227-0.61090.5195-0.00460.05060.0911
1291.75620.0495-0.2799-0.61090.51410.00180.0465-0.0125
1321.88700.0359-0.4371-0.61090.52630.0049-0.0440-0.0929
1351.96280.0131-0.5662-0.61090.5335-0.0011-0.0527-0.0007
1381.9676-0.0090-0.6011-0.61090.5223-0.00500.03660.0928
1411.9200-0.0216-0.6088-0.61090.51350.00040.05790.0138
1441.8416-0.0313-0.6104-0.61090.52350.0051-0.0284-0.0908
1471.7267-0.0464-0.6108-0.61090.53370.0004-0.0619-0.0266
1501.5637-0.0616-0.6109-0.61090.5252-0.00500.01960.0871
1531.3669-0.0683-0.6109-0.61090.5137-0.00110.06470.0390
1561.1587-0.0709-0.6109-0.61090.52060.0049-0.0105-0.0816
1590.9355-0.0792-0.6109-0.61090.53300.0018-0.0661-0.0505
1620.6811-0.0902-0.6109-0.61090.5279-0.00460.00110.0744
1650.4030-0.0933-0.50610.61090.5148-0.00240.06630.0610
1680.1313-0.0871-0.34890.61090.51810.00430.0082-0.0658
171-0.1215-0.0821-0.19170.61090.53170.0030-0.0651-0.0703
174-0.3638-0.0788-0.03450.61090.5303-0.0038-0.01750.0558
177-0.5866-0.06760.12270.61090.5165-0.00360.06270.0782
180-0.7612-0.04770.27990.61090.51590.00330.0263-0.0448
183-0.8756-0.02930.43710.61090.52960.0040-0.0589-0.0846
186-0.9429-0.01560.56620.61090.5321-0.0028-0.03470.0328
189-0.96730.00060.60110.61090.5188-0.00440.05400.0892
192-0.93480.02170.60880.61090.51440.00210.0423-0.0202
195-0.84240.03870.61040.61090.52710.0047-0.0481-0.0921
198-0.71320.04640.61080.61090.5333-0.0015-0.04910.0072
201-0.56470.05350.61090.61090.5215-0.00490.04110.0931
204-0.38630.06640.61090.61090.51360.00080.05490.0060
207-0.16800.07820.61090.61090.52430.0050-0.0333-0.0922
2100.07350.08150.61090.61090.5337-0.0001-0.0596-0.0191
2130.31900.08280.61090.61090.5243-0.00510.02490.0895
2160.57680.08990.5323-0.31900.5136-0.00060.06320.0317
2190.85570.09470.3751-0.61090.52150.0050-0.0160-0.0850
2221.13330.08830.2179-0.61090.53330.0014-0.0654-0.0438
2251.37860.07490.0607-0.61090.5271-0.00480.00670.0788
2281.58700.0647-0.0965-0.61090.5144-0.00200.06640.0549
2311.76910.0559-0.2537-0.61090.51880.00450.0027-0.0711
2341.91400.0387-0.4109-0.61090.53210.0027-0.0660-0.0650
2371.99480.0146-0.5533-0.61090.5296-0.0041-0.01200.0619
2402.0083-0.0043-0.5983-0.61090.5159-0.00320.06430.0737
2431.9781-0.0156-0.6081-0.61090.51650.00360.0211-0.0515
2461.9131-0.0291-0.6103-0.61090.53030.0038-0.0613-0.0810
2491.7998-0.0468-0.6108-0.61090.5317-0.0031-0.02980.0400
2521.6384-0.0593-0.6109-0.61090.5181-0.00420.05710.0867
2551.4530-0.0636-0.6109-0.61090.51480.00250.0379-0.0277
2581.2556-0.0691-0.6109-0.61090.52790.0046-0.0517-0.0906
2611.0321-0.0807-0.6109-0.61090.5330-0.0019-0.04520.0149
2640.7749-0.0897-0.6109-0.61090.5206-0.00480.04530.0927
2670.5031-0.0903-0.55850.12280.51370.00120.0516-0.0018
2700.2370-0.0873-0.40130.61090.52520.0050-0.0380-0.0929
273-0.0244-0.0873-0.24410.61090.5337-0.0005-0.0570-0.0113
276-0.2834-0.0839-0.08690.61090.5235-0.00510.03000.0913
279-0.5168-0.06980.07030.61090.5135-0.00020.06120.0243
282-0.6987-0.05140.22750.61090.52230.0050-0.0213-0.0879
285-0.8312-0.03760.38470.61090.53350.0009-0.0642-0.0367
288-0.9255-0.02420.53670.61090.5263-0.00490.01220.0827
291-0.9695-0.00360.59470.61090.5141-0.00160.06600.0484
294-0.94640.01870.60730.61090.51960.0047-0.0029-0.0759
297-0.86740.03250.61010.61090.53260.0023-0.0664-0.0591

Fingerprints, scenario s1 (0.2, 20, 0.002)

draft: 7e7ac88046b296b701c8c51ba913dee711d2e6f725a0a3624fc4aef8761623f9

accepted: b18f8db0abf07b6cd52a6896f809fcf2344842c6064b1e7c4ded6cbfac1f00fd