Unable to pass 2.5 on Advanced Capstone

The runtime for \t .viz.createDashboard was 600

and I have successfully reduced it to 258, and yet I am still failing the test.

 

I have made the following changes

Changed the order of where clauses in .viz.getModSensor
{
symbols:windSpeedFronttempBackLefttyrePressureBackLeft;<br>select from sensor where date in 2020.01.01 2020.01.02,sensorId in symbols,0=lapId mod 2<br>/<br>}<br><br>and<br>setattrcol[:.;sensor;sensorId;`p]

meta sensor

c | t f a
-----------| -----
date | d
sensorId | s p
time | t
lapId | j
units | s
sensorValue| f
session | s

Thanks!

Hi  !

Here is a similar post that was asked on the community. Solved: Advanced Capstone quizzes 2.4.2 and 2.5.1 - KX Community - 11053

It includes the test case for 2.5 or it might just be a matter of logging out (saving your code down) and starting a fresh session.

If you’re still having problems, please feel free to reach out!

Thanks,

Megan

Hello,
Tried to access the link and got the following error.

You do not have sufficient privileges for this resource or its parent to perform this action.

I have also tried logging out and starting a fresh sessions and that hasn’t worked.

 

The 2.5 Test case:

feature exercise2.5
should func should return same result as before
expect
.test.table2.5~.viz.createDashboard
should .viz.createDashboard should run in half the time expect
0.5>((system"t:5 .viz.createDashboard")%5)%.test.time2.5</span>

W.r.t pass having now becoming a fail I would advise logging out and restarting a new session. And then running all your changes from scratch, as its a performance based one sometime other changes can impact so testing is a little more fragile.

Let me know if this helps.

Megan

Thanks Megan!