HF RL Explorer

Task: Count Equal Elements in Two NumPy Arrays

Task: Count Equal Elements in Two NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that counts how many elements are equal between two NumPy arrays. Two elements are considered equal if they have the same value AND the same position in both arrays.

The task

Write a Python script that counts how many elements are equal between two NumPy arrays. Two elements are considered equal if they have the same value AND the same position in both arrays.

Part of PrimeIntellect/Terminal-Lego-15k.