Optimize onboarding mentorship portfolio

Choose an interference-aware mentorship portfolio using only prospective controlled effects, reliability shrinkage, common autonomy scenarios, unique shared loss, mentor capacity, service gates, CVaR and exact-or-disclosed beam search.

What it's for

Gives engineering leaders an evidence-backed mentoring plan that balances faster autonomy against scarce senior attention, timezone fit, launch risk and financial downside instead of assigning the nearest available senior engineer.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
beam_width integer ≥ 1 Numerical control Optional
budget number ≥ 0 Your calibration Yes
causal_studies array of objects (11 fields) ≥ 0 items Evidence Yes
detail_limit integer ≥ 1, ≤ 1000 Your calibration Optional
exact_search_limit integer ≥ 1 Your calibration Optional
maximum_expected_autonomy_days any Your calibration Optional
maximum_loss_cvar any Your calibration Optional
mentor_capacity_hours object Evidence Yes
mentorship_options array of objects (13 fields) Evidence Yes
minimum_knowledge_fit number ≥ 0, ≤ 1 Your calibration Optional
minimum_on_time_probability number ≥ 0, ≤ 1 Your calibration Optional
minimum_timezone_overlap number ≥ 0, ≤ 1 Your calibration Optional
onboarding_units array of objects (7 fields) Evidence Yes
scenarios array of objects (5 fields) Evidence Yes
tail_probability number ≥ 0.5, < 1 Your calibration Optional

Each mentorship_options record

Field Type Required
cost number (≥ 0) Yes
dependency_option_ids array of string Yes
excluded_option_ids array of string Yes
id string (non-empty) Yes
is_baseline boolean Yes
knowledge_fit number (≥ 0, ≤ 1) Yes
learner_hours number (≥ 0) Yes
mentor_hours number (≥ 0) Yes
mentor_ref any Yes
mentor_response_reliability number (≥ 0, ≤ 1) Yes
option_type string (non-empty) Yes
timezone_overlap number (≥ 0, ≤ 1) Yes
unit_id string (non-empty) Yes
Example input
{
  "budget": 1000,
  "causal_studies": [
    {
      "assignment_design": "cluster_randomized",
      "control_count": 30,
      "design_reliability": 0.9,
      "id": "paired-review-study",
      "interference_design": "cluster_accounted",
      "log_time_ratio_effect": -0.35,
      "option_type": "paired_review",
      "prospectively_registered": true,
      "standard_error": 0.05,
      "transport_weight": 0.9,
      "treated_count": 30
    }
  ],
  "mentor_capacity_hours": {
    "mentor-0": 8,
    "mentor-1": 8
  },
  "mentorship_options": [
    {
      "cost": 0,
      "dependency_option_ids": [],
      "excluded_option_ids": [],
      "id": "baseline-0",
      "is_baseline": true,
      "knowledge_fit": 1,
      "learner_hours": 0,
      "mentor_hours": 0,
      "mentor_ref": null,
      "mentor_response_reliability": 1,
      "option_type": "baseline",
      "timezone_overlap": 1,
      "unit_id": "unit-0"
    },
    {
      "cost": 100,
      "dependency_option_ids": [],
      "excluded_option_ids": [],
      "id": "pair-0",
      "is_baseline": false,
      "knowledge_fit": 0.95,

Truncated for display — the full payload is 130 lines.

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "decision": "mentorship_portfolio_selected",
  "evidence": {
    "admissible_option_type_count": 1,
    "rejected_option_counts": {},
    "rejected_study_counts": {}
  },
  "gates": {
    "budget": 1000,
    "maximum_expected_autonomy_days": null,
    "maximum_loss_cvar": null,
    "minimum_knowledge_fit": 0,
    "minimum_on_time_probability": 0,
    "minimum_timezone_overlap": 0
  },
  "interpretation": "Effects are admitted only from prospective controlled designs, shrunk toward no effect by design reliability and transported conservatively. Mentor capacity, response reliability, full cost, shared loss, and interference are explicit. Opaque assignments require accountable human review and cannot rank, reward, penalize, hire, or fire anyone.",
  "method": "causal_interference_aware_mentorship_portfolio_search_v1",
  "pareto_frontier": [
    {
      "all_units_on_time_probability": 0.8,
      "expected_loss": 820,
      "loss_cvar": 4100,
      "selected_option_ids": [
        "baseline-0",
        "baseline-1"
      ],
      "total_cost": 0
    },
    {
      "all_units_on_time_probability": 0.8,
      "expected_loss": 602,
      "loss_cvar": 2610,
      "selected_option_ids": [
        "baseline-0",
        "pair-1"
      ],
      "total_cost": 100
    },
    {
      "all_units_on_time_probability": 1,
      "expected_loss": 204,
      "loss_cvar": 220,
      "selected_option_ids": [
        "pair-0",

Truncated for display — the full payload is 100 lines.

How it works

Forecasting & survival — Estimate when something completes or fails, with censoring and unresolved work handled honestly rather than dropped.

  1. 1 Admit only prospectively registered randomized, cluster-randomized or frozen-propensity studies whose peer interference is absent or explicitly cluster-accounted; reject weak arms and shrink transported effects toward no effect by design reliability.
  2. 2 Evaluate one baseline or mentoring policy per onboarding unit under coherent common scenarios, attenuate benefit by mentor response reliability while retaining full cost, enforce knowledge fit, timezone overlap, mentor capacity, dependencies, exclusions and mandatory support.
  3. 3 Count direct lateness for every unit and shared launch/coordination loss once per group and scenario; enforce budget, expected-autonomy, on-time and CVaR gates, then return the exact or beam-search choice plus the non-dominated cost-loss-tail frontier.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • Training examples precede their outcomes, censoring and unresolved work are represented, and deployment populations remain comparable to validation cohorts.
  • Onboarding units and shared-loss groups are complete; study assignment, interference handling and outcome definitions are credible; opaque mentor availability, fit, timezone overlap, response reliability, full cost and delay value are current.
  • A predictive interval or risk estimate is not a deadline promise, causal explanation, or individual-performance judgment.
  • This selects preauthorized cohort support options, not people. Opaque references require human review; never turn the result into mentor or learner ranking, forced pairing, performance management, hiring, firing or compensation action.

Minimum evidence

  • onboarding_units: required and organization-defined
  • mentorship_options: required and organization-defined
  • causal_studies: at least 0 rows/items
  • scenarios: required and organization-defined
  • mentor_capacity_hours: required and organization-defined
  • budget: required and organization-defined

How to validate it

Backtest the chosen action against simple feasible baselines on held-out scenarios, sweep costs/constraints/risk tolerance, and require constraint feasibility under adverse inputs.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • versioned onboarding-unit-to-option matrix joined to the validated autonomy forecast, effective mentor availability, prospective study registry, unique shared-risk groups and coherent scenario effect draws without duplicate loss
  • eligible aggregate support policies, assignment and peer-interference design, effect transport/reliability, minimum arm support, mentor/learner consent and capacity, knowledge fit, timezone inclusion, response reliability, mandatory support, dependencies/exclusions, budget, autonomy/on-time/CVaR limits and human assignment authority

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "choose an interferenceaware mentorship portfolio using" }
  → finds "optimize_onboarding_mentorship_portfolio"

gitrevio_capability_describe
  { "capability_id": "optimize_onboarding_mentorship_portfolio" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "optimize_onboarding_mentorship_portfolio", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Audit onboarding mentorship evidence integrity

Audit point-in-time onboarding cohorts, ordered autonomy milestones, source completeness and corroborated mentorship windows before publishing privacy-safe ramp evidence.

Statistical audit & measurement

Forecast onboarding time to autonomy economics

Forecast remaining time-to-autonomy and delay-cost tails with a company-local right-censored, partially pooled log-normal AFT model that must beat a global baseline on the latest whole cohort.

Forecasting & survival

Analyze info gap robust satisficing

Select a robust-satisficing action under severe uncertainty with Info-Gap Decision Theory: evaluate worst and best payoff across a governed nested uncertainty envelope, maximize the radius before a critical requirement fails, report windfall opportuneness, and use no scenario probabilities.

Decision analysis

Audit attention fragmentation evidence integrity

Audit consented point-in-time contributor identity, availability, privacy-safe calendar metadata and work-session lineage before reporting aggregate meeting load, protected focus blocks or cross-project switching.

Statistical audit & measurement

Audit attrition risk prediction integrity

Audit an attrition model's complete eligible cohort, point-in-time features, supportive-use governance, intervention-contaminated labels, competing outcomes, calibration, false positives and authorized subgroup error before any person-level use.

Forecasting & survival

Audit code knowledge concentration integrity

Audit file, module, service, or repository knowledge concentration from point-in-time substantive changes, reviews, incident response and documentation using identity-confidence filtering, recency decay, Bayesian ownership uncertainty, entropy-effective owners, HHI and leave-top-owner-out resilience—without turning contribution evidence into a person-performance score.

Sequential Bayesian & bandits

See every tool in People, retention & knowledge →

Ready to See Your Engineering work clearly?

Request a free demo