SFA: /3 Optimising Workflow and Enhancing Robustness (v4 & v5)

IsaIsa
1 min read

Overview

Versions 4 and 5 saw significant strides in workflow optimisation, making the SFA more practical and user-friendly. Efficiency and redundancy elimination became central to these iterations.

Duplicates

A key feature introduced was a robust duplicate-checking mechanism, significantly cutting down on redundant processing:

def report_already_exists(report_id: str, db_path="vectorisation.db") -> bool:
    conn = sqlite3.connect(db_path)
    c = conn.cursor()
    c.execute("SELECT 1 FROM reports WHERE id=?", (report_id,))
    exists = c.fetchone()
    conn.close()
    return bool(exists)

A Little Extra

I also implemented substantial interface improvements, such as clearer feedback with progress bars and advanced logging systems, allowing easier debugging and providing greater transparency during processing tasks.

These improvements significantly enhanced the user experience, making the system easier and more intuitive to operate.

A short read, but progress! See you soon.

pxng0lin

0
Subscribe to my newsletter

Read articles from Isa directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Isa
Isa

Former analyst with expertise in data, forecasting, and resource modeling, transitioned to cybersecurity over the past 4 years (as of May 2024). Passionate about security and problem-solving, utilising skills in data and analysis, for cybersecurity challenges. Experience: Extensive background in data analytics, forecasting, and predictive modelling. Experience with platforms like Bugcrowd, Intigriti, and HackerOne. Transitioned to Web3 cybersecurity with Immunefi, exploring smart contract vulnerabilities. Spoken languages: English (Native, British), Arabic (Fus-ha)