<commit_before>export const InvalidOidToken = class extends Error {
    constructor(message) {
        this.name = 'InvalidOidToken';
        this.message = message || '';
    }
};

export default class {
    constructor(oidToken) {
        try {
            const oidParts = oidToken.split(':');
            this.type = oidParts[0];
            this.idNumber = parseInt(oidParts[1], 10);
        } catch (error) {
            throw new InvalidOidToken(error.message);
        }
    }

    get assetType() {
        return this.type;
    }<commit_msg>Must call super before assignment in class<commit_after>export const InvalidOidToken = class extends Error {
    constructor(message) {
        super(message);
        this.name = 'InvalidOidToken';
    }
};

export default class {
    constructor(oidToken) {
        try {
            const oidParts = oidToken.split(':');
            this.type = oidParts[0];
            this.idNumber = parseInt(oidParts[1], 10);
        } catch (error) {
            throw new InvalidOidToken(error.message);
        }
    }

    get assetType() {
        return this.type;
    }
{'fraction_non_alphanumeric': 0.11280214861235452, 'fraction_numerical': 0.007162041181736795, 'mean_word_length': 2.0546448087431695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4168780', 'n_tokens_mistral': 324, 'n_tokens_neox': 318, 'n_words': 71}