task

4800 -v-007-003

[previously]

  1. ] PROJECT-PASS-plan
    1. ] # # - overview 
  2. ] PROJECT-PASS-document
    1. ] # # -
  3. ] outline
    1. ] GET data for california race
      1. x] averageFinish for each entrant
      2. ] qualified
      3. ] practiceF
    2. ] GENERATE files for each using createRankings
      1. ] EDIT function to use var rankingsFileName passed into VS hardcoded fileNameValues
      2. ]
  4. [00:00] NEW task IN FIX-PRB
    1. x] # # - FIX-PRB - fileNotWriting
    2. x] checked data set for /r/n ... x] found and removed on 4 records
    3. > *] TEMP REMOVED 4 new entries, status = asking
    4. > *] TEMP REMOVED 26 jeb burton ( not entered ? )
    5. x] PRB in process data loop - between 11 -22,
    6. x] SOLUTION= edit Biffle record CAUSE= 1 missed quotation mark in Biffle record
    7. x] REPLACED - temp removed drivers, test = PASS
  5. [30:00] NEW task IN DATA update 2015-16-qualified (rankings-2)
    1. x] # # - ADD -"qualified" data values, for all drivers
    2. x] ADD burton, remove 62 (DNQ)
  6. [00:00] NEW task
    1. x] # # - createFileRankings-2.json - qualified
    2. x] call createRankings2(filename),
    3. x] setRaceStatus,
    4. x] update fileName in raceStatus
  7. [30:00] NEW task IN DATA update 2015-15-practiceF (rankings-3, rankings-final)
    1. x] # # - ADD - practiceF data values, for all drivers
  8. [19:30] NEW task
    1. x] # # - createFileRankings-3.json - practiceF, final
    2. x] call createRankings2(filename),
    3. x] setRaceStatus, "final"
    4. x] update fileName in raceStatus
  9. [20:00] NEW task IN FIX-PRB
    1. ] # # - not writing file final
    2. NO PRB - IN DATA - error file doesnt exist "", ??? = getting to setRaceStatus('file), before the file is being generated completely ( doesnt happen on rankings-1, -2 )

[currently]

  1. *] DATA for this race is in PASS
    1. x] 2015-17-rankings-1.json (avgFinish)
    2. x] 2015-17-rankings-2.json (qualified)
    3. x] 2015-17-rankings-final.json (practiceF, cost)
  2. > [00:00] PASS
    1. x] manually edited selections[],
    2. x] added selections for race 2015-16, for
    3. x] me,
    4. x] NASCAR
  3. > [00:00] PRB-PASS
    1. x] ERROR on remote load, "request"
    2. x] REM request.js in server.js, PUBLISH
    3. x] REM code IN createRankings1, ..., createRankings3, CALL createRankings#, PUBLISH
    4. *] still slow, like 10 seconds to page load, BUT if click, click after page load, works, wait a few seconds, back to delay
  4. [10:30] NEW task IN
    1. x] UPDATE DATA - x] drivers average finish @Daytona, for each,
  5. [30:00] NEW task IN DATA update 2015-16-averages (rankings-1)
    1. x] # # - add "averageFinish" DATA values for all drivers, entered in this race
  6. [11:00] NEW task
    1. x] # # - test= PASS - create - rankings-1.json
  7. [00:00] NEW task IN
    1. x] # # - ADD race "idx=7", id=2015-17,  to races[], in races.js,
    2. ] SET curRace to idx=7,
    3. ] SET status to ""  
    4. x] EDIT file data in raceStatusChanged() function
  8. [00:00] NEW task IN
    1. x] UPDATE DATA - x] remove prevRaceDrivers(x] said, x] marks, x] kennedy )
    2. x] UPDATE DATA - x] add currentRaceDrivers( x] b.scott(new), x] b.labonte(new) )
  9. [11:30] NEW task IN
    1. ] UPDATE DATA - ] qualified  // NO QUALIFYING DATA available, RACE is TOMMOROW, will qualify 1:35 PST today
  10. [12:00] NEW task
    1. ] testing - create - rankings-2.json
  11. [12:30] NEW task IN
    1. x] UPDATE DATA - x] practiceF, x] costThisRace
  12. [13:00] NEW task
    1. ] testing - create - rankings-3.json, ] rankings-final.json,
  13. [13:30] NEW task IN FIX-PRB
    1. ] # # - FIX-PRB-#### - ] FAIL - PRB - doesnt create file
    2. ] TRY - create-rankings-2.json - ] doesnt create file either,
    3. ] TRY - REM data processing - no change
    4. ] TRY - REM all - no change
    5. ] TRY - restart IDE, no change
    6. ] TRY - make createRankings1 == createRankings2 , failing BUT if set status=entrants, THEN it writes the file
    7. ] PRB - hidden, CAUSE app is trying to access the file being created, BEFORE the file is finished "writing", program crashes
  14. [12:30] NEW task IN
    1. x] # # - UPDATE DATA - x] qualified * qualified session was RAINED OUT, qualifying positions SET on first practice speeds AND ???
  15. > [15:30] NEW task IN
    1. x] ADD - function createRankings3 (duplicate of, minus the final sort on total points)
    2. x] RENAME function createRankings3 AS createRankingsFinal -
  16. [00:00] NEW task IN DATA-add-driver
    1. x] # 344 - driver 33 Brian Scott
    2. x] # 345 - driver 32  Bobby Labonte
  17. [1:30]
    1. x] # # - selections  2015-17 === {3, 13, 15, 27, 88}
  18. [00:00] NEW task IN
    1. x] # # - publish - remote 
  19. [22:00] function makeSelections2()
    1. x] # # -  move SET budget code above push into array, no longer get undefined after first pick 
  20. [00:00] NEW task
    1. ] # # - MOVE code CALL createRankings below menuInit call

[next]

  1. ] function - raceStatusChange uses hardcoded filenames for 1 race,
    1. ] these need to by dynamically generated based on what point in the season your ate
Details Photos Edit more

Details

ID: 5350

NAME: 4800-v-007-003

DESCRIPTION: x] DATA race# 17(Daytona) x] ADD createRankings-3(practice Final), x] UPD makeSelections2() - budgetBalance, ]

START DATE TIME: 2015-07-04 11:50:06

EST DURATION: 01:00:00

END DATE TIME: 2015-07-04 12:50:06

STATUS: In-Process

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities