mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-25 17:35:25 +02:00
additional logging information
This commit is contained in:
parent
354e1f754a
commit
8130703ba0
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ export class ConstructionTaskValidator {
|
|||
}
|
||||
let total_blocks = result.mismatches.length + result.matches.length;
|
||||
score = (result.matches.length / total_blocks) * 100;
|
||||
console.log(`Task is ${score}% complete`);
|
||||
console.log(`Agent name is ${this.agent.name}`);
|
||||
console.log(`Task is ${score}% complete \n\n`);
|
||||
return {
|
||||
"valid": valid,
|
||||
"score": score
|
||||
|
|
Loading…
Add table
Reference in a new issue