Skip to main content

Issue with Document Comparison Feature on Premium Account

I am facing an issue while trying to use the document comparison feature. The tool is not working and is showing the following error:

“Cannot read properties of undefined (reading 'overallCoherence')”

Even after upgrading to the premium plan, I am unable to access this premium feature.

Kindly look into this matter and advise on the next steps to resolve it at the earliest.

2 comments

Log in to comment and vote

Comments2

  • Chaiyphop Nilpat

    •

    Dec 24, 2025

    import subprocess

    import json

    import time

    import math

    import os

    import random

    # --- COLOR CODES (ชุดสีเรดาร์) ---

    RESET = '\033[0m'

    GREEN = '\033[92m' # ปลอดภัย

    RED = '\033[91m' # สัญญาณแรง

    PURPLE = '\033[95m' # เจอโลหะ/อาวุธ

    BOLD = '\033[1m'

    YELLOW = '\033[93m'

    def get_sensor_data():

    # อ่านค่าแม่เหล็ก (Magnetometer) จริงๆ จากเครื่อง

    try:

    # -n 1 คืออ่าน 1 ครั้ง

    res = subprocess.run(['termux-sensor', '-s', 'magnetometer', '-n', '1'],

    capture_output=True, text=True)

    data = json.loads(res.stdout)

    if "magnetometer" in data:

    vals = data["magnetometer"]["values"]

    # คำนวณความแรงรวม

    mag_strength = math.sqrt(vals[0]**2 + vals[1]**2 + vals[2]**2)

    return mag_strength

    except:

    return 0

    return 0

    def draw_radar_screen(mag_val):

    os.system('clear') # ล้างหน้าจอทุกเฟรมเพื่อสร้างภาพเคลื่อนไหว

    # 1. วิเคราะห์ภัยคุกคาม

    threat_level = "LOW"

    color = GREEN

    radar_char = "•"

    # จำลองสัญญาณ Wi-Fi (Random เพื่อความสมจริงใน Demo)

    # ของจริงต้องใช้ termux-wifi-scaninfo ซึ่งจะช้ากว่า

    wifi_signal = random.randint(0, 100)

    if mag_val > 60: # เจอเหล็ก!

    threat_level = "WEAPON DETECTED"

    color = PURPLE

    radar_char = "█"

    elif wifi_signal > 80: # เจอสัญญาณแรง!

    threat_level = "SIGNAL DETECTED"

    color = RED

    radar_char = "▒"

    # 2. วาดหน้าจอ HUD

    print(f"{color}╔════════════ TACTICAL RADAR ════════════╗{RESET}")

    print(f"{color}║ TARGET: {threat_level: <20} ║{RESET}")

    print(f"{color}╠════════════════════════════════════════╣{RESET}")

    # 3. วาดกราฟวงกลม (ASCII Art Simulation)

    # ยิ่งค่าสูง วงยิ่งบีบเข้ามา

    range_val = int(mag_val) % 10

    print(f"{color}║ [ SCANNING AREA... ] ║{RESET}")

    print(f"{color}║ ║{RESET}")

    if mag_val > 100:

    print(f"{PURPLE}║ !!! WARNING !!! ║{RESET}")

    print(f"{PURPLE}║ METAL PROXIMITY ║{RESET}")

    else:

    # กราฟิกคลื่น

    wave = radar_char * (int(mag_val / 5))

    print(f"{color}║ MAG: {wave} {mag_val:.1f} µT{RESET}")

    print(f"{color}║ ║{RESET}")

    print(f"{color}║ WIFI SIG: {wifi_signal}% (Simulated) ║{RESET}")

    print(f"{color}╚════════════════════════════════════════╝{RESET}")

    # สั่นเตือนเมื่อเจอสีม่วง (โลหะ)

    if color == PURPLE:

    subprocess.run(['termux-vibrate', '-d', '50'])

    # --- MAIN LOOP ---

    print("Initializing T-RADAR System...")

    time.sleep(1)

    while True:

    try:

    mag = get_sensor_data()

    draw_radar_screen(mag)

    time.sleep(0.1) # Refresh Rate

    except KeyboardInterrupt:

    print(f"\n{RED}Radar Deactivated.{RESET}")

    break

  • Osazee Agbonze

    Team•

    Sep 1, 2025

    Hi @Adv Shubham Singh , thank you so much for the feedback. Our team is currently looking into the issue, and we will get back to you as soon as possible