ErrLookup › TheAlgorithms/Python
TheAlgorithms/Python
All Algorithms implemented in Python · Python · 1,355 source files
Analyzed at f5988cc097 on 2026-08-14. 776 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Expected a_coeffs to have {self.order + 1} elements for {sel | validation | error | physics, input-validation, valueerror |
| Expected b_coeffs to have {self.order + 1} elements for {sel | validation | error | physics, input-validation, units |
| k must not be negative | validation | error | physics, units, speed-of-light, input-validation |
| n must not be negative | validation | error | physics, input-validation, valueerror |
| Candidates list should not be empty | validation | error | physics, api-contract, valueerror, casimir |
| All elements in candidates must be non-negative | validation | error | physics, input-validation, sign-convention |
| Open Knight Tour cannot be performed on a board of size {n} | validation | error | physics, input-validation, sign-convention |
| Depth cannot be less than 0 | validation | error | physics, input-validation, valueerror |
| Scores cannot be empty | validation | warning | physics, unreachable-code, defensive-programming |
| Invalid input needed_sum must be between 1 and 1000, power b | validation | error | physics, empty-collection, valueerror |
| Invalid source or destination coordinates | validation | error | physics, input-validation, data-quality |
| No solution exists! | validation | error | physics, argument-order, input-validation |
| The board should be a non empty matrix of single chars strin | validation | error | physics, input-validation, division-by-zero |
| The word parameter should be a string of length greater than | validation | error | physics, acoustics, domain-error, supersonic |
| the value of both inputs must be positive | validation | error | physics, division-by-zero, data-quality |
| Input value must be a positive integer | validation | error | physics, typeerror, type-validation, user-input |
| Input value must be a 'int' type | validation | error | physics, typeerror, type-validation, user-input |
| Input value must be a positive integer | validation | error | physics, domain-error, range-validation, units |
| Input value must be a 'int' type | validation | error | bit-manipulation, type-validation, python |
| the value of both inputs must be positive | validation | error | bit-manipulation, input-validation, python |
| both inputs must be positive integers | validation | error | bit-manipulation, input-validation, python |
| input must be a negative integer | validation | error | bit-manipulation, input-validation, python |
| the value of both inputs must be positive | validation | error | bit-manipulation, input-validation, python |
| Both arguments MUST be integers! | validation | error | bit-manipulation, type-validation, recursion, python |
| Both arguments MUST be non-negative! | validation | error | bit-manipulation, input-validation, recursion, python |
| Input must be a non-negative integer | validation | error | bit-manipulation, input-validation, type-validation, python |
| the value of input must not be negative | validation | error | bit-manipulation, input-validation, python |
| Input must be a non-negative integer | validation | error | bit-manipulation, input-validation, type-validation, python |
| input list must not be empty | validation | error | bit-manipulation, input-validation, python |
| all elements must be integers | validation | error | bit-manipulation, type-validation, python |
| The given input must be positive | validation | error | bit-manipulation, input-validation, python |
| Input value must be an 'int' type | validation | error | bit-manipulation, type-validation, python |
| Input must be a non-negative integer | validation | error | bit-manipulation, input-validation, type-validation, python |
| number must not be negative | validation | error | bit-manipulation, input-validation, python |
| Input value must be a 'int' type | validation | error | bit-manipulation, type-validation, python |
| number must be an integer | validation | error | bit-manipulation, type-validation, python |
| number must be positive | exception | error | bit-manipulation, validation, python |
| operation can not be conducted on an object of type {type(nu | exception | error | bit-manipulation, type-error, python |
| Input value must be an 'int' type | exception | error | bit-manipulation, type-error, python |
| The value of input must be non-negative | exception | error | bit-manipulation, validation, python |
| Input list must contain at least two elements | exception | error | boolean-algebra, validation, python |
| Inputs and select signal must be 0 or 1 | exception | error | boolean-algebra, multiplexer, validation, python |
| Usage of script: script_name <size_of_canvas:int> | exception | error | cellular-automata, cli, usage, python |
| plain must contain only lowercase letters (a-z) | exception | error | cipher, validation, python |
| plaintext must be a string | exception | error | cipher, type-error, python |
| key must be a string | exception | error | cipher, type-error, python |
| plaintext is empty | exception | error | cipher, validation, python |
| key is empty | exception | error | cipher, validation, python |
| ciphertext must be a string | exception | error | cipher, type-error, python |
| ciphertext is empty | exception | error | cipher, validation, python |
| encode() accepts only letters of the alphabet and spaces | exception | error | cipher, validation, python |
| decode() accepts only 'A', 'B' and spaces | exception | error | cipher, validation, python |
| Base16 encoded data is invalid: Data does not have an even n | exception | error | cipher, encoding, base16, validation, python |
| Base16 encoded data is invalid: Data is not uppercase hex or | exception | error | cipher, encoding, base16, validation, python |
| a bytes-like object is required, not '{data.__class__.__name | exception | error | base64, type-error, encoding, validation |
| argument should be a bytes-like object or ASCII string, not | exception | error | base64, type-error, decoding, validation |
| base64 encoded data should only contain ASCII characters | exception | error | base64, decoding, unicode, validation |
| mod inverse of {a!r} and {m!r} does not exist | exception | error | modular-arithmetic, rsa, math, validation |
| Warning: upper bound of deterministic test is exceeded. Pass | exception | warning | primality, miller-rabin, big-int, cryptography |
| Unsupported Group | exception | error | diffie-hellman, key-exchange, configuration, validation |
| Invalid public key | exception | error | diffie-hellman, key-exchange, security, validation |
| Please use 3 unique rotors (not {unique_rotsel}) | exception | error | enigma, rotor, validation, input-validation |
| First rotor position is not within range of 1..26 ({rotorpos | exception | error | enigma, rotor-position, off-by-one, validation |
| Second rotor position is not within range of 1..26 ({rotorpo | exception | error | enigma, rotor-position, off-by-one, validation |
| Third rotor position is not within range of 1..26 ({rotorpos | exception | error | enigma, rotor-position, off-by-one, validation |
| Plugboard setting isn't type string ({type(pbstring)}) | exception | error | enigma, plugboard, type-error, validation |
| Odd number of symbols ({len(pbstring)}) | exception | error | enigma, plugboard, validation, odd-length |
| '{i}' not in list of symbols | exception | error | enigma, plugboard, alphabet, validation |
| Duplicate symbol ({i}) | exception | error | enigma, plugboard, duplicate, validation |
| determinant modular {req_l} of encryption key({det}) is not | exception | error | hill-cipher, matrix, linear-algebra, validation |
| Height of grid can't be 0 or negative | exception | error | rail-fence, transposition, key-validation, validation |
| invalid input option | exception | error | cli, user-input, keyword-cipher, validation |
| Length of alphabet has to be 27. | exception | error | ciphers, trifid, validation, alphabet |
| Each message character has to be included in alphabet! | exception | error | ciphers, trifid, validation, input-sanitization |
| invalid k value | exception | error | computer-vision, harris-corner, validation, parameter-bug |
| The input array is not a square matrix | exception | error | computer-vision, pooling, numpy, validation |
| Invalid 'from_type' value: {from_type!r}.\nConversion abbrev | exception | error | conversions, units, validation, astronomy |
| Invalid 'to_type' value: {to_type!r}.\nConversion abbreviati | exception | error | conversions, units, validation, astronomy |
| Empty string was passed to the function | exception | error | conversions, binary, validation, empty-input |
| Non-binary value was passed to the function | exception | error | conversions, binary, validation, input-sanitization |
| Empty string was passed to the function | exception | error | conversions, binary, hexadecimal, empty-input |
| Non-binary value was passed to the function | exception | error | conversions, binary, hexadecimal, validation |
| Non-binary value was passed to the function | exception | error | conversions, binary, octal, validation |
| Empty string was passed to the function | exception | error | conversions, binary, octal, empty-input |
| Invalid numbering system | exception | error | conversions, numbers-to-words, validation, enum |
| This function only accepts non-negative integers | exception | error | conversions, numbers-to-words, validation, range-check |
| This function only converts numbers less than 100 | exception | error | conversions, numbers-to-words, validation, range-check |
| Input number is too large | exception | error | conversions, numbers-to-words, validation, overflow |
| int() can't convert non-string with explicit base | exception | error | conversions, type-error, float, base-conversion |
| parameter must be positive int | exception | error | conversions, validation, negative-numbers, base-conversion |
| 'str' object cannot be interpreted as an integer | exception | error | conversions, type-error, base-conversion, string-input |
| 'float' object cannot be interpreted as an integer | exception | error | python, type-error, radix, input-validation |
| base must be >= 2 | exception | error | python, value-error, radix, input-validation |
| base must be <= 36 | exception | error | python, value-error, radix, base-conversion |
| 'float' object cannot be interpreted as an integer | exception | error | python, type-error, binary, input-validation |
| 'str' object cannot be interpreted as an integer | exception | error | python, type-error, binary, string-parsing |
| No input value was provided | exception | error | python, value-error, binary, empty-input |
| Input value is not an integer | exception | error | python, value-error, binary, input-validation |
| Incorrect 'from_type' or 'to_type' value: {from_type!r}, {to | exception | error | python, value-error, units, energy, input-validation |
| No value was passed to the function | exception | error | python, value-error, hex, binary, empty-input |
| Invalid value was passed to the function | exception | error | python, value-error, hex, binary, input-validation |
| Empty string was passed to the function | exception | error | python, value-error, hex, decimal, empty-input |
| Non-hexadecimal value was passed to the function | exception | error | python, value-error, hex, decimal, input-validation |
| Invalid IPv4 address format | exception | error | python, value-error, ipv4, network, input-validation |
| Invalid IPv4 octet {octet} | exception | error | python, value-error, ipv4, network, range-check |
| Invalid decimal IPv4 address | exception | error | python, value-error, ipv4, network, range-check |
| Invalid 'from_type' value: {from_type!r}.\nConversion abbrev | exception | error | python, value-error, units, length, input-validation |
| Invalid 'to_type' value: {to_type!r}.\nConversion abbreviati | exception | error | python, value-error, units, length, input-validation |
| Empty string was passed to the function | exception | error | python, value-error, octal, binary, empty-input |
| Non-octal value was passed to the function | exception | error | python, value-error, octal, binary, input-validation |
| Empty string was passed to the function | exception | error | python, value-error, octal, decimal, empty-input |
| Non-octal value was passed to the function | exception | error | python, validation, numeral-system, conversion |
| Expected a string as input | exception | error | python, type-error, conversion, numeral-system |
| Empty string was passed to the function | exception | error | python, validation, empty-input, conversion |
| Not a Valid Octal Number | exception | error | python, validation, numeral-system, conversion |
| Invalid 'from_type' value: {from_type!r} Supported values a | exception | error | python, validation, units, pressure, conversion |
| Invalid 'to_type' value: {to_type!r}. Supported values are: | exception | error | python, validation, units, pressure, conversion |
| Expected int, found {type(r_input), type(g_input), type(b_in | exception | error | python, type-error, color, conversion |
| Expected int of the range 0..255 | exception | error | python, validation, range, color, conversion |
| hue should be between 0 and 360 | exception | error | python, validation, range, color, conversion |
| saturation should be between 0 and 1 | exception | error | python, validation, range, color, conversion |
| value should be between 0 and 1 | exception | error | python, validation, range, color, conversion |
| red should be between 0 and 255 | exception | error | python, validation, range, color, conversion |
| green should be between 0 and 255 | exception | error | python, validation, range, color, conversion |
| blue should be between 0 and 255 | exception | error | python, validation, range, color, conversion |
| Incorrect 'from_type' or 'to_type' value: {unit_from!r}, {un | exception | error | python, validation, units, speed, conversion |
| 'time_value' must be a non-negative number. | exception | error | python, validation, units, time, conversion |
| Invalid unit {invalid_unit} is not in {', '.join(time_chart) | exception | error | python, validation, units, time, conversion |
| Invalid 'from_type' value: {from_type!r} Supported values a | exception | error | python, validation, units, volume, conversion |
| Invalid 'to_type' value: {to_type!r}. Supported values are: | exception | error | python, validation, units, volume, conversion |
| Invalid 'from_type' or 'to_type' value: {from_type!r}, {to_t | exception | error | python, validation, units, weight, conversion |
| The parameter s type must be str. | exception | error | type-validation, burrows-wheeler, string, compression |
| The parameter s must not be empty. | exception | error | value-validation, burrows-wheeler, empty-input, compression |
| The parameter bwt_string type must be str. | exception | error | type-validation, burrows-wheeler, bwt-inverse, compression |
| The parameter bwt_string must not be empty. | exception | error | value-validation, burrows-wheeler, empty-input, compression |
| The parameter idx_original_string type must be int or passiv | exception | error | type-validation, burrows-wheeler, type-coercion, compression |
| The parameter idx_original_string must not be lower than 0. | exception | error | value-validation, burrows-wheeler, index, compression |
| The parameter idx_original_string must be lower than len(bwt | exception | error | value-validation, burrows-wheeler, index, off-by-one |
| We need some text to work with. | exception | error | value-validation, lz77, compression, empty-input |
| index out of range | exception | error | value-validation, array, index, off-by-one |
| The position should be an integer | exception | error | type-validation, array, selection, quickselect |
| Invalid value of 'position' | exception | error | value-validation, array, selection, quickselect, off-by-one |
| Both input arrays are empty. | exception | error | value-validation, array, median, statistics |
| The array is empty. | exception | error | value-validation, prefix-sum, range-query, empty-input |
| Invalid range specified. | exception | error | value-validation, prefix-sum, range-query, off-by-one |
| empty number list not allowed | exception | error | value-validation, sparse-table, rmq, empty-input |
| list index out of range | exception | error | value-validation, sparse-table, rmq, index, off-by-one |
| Warning: Tree is empty! please use another. | exception | error | value-validation, binary-tree, bst, search, empty-input |
| Value {value} not found | exception | error | value-validation, binary-tree, bst, delete |
| Node with label {label} already exists | exception | error | binary-tree, duplicate-key, validation, insert |
| Node with label {label} does not exist | exception | error | binary-tree, lookup, missing-key, search |
| Binary search tree is empty | exception | error | binary-tree, empty-state, max, query |
| binary tree cannot be empty | exception | error | binary-tree, empty-state, adjacency-list, mirror |
| root {root} is not present in the binary_tree | exception | error | binary-tree, invalid-argument, root, mirror |
| The nodes number should be same as the number of coins | exception | error | binary-tree, precondition, coins, invariant |
| Either arr or size must be specified | exception | error | fenwick-tree, bit, constructor, missing-argument |
| factorial() not defined for negative values | exception | error | math, factorial, negative-argument, validation |
| We need some nodes to work with. | validation | error | cli, input-validation, main-guard, binary-tree |
| Value must be an integer. | exception | error | type-check, dataclass, serialization, type-error |
| Data cannot be empty. | exception | error | serialization, empty-input, deserialization, validation |
| {key} | exception | error | hash-map, key-error, delete, open-addressing |
| Empty heap | exception | error | heap, empty-state, pop, generic-exception |
| Can't get top element for the empty heap. | exception | error | heap, empty-state, randomized-heap, index-error |
| Can't get top element for the empty heap. | exception | error | heap, empty-state, skew-heap, index-error |
| Position must be non-negative | exception | error | linked-list, negative-index, insert, validation |
| Out of bounds | exception | error | linked-list, out-of-bounds, insert, index |
| list index out of range. | exception | error | linked-list, circular-list, index-error, insert, out-of-bounds |
| List is empty | exception | error | deque, empty-collection, peek, python |
| remove_first from empty list | exception | error | deque, index-error, empty-collection, pop |
| list index out of range | exception | error | linked-list, index-error, insert, bounds-check |
| No data matching given value | exception | error | linked-list, value-error, delete, membership |
| Node not found | exception | error | linked-list, lookup-failure, generic-exception, delete |
| The Elements List is empty | exception | error | linked-list, value-error, empty-input, builder |
| The Elements List is empty | exception | error | linked-list, empty-input, builder, generic-exception |
| The linked list is empty. | exception | error | linked-list, value-error, rotate, empty-collection |
| list index out of range. | exception | error | linked-list, index-error, value-error-quirk, subscript |
| list index out of range | exception | error | linked-list, index-error, insert, bounds-check |
| List index out of range. | exception | error | linked-list, index-error, delete, bounds-check |
| QUEUE IS FULL | exception | error | queue, overflow, circular-buffer, capacity |
| UNDERFLOW | exception | error | queue, underflow, circular-buffer, empty-collection |
| Empty Queue | exception | error | queue, empty-collection, generic-exception, circular-buffer |
| Full Queue | exception | error | queue, overflow, circular-buffer, capacity |
| dequeue from empty queue | exception | error | queue, data-structures, python, index-error |
| Maximum queue size is 100 | exception | error | queue, priority-queue, overflow, python |
| Valid priorities are 0, 1, and 2 | exception | error | queue, priority-queue, validation, python |
| All queues are empty | exception | error | queue, priority-queue, underflow, python |
| The queue is empty | exception | error | queue, priority-queue, underflow, python |
| Queue is empty | exception | error | queue, data-structures, index-error, python |
| Queue is empty | exception | error | queue, two-stacks, index-error, python |
| Mismatched parentheses | exception | error | stack, expression-parsing, validation, python |
| list index out of range | exception | error | stack, expression-parsing, index-error, python |
| invalid expression | exception | error | stack, expression-parsing, validation, python |
| {token} is neither a number nor a valid operator | exception | error | stack, expression-evaluation, validation, python |
| Input is not a valid postfix expression | exception | error | stack, expression-evaluation, arithmetic-error, python |
| pop from empty stack | exception | error | stack, data-structures, index-error, python |
| peek from empty stack | exception | error | stack, data-structures, index-error, python |
| level must be between -255.0 (black) and 255.0 (white) | exception | error | image-processing, pil, validation, python |
| Factor value should be from 0 to {self.max_threshold} | exception | error | image-processing, dithering, validation, python |
| ksize must be in {tuple(kernels)} | exception | error | image-processing, opencv, validation, python |
| Destination width/height should be > 0 | exception | error | image-processing, resize, validation, python |
| Expecting an iterable object but got an non-iterable type {p | exception | error | computational-geometry, validation, type-guard, python |
| Expecting a list of points but got {points} | exception | error | python, input-validation, computational-geometry, divide-and-conquer |
| Matrices are not 2x2 | exception | error | python, input-validation, matrix, divide-and-conquer |
| Odd matrices are not supported! | exception | error | python, input-validation, matrix, divide-and-conquer |
| Unable to multiply these matrices, please check the dimensio | exception | error | python, input-validation, matrix, divide-and-conquer |
| Limit for the Catalan sequence must be ≥ 0 | exception | error | python, input-validation, dynamic-programming, math |
| Number should not be negative. | exception | error | python, input-validation, recursion, math |
| Negative arguments are not supported | exception | error | python, input-validation, dynamic-programming, math |
| iterations must be defined as integers | exception | error | python, input-validation, type-error, dynamic-programming |
| starting number must be and integer | exception | error | python, input-validation, argument-order, dynamic-programming |
| Iterations must be done more than 0 times to play FizzBuzz | exception | error | python, input-validation, boundary-check, dynamic-programming |
| Both the weights and values vectors must be either lists or | exception | error | python, input-validation, dynamic-programming, knapsack |
| The number of weights must be the same as the number of valu | exception | error | python, input-validation, length-mismatch, dynamic-programming |
| All weights must be integers but got weight of type {type(wt | exception | error | python, type-error, input-validation, dynamic-programming |
| longest_common_substring() takes two strings for inputs | exception | error | python, input-validation, string, dynamic-programming |
| numbers must be an iterable of integers | exception | error | python, input-validation, type-error, dynamic-programming |
| numbers must be an iterable of integers | exception | error | python, input-validation, type-error, dynamic-programming |
| the value of input must be a natural number | exception | error | python, input-validation, dynamic-programming, math |
| the value of input must not be a negative number | exception | error | python, input-validation, boundary-check, dynamic-programming |
| n must be greater than 0. Got n = {number} | exception | error | python, input-validation, boundary-check, dynamic-programming |
| The parameter days should be a list of integers | validation | error | python, input-validation, type-error, dynamic-programming |
| The parameter costs should be a list of three integers | validation | error | dynamic-programming, input-validation, valueerror |
| All days elements should be greater than 0 | validation | error | dynamic-programming, input-validation, off-by-one |
| All days elements should be less than 366 | validation | error | dynamic-programming, input-validation, calendar |
| n must be greater than or equal to 0. Got n = {n} | validation | error | dynamic-programming, input-validation, arithmetic |
| Each integral piece of rod must have a corresponding price. | validation | error | dynamic-programming, input-validation, argument-mismatch |
| No height can be negative | validation | error | dynamic-programming, input-validation, data-cleaning |
| There's an empty parameter | validation | error | dynamic-programming, hmm, input-validation |
| {var_name} must be a list | validation | error | dynamic-programming, hmm, type-validation |
| {var_name} must be a list of strings | validation | error | dynamic-programming, hmm, type-validation |
| {var_name} must be a dict | validation | error | dynamic-programming, hmm, type-validation |
| {var_name} all keys must be strings | validation | error | dynamic-programming, hmm, type-validation |
| {var_name} {nested_text}all values must be {value_type.__nam | validation | error | dynamic-programming, hmm, type-validation |
| the string should be not empty string | validation | error | dynamic-programming, input-validation, strings |
| the words should be a list of non-empty strings | validation | error | dynamic-programming, input-validation, strings |
| Donor concentration should be positive | validation | error | electronics, physics, input-validation |
| Acceptor concentration should be positive | validation | error | electronics, physics, input-validation |
| Intrinsic concentration should be positive | validation | error | electronics, physics, input-validation |
| Donor concentration should be greater than intrinsic concent | validation | error | electronics, physics, units |
| Acceptor concentration should be greater than intrinsic conc | validation | error | electronics, physics, units |
| Capacitor at index {index} has a negative value! | validation | error | electronics, input-validation, physics |
| Capacitor at index {index} has a negative or zero value! | validation | error | electronics, physics, validation, python, input-validation |
| You cannot supply more or less than 2 values | validation | error | electronics, semiconductor, physics, validation, python |
| Electron concentration cannot be negative in a semiconductor | validation | error | electronics, semiconductor, physics, validation, sign-error |
| Hole concentration cannot be negative in a semiconductor | validation | error | electronics, semiconductor, physics, validation, sign-error |
| Intrinsic concentration cannot be negative in a semiconducto | validation | error | electronics, semiconductor, physics, validation, sign-error |
| Source voltage must be positive. | validation | error | electronics, rc-circuit, physics, validation, python |
| Resistance must be positive. | validation | error | electronics, rc-circuit, physics, validation, sign-error |
| Capacitance must be positive. | validation | error | electronics, rc-circuit, physics, validation, unit-error |
| Source voltage must be positive. | validation | error | electronics, rl-circuit, physics, validation, python |
| Resistance must be positive. | validation | error | electronics, rl-circuit, physics, validation, ideal-circuit-assumption |
| Inductance must be positive. | validation | error | electronics, rl-circuit, physics, validation, unit-error |
| One and only one argument must be 0 | validation | error | electronics, electrostatics, physics, validation, solver-api |
| Distance cannot be negative | validation | error | electronics, electrostatics, physics, validation, sign-error |
| Exactly one argument must be 0 | validation | warning | electronics, electrostatics, dead-code, invariant, defensive |
| You cannot supply more or less than 2 values | validation | error | electronics, semiconductor, physics, validation, solver-api |
| Conductivity cannot be negative | validation | error | electronics, semiconductor, physics, validation, sign-error |
| Electron concentration cannot be negative | validation | error | electronics, semiconductor, physics, validation, sign-error |
| mobility cannot be negative | validation | error | electronics, semiconductor, physics, validation, sign-error |
| Exactly one argument must be 0 | validation | error | electronics, power, physics, validation, solver-api |
| Power cannot be negative in any electrical/electronics syste | exception | error | electronics, validation, valueerror, power |
| One and only one argument must be 0 | exception | error | electronics, validation, impedance, valueerror |
| Exactly one argument must be 0 | exception | info | electronics, dead-code, defensive-programming, impedance |
| One and only one argument must be 0 | exception | error | electronics, validation, reactance, inductance, valueerror |
| Inductance cannot be negative | exception | error | electronics, validation, inductance, reactance, valueerror |
| Frequency cannot be negative | exception | error | electronics, validation, frequency, reactance, valueerror |
| Inductive reactance cannot be negative | exception | error | electronics, validation, reactance, valueerror |
| Exactly one argument must be 0 | exception | info | electronics, dead-code, defensive-programming, reactance |
| One and only one argument must be 0 | exception | error | electronics, validation, ohms-law, valueerror |
| Resistance cannot be negative | exception | error | electronics, validation, ohms-law, resistance, valueerror |
| Exactly one argument must be 0 | exception | info | electronics, dead-code, defensive-programming, ohms-law |
| power_factor must be a valid float value between -1 and 1. | exception | error | electronics, validation, power-factor, valueerror |
| {color} is not a valid color for significant figure bands | exception | error | electronics, resistor, color-code, validation, valueerror |
| {color} is not a valid color for multiplier band | exception | error | electronics, resistor, color-code, multiplier, valueerror |
| {color} is not a valid color for tolerance band | exception | error | electronics, resistor, color-code, tolerance, valueerror |
| {color} is not a valid color for temperature coeffecient ban | exception | error | electronics, resistor, color-code, temperature-coefficient, valueerror |
| {total_number_of_bands} is not a valid number of bands | exception | error | electronics, resistor, color-code, validation, valueerror |
| {type_of_band} is not valid for a {total_number_of_bands} ba | exception | error | electronics, resistor, validation, valueerror |
| {color} is not a valid color | exception | error | electronics, resistor, color-code, validation |
| Expecting {number_of_bands} colors, provided {len(colors)} c | exception | error | electronics, resistor, validation, arity |
| Invalid number of bands. Resistor bands must be 3 to 6 | exception | error | electronics, resistor, validation, range-check |
| Input is invalid | exception | info | electronics, resistor, dead-code, valueerror |
| Resistor at index {index} has a negative or zero value! | exception | error | electronics, resistor, parallel, validation |
| Resistor at index {index} has a negative value! | exception | error | electronics, resistor, series, validation |
| Inductance cannot be 0 or negative | exception | error | electronics, lc-circuit, validation, physics |
| Capacitance cannot be 0 or negative | exception | error | electronics, lc-circuit, validation, physics |
| All resistance values must be positive | exception | error | electronics, wheatstone-bridge, validation |
| Principal borrowed must be > 0 | exception | error | finance, emi, validation, bare-exception |
| Rate of interest must be >= 0 | exception | error | finance, emi, interest-rate, validation |
| Years to repay must be an integer > 0 | exception | error | finance, emi, type-check, validation |
| window_size must be > 0 | exception | error | finance, ema, moving-average, validation |
| days_between_payments must be > 0 | exception | error | finance, interest, validation, dates |
| daily_interest_rate must be >= 0 | exception | error | finance, interest, rate, validation |
| principal must be > 0 | exception | error | finance, interest, principal, validation |
| number_of_compounding_periods must be > 0 | exception | error | finance, interest, compounding, validation |
| nominal_annual_interest_rate_percentage must be >= 0 | exception | error | finance, interest, rate, validation |
| number_of_years must be > 0 | validation | error | finance, input-validation, valueerror |
| nominal_annual_percentage_rate must be >= 0 | validation | error | finance, input-validation, valueerror |
| Discount rate cannot be negative | validation | error | finance, input-validation, valueerror |
| Cash flows list cannot be empty | validation | error | finance, input-validation, valueerror |
| Window size must be a positive integer | validation | error | finance, input-validation, valueerror |
| Useful years must be an integer | validation | error | finance, type-checking, typeerror |
| Useful years cannot be less than 1 | validation | error | finance, input-validation, valueerror |
| Purchase value must be numeric | validation | error | finance, type-checking, typeerror |
| Residual value must be numeric | validation | error | finance, type-checking, typeerror |
| Purchase value cannot be less than zero | validation | error | finance, input-validation, valueerror |
| Purchase value cannot be less than residual value | validation | error | finance, input-validation, valueerror |
| Correct format for using this script: python fractals.py <in | validation | warning | cli, usage-error, graphics, turtle |
| Invalid value {x} for fuzzy set {self} | validation | error | fuzzy-logic, nan, dead-code, valueerror |
| {N_POPULATION} must be bigger than {N_SELECTED} | validation | error | genetic-algorithm, hyperparameters, valueerror |
| {not_in_genes_list} is not in genes list, evolution cannot c | validation | error | genetic-algorithm, input-validation, valueerror |
| Latitude must be between -90 and 90 degrees | validation | error | geodesy, coordinates, input-validation, valueerror |
| Longitude must be between -180 and 180 degrees | validation | error | geodesy, coordinates, input-validation, valueerror |
| degrees must be a numeric value between 0 and 360. | validation | error | geometry, input-validation, typeerror, dataclass |
| length must be a positive numeric value. | validation | error | geometry, input-validation, typeerror, dataclass |
| angle must be an Angle object. | validation | error | geometry, type-validation, dataclass |
| next_side must be a Side or None. | validation | error | geometry, type-validation, dataclass |
| num_cuts must be a positive numeric value. | validation | error | geometry, input-validation, user-input |
| epsilon must be non-negative, got {epsilon!r} | validation | error | geometry, input-validation, preprocessing |
| Input values must either be float or int: {list(locals().val | validation | error | graphics, type-validation, projection |
| Axis must be a str | validation | error | graphics, type-validation, rotation |
| Input values except axis must either be float or int: {list( | validation | error | graphics, type-validation, rotation |
| not a valid axis, choose one of 'x', 'y', 'z' | validation | error | graphics, input-validation, rotation |
| Algorithm is unable to find solution | exception | error | graphs, pathfinding, a-star, unreachable |
| Negative cycle found | exception | critical | graphs, shortest-path, negative-cycle, bellman-ford |
| No path from vertex: {self.source_vertex} to vertex: {target | exception | error | graphs, bfs, shortest-path, unreachable |
| Vertex indexes must be in [0; size). | validation | error | graphs, index-error, bounds-check |
| You need to set maximum flow algorithm before. | exception | error | graphs, max-flow, initialization, strategy-pattern |
| You should execute algorithm before using its result! | exception | error | graphs, max-flow, initialization, ordering |
| Invalid input: {edge} is the wrong length. | validation | error | graphs, input-validation, constructor |
| Incorrect input: {vertex} is already in the graph. | validation | error | graphs, duplicate, vertex |
| Incorrect input: Either {source_vertex} or {destination_vert | validation | error | graphs, vertex, missing-vertex, ordering |
| Incorrect input: The edge already exists between {source_ver | validation | warning | graphs, duplicate, edge, undirected |
| Incorrect input: {vertex} does not exist in this graph. | exception | error | graph, adjacency-list, validation, valueerror |
| Incorrect input: The edge does NOT exist between {source_ver | exception | error | graph, adjacency-list, edges, directed-graph |
| Incorrect input: Either {source_vertex} or {destination_vert | exception | error | graph, adjacency-list, predicate-raises, validation |
| Will result in duplicate vertices. Either increase range bet | exception | error | graph, test-generator, random-sampling, parameter-validation |
| Invalid input: {edge} must have length 2. | exception | error | graph, adjacency-matrix, constructor, edge-format |
| Incorrect input: Either {source_vertex} or {destination_vert | exception | error | graph, adjacency-matrix, edges, vertex-registration |
| Incorrect input: The edge already exists between {source_ver | exception | error | graph, adjacency-matrix, duplicate-edge, simple-graph |
| Incorrect input: The edge does NOT exist between {source_ver | exception | error | graph, adjacency-matrix, edges, directed-graph |
| Incorrect input: {vertex} already exists in this graph. | exception | error | graph, adjacency-matrix, duplicate-vertex, constructor |
| Incorrect input: {vertex} does not exist in this graph. | exception | error | graph, adjacency-matrix, validation, valueerror |
| Incorrect input: Either {source_vertex} or {destination_vert | exception | error | graph, adjacency-matrix, predicate-raises, validation |
| Will result in duplicate vertices. Either increase range bet | exception | error | graph, adjacency-matrix, test-generator, random-sampling |
| Negative weight cycle detected | exception | critical | graph, shortest-path, johnson, bellman-ford, negative-cycle |
| Negative edge weight after reweighting: numeric error | exception | error | graph, shortest-path, johnson, floating-point, dijkstra |
| Graph should be a list of lists. | exception | error | graph, lanczos, numpy, type-validation, adjacency-list |
| Node {node_index} should have a list of neighbors. | exception | error | graph, lanczos, adjacency-list, structure-validation |
| Invalid neighbor {neighbor_index} in node {node_index} adjac | exception | error | graph, lanczos, index-validation, off-by-one |
| Number of eigenvectors must be between 1 and the number of n | exception | error | graph, lanczos, eigenvectors, parameter-validation |
| Vector length must match the number of nodes in the graph. | exception | error | graph, numpy, validation, lanczos, eigenvectors |
| The grid does not contain the appropriate information | exception | error | dynamic-programming, grid, validation, type-guard |
| Capacity cannot be negative | exception | error | greedy, knapsack, validation, fractional-cover |
| size of parity don't match with size of data | exception | error | hamming-code, error-correction, validation, bit-manipulation |
| Input must be of length 32 | exception | error | md5, hash, validation, endianess, internal-api |
| Input must be non-negative | exception | error | md5, hash, validation, unsigned, internal-api |
| Input must have length that's a multiple of 512 | exception | error | md5, hash, validation, padding, internal-api |
| Shift must be non-negative | exception | error | md5, hash, validation, bit-manipulation, internal-api |
| The length of profit and weight must be same. | exception | error | knapsack, greedy, validation, input-mismatch |
| max_weight must greater than zero. | exception | error | knapsack, greedy, validation, capacity |
| Profit can not be negative. | exception | error | knapsack, greedy, validation, data-quality |
| Weight can not be negative. | exception | error | knapsack, greedy, validation, data-quality |
| Coefficient matrix dimensions must be nxn but received {rows | exception | error | linear-algebra, jacobi, numpy, validation, matrix-shape |
| Constant matrix must be nx1 but received {rows2}x{cols2} | exception | error | linear-algebra, jacobi, numpy, validation, matrix-shape |
| Coefficient and constant matrices dimensions must be nxn and | exception | error | linear-algebra, jacobi, numpy, validation, matrix-shape |
| Number of initial values must be equal to number of rows in | exception | error | linear-algebra, jacobi, numpy, validation, initial-guess |
| Iterations must be at least 1 | exception | error | linear-algebra, jacobi, validation, iterations |
| Coefficient matrix is not strictly diagonally dominant | exception | error | linear-algebra, jacobi, convergence, diagonal-dominance, validation |
| 'table' has to be of square shaped array but got a {rows}x{c | validation | error | linear-algebra, matrix, validation, lu-decomposition, numpy |
| No LU decomposition exists | exception | error | linear-algebra, lu-decomposition, zero-pivot, singular-matrix, numpy |
| Matrix is not invertible | validation | error | linear-algebra, matrix-inverse, singular-matrix, numpy, validation |
| Matrix is not square | validation | error | linear-algebra, gaussian-elimination, linear-system, validation |
| Matrix is singular | validation | error | linear-algebra, gaussian-elimination, singular-matrix, numerical-tolerance |
| must have the same size | exception | error | linear-algebra, vector, dimension-mismatch, validation |
| invalid operand! | exception | error | linear-algebra, vector, type-error, dot-product, type-guard |
| index out of range | exception | error | linear-algebra, vector, index-out-of-range, off-by-one, validation |
| Vector is empty | exception | error | linear-algebra, vector, empty-input, norm, validation |
| matrix must have the same dimension! | exception | error | linear-algebra, matrix, dimension-mismatch, validation |
| matrices must have the same dimension! | exception | error | linear-algebra, matrix, dimension-mismatch, validation |
| vector must have the same size as the number of columns of t | exception | error | linear-algebra, matrix, vector, dimension-mismatch, validation |
| change_component: indices out of bounds | exception | error | linear-algebra, matrix, index-out-of-range, off-by-one, validation |
| Matrix is not square | exception | error | linear-algebra, matrix, minor, square-matrix, validation |
| Indices out of bounds | exception | error | linear-algebra, matrix, cofactor, index-out-of-range, off-by-one |
| Matrix has no element | exception | error | linear-algebra, matrix, determinant, empty-input, validation |
| The program cannot work out a fitting polynomial. | validation | error | linear-algebra, polynomial, input-validation, valueerror |
| Expected the same number of rows for A and B. Instead found | validation | error | linear-algebra, schur-complement, shape-mismatch, numpy |
| Expected the same number of columns for B and C. Instead fou | validation | error | linear-algebra, schur-complement, shape-mismatch, numpy |
| Input matrix A is not invertible. Cannot compute Schur compl | validation | error | linear-algebra, schur-complement, singular-matrix, numpy, pseudo-inverse |
| Tableau must have type float64 | validation | error | linear-programming, simplex, numpy, dtype, typeerror |
| RHS must be > 0 | validation | error | linear-programming, simplex, infeasible-start, input-validation |
| number of (artificial) variables must be a natural number | validation | error | linear-programming, simplex, argument-validation |
| invalid operation type: {operation.op_type} | validation | error | machine-learning, autodiff, unsupported-operation, gradient |
| Input data set must be one-dimensional | validation | error | machine-learning, decision-tree, shape-mismatch, numpy |
| x and y have different lengths | validation | error | machine-learning, decision-tree, data-alignment, input-validation |
| Data set labels must be one-dimensional | validation | error | machine-learning, decision-tree, shape-mismatch, numpy |
| Decision tree not yet trained | validation | error | machine-learning, decision-tree, state-error, predict-before-fit |
| Actual result should be float. Value passed is a list | validation | error | machine-learning, forecasting, typeerror, argument-order |
| Input arrays must have the same length. | validation | error | machine-learning, loss-function, data-alignment, input-validation |
| Input arrays must have the same shape. | validation | error | machine-learning, loss-function, cross-entropy, shape-mismatch |
| y_true must be one-hot encoded. | validation | error | machine-learning, loss-function, one-hot, label-encoding |
| Predicted probabilities must sum to approximately 1. | exception | error | machine-learning, loss-function, cross-entropy, softmax, normalization |
| Shape of y_true and y_pred must be the same. | exception | error | machine-learning, loss-function, shape-mismatch, numpy |
| Length of alpha must match the number of classes. | exception | error | machine-learning, loss-function, focal-loss, class-weights |
| Length of predicted and actual array must be same. | exception | error | machine-learning, loss-function, svm, shape-mismatch |
| y_true can have values -1 or 1 only. | exception | error | machine-learning, loss-function, svm, label-encoding |
| The length of the two arrays should be the same. | exception | error | machine-learning, loss-function, metrics, time-series |
| Batch size of y_true and y_pred must be equal. | exception | error | machine-learning, loss-function, nlp, perplexity |
| Sentence length of y_true and y_pred must be equal. | exception | error | machine-learning, loss-function, nlp, padding |
| Label value must not be greater than vocabulary size. | exception | error | machine-learning, loss-function, nlp, vocabulary |
| Polynomial degree must be non-negative | exception | error | machine-learning, regression, polynomial, constructor |
| Data must have dimensions N x 1 | exception | error | machine-learning, regression, numpy, shape-mismatch |
| Design matrix is not full rank, can't compute coefficients | exception | error | machine-learning, regression, linear-algebra, rank-deficiency |
| Predictor hasn't been fit yet | exception | error | machine-learning, regression, lifecycle, state-validation |
| Test samples' feature length does not equal to that of train | exception | error | machine-learning, svm, input-validation, numpy |
| gamma value must be non-negative | exception | error | machine-learning, svm, kernel, hyperparameters |
| Wrong input data's dimensions... dataset : {dataset.ndim}, v | exception | error | numpy, input-validation, similarity-search |
| Wrong input data's shape... dataset : {dataset.shape[1]}, va | exception | error | numpy, input-validation, similarity-search |
| Input data have different datatype... dataset : {dataset.dty | exception | error | numpy, dtype, input-validation, similarity-search |
| rbf kernel requires gamma | exception | error | machine-learning, svm, kernel, hyperparameters |
| gamma must be float or int | exception | error | machine-learning, svm, type-validation, configuration |
| gamma must be > 0 | exception | error | machine-learning, svm, kernel, hyperparameters |
| Unknown kernel: {kernel} | exception | error | machine-learning, svm, configuration, enum-validation |
| n_components and n_iter must be >= 1 | exception | error | machine-learning, dimensionality-reduction, tsne, input-validation |
| log10(0) is undefined. | exception | error | nlp, tf-idf, math-domain, input-validation |
| df must be > 0 | exception | error | nlp, tf-idf, division-by-zero, input-validation |
| abs_min() arg is an empty sequence | exception | error | math, sequence, input-validation |
| abs_max() arg is an empty sequence | exception | error | math, sequence, input-validation |
| abs_max_sort() arg is an empty sequence | exception | error | math, sequence, input-validation |
| Input must be an integer | exception | error | math, number-theory, type-validation |
| Input must be positive | exception | error | math, number-theory, input-validation |
| partitions must be a positive number! | exception | error | math, partitioning, input-validation |
| partitions can not > number_of_bytes! | exception | error | math, partitioning, input-validation |
| surface_area_cube() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_cuboid() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_sphere() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_hemisphere() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_cone() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_conical_frustum() only accepts non-negative val | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_cylinder() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_torus() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| surface_area_torus() does not support spindle or self inters | exception | error | python, math, geometry, validation, valueerror, domain-error, torus |
| area_rectangle() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_square() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_triangle() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_triangle_three_sides() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, herons-formula |
| Given three sides do not form a triangle | exception | error | python, math, geometry, validation, valueerror, triangle-inequality, herons-formula |
| area_parallelogram() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_trapezium() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_circle() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_ellipse() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_rhombus() only accepts non-negative values | exception | error | python, math, geometry, validation, valueerror, input-validation |
| area_reg_polygon() only accepts integers greater than or equ | exception | error | python, math, geometry, validation, valueerror, type-check, polygon |
| area_reg_polygon() only accepts non-negative values as lengt | exception | error | math, geometry, input-validation |
| List is empty | exception | error | math, statistics, empty-collection |
| List is empty | exception | error | math, statistics, empty-collection |
| Digit position must be a positive integer | exception | error | math, bbp, pi, input-validation |
| Precision must be a nonnegative integer | exception | error | math, bbp, pi, input-validation |
| Only positive integers have prime factors | exception | error | math, number-theory, input-validation |
| Only positive numbers are accepted | exception | error | math, number-theory, input-validation |
| Exponent must be a non-negative integer | exception | error | math, exponentiation, input-validation |
| Modulus must be a positive integer | exception | error | math, modular-arithmetic, input-validation |
| n and r must be non-negative integers | exception | error | math, combinatorics, input-validation |
| successes must be lower or equal to trials | exception | error | math, probability, statistics, input-validation |
| the function is defined for non-negative integers | exception | error | math, probability, statistics, input-validation |
| prob has to be in range of 1 - 0 | exception | error | math, probability, statistics, input-validation |
| Both points must have the same dimension. | exception | error | maths, validation, dimension-mismatch, valueerror |
| Monogons and Digons are not polygons in the Euclidean space | exception | error | maths, geometry, validation, valueerror |
| All values must be greater than 0 | exception | error | maths, geometry, validation, valueerror |
| Undefined for non-integers | exception | error | maths, pi, decimal, typeerror, validation |
| Undefined for non-natural numbers | exception | error | maths, pi, decimal, validation, valueerror |
| Sequence only defined for positive integers | exception | error | maths, collatz, generator, validation |
| Please enter positive integers for n and k where n >= k | exception | error | maths, combinatorics, validation, valueerror |
| Please enter a valid number | exception | error | maths, conversion, fractions, validation, valueerror |
| Length must be a positive. | exception | error | maths, geometry, validation, valueerror, int-only-api |
| double_factorial_recursive() only accepts integral values | exception | error | maths, factorial, recursion, validation, valueerror |
| double_factorial_recursive() not defined for negative values | exception | error | maths, factorial, recursion, validation, valueerror |
| double_factorial_iterative() only accepts integral values | exception | error | maths, factorial, iterative, validation, valueerror |
| double_factorial_iterative() not defined for negative values | exception | error | maths, factorial, iterative, validation, valueerror |
| power must be a positive integer | exception | error | maths, autodiff, dual-numbers, operator-overload, valueerror |
| differentiate() requires a function as input for func | exception | error | maths, autodiff, validation, callable, valueerror |
| differentiate() requires a float as input for position | exception | error | maths, autodiff, validation, valueerror |
| differentiate() requires an int as input for order | exception | error | maths, autodiff, validation, valueerror |
| factorial() only accepts integral values | exception | error | maths, factorial, validation, valueerror |
| factorial() not defined for negative values | exception | error | maths, factorial, validation, valueerror |
| factorial_recursive() only accepts integral values | exception | error | math, factorial, type-error, valueerror |
| factorial_recursive() not defined for negative values | exception | error | math, factorial, negative-value, valueerror |
| Input must be a positive number. | exception | error | math, inverse-sqrt, negative-value, graphics, valueerror |
| n is negative | exception | error | math, fibonacci, generator, negative-value, valueerror |
| n is too large | exception | error | math, fibonacci, binet, float-overflow, valueerror |
| power is negative | exception | error | math, fibonacci, matrix, linear-algebra, negative-value, valueerror |
| find_max_iterative() arg is an empty sequence | exception | error | math, max, empty-sequence, valueerror |
| find_max_recursive() arg is an empty sequence | exception | error | math, max, recursion, empty-sequence, valueerror |
| list index out of range | exception | error | math, max, recursion, index-error, bounds, inclusive-exclusive |
| find_min_iterative() arg is an empty sequence | exception | error | math, min, empty-sequence, valueerror |
| find_min_recursive() arg is an empty sequence | exception | error | math, min, recursion, empty-sequence, valueerror |
| list index out of range | exception | error | math, min, recursion, index-error, bounds, inclusive-exclusive |
| math domain error | exception | error | math, gamma, validation, valueerror |
| math range error | exception | error | math, gamma, overflow, floating-point |
| num must be an integer or a half-integer | exception | error | math, gamma, api-limitation, notimplementederror |
| number must be integer and greater than zero | exception | error | math, gcd, factorization, typeerror, validation |
| numbers must be integer and greater than zero | exception | error | math, gcd, input-validation, exception-wrapping |
| Not a Number | exception | error | math, statistics, geometric-mean, typeerror |
| Cannot Compute Geometric Mean for these numbers. | exception | error | math, statistics, geometric-mean, domain-error, negative-values |
| Input value must be a positive integer. Input value: {number | exception | error | math, primes, germain, validation, typeerror |
| num must be non-negative integer | exception | error | math, square-root, binary-search, validation |
| The list is empty. Provide a non-empty list. | exception | error | math, statistics, iqr, empty-input, valueerror |
| Set a and b must either both be sets or be either a list or | exception | error | math, similarity, jaccard, type-mismatch, valueerror |
| num_people or step_size is not a positive integer. | exception | error | math, josephus, recursion, validation, valueerror |
| Input value of [number={number}] must be an integer | exception | error | math, sequences, juggler, typeerror, validation |
| Input value of [number={number}] must be a positive integer | exception | error | math, sequences, juggler, valueerror, infinite-loop-prevention |
| Input value of [number={number}] must be an integer | exception | error | math, number-theory, liouville, typeerror |
| Input must be a positive integer | exception | error | math, number-theory, liouville, valueerror, domain-error |
| recursive_lucas_number accepts only integer arguments. | exception | error | math, lucas, recursion, typeerror |
| dynamic_lucas_number accepts only integer arguments. | exception | error | math, lucas, dynamic-programming, typeerror |
| maclaurin_sin() requires either an int or float for theta | exception | error | math, type-validation, valueerror, trigonometry |
| maclaurin_sin() requires a positive int for accuracy | exception | error | math, valueerror, parameter-validation, trigonometry |
| maclaurin_cos() requires either an int or float for theta | exception | error | math, type-validation, valueerror, trigonometry |
| maclaurin_cos() requires a positive int for accuracy | exception | error | math, valueerror, parameter-validation, trigonometry |
| Both points must be in the same n-dimensional space | exception | error | math, valueerror, dimension-mismatch, distance-metrics |
| Expected a list of numbers as input, found {type(item).__nam | exception | error | math, typeerror, type-validation, distance-metrics |
| Expected a list of numbers as input, found {type(point).__na | exception | error | math, typeerror, type-validation, distance-metrics |
| Missing an input | exception | error | math, valueerror, empty-input, distance-metrics |
| Invalid Input | exception | error | math, algorithms, valueerror, sliding-window |
| The order must be greater than or equal to 1. | exception | error | math, valueerror, distance-metrics, parameter-validation |
| Both points must have the same dimension. | exception | error | math, valueerror, dimension-mismatch, distance-metrics |
| Modulus n must be greater than 1 | exception | error | math, number-theory, valueerror, modular-arithmetic |
| Divisor a must be a positive integer | exception | error | math, number-theory, valueerror, modular-arithmetic |
| a and n must be coprime (gcd(a, n) = 1) | exception | error | math, number-theory, valueerror, modular-arithmetic, coprimality |
| Input must be an integer | exception | error | math, typeerror, type-validation, digits |
| The final value of x must be greater than the initial values | exception | error | math, numerical-analysis, ode, valueerror, parameter-validation |
| Step size must be positive. | exception | error | math, numerical-analysis, ode, valueerror, parameter-validation |
| x-values must be equally spaced according to step size. | exception | error | |
| Insufficient initial points information. | exception | error | |
| could not find root in given interval. | exception | error | |
| Wrong space! | exception | error | |
| float division by zero, could not find root | exception | error | |
| No converging solution found, zero derivative | exception | error | |
| No converging solution found, iteration limit reached | exception | error | |
| The Denominator Cannot be less than 0 | exception | error | |
| The Denominator must be an integer | exception | error | |
| The final value of x must be greater than initial value of x | exception | error | |
| Step size must be positive. | exception | error | |
| The final value of x must be greater than initial value of x | exception | error | |
| Step size must be positive. | exception | error | |
| Number of steps must be greater than zero | exception | error | |
| math domain error | exception | error | |
| Degree of the polynomial must be at least 1. | exception | error | |
| Length of initial roots must match the degree of the polynom | exception | error | |
| perfect_cube_binary_search() only accepts integers | exception | error | python, type-error, input-validation, maths |
| number must be an integer | exception | error | python, value-error, input-validation, maths |
| multiplicative_persistence() only accepts integral values | exception | error | python, value-error, input-validation, maths |
| multiplicative_persistence() does not accept negative values | exception | error | python, value-error, input-validation, maths |
| additive_persistence() only accepts integral values | exception | error | python, value-error, input-validation, maths |
| additive_persistence() does not accept negative values | exception | error | python, value-error, input-validation, maths |
| At least one simulation is necessary to estimate PI. | exception | error | python, value-error, monte-carlo, maths |
| The input value cannot be less than 2 | exception | error | python, value-error, factorization, maths |
| The number of coefficients should be equal to the degree + 1 | exception | error | python, value-error, polynomial, maths, constructor |
| is_prime() only accepts positive integers | exception | error | python, value-error, primes, input-validation, maths |
| Input must be a positive integer | exception | error | python, value-error, primes, sieve, maths |
| Coefficient 'a' must not be zero. | exception | error | python, value-error, quadratic, maths |
| only integers accepted as input | exception | error | python, type-error, input-validation, maths |
| Number {n} must instead be a positive integer | exception | error | python, value-error, primes, sieve, maths |
| Input series is not valid, valid series - [2, 4, 6] | exception | error | python, value-error, input-validation, series, maths |
| Input list must be a non empty list | exception | error | python, value-error, empty-list, series, maths |
| Input series is not valid, valid series - [2, 4, 8] | exception | error | python, value-error, input-validation, series, maths |
| Input list must be a non empty list | exception | error | python, math, validation, value-error |
| Input series is not valid, valid series - [1, 2/3, 2] | exception | error | python, math, type-check, value-error |
| Input list must be a non empty list | exception | error | python, math, validation, value-error |
| Input series cannot have 0 as an element | exception | error | python, math, division-by-zero, value-error |
| Input series is not valid, valid series - [2, 4, 6] | exception | error | python, math, type-check, value-error |
| Length must be a positive integer. | exception | error | python, math, validation, value-error |
| {num}: Invalid input, please enter a positive integer. | exception | error | python, math, primes, validation, value-error |
| solve_simultaneous() requires n lists of length n+1 | exception | error | python, math, linear-algebra, index-error |
| solve_simultaneous() requires lists of integers | exception | error | python, math, linear-algebra, type-check, value-error |
| solve_simultaneous() requires at least 1 full equation | exception | error | python, math, linear-algebra, singular-system, value-error |
| Input value of [number={number}] must be an integer | exception | error | python, math, number-theory, type-error |
| max_set_length must be non-negative | exception | error | python, math, combinatorics, validation, value-error |
| Number {n} must instead be a positive integer | exception | error | python, math, number-theory, validation, value-error |
| Input value of [number={number}] must be an integer | exception | error | python, math, combinatorics, type-error |
| Input value of [number={number}] must be > 0 | exception | error | python, math, combinatorics, off-by-one, value-error |
| {number=} must be a positive integer | exception | error | python, math, number-theory, validation, value-error |
| 'base' must be between 2 and 36 inclusive | exception | error | math, input-validation, valueerror, radix |
| number must be a positive integer | exception | error | math, input-validation, valueerror, negative-numbers |
| Input value of [number={number}] must be an integer | exception | error | math, typeerror, type-checking, hexagonal |
| Input must be a positive integer | exception | error | math, valueerror, input-validation, off-by-one |
| number must be an integer | exception | error | math, valueerror, type-checking, perfect-number, api-quirk |
| Invalid input: num must be >= 0 and sides must be >= 3. | exception | error | math, valueerror, input-validation, polygonal-numbers |
| Input value of [number={number}] must be an integer | exception | error | math, typeerror, type-checking, pronic |
| Input value of [number={number}] must be an integer | exception | error | math, typeerror, type-checking, proth |
| Input value of [number={number}] must be > 0 | exception | error | math, valueerror, input-validation, off-by-one, proth |
| Input value of [{number=}] must be an integer | exception | error | math, typeerror, type-checking, proth |
| Input value of [{number=}] must be > 0 | exception | error | math, valueerror, input-validation, proth |
| param `position` must be non-negative | exception | error | math, valueerror, input-validation, triangular-numbers |
| The input value of [n={number}] has to be > 0 | exception | error | math, valueerror, input-validation, recursion, assertion-quirk, sylvester |
| Input value of [number={number}] must be an integer | exception | error | math, typeerror, type-checking, primes |
| vol_cube() only accepts non-negative values | exception | error | math, geometry, valueerror, input-validation, volume |
| vol_spherical_cap() only accepts non-negative values | exception | error | math, geometry, valueerror, input-validation, volume |
| vol_spheres_intersect() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_spheres_union() only accepts non-negative values, non-ze | exception | error | math, validation, geometry, valueerror |
| vol_cuboid() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_cone() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_right_circ_cone() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_prism() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_pyramid() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_sphere() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_hemisphere() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_circular_cylinder() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_hollow_circular_cylinder() only accepts non-negative val | exception | error | math, validation, geometry, valueerror |
| outer_radius must be greater than inner_radius | exception | error | math, validation, geometry, argument-order, valueerror |
| vol_conical_frustum() only accepts non-negative values | exception | error | math, validation, geometry, argument-order, valueerror |
| vol_torus() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| vol_icosahedron() only accepts non-negative values | exception | error | math, validation, geometry, valueerror |
| Must be 10 characters long | validation | error | date, validation, string-parsing, valueerror |
| Month must be between 1 - 12 | validation | error | date, validation, string-parsing, valueerror |
| Date separator must be '-' or '/' | validation | error | date, validation, string-parsing, valueerror |
| Date must be between 1 - 31 | validation | error | date, validation, string-parsing, valueerror |
| Year out of range. There has to be some sort of limit...righ | validation | error | |
| The date was evaluated incorrectly. Contact developer. | exception | error | |
| Please enter a valid equation. | validation | error | |
| Both a & b of two equations can't be zero. | validation | error | |
| Infinite solutions. (Consistent system) | exception | error | |
| No solution. (Inconsistent system) | exception | error | |
| This matrix has no inverse. | exception | error | |
| Please provide a matrix of size 2x2 or 3x3. | validation | error | |
| Matrix size must be a positive integer. | validation | error | |
| The matrix dont match with size. | validation | error | |
| Each row in the matrix must have exactly {size} characters. | validation | error | |
| Matrix rows can only contain letters and numbers. | validation | error | |
| Move is out of bounds for a matrix. | validation | error | |
| Each move must have exactly two numbers. | validation | error | |
| Only matrices with a non-zero determinant have an inverse | exception | error | |
| Row must be equal in length to the other rows in the matrix | exception | error | |
| Column must be equal in length to the other columns in the m | exception | error | |
| Addition requires matrices of the same order | exception | error | |
| Subtraction requires matrices of the same order | exception | error | |
| The number of columns in the first matrix must be equal to t | exception | error | matrix, linear-algebra, dimension-mismatch, valueerror |
| A Matrix can only be multiplied by an int, float, or another | exception | error | matrix, typeerror, type-mismatch, operator-overloading |
| A Matrix can only be raised to the power of an int | exception | error | matrix, typeerror, exponent, numpy-interop |
| Only square matrices can be raised to a power | exception | error | matrix, valueerror, square-matrix, linear-algebra |
| Only invertable matrices can be raised to a negative power | exception | error | matrix, singular-matrix, inverse, valueerror |
| Step size must be positive and non-zero. | exception | error | matrix, validation, step-size, valueerror |
| Step size must be an integer. | exception | error | matrix, typeerror, step-size, integer-validation |
| Invalid matrix dimensions | exception | error | matrix, recursion, square-matrix, valueerror |
| Expected a matrix, got int/list instead | exception | error | matrix, typeerror, input-validation, shape-error |
| Cannot multiply matrix of dimensions ({rows[0]},{cols[0]}) a | exception | error | matrix, dimension-mismatch, valueerror, linear-algebra |
| operands could not be broadcast together with shape ({shape[ | exception | error | matrix, shape-mismatch, broadcasting, valueerror |
| The input value of 'num_rows' should be 'int' | exception | error | matrix, pascal-triangle, typeerror, input-validation |
| The input value of 'num_rows' should be greater than or equa | exception | error | matrix, pascal-triangle, range-validation, valueerror |
| Unsupported type given for another ({type(another)}) | exception | error | matrix, sherman-morrison, typeerror, type-mismatch |
| Sudoku boards must be {NUM_SQUARES}x{NUM_SQUARES} squares. | exception | error | matrix, sudoku, validation, valueerror, board-geometry |
| Invalid magic number {magic} in MNIST image file: {f.name} | exception | critical | neural-network, mnist, data-loading, corrupt-file, valueerror |
| Invalid magic number {magic} in MNIST label file: {f.name} | exception | error | mnist, data-validation, file-format, gzip |
| Invalid image dtype {dtype!r}, expected uint8 or float32 | exception | error | mnist, dtype, tensorflow, validation |
| Validation size should be between 0 and {len(train_images)}. | exception | error | mnist, validation-split, argument-validation |
| graham_scan: argument must contain more than 3 points. | exception | error | computational-geometry, convex-hull, input-validation |
| Invalid value for min_val or max_val (min_value < max_value) | exception | error | argument-validation, range-check, game |
| argument value for lower and higher must be(lower > higher) | exception | error | argument-validation, range-check, game |
| guess value must be within the range of lower and higher val | exception | error | argument-validation, range-check, game |
| The citations should be a list of non negative integers. | exception | error | input-validation, bibliometrics, argument-validation |
| n should be an integer greater than 0. | exception | error | cache, argument-validation, lru |
| Input sequence should not be empty | exception | error | algorithm, input-validation, empty-input |
| binary_search_delete() only accepts either a list, range or | exception | error | type-validation, binary-search, input-validation |
| Either the item is not in the array or the array was unsorte | exception | error | binary-search, sorted-input, value-validation |
| binary_search_insert() only accepts either a list, range or | exception | error | type-validation, binary-search, input-validation |
| Invalid weight of {weight:f} provided | exception | error | scoring, argument-validation, weights |
| Window size must be a positive integer | exception | error | sliding-window, argument-validation, range-check |
| Value Higher than Pressure at Sea Level ! | validation | error | physics, pressure, unit-conversion, range-check |
| Atmospheric Pressure can not be negative ! | validation | error | physics, pressure, sensor-data, range-check |
| Impossible fluid density | validation | error | physics, buoyancy, argument-validation, range-check |
| Impossible object volume | validation | error | physics, buoyancy, argument-validation, range-check |
| Impossible gravity | validation | error | physics, buoyancy, argument-validation, coordinate-systems |
| Mass cannot be less than 0 | validation | error | |
| Radius cannot be less than 0 | validation | error | |
| Cannot go beyond speed of light | validation | error | |
| Cannot have a capture radius less than 0 | validation | error | |
| One and only one argument must be 0 | validation | error | |
| Magnitude of force can not be negative | validation | error | |
| Distance can not be negative | validation | error | |
| Area can not be negative | validation | error | |
| No particles provided | validation | error | |
| Mass of all particles must be greater than 0 | validation | error | |
| The mass of the body cannot be negative | validation | error | |
| The radius is always a positive non zero integer | validation | error | |
| The radius is always a positive number | validation | error | |
| Division by zero implies vs=v and observer in front of the s | validation | error | |
| Non-positive frequency implies vs>v or v0>v (in the opposite | validation | error | |
| Radius cannot be zero. | validation | error | |
| Invalid velocity. Should be an integer or float. | validation | error | |
| Invalid angle. Should be an integer or float. | validation | error | |
| Invalid angle. Range is 1-90 degrees. | validation | error | |
| Invalid velocity. Should be a positive number. | validation | error | physics, projectile-motion, input-validation, valueerror |
| All input parameters must be positive | validation | error | physics, cosmology, input-validation, valueerror |
| Relative densities cannot be greater than one | validation | error | physics, cosmology, range-check, valueerror |
| Invalid inputs. Enter positive value. | validation | error | physics, thermodynamics, input-validation, valueerror |
| The mass of a body cannot be negative | validation | error | physics, mechanics, input-validation, valueerror |
| Invalid inputs. Enter non zero values with respect to the si | validation | error | physics, optics, lens, zero-check, valueerror |
| Speed must not exceed light speed 299,792,458 [m/s]! | validation | error | physics, relativity, units, range-check, valueerror |
| Speed must be greater than or equal to 1! | validation | error | physics, relativity, units, range-check, valueerror |
| The value of intensity cannot be negative | validation | error | physics, optics, polarization, input-validation, valueerror |
| In Malus Law, the angle is in the range 0-360 degrees | validation | error | physics, optics, polarization, angle-range, valueerror |
| Mass can't be negative. | exception | error | physics, relativity, input-validation, valueerror |
| Energy can't be negative. | exception | error | physics, relativity, input-validation, valueerror |
| Invalid inputs. Enter non zero values with respect to the si | exception | error | physics, optics, mirror, zero-check, valueerror |
| One and only one argument must be 0 | exception | error | physics, argument-validation, solver-api, valueerror |
| Gravitational force can not be negative | exception | error | physics, validation, negative-value, valueerror |
| Distance can not be negative | exception | error | physics, validation, negative-value, distance, valueerror |
| Mass can not be negative | exception | error | physics, validation, negative-value, mass, valueerror |
| Orbital radii must be greater than zero. | exception | error | physics, orbital-mechanics, validation, valueerror |
| Initial orbit radius must be greater than zero. | exception | warning | physics, cli, user-input, valueerror, orbital-mechanics |
| Final orbit radius must be greater than zero. | exception | warning | physics, cli, user-input, valueerror, orbital-mechanics |
| Mass of the orbiting object must be greater than zero. | exception | warning | physics, cli, user-input, valueerror, mass |
| The length should be non-negative | exception | error | physics, pendulum, validation, negative-value, valueerror |
| Frequency can't be negative. | exception | error | physics, photoelectric-effect, validation, valueerror |
| The mass of a body cannot be negative | exception | error | physics, validation, negative-value, mass, valueerror |
| The height above the ground cannot be negative | exception | error | physics, validation, negative-value, height, valueerror |
| All parameters must be positive. | exception | error | physics, hydrology, idf, validation, valueerror |
| please ensure that density, diameter and viscosity are posit | exception | error | physics, fluid-dynamics, validation, valueerror |
| Temperature cannot be less than 0 K | exception | error | physics, kinetic-theory, validation, unit-conversion, exception |
| Molar mass cannot be less than or equal to 0 kg/mol | exception | error | physics, kinetic-theory, validation, exception, lookup |
| You cannot supply more or less than 2 values | exception | error | physics, solver-api, argument-validation, valueerror |
| Stress cannot be negative | exception | error | physics, validation, negative-value, valueerror |
| Tangential Force cannot be negative | exception | error | physics, validation, negative-value, valueerror |
| Area cannot be negative | exception | error | physics, validation, valueerror, shear-stress |
| Impossible fluid density | exception | error | physics, acoustics, validation, valueerror |
| Impossible bulk modulus | exception | error | physics, acoustics, units, validation, valueerror |
| Absolute temperature cannot be less than 0 K | exception | error | physics, gas, units, temperature, bare-exception |
| Molar mass should be greater than 0 kg/mol | exception | error | physics, gas, units, molar-mass, bare-exception |
| mass, density, area and the drag coefficient all need to be | exception | error | physics, drag, validation, valueerror, positional-args |
| Parameter n must be int or castable to int. | exception | critical | python-euler, python2-syntax, typeerror, validation, migration |
| Parameter n must be greater than or equal to one. | exception | critical | python-euler, python2-syntax, valueerror, validation, fibonacci |
| Parameter n must be int or castable to int. | exception | critical | python-euler, python2-syntax, typeerror, validation, prime-factorization |
| Parameter n must be greater than or equal to one. | exception | critical | python-euler, python2-syntax, valueerror, validation, prime-factorization |
| Parameter n must be int or castable to int. | exception | critical | python-euler, python2-syntax, typeerror, validation, prime-factorization |
| Parameter n must be greater than or equal to one. | exception | critical | python-euler, python2-syntax, valueerror, validation, prime-factorization |
| Parameter n must be int or castable to int. | exception | critical | python-euler, python2-syntax, typeerror, validation, prime-factorization |
| Parameter n must be greater than or equal to one. | validation | critical | python-euler, python2-syntax, valueerror, validation, prime-factorization |
| That number is larger than our acceptable range. | validation | error | python-euler, palindrome, valueerror, misleading-message, range-check |
| Parameter n must be int or castable to int. | validation | critical | python-euler, python2-syntax, typeerror, validation, lcm |
| Parameter n must be greater than or equal to one. | validation | critical | python-euler, python2-syntax, valueerror, validation, lcm |
| Parameter nth must be int or castable to int. | validation | critical | python-euler, python2-syntax, typeerror, validation, primes |
| Parameter nth must be greater than or equal to one. | validation | error | project-euler, validation, valueerror, input-validation |
| n must be an integer | validation | error | project-euler, type-check, valueerror, input-validation |
| n must be >= 0 | validation | error | project-euler, validation, valueerror, off-by-one |
| Hand should be of type 'str': {hand!r} | validation | error | project-euler, poker, typeerror, type-check |
| Hand should contain only 5 cards: {hand!r} | validation | error | project-euler, poker, validation, valueerror, data-format |
| gon_side must be in the range [3, 5] | validation | error | project-euler, validation, valueerror, domain-check |
| Magic {gon_side}-gon ring is impossible | exception | error | project-euler, assertion, valueerror, internal-invariant |
| a gon ring should have a length that is a multiple of 3 | validation | error | project-euler, validation, valueerror, data-format |
| Please enter an integer greater than 0 | validation | error | project-euler, validation, valueerror, input-validation |
| Parameter number must be int | validation | error | project-euler, type-check, typeerror, input-validation |
| Parameter number must be greater than or equal to 0 | validation | error | project-euler, validation, valueerror, loop-bounds |
| Parameters chain_length and number_limit must be int | validation | error | project-euler, type-check, typeerror, input-validation |
| Parameters chain_length and number_limit must be greater tha | validation | error | project-euler, validation, valueerror, input-validation |
| Unable to find the secret passcode | exception | error | project-euler, search-exhaustion, exception, data-integrity |
| Invalid input | validation | error | project-euler, validation, valueerror, input-validation |
| check_bouncy() accepts only integer arguments | validation | error | project-euler, type-check, valueerror, input-validation |
| solution() only accepts values from 0 to 100 | validation | error | project-euler, validation, valueerror, range-check |
| number of qubits must be a integer. | validation | error | quantum, typeerror, type-check, input-validation |
| number of qubits must be > 0. | validation | error | quantum, validation, valueerror, input-validation |
| number of qubits must be exact integer. | validation | error | quantum, validation, valueerror, integer-check |
| number of qubits too large to simulate(>10). | validation | error | quantum, qiskit, simulation, input-validation, precondition |
| sorted_collection must be sorted in ascending order | validation | error | search, binary-search, precondition, sorted-input |
| sorted_collection must be sorted in ascending order | validation | error | search, exponential-search, duplicated-code, precondition, sorted-input |
| k must be an integer. | validation | error | search, fibonacci, type-error, input-validation |
| k integer must be greater or equal to zero. | validation | error | search, fibonacci, precondition, input-validation |
| Invalid upper or lower bound! | validation | error | search, linear-search, recursion, off-by-one, bounds |
| Sequence must be list of non-negative integers | validation | error | sorting, bead-sort, type-error, precondition, non-negative-ints |
| The elements inside the sequence must contains only {colors} | validation | error | sorting, dutch-national-flag, partition, precondition, enum-values |
| All numbers must be positive | validation | error | sorting, radix-sort, precondition, non-negative, input-validation |
| Barcode '{barcode}' has alphabetic characters. | validation | error | strings, barcode, validation, user-input |
| The entered barcode has a negative value. Try again. | validation | error | strings, barcode, validation, negative-value, user-input |
| Expected string as input, found {type(input_str)} | validation | error | strings, naming-convention, type-error, input-validation |
| Input must be a string | validation | error | strings, vowels, type-error, input-validation |
| Invalid Strand | validation | error | strings, bioinformatics, dna, validation, alphabet |
| String lengths must match! | validation | error | python, strings, hamming-distance, validation, valueerror |