@inject Microsoft.AspNetCore.Authorization.IAuthorizationService Authorization @using PlotLine.Models.Investigations @using PlotLine.Services.Investigations @model InvestigationPage @{ ViewData["Title"]="Writer · Explore";ViewData["ProjectSection"]="Writer"; var row=Model.Investigation;var state=Model.Evaluation;var question=Model.Catalogue.Questions.SingleOrDefault(q=>q.Id==(string?)ViewData["Question"]);var previous=row?.Answers.LastOrDefault(a=>a.Question==question?.Id); }

Writer · Explore

Work through a story concern

You don't need to know the answer yet. We can work through it one question at a time.

Development preview · This small test catalogue exercises the mechanism. Its suggestions are not production writing guidance. It uses your answers, without AI or manuscript analysis.

@if(row==null){

What's troubling you about your story?

Choose a starting concern @foreach(var concern in Model.Catalogue.Concerns){}
}else if(question!=null){

@row.Answers.Count questions answered · There is no fixed number needed for a useful next step.

@question.Text

@if(question.Help!=""){

@question.Help

}
Your answer@foreach(var option in question.Options){}
@if(question.AllowExplanation){}
@if(row.Answers.LastOrDefault(a=>a.Question!=question.Id) is {} back){Back to an earlier answer}
}else{

@(state!.Recommendations.Count>0?"A possible next step":"Let's leave room for uncertainty")

Your answers suggest the following. This reflects the questionnaire, not an analysis of your manuscript.

Tools open in another tab. Your investigation stays here so you can return to it.

@if(state.Recommendations.Count==0){

There isn't enough independent, consistent evidence for an available tool recommendation yet. You can revisit an answer or save this investigation. @if(state.Outcome=="No suitable destination currently available"){A relevant tool is currently unavailable.}

} @foreach(var id in state.Recommendations){var h=Model.Catalogue.Hypotheses.Single(h=>h.Id==id);

@h.Summary

@h.Reason

@h.Uncertainty

Answers that informed this suggestion:

    @foreach(var evidence in state.Evidence.Where(e=>e.Hypothesis==id&&e.Raw>0&&!e.Uncertain).DistinctBy(e=>e.Question).Take(3)){var q=Model.Catalogue.Questions.Single(q=>q.Id==evidence.Question);
  • @q.Text — @q.Options.Single(o=>o.Id==evidence.Option).Text
  • }
@foreach(var cap in Model.Catalogue.Capabilities.Where(d=>h.Capabilities.Contains(d.Id)&&state.AvailableCapabilities.Contains(d.Id))){

@cap.Description

}
} @if(row.Accepted){

Your response is saved. Return to this investigation whenever you need it.

}
@if(state.Recommendations.Count>0){} @if(row.Answers.Count0){}
}

Return to Explore · Start another investigation

@section Scripts{}