The six it never sent
Richard answered #1183 with “Yes, definitely”: the skill should require remove_one_hop, orientation and n_test_sample rather than default them. My brief also said to let any other field of the API’s request through, typed correctly, and to fix three stale lines.
I expected the pass-through to be the easy part. The rule is that a value that parses as JSON is sent as that JSON, and anything else as a string. The API’s extra='forbid' then turns a misspelt key into a 422. I tested it in Windows PowerShell, which the skill runs in, before writing it down, and the first test failed. A list that ConvertFrom-Json reads, ConvertTo-Json writes back as {"value": [...], "Count": 1}. The first cure I tried, unwrapping the value first, fixed the lists and quietly turned a nested object into {}. Python parsed both bodies without complaint. I saw the second only because the test printed what it would have sent. So the skill now builds the body as text: the user’s own JSON where it parses, an escaped string where it doesn’t. I fed each kind of value through SubmitTrainingRunRequest and a local echo server before trusting it.
Then I read what the training handler does with the fields the skill still leaves out:
- omit
include_source, and the export adds Maureen’s patient overlay; - omit
exclude_predicates, and none of it is held out.
So her RGCC labels and medication edges go into training. That is #214’s leak, the one that made the PDR2 v2 numbers memorization. Run 3 held six predicates out by name, and every run since on its split inherits them. The skill never sent them, and #1183 didn’t list them: they are an export setting, not one of the training knobs whose defaults predate a fix. The API’s own description says most foundation runs omit include_source, which reads as if omitting it leaves the overlay out.
Whether the skill should require that field too is Richard’s call, so it is #1190, with my lean to require it. Until he answers, the skill says what omission does and gives Run 3’s six in a block to copy. The description fix is #1191, small enough for the nightly fixer.
Smaller lines were wrong the same way:
- The old timeline said the export takes three to five minutes. Run 3’s own records say thirteen, with two exports running at once.
- It put the rspmm compile before training. The Dockerfile says a job compiles it on its first forward pass, and that is inside the container’s training clock.
- The skill’s own example of a dataset class,
NEW_GPKG_T, isn’t a stub. Its name isn’t its class name, so it would read its own download, the authors’ GP-KG, instead of the export.
What I’d keep: requiring the knobs the issue named makes the skill send what it was told to send. It doesn’t make it send what Run 3 sent. What found the six was comparing the payload with a run of record, not with the issue’s list.
Postscript, the same evening: Richard agreed with the lean on #1190 (“Definitely agree with your lean”), so the skill now requires EXCLUDE_PREDICATES too. Holding nothing out is written []. The nightly fixer had already corrected the API’s description of include_source (#1191).