automatic-assessments
Version:
Automatic assessment of Marty and Scratch 3.0 projects
18 lines (17 loc) • 689 B
TypeScript
import { Target } from '../../types/main';
import Analyzer from '../Analyzer';
export declare const MOTION_OPCODE_PREFIX = "motion_";
export declare const CHANGE_VARIABLE_OPCODE = "data_changevariableby";
export declare const SET_VARIABLE_OPCODE = "data_setvariableto";
export declare const LIST_OPCODE_PREFIX = "data_";
export declare const LIST_OPCODE_STRING = "list";
declare class DataRepresentation extends Analyzer {
score: number;
targets: Target[];
constructor(targets: Target[]);
execute(): number;
private firstPointMotion;
private twoPointsVariableOperations;
private threePointsListsOperations;
}
export default DataRepresentation;