AAmit’s LibraryLEARN · PRACTISE · REFLECT

Growth and prospecting × Programming

Business lens: Growth and prospecting · Technology lens: Programming

Reading scope: Original synthetic teaching. Primary links support selected background, not invented business outcomes or implemented organisational systems.

A prospecting script should make its rule visible

A team uses a script to sort incoming business enquiries. Programming can apply a rule consistently, but a numerical score is not automatically a justified account of opportunity or a person's value. Begin with the task: proposing a review order for enquiries received through the stated channel. Computers can calculate declared features and flag missing information; people assess fit and decide an appropriate response. A useful script should expose its inputs, weights and uncertainty rather than make the queue look objective simply because arithmetic produced it. Growth work needs a correction route for enquiries whose context does not fit the default scoring assumptions.

Specify candidate scoring and missing values

The worksheet uses three invented feature ratings from zero to ten: stated need, delivery fit and timing fit. The weights are a classroom policy, not validated predictors. Preserve the input source and reviewer confidence. A missing rating should remain unresolved instead of becoming an arbitrary zero that penalises the enquiry without explanation. Test documentation supports expected calculations under the contract, while understandable error communication supports correction of incomplete inputs. Neither validates the commercial usefulness of the score. Consultation with the handling team should clarify which information is necessary for triage and which judgement should remain outside the script because it requires context or a negotiated business decision.

Calculate two scores and test the policy sensitivity

The synthetic weights are 0.5 for need, 0.3 for delivery fit and 0.2 for timing. Enquiry A has ratings 8, 6 and 5, giving 0.5×8 + 0.3×6 + 0.2×5 = 6.8. B has 6, 9 and 7, giving 7.1. B ranks higher under this policy. Under a changed need-focused policy of 0.7, 0.2 and 0.1, A scores 7.3 and B scores 6.7, reversing the order. These scores are invented review aids, not probabilities of purchase or a prediction of revenue. The reversal shows dependence on weights, not evidence that one enquiry objectively deserves more attention in every context.

Keep commercial judgement accountable

Sales supplies the enquiry context and a review decision. The process owner approves the scoring purpose and weights. The programmer implements the contract and tests missing values. Management decides how the proposed order is used and whether an exception needs review. The enquiry sender should receive an understandable request for missing information where appropriate, not an unexplained rejection based on an internal score. A handoff should preserve the rule version and reason for any manual override. Consultation should examine the effect of weights on different kinds of legitimate enquiries so the script does not replace business judgement with an unreviewed mathematical preference.

Practice scoring with counterexamples

Use the cleaning lesson to prepare the two input records and retain their original values. Calculate both policies before execution, then create an enquiry with unknown timing fit. Write the expected unresolved result and a review route rather than assigning a confident rank. Add a counterexample where high feature ratings do not imply feasibility because an unstated constraint remains. The supplemental worksheet computes the declared scores only; it sends no messages and produces no validated sales ranking. A real system would need suitable evidence, ongoing evaluation and human review. The lesson is to make automation reproducible and contestable before presenting it as a reliable growth decision.

Progression and scoring questions

Who approves weights? Whom does an unexplained ranking affect? Whose input is uncertain? What does the score measure? Where is the policy version retained? When is override appropriate? Why does ranking reverse? Which feature is missing? How is a correction tested? Foundation study distinguishes arithmetic and judgement. Undergraduate study calculates both policies. Postgraduate study critiques sensitivity, missingness and commercial use. Research study proposes a bounded prioritisation evaluation with defensible outcomes. The portfolio should join a scoring contract to counterexamples and human review, preserving the limits of a synthetic weighted sum and the evidence needed before a programming aid is used to guide prospecting at scale.

Study questions and answers

Compute A and B under the first policy.

A 6.8, B 7.1; B ranks higher under those weights.

Marking guide: Credit A 6.8, B 7.1, B first under stipulated initial weights.

Compute them under the need-focused policy.

A 7.3, B 6.7; the order reverses.

Marking guide: Credit A 7.3, B 6.7, A first after need-focused weighting; recognise ordering reversal.

Is either score a purchase probability?

No. The ratings and weights are stipulated review aids without predictive validation.

Marking guide: Stipulated ratings/weights are review aids, not validated purchase probabilities.

Practice task

Write a versioned scoring contract with weight sensitivity, missing-input handling and human overrides.

Practice bridge

  1. Extend cleaning with typed feature ratings and preserved input context.
  2. Calculate two weight policies and an unresolved-input counterexample before ranking.

Open connected lab

Boundary: No outreach, validated lead-scoring model or automated commercial decision is executed.

Sources and further reading

  • Python — unittest
    Scope: Selected test cases, assertions and fixtures; passing examples do not prove complete coverage.
    Access: Public reading retrieved without an account; service entitlements and hosted execution not checked.
  • W3C WAI — Form notifications
    Scope: Selected accessible feedback guidance; not a full accessibility audit.
    Access: Selected public reading without an account; certificates, paid service entitlements and hosted execution not checked.

Related chapters

Interactive practice

Open workshop · Open runnable practice · Open lab lab-16

Open interactive matrix reading