1.3.0: Updated ONLINE.
This commit is contained in:
19
scripts/check_l3_final.py
Normal file
19
scripts/check_l3_final.py
Normal file
@@ -0,0 +1,19 @@
|
||||
import sqlite3
|
||||
import pandas as pd
|
||||
import os
|
||||
|
||||
db_path = r'd:\Documents\trae_projects\yrtv\database\L3\L3_Features.sqlite'
|
||||
conn = sqlite3.connect(db_path)
|
||||
try:
|
||||
print("Checking L3 Obj and KAST:")
|
||||
df = pd.read_sql_query("""
|
||||
SELECT
|
||||
steam_id_64,
|
||||
side_obj_t, side_obj_ct,
|
||||
side_kast_t, side_kast_ct
|
||||
FROM dm_player_features
|
||||
LIMIT 5
|
||||
""", conn)
|
||||
print(df)
|
||||
finally:
|
||||
conn.close()
|
||||
14
scripts/run_rebuild_fix.py
Normal file
14
scripts/run_rebuild_fix.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from web.app import create_app
|
||||
from web.services.feature_service import FeatureService
|
||||
import sys
|
||||
import os
|
||||
|
||||
# Ensure project root is in path
|
||||
sys.path.append(os.getcwd())
|
||||
|
||||
app = create_app()
|
||||
|
||||
with app.app_context():
|
||||
print("Starting Feature Rebuild...")
|
||||
count = FeatureService.rebuild_all_features()
|
||||
print(f"Rebuild Complete. Processed {count} players.")
|
||||
Reference in New Issue
Block a user