Skip to content

Repository files navigation

Human Behavior Detection Challenge

Overview

This challenge tests your ability to create automation scripts that mimic human behavior. You will develop a Python bot that interacts with a web login form while simulating natural mouse movements and keyboard input patterns.

Challenge Description

Your task is to create a Python script that performs the following actions on a provided website:

  1. Mouse Interaction: Click predetermined points(provided in window.ACTIONS_LIST) on the page in the correct sequence
  2. Form Input: Enter the username and password credentials (provided in window.ACTIONS_LIST)
  3. Authentication: Click the "Log In" button to submit the form
  4. Navigation: Scroll down to the bottom of the page
  5. Session Completion: Click the "End Session" button

Evaluation Criteria

The challenge tracks and analyzes your bot's behavior, including:

  • Mouse movement patterns and trajectories
  • Click timing and coordination
  • Keyboard input speed and rhythm
  • Overall interaction naturalness

Goal: Design a bot that exhibits human-like behavior patterns to achieve the highest possible score from our evaluation system.

For more details, check controller.py and comparer.py more carefully.

Prerequisites

  • Python: Version 3.10 or higher
  • Docker: Latest stable version
  • Basic knowledge of browser automation (Selenium/Playwright recommended)

Getting Started

Step 1: Start the Environment

Run the Docker container to launch the web application and evaluation system:

docker compose up

This command will:

  • Start the web server hosting the login form
  • Initialize the behavior tracking system
  • Prepare the evaluation environment

Step 2: Develop Your Bot

Edit the hb_sample.py file to implement your automation logic. This file contains a basic template that you can customize with your own human-like behavior algorithms.

Step 3: Submit and Evaluate

Run the submission script to test your bot and receive a score:

python submit.py

The script will execute your bot and provide feedback on how convincingly it mimics human behavior.

Reference Images

Below are screenshots showing the application interface:

Login Page Figure 1: Initial login page with form fields

After Login Figure 2: Post-login page with End Session button

Good luck creating the most human-like bot!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages