If I understand you correctly, do you want to make an assessment a function of the remaining time and overall moves? Therefore, the task is to find an algorithm f(time, moves).
Scoring is usually not an exact science. You could solve it mathematically, but the best solution is fair; give players an assessment to complete the level, and then give a bonus in proportion to how good they are compared to other players.
, . , , average time per move, total number of moves time remaining, . , , , f(time, moves)
:
level_score = level * 100;
max_bonus = 100000;
bonus_score = max_bonus / (time_taken + moves_taken + level*10);
score = level_score + bonus_score;