Hey all!
I'm trying to complete the Level 3 capstone, and I'm running into trouble with Exercise 1.3, the .f1.createLapTable function. It works exactly as I want it to, it passes the .f1.createLapTable.quke test - but for whatever reason, when I run testSection[exercise1]`, this section consistently shows up as a "Fail". No idea if it's just me and there's an issue with my function, or if there's a problem with the capstone itself - but either way, I think it's worth resetting the whole project (I have a back-up saved of everything I've got so far). Could someone do this for me, please?
(P.S. Am I on the right lines with this? Been banging my head against the wall for this for ages.)
.f1.createLapTable:{[eventTab;sensorTab]
rack:(select from eventTab) cross select distinct sensorId from sensorTab;
attrSen:update `p#session from `session`lapId`sensorId`time xasc sensorTab;
delete date from wj[(rack`time;rack`endTime);`session`lapId`sensorId`time;rack;(attrSen;(avg;`sensorValue))]
}