🧭 Mentorship plan
Written from the value chain only: the original document was not available.
This mentorship plan guides a team through the foundational steps of building a Core Banking Modernization Risk Intelligence Platform. It focuses on developing skills in static code analysis, dependency mapping, automated ground-truth generation for upgrade effort, and initial machine learning model development for risk prediction, tailored for the Pakistani financial sector.
Pace rule: Each step starts with a question. The learner answers it in their own words, then does the task. A step's typical days are the time given. A learner who has not answered by then is not chased: the mentor moves on to learners who are moving, and the door stays open for when they return.
Who this is for
Final-year computer science or software engineering students in Pakistan with basic programming proficiency in Java and Python, and a foundational understanding of software development lifecycle concepts.Starting point
The team should be able to write, compile, and run Java and Python applications, understand basic Git operations (clone, commit, branch, merge), and have a conceptual grasp of machine learning fundamentals.Components
- Component name
- Core Banking Modernization Risk Intelligence Platform
- Skill areas
- AI
- Cloud computing
- Platform engineering
- Data engineering
- Business and operations
- Why it matters
- This component provides data-driven, precise, and triaged upgrade plans for core banking systems, moving away from subjective expert judgment. This will reduce regulatory non-compliance risk, accelerate upgrade cycles, optimize resource allocation, and quantify technical debt, leading to significant cost savings and improved operational efficiency for Pakistani banks.
- Ladder
Step Question Where to look Student task Mentor checks Typical days 1 What is cyclomatic complexity, and how do static analysis tools like SonarQube or PMD calculate it for a Java method? SonarQube documentation on metrics, PMD documentation on rules, 'Code Complete' by Steve McConnell (Chapter 28). Implement a basic microservice (e.g., using Spring Boot for Java or Flask for Python) that accepts a Java code snippet (as a string or file path) and uses an integrated static analysis library (e.g., PMD programmatically) to return its cyclomatic complexity. The learner's own-words answer explaining cyclomatic complexity. A working microservice accessible via HTTP endpoint that, given a Java method code snippet, returns its cyclomatic complexity. Pass if the value matches PMD's or SonarQube's output for a given sample method within +/- 1. 3 2 How can an Abstract Syntax Tree (AST) be used to identify method overrides or class extensions in Java code, and what structural features beyond cyclomatic complexity (e.g., fan-in/fan-out) are relevant for customisation characterisation? JavaParser library documentation, 'Compiler Design' textbooks (Chapter on Syntax Analysis), research papers on code metrics. Enhance the microservice to parse a Java codebase (a simple project folder with multiple files) into an AST. Programmatically identify a predefined 'customisation' (e.g., any method overriding a method from a specified base class) and extract its cyclomatic complexity, lines of code, and fan-in/fan-out count using the AST. The learner's own-words answer on ASTs for customisation identification and relevant features. A microservice that ingests a Java project, identifies at least one customisation point based on the specified rule, and returns a JSON object containing the customisation's identifier and its extracted features. Pass if 3 features are correctly extracted for the identified customisation in a mentor-provided sample project. 5 3 Why are graph databases particularly suitable for representing complex software dependencies, and how would you design a graph schema (nodes, relationships, properties) to capture classes, methods, and customisation points within a Java application? Neo4j documentation on graph data modeling, 'Graph Databases' by Ian Robinson et al., academic papers on code property graphs. Design a Neo4j schema for a Java codebase. Define node labels for 'Class', 'Method', and 'CustomisationPoint', and relationship types like 'CALLS', 'EXTENDS', 'IMPLEMENTS', 'DEPENDS_ON'. Populate this schema with data from a small, mentor-provided Java project, marking one 'Method' node as a 'CustomisationPoint'. The learner's own-words answer justifying graph databases for dependencies. A Cypher script defining the schema and populating it for the sample project. Pass if the schema accurately represents classes, methods, their structural relationships, and a 'CustomisationPoint' node correctly linked to a 'Method' node. 4 4 How can Git's merge functionality be automated via scripting, and what specific output patterns from `git merge` or `git rebase` indicate a merge conflict that can be programmatically captured? JGit API documentation, Git command-line documentation ('git merge', 'git rebase'), Stack Overflow discussions on scripting Git. Develop a Python script using JGit (or subprocess calls to `git`) that simulates a core banking upgrade. It should take two local Git repository paths: a 'baseline' version and a 'customised fork'. The script will attempt to rebase the 'customised fork' onto a 'new baseline' (also a local path). It must detect and report if a merge conflict occurs and, if so, report the number of conflicted files. The learner's own-words answer on automating Git merges and detecting conflicts. A Python script that successfully performs the simulated rebase and outputs a dictionary like `{'has_merge_conflict': True/False, 'num_conflicted_files': <int>}`. Pass if it correctly identifies a pre-seeded merge conflict in a mentor-provided scenario and reports `True` for `has_merge_conflict` and `num_conflicted_files > 0`. 7 5 What is a Gradient Boosted Decision Tree (GBDT) model, and how can it be trained to predict a numerical 'upgrade effort score' using a tabular dataset of customisation features and mechanically derived labels (like merge conflict counts)? Scikit-learn documentation for `GradientBoostingRegressor`, LightGBM/XGBoost documentation, 'Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow' by Aurélien Géron (Chapter on Ensemble Learning). Given a synthetic dataset (provided by the mentor) containing features like cyclomatic complexity, fan-in, customisation type, and a target variable 'total_effort_score' (derived from merge conflicts, compilation errors, etc.), train a GBDT regressor using `scikit-learn` or `LightGBM`. Evaluate the model's performance using Mean Absolute Error (MAE) on a held-out test set. The learner's own-words answer explaining GBDT and its application. A Python script that loads the dataset, trains the GBDT model, and prints the MAE on the test set. Pass if the reported MAE is less than 0.20 on the mentor-provided validation split. 6 6 What key information and interactive elements are essential for a dashboard component that visualizes upgrade risk for core banking customisations, especially for non-technical program managers, and how can SHAP-like explanations make it more trustworthy? UI/UX design principles for data dashboards, 'Information Dashboard Design' by Stephen Few, articles on Explainable AI (XAI) for business users. Design a low-fidelity wireframe and write a user story for a dashboard component. The wireframe should visually represent module-level aggregated risk (high/medium/low), drill-down to individual customisation risk, and include a placeholder for SHAP-like explanations that clarify 'why' a customisation is high-risk. The user story should clearly articulate the program manager's need and interaction. The learner's own-words answer on dashboard design and SHAP integration for non-technical users. A clearly legible wireframe (can be hand-drawn and scanned) showing the dashboard layout and interactive elements, alongside a user story (e.g., 'As a Program Manager, I want to see which customisations carry the highest upgrade risk...'). Pass if the wireframe effectively communicates aggregated and individual risks with an explanation feature, and the user story aligns with the platform's objective. 4 7 Which trade-off would you choose between using highly accurate but complex models (e.g., GNNs, CodeBERT) versus more interpretable models (e.g., GBDT with SHAP) for predicting core banking upgrade risk in a commercial product targeting risk-averse Pakistani banks, and why? Research papers comparing interpretability vs. accuracy in ML, case studies of ML adoption in regulated industries (finance), articles on 'trustworthy AI'. Write a short report (approx. 2 pages) outlining your recommended approach for the initial model choice for the 'Core Banking Modernization Risk Intelligence Platform'. Justify your choice by explicitly discussing the trade-offs between accuracy, interpretability, development cost, and the specific needs of the target users (Pakistani bank program managers and IT leads) who need to make critical, auditable decisions based on the predictions. The learner's own-words answer providing a well-reasoned argument for their chosen trade-off. A written report that clearly articulates the recommendation, citing specific reasons related to the Pakistani banking context (e.g., regulatory scrutiny, need for clear explanations, potential for adoption resistance) and technical factors. Pass if the justification is logical, directly addresses the prompt's trade-off, and considers the target audience. 5 - Common mistakes
- Treating code as raw text instead of structured data (Abstract Syntax Trees, Control Flow Graphs).
- Underestimating the complexity of defining and mechanically deriving 'ground truth' for software engineering metrics like 'effort' and 'risk'.
- Ignoring the operational complexities of integrating static analysis tools and Git operations programmatically.
- Developing models without considering the interpretability requirements for non-technical stakeholders in a regulated industry.
- Overlooking the specific challenges and constraints of the Pakistani banking sector (e.g., data sensitivity, regulatory compliance, resistance to new tech).
- Focusing too much on general ML theory without grounding it in the specifics of code analysis and dependency mapping.
Mentor guidance
- Encourage learners to think systematically about code as data structures (ASTs, graphs) rather than just text, as this is fundamental to effective code analysis.
- Stress the importance of clear, measurable definitions for 'customisation', 'effort', and 'risk' in the context of core banking, linking technical work to business outcomes.
- Guide them in breaking down complex tasks into smaller, verifiable steps, especially when dealing with external tools or libraries (e.g., Git, static analyzers).
- Emphasize the 'why' behind each technical choice, particularly the balance between model complexity, accuracy, and interpretability for commercial adoption.
- Remind the team to consider local Pakistani context: data privacy, regulatory landscape, and the typical IT infrastructure and skill sets within local banks.
- Promote an iterative approach: start with simple solutions and progressively add complexity, ensuring each step is thoroughly understood and validated.
Assumptions
- This mentorship plan is developed solely based on the provided JSON value chain document, as no other source document was available.
- The team has access to standard development tools (IDE, Git client, Python, Java runtime) and basic cloud services for microservice deployment (e.g., a local Docker setup or a basic VM).
- Mentor will provide synthetic datasets for ML model training and evaluation as specified in relevant steps.
Prepared by InnoQuest's AI from the uploaded document. Check every number before relying on it; assumptions are listed above.