Bring solver diagnosis and practical payoff forward with varied result compositions
This commit is contained in:
parent
8a8c185145
commit
2e43a38d23
596
Docs/WritingSolver/ResultPayoff/Audit.md
Normal file
596
Docs/WritingSolver/ResultPayoff/Audit.md
Normal file
@ -0,0 +1,596 @@
|
||||
# Result payoff audit
|
||||
|
||||
All 52 diagnoses reviewed. Existing deterministic evidence selection, explanation, primary/secondary capability and advice-article mapping retained. Each result gets a concise practical author action; no manuscript facts are inferred beyond the supplied answers. Direct visits retain the authored recognition and crawlable editorial resource. Personalised results lead with synthesis plus at most three actual evidence points.
|
||||
|
||||
Seven diagnostic archetypes: overview (5), plot-map (4), workflow (7), chronology (10), people (9), trace (13), progression (4). Reassurance is an eighth, separate non-diagnostic composition.
|
||||
|
||||
## Composition
|
||||
|
||||
- Plot map: wide workspace demonstration framed as a map, with the thread inspection guidance alongside its introduction.
|
||||
- Chronology/structure: event/scene context, practical inspection strip and a wide timeline/scene demonstration.
|
||||
- Progression: graph-first demonstration following a short named tool explanation; interpretation guidance and a reminder that curves are evidence, not targets.
|
||||
- People: relationship/character visual beside the practical response, with the image leading the desktop composition.
|
||||
- Trace: evidence-led investigative action, boxed inspection guidance and a wide knowledge/object/continuity reference.
|
||||
- Overview: calm sage action callout, modest reference task and visual beside the explanation; no demand to simplify or catalogue everything.
|
||||
- Workflow: approved primary capability, then the existing secondary with its distinct reason and a second genuine application demonstration. No secondary capability was added.
|
||||
- Reassurance: sage confirmation card, existing authored reassurance/advice as the practical next step; any existing optional feature link remains quiet. No screenshot or product CTA manufactured.
|
||||
|
||||
## Semantic uncertainty order
|
||||
|
||||
125 explicit node/choice classifications in `Presentation/payoff-v1.json`, applied only to server-rendered order. Fallback is an exclusivity rule, not a reliable uncertainty flag. Non-uncertainty choices retain their relative order. IDs, stored order fields, weights and routes are untouched; keyboard and visual orders use the same DOM. The final-cast and final-progression questions previously placed the deliberate response after uncertainty; that is now corrected.
|
||||
|
||||
Wording such as “I am not sure what some scenes contribute” names a substantive scene-purpose concern, rather than being the question’s unknown alternative. The classification distinguishes those from “I cannot tell from what I have noticed yet”; no runtime text matching or blanket fallback sorting is used.
|
||||
|
||||
## Per-diagnosis review
|
||||
|
||||
### D01 — There are too many storylines to keep in your head
|
||||
|
||||
- Family: overview
|
||||
- Author action: Put the open threads beside one another and choose which unresolved commitment to follow next.
|
||||
- Why PlotDirector helps: A map of selected lines gives each open thread a visible place in the manuscript.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: Open lines with long breaks, overlapping work and threads you keep searching back to recover.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp
|
||||
- Personal evidence: up to three matching authored statements from 45 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D02 — A storyline disappears for too long
|
||||
|
||||
- Family: plot-map
|
||||
- Author action: Find the last contribution before the gap and the first one after it. Read the return before deciding whether a bridge is missing.
|
||||
- Why PlotDirector helps: The gap markers make the distance between a line’s recorded contributions easier to judge.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: The last meaningful contribution before the gap, its return, and what the reader must still remember.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D03 — Your storylines don't feel connected
|
||||
|
||||
- Family: plot-map
|
||||
- Author action: Choose one event in each thread and trace what changes in the other. Look for a consequence, not merely a shared character.
|
||||
- Why PlotDirector helps: Weave puts shared contributions and recorded connections beside the separate lines.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: Shared junctions, consequences crossing between threads and stretches that continue without affecting each other.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp
|
||||
- Personal evidence: up to three matching authored statements from 44 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D04 — One storyline is taking over the book
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Compare the space each thread receives with the emphasis you intended. Equal shares are not the aim.
|
||||
- Why PlotDirector helps: Compare the line carrying most of the book with the supporting work you still want the others to do.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: Extended runs on one line, gaps in supporting lines and the scenes where their work reconnects.
|
||||
- Secondary: Timeline · story values — Once the thread balance is visible, recorded story values can help you inspect how its prominence changes the reading rhythm.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp, /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 43 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D05 — You're not sure what some scenes are contributing
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Ask what would be lost if this scene disappeared: a decision, discovery, change or later consequence.
|
||||
- Why PlotDirector helps: Scene summaries and purpose labels let you compare a passage with the scenes that depend on it.
|
||||
- First capability: Timeline · scenes and chapters
|
||||
- Inspect: A change, decision, discovery or later consequence that would be lost without the scene.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 47 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D06 — Your setups and payoffs have become disconnected
|
||||
|
||||
- Family: plot-map
|
||||
- Author action: Choose one promise and follow it from introduction to answer. Check the preparation as well as the payoff.
|
||||
- Why PlotDirector helps: Following the relevant thread can put preparation and payoff in the same review path.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: Introductions without later contributions, payoffs without preparation, and long gaps between the two.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp
|
||||
- Personal evidence: up to three matching authored statements from 39 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D07 — Things happen, but the story doesn't seem to build
|
||||
|
||||
- Family: plot-map
|
||||
- Author action: Follow an action into the next consequential event. Identify what would happen differently without the earlier scene.
|
||||
- Why PlotDirector helps: Follow the relevant line’s contribution roles and stored dependencies to compare cause with response.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: An action that changes the next scene, or a sequence that would play out the same way without the earlier event.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D08 — There are too many characters to keep straight
|
||||
|
||||
- Family: overview
|
||||
- Author action: Create a small reference for the people you keep having to look up. Start with roles and distinguishing details.
|
||||
- Why PlotDirector helps: Character records give names, roles and established details a consistent place to return to.
|
||||
- First capability: Characters
|
||||
- Inspect: People you repeatedly confuse, records with too little distinguishing context and the scenes that establish each role.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-records.webp
|
||||
- Personal evidence: up to three matching authored statements from 48 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D09 — Some characters may be doing the same job in the story
|
||||
|
||||
- Family: people
|
||||
- Author action: Compare the decisions and pressures belonging to each character before deciding whether their roles overlap.
|
||||
- Why PlotDirector helps: Compare the two records and their linked appearances before deciding what each uniquely brings.
|
||||
- First capability: Characters
|
||||
- Inspect: Different decisions, pressures, relationships or scene contributions that justify keeping both characters.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-records.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D10 — An important character disappears for a long stretch
|
||||
|
||||
- Family: people
|
||||
- Author action: Read the last unresolved moment before the character disappears, then their return. Decide what the reader needs to carry across.
|
||||
- Why PlotDirector helps: Scene cards make the appearances surrounding a gap easier to compare in manuscript order.
|
||||
- First capability: Timeline · character appearances
|
||||
- Inspect: The last unresolved action before the gap, the next appearance and any missing bridge between them.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 43 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D11 — Your characters aren't appearing in the proportions you expected
|
||||
|
||||
- Family: people
|
||||
- Author action: Compare appearances with the roles you intended. A minor character and a protagonist need not receive equal space.
|
||||
- Why PlotDirector helps: Character labels on scene cards help you compare actual recorded appearances with the role you want.
|
||||
- First capability: Timeline · character appearances
|
||||
- Inspect: Long runs of one character, quieter important roles and places where the intended emphasis changes.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 44 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D12 — Your points of view are becoming difficult to balance
|
||||
|
||||
- Family: people
|
||||
- Author action: Check what each viewpoint uniquely lets the reader experience before changing its share of the manuscript.
|
||||
- Why PlotDirector helps: POV labels let you follow which narrator carries each stretch of the manuscript.
|
||||
- First capability: Timeline · character appearances
|
||||
- Inspect: Long absences, repeated coverage and essential scenes that only one viewpoint can provide.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D13 — A character's details don't stay consistent
|
||||
|
||||
- Family: trace
|
||||
- Author action: Choose the established version of one conflicting fact, then check the passages that rely on it.
|
||||
- Why PlotDirector helps: The character record gives you a place to settle the intended fact, then revisit linked scenes.
|
||||
- First capability: Characters
|
||||
- Inspect: The agreed fact, the first passage establishing it and later uses that need to match.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-records.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D14 — You're losing track of where your characters are
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Find the last known location and the next appearance. Check the available interval and the move connecting them.
|
||||
- Why PlotDirector helps: Scene locations and character labels let you compare the relevant appearances side by side.
|
||||
- First capability: Timeline
|
||||
- Inspect: The last known position, the next appearance and any intervening move that has not been accounted for.
|
||||
- Secondary: Locations — Use the place record as a reference when an appearance depends on a recurring location.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp, /images/writing-solver/location-reference.webp
|
||||
- Personal evidence: up to three matching authored statements from 37 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D15 — There are too many character relationships to hold in your head
|
||||
|
||||
- Family: overview
|
||||
- Author action: Lay out the connections you repeatedly reconstruct. Begin with the few relationships relevant to your current scene.
|
||||
- Why PlotDirector helps: A map externalises the connections so you do not have to hold the whole network in memory.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: Family links, alliances and connections you repeatedly have to reconstruct.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 46 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D16 — You're not sure where a relationship has reached
|
||||
|
||||
- Family: people
|
||||
- Author action: Compare the last clear relationship state with the behaviour in the current scene. Find the encounter connecting them.
|
||||
- Why PlotDirector helps: Compare the recorded relationship at selected story positions instead of relying on a single overall label.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: The last clear state, the scene that changes it and later behaviour that assumes a different stage.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 44 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D17 — A relationship changes before it feels earned
|
||||
|
||||
- Family: people
|
||||
- Author action: Read the encounters before the change. Check which choice or consequence makes the new relationship state believable.
|
||||
- Why PlotDirector helps: Review the relationship state at points before and after the change, then return to the scenes between them.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: Choices, encounters or consequences that prepare the shift, rather than a new label appearing on its own.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D18 — A relationship stops moving for too long
|
||||
|
||||
- Family: people
|
||||
- Author action: Compare what survives from one encounter into the next: a changed expectation can matter more than a new label.
|
||||
- Why PlotDirector helps: Comparing story positions gives you specific encounters to review for development.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: Encounters that repeat the same state and events that should alter what the characters can do next.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 39 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D19 — Your characters see the same relationship differently
|
||||
|
||||
- Family: people
|
||||
- Author action: Compare each person’s understanding of the relationship. Check whether the difference is deliberate and visible in their behaviour.
|
||||
- Why PlotDirector helps: Directional relationship records let you compare what each side believes at a chosen position.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: Where the two views differ, what each character knows and the behaviour that follows from that difference.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D20 — One event has changed too many relationships to track easily
|
||||
|
||||
- Family: people
|
||||
- Author action: Choose the event that changes the network, then follow its consequences into the connected relationships.
|
||||
- Why PlotDirector helps: A network view helps you revisit each affected connection instead of following only the most obvious pair.
|
||||
- First capability: Relationship Map
|
||||
- Inspect: Connections touched by the event, their before-and-after states and consequences still missing from later scenes.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/relationship-map.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D21 — A character knows something they haven't learned yet
|
||||
|
||||
- Family: trace
|
||||
- Author action: Find the first use of the information, then the first opportunity to learn it. Inspect the missing or reversed link.
|
||||
- Why PlotDirector helps: Follow the character’s knowledge events back to the relevant scenes.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: The first use of the information, the first opportunity to learn it and any missing link between them.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D22 — You can't remember how a character learned something
|
||||
|
||||
- Family: trace
|
||||
- Author action: Find the conversation, witness or discovery that supplies the fact. Then check the first scene that relies on it.
|
||||
- Why PlotDirector helps: The character’s knowledge timeline gives the learning event a scene reference you can return to.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: The conversation, witness or discovery that supplies the fact and the next scene relying on it.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D23 — Different POV characters know different pieces of the story
|
||||
|
||||
- Family: trace
|
||||
- Author action: Choose one fact and compare who knows it, who suspects it and whose position changes in the next scene.
|
||||
- Why PlotDirector helps: Review one character’s knowledge timeline, then repeat for the other viewpoints involved.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: Who has each piece, who only suspects it and which scene changes that position.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D24 — Your revelations have ended up in the wrong order
|
||||
|
||||
- Family: trace
|
||||
- Author action: Check the acquisition and use of information around the moved scenes before changing either event.
|
||||
- Why PlotDirector helps: Linked knowledge events let you trace a reaction back to the scene that should enable it.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: Reactions before discoveries, reveals before preparation and learning events affected by moved scenes.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 44 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D25 — There are too many clues and discoveries to keep straight
|
||||
|
||||
- Family: trace
|
||||
- Author action: Follow one clue through discovery and interpretation. A clue can be present without its significance being understood.
|
||||
- Why PlotDirector helps: Follow the recorded knowledge events for the character investigating the trail.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: Clues already encountered, changes in interpretation and discoveries that never reach the people relying on them.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 39 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D26 — You're not sure whether a reveal comes too early or too late
|
||||
|
||||
- Family: trace
|
||||
- Author action: Compare preparation, revelation and the reader’s intended moment of understanding.
|
||||
- Why PlotDirector helps: Use the linked discovery scenes as reference points, then compare what the prose reveals around them.
|
||||
- First capability: Character knowledge timeline
|
||||
- Inspect: Preparation before the reveal, the intended moment of understanding and scenes that give away or withhold too much.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/character-knowledge.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D27 — Your timeline doesn't add up
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Find the two conflicting points, then inspect the neighbouring scenes to decide which date, event or assumption needs correcting.
|
||||
- Why PlotDirector helps: Dates and scene references make the conflict concrete enough to compare.
|
||||
- First capability: Timeline
|
||||
- Inspect: The two incompatible points, any fixed anchor and the neighbouring scenes affected by a correction.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp
|
||||
- Personal evidence: up to three matching authored statements from 45 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D28 — The amount of time between events doesn't work
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Mark the start and finish of the interval. Check whether the intervening action fits the time available.
|
||||
- Why PlotDirector helps: Compare the recorded endpoints and the events that must happen between them.
|
||||
- First capability: Timeline
|
||||
- Inspect: The start, the finish and the amount of story time available for travel, recovery or other intervening action.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp
|
||||
- Personal evidence: up to three matching authored statements from 43 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D29 — A character's age doesn't match the dates
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Compare the age stated in the scene with the birthday and elapsed years. Then check the established character record.
|
||||
- Why PlotDirector helps: Put the dated scenes in order, then check their ages against the character’s agreed reference.
|
||||
- First capability: Timeline
|
||||
- Inspect: The birthday, elapsed years and the exact scene where the age no longer fits.
|
||||
- Secondary: Characters — Settle the agreed birthday or age reference in the character record before correcting the dated scenes.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp, /images/writing-solver/character-records.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D30 — Your reading order and chronological order are different
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Separate when events happen from when the reader encounters them. Check whether each jump supplies the context you intended.
|
||||
- Why PlotDirector helps: Keep the manuscript sequence visible while checking the dates attached to its scenes.
|
||||
- First capability: Timeline
|
||||
- Inspect: The actual event sequence, each jump in reading order and the information the reader has at that point.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D31 — Too many things are happening at the same time
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Place the parallel events around their shared deadline and check which reactions depend on another sequence.
|
||||
- Why PlotDirector helps: Compare the scene dates and times across the people or threads involved.
|
||||
- First capability: Timeline
|
||||
- Inspect: Events that overlap, shared deadlines and reactions that depend on another sequence having reached a particular point.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D32 — Your fictional timeline has to fit around real dates
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Keep the fixed date visible, then test the time available for the events immediately before and after it.
|
||||
- Why PlotDirector helps: Record the fixed date alongside the surrounding fictional scenes.
|
||||
- First capability: Timeline
|
||||
- Inspect: The anchor, time available before and after it and any movable event carrying an impossible interval.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp
|
||||
- Personal evidence: up to three matching authored statements from 39 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D33 — There are too many scenes to see the structure clearly
|
||||
|
||||
- Family: overview
|
||||
- Author action: Create a navigable overview of the scenes you already have. Choose one crowded or hard-to-find stretch first.
|
||||
- Why PlotDirector helps: Chapter groups and scene summaries give you a manageable overview before you open the prose.
|
||||
- First capability: Timeline · scenes and chapters
|
||||
- Inspect: Crowded stretches, chapter boundaries and scenes whose place is hard to remember.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D34 — You don't know where a scene belongs
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Identify what must happen before this scene and what depends on it. Preserve a reference before trying a different placement.
|
||||
- Why PlotDirector helps: Compare its neighbouring scenes and linked story elements in manuscript order.
|
||||
- First capability: Timeline · scenes and chapters
|
||||
- Inspect: What must already have happened, what follows from this scene and which information the reader needs first.
|
||||
- Secondary: Scenarios — If several positions could work, preserve the current order while trying an alternative.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp, /images/writing-solver/scenario-alternatives.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D35 — Your chapter structure feels uneven
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Read across the chapter break. Check what it interrupts, withholds or allows the reader to absorb.
|
||||
- Why PlotDirector helps: Chapter bands make the groups visible alongside the scenes each contains.
|
||||
- First capability: Timeline · scenes and chapters
|
||||
- Inspect: Breaks that interrupt a developing sequence, unusually compressed sections and stretches with little change.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 39 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D36 — Several scenes may be doing the same job
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Compare the unique work of the two scenes. Repetition can be useful when its meaning or consequences change.
|
||||
- Why PlotDirector helps: Compare their summaries, purposes and linked developments before deciding whether both are needed.
|
||||
- First capability: Timeline · scenes and chapters
|
||||
- Inspect: The unique work of each scene and information or changes that the other already provides.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-scene-overview.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D37 — You want to rearrange the story without wrecking it
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Keep a reference arrangement, then try one meaningful move. Compare the setup and consequences around it.
|
||||
- Why PlotDirector helps: A scenario keeps the proposed order separate while you inspect its consequences.
|
||||
- First capability: Scenarios
|
||||
- Inspect: Moved scenes, newly separated setup/payoff and the version you want to preserve as a reference.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/scenario-alternatives.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D38 — A character's movement between places doesn't make sense
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Compare the journey’s available time with a plausible route. Check the scenes that establish departure and arrival.
|
||||
- Why PlotDirector helps: Compare departure and arrival scenes using their location and timing details.
|
||||
- First capability: Timeline
|
||||
- Inspect: A possible route, the available interval and any intervening scene that changes where the character can be.
|
||||
- Secondary: Locations — Check the place descriptions and location references when judging the possible journey.
|
||||
- Real screenshots: /images/writing-solver/timeline-chronology.webp, /images/writing-solver/location-reference.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D39 — A location has changed without you meaning it to
|
||||
|
||||
- Family: trace
|
||||
- Author action: Choose the intended version of the place, then check the descriptions and actions that depend on its layout.
|
||||
- Why PlotDirector helps: Use the place’s description and linked scenes as the starting reference for a manual consistency check.
|
||||
- First capability: Locations
|
||||
- Inspect: The intended version of the place and the passages whose details need to agree with it.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/location-reference.webp
|
||||
- Personal evidence: up to three matching authored statements from 37 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D40 — You've lost track of an important object
|
||||
|
||||
- Family: trace
|
||||
- Author action: Follow the object from its last clear holder or position to its next appearance. Identify the connecting handover or move.
|
||||
- Why PlotDirector helps: Journey mode keeps asset states attached to the scenes where they are recorded.
|
||||
- First capability: Continuity Explorer · object journey
|
||||
- Inspect: The last clear holder or position, the next appearance and any handover you need to check.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/object-journey.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D41 — A character has an object they shouldn't have
|
||||
|
||||
- Family: trace
|
||||
- Author action: Trace how the new holder acquires the object before their first use of it.
|
||||
- Why PlotDirector helps: Follow the recorded asset states around the relevant scene range.
|
||||
- First capability: Continuity Explorer · object journey
|
||||
- Inspect: The previous holder, the acquisition or handover and the first use by the new character.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/object-journey.webp
|
||||
- Personal evidence: up to three matching authored statements from 41 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D42 — An object's history contradicts itself
|
||||
|
||||
- Family: trace
|
||||
- Author action: Compare the object’s earlier damage, loss or destruction with its later state. Look for the intended explanation between them.
|
||||
- Why PlotDirector helps: Journey mode gives the conflicting states scene references you can inspect.
|
||||
- First capability: Continuity Explorer · object journey
|
||||
- Inspect: Loss, damage or destruction, the later state and any intended explanation connecting the two.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/object-journey.webp
|
||||
- Personal evidence: up to three matching authored statements from 47 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D43 — The story seems to stop moving
|
||||
|
||||
- Family: progression
|
||||
- Author action: Choose a quiet stretch and ask what changes in the available choices. Quietness itself is not a fault.
|
||||
- Why PlotDirector helps: Recorded scene values give you positions to compare with the underlying events and consequences.
|
||||
- First capability: Timeline · story values
|
||||
- Inspect: Long stretches with little recorded movement and the events that should change the available choices.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 43 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D44 — Some parts of the story rush while others drag
|
||||
|
||||
- Family: progression
|
||||
- Author action: Find the transition between a long wait and a cluster of changes. Read the scenes before smoothing any graph.
|
||||
- Why PlotDirector helps: Compare the shape of recorded scene values with the chapter and scene sequence.
|
||||
- First capability: Timeline · story values
|
||||
- Inspect: Changes packed together between long waits, then the scenes that create those transitions.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 57 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D45 — The tension rises and falls in the wrong places
|
||||
|
||||
- Family: progression
|
||||
- Author action: Choose one rise or drop in pressure. Check what the reader is anticipating, and whether the release is intentional.
|
||||
- Why PlotDirector helps: A recorded tension value makes rises, drops and clusters concrete enough to inspect.
|
||||
- First capability: Timeline · story values
|
||||
- Inspect: Unintended drops after a rise, isolated spikes and the scenes that should sustain or release pressure.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D46 — A character's development goes flat
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Follow the character’s response to one significant event. Look for a changed choice, then check its effect on the wider story.
|
||||
- Why PlotDirector helps: Review the character’s recorded arc and linked story involvement at the points you identified.
|
||||
- First capability: Character arc
|
||||
- Inspect: Responses to significant events, repeated choices and small changes that may be missing or hard to see.
|
||||
- Secondary: Timeline · story values — Compare the individual arc with the wider scene-value pattern when the surrounding story is moving differently.
|
||||
- Real screenshots: /images/writing-solver/character-arc.webp, /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 42 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D47 — Too much development is packed into the ending
|
||||
|
||||
- Family: progression
|
||||
- Author action: Compare the closing cluster of changes with their earlier preparation. Decide which developments need room sooner.
|
||||
- Why PlotDirector helps: Use recorded development values and scene positions to inspect the lead-in to the ending.
|
||||
- First capability: Timeline · story values
|
||||
- Inspect: Early preparation, development left waiting and the cluster of changes in the closing section.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/timeline-story-values.webp
|
||||
- Personal evidence: up to three matching authored statements from 43 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D48 — Every change seems to break something else
|
||||
|
||||
- Family: trace
|
||||
- Author action: Choose the first changed fact or event and trace later references that may still assume the previous version.
|
||||
- Why PlotDirector helps: Story-state records and scene references give you a starting point for checking the affected details.
|
||||
- First capability: Continuity Explorer
|
||||
- Inspect: The first changed fact or event, later uses of it and connections still reflecting the previous version.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/continuity-story-state.webp
|
||||
- Personal evidence: up to three matching authored statements from 37 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D49 — You have more than one possible version of the story
|
||||
|
||||
- Family: chronology
|
||||
- Author action: Name the alternatives and preserve a reference. Compare one meaningful difference before choosing which version to keep.
|
||||
- Why PlotDirector helps: Named scenarios keep proposed arrangements separate from the established order.
|
||||
- First capability: Scenarios
|
||||
- Inspect: The difference between versions, the consequences of each order and the reference version you want to keep.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/scenario-alternatives.webp
|
||||
- Personal evidence: up to three matching authored statements from 37 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D50 — Your series has become too big to remember reliably
|
||||
|
||||
- Family: trace
|
||||
- Author action: Find the book that establishes the fact, then the later passage relying on it. Record the agreed reference.
|
||||
- Why PlotDirector helps: A shared project keeps the book sequence and routes to common story records together.
|
||||
- First capability: Project · books and series
|
||||
- Inspect: Established facts in earlier books, the book introducing each one and the later passage that relies on it.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/series-project.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D51 — A storyline stretches across several books
|
||||
|
||||
- Family: workflow
|
||||
- Author action: Trace the last meaningful contribution in each book, then check the series-level promise and eventual payoff.
|
||||
- Why PlotDirector helps: Use the workspace’s book scope to follow the same line across the series or within one book.
|
||||
- First capability: Plot Lines Workspace
|
||||
- Inspect: The last contribution in each book, intentional quiet stretches and the eventual setup/payoff connection.
|
||||
- Secondary: Project · books and series — Use the project’s ordered books as a reference when a thread spans more than one manuscript.
|
||||
- Real screenshots: /images/writing-solver/plot-lines-weave.webp, /images/writing-solver/series-project.webp
|
||||
- Personal evidence: up to three matching authored statements from 38 available evidence variants, selected only from accepted answers.
|
||||
|
||||
### D52 — Your novel has become too much to hold in your head
|
||||
|
||||
- Family: overview
|
||||
- Author action: Externalise the small set of references you repeatedly search for. You do not need to catalogue the entire novel first.
|
||||
- Why PlotDirector helps: A searchable story bible provides one place to find the records you keep reconstructing from separate notes.
|
||||
- First capability: Story Bible
|
||||
- Inspect: Repeated searches, duplicated references and the small set of records you return to most often.
|
||||
- Secondary: None; one feature suffices.
|
||||
- Real screenshots: /images/writing-solver/story-bible.webp
|
||||
- Personal evidence: up to three matching authored statements from 40 available evidence variants, selected only from accepted answers.
|
||||
1
Docs/WritingSolver/ResultPayoff/Evidence/editorial.txt
Normal file
1
Docs/WritingSolver/ResultPayoff/Evidence/editorial.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS editorial: all 52 metadata/content/direct-entry pages; nine crawlable groups reach all 52; nine families × four widths; no overflow; no-JS; preserved previews.
|
||||
170
Docs/WritingSolver/ResultPayoff/Evidence/first-viewport.json
Normal file
170
Docs/WritingSolver/ResultPayoff/Evidence/first-viewport.json
Normal file
@ -0,0 +1,170 @@
|
||||
[
|
||||
{
|
||||
"width": 390,
|
||||
"family": "overview",
|
||||
"actionY": 454.671875,
|
||||
"helpY": 744.765625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "plot-map",
|
||||
"actionY": 554.671875,
|
||||
"helpY": 853.5625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "workflow",
|
||||
"actionY": 577.921875,
|
||||
"helpY": 854.015625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "chronology",
|
||||
"actionY": 554.671875,
|
||||
"helpY": 828.765625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "people",
|
||||
"actionY": 531.421875,
|
||||
"helpY": 805.515625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "trace",
|
||||
"actionY": 531.421875,
|
||||
"helpY": 805.515625
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"family": "progression",
|
||||
"actionY": 531.421875,
|
||||
"helpY": 783.921875
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "overview",
|
||||
"actionY": 412.203125,
|
||||
"helpY": 681.5
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "plot-map",
|
||||
"actionY": 468.796875,
|
||||
"helpY": 727.09375
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "workflow",
|
||||
"actionY": 493.59375,
|
||||
"helpY": 748.890625
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "chronology",
|
||||
"actionY": 493.59375,
|
||||
"helpY": 751.890625
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "people",
|
||||
"actionY": 468.796875,
|
||||
"helpY": 722.09375
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "trace",
|
||||
"actionY": 468.796875,
|
||||
"helpY": 732.625
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"family": "progression",
|
||||
"actionY": 468.796875,
|
||||
"helpY": 700.5
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "overview",
|
||||
"actionY": 402.953125,
|
||||
"helpY": 647.453125
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "plot-map",
|
||||
"actionY": 434.75,
|
||||
"helpY": 668.25
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "workflow",
|
||||
"actionY": 484.34375,
|
||||
"helpY": 714.84375
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "chronology",
|
||||
"actionY": 459.546875,
|
||||
"helpY": 693.046875
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "people",
|
||||
"actionY": 434.75,
|
||||
"helpY": 663.25
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "trace",
|
||||
"actionY": 459.546875,
|
||||
"helpY": 701.3125
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"family": "progression",
|
||||
"actionY": 434.75,
|
||||
"helpY": 641.65625
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "overview",
|
||||
"actionY": 402.953125,
|
||||
"helpY": 647.453125
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "plot-map",
|
||||
"actionY": 434.75,
|
||||
"helpY": 668.25
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "workflow",
|
||||
"actionY": 484.34375,
|
||||
"helpY": 714.84375
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "chronology",
|
||||
"actionY": 459.546875,
|
||||
"helpY": 693.046875
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "people",
|
||||
"actionY": 434.75,
|
||||
"helpY": 663.25
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "trace",
|
||||
"actionY": 459.546875,
|
||||
"helpY": 701.3125
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"family": "progression",
|
||||
"actionY": 434.75,
|
||||
"helpY": 641.65625
|
||||
}
|
||||
]
|
||||
1
Docs/WritingSolver/ResultPayoff/Evidence/images.txt
Normal file
1
Docs/WritingSolver/ResultPayoff/Evidence/images.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS all 52 real screenshot mappings; 11 view families at 390/768/1440/1920; one downloaded asset, AVIF/WebP fallback, alt, stable dimensions, clean URLs, full-width canvas, readable column and no overflow.
|
||||
1
Docs/WritingSolver/ResultPayoff/Evidence/journeys.txt
Normal file
1
Docs/WritingSolver/ResultPayoff/Evidence/journeys.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS dead-end repair: reported four-answer route; changed hypothesis; knowledge search; six-answer rescue/POV/intended-main routes; Plot Lines, timeline/continuity, relationships, scene/chapter, series, knowledge and character arc; evidence variants; optional secondary/article; explicit missing visuals; no article dump; reassurance/insufficient evidence; no-JS; 390/1440px; Back/Forward/Restart; public theme and noindex; signed-out tour CTA; signed-in authorised project/character selector and real workspace redirects.
|
||||
@ -0,0 +1 @@
|
||||
PASS all 52 archetypes; seven diagnostic families × four widths with personalised evidence, practical response and real images; known mixed-order uncertainties last in DOM; reassurance has no product CTA/image.
|
||||
386
Docs/WritingSolver/ResultPayoff/Evidence/performance-before.json
Normal file
386
Docs/WritingSolver/ResultPayoff/Evidence/performance-before.json
Normal file
@ -0,0 +1,386 @@
|
||||
[
|
||||
{
|
||||
"slug": "too-many-storylines-to-manage",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 208,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 916155
|
||||
},
|
||||
{
|
||||
"slug": "too-many-storylines-to-manage",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 232,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 916155
|
||||
},
|
||||
{
|
||||
"slug": "too-many-storylines-to-manage",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 264,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 916155
|
||||
},
|
||||
{
|
||||
"slug": "too-many-storylines-to-manage",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 272,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 916155
|
||||
},
|
||||
{
|
||||
"slug": "relationship-stops-developing",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 208,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif",
|
||||
"transfer": 12036,
|
||||
"encoded": 11736,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 913690
|
||||
},
|
||||
{
|
||||
"slug": "relationship-stops-developing",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 200,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif",
|
||||
"transfer": 12036,
|
||||
"encoded": 11736,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 913690
|
||||
},
|
||||
{
|
||||
"slug": "relationship-stops-developing",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 244,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif",
|
||||
"transfer": 12036,
|
||||
"encoded": 11736,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 913690
|
||||
},
|
||||
{
|
||||
"slug": "relationship-stops-developing",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 256,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif",
|
||||
"transfer": 12036,
|
||||
"encoded": 11736,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 913690
|
||||
},
|
||||
{
|
||||
"slug": "story-order-differs-from-chronology",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 192,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 920002
|
||||
},
|
||||
{
|
||||
"slug": "story-order-differs-from-chronology",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 204,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 920002
|
||||
},
|
||||
{
|
||||
"slug": "story-order-differs-from-chronology",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 276,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 920002
|
||||
},
|
||||
{
|
||||
"slug": "story-order-differs-from-chronology",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 280,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"resources": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=9nL8t8OUYqsJqOSkhgxX9I225jBw072Nw-CH-2gsv9o",
|
||||
"transfer": 13906,
|
||||
"encoded": 13606,
|
||||
"initiator": "link"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669,
|
||||
"initiator": "css"
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048,
|
||||
"initiator": "img"
|
||||
}
|
||||
],
|
||||
"totalBytes": 920002
|
||||
}
|
||||
]
|
||||
3
Docs/WritingSolver/ResultPayoff/Evidence/regressions.txt
Normal file
3
Docs/WritingSolver/ResultPayoff/Evidence/regressions.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Build: succeeds, zero errors.
|
||||
Regression harness: 395 PASS. Acceptance, prefix and exhaustive dead-end checks unchanged and green.
|
||||
Presentation audit: all 52 actions/family mappings; all 125 explicit uncertainty entries valid; all active question choices retained, unknown group last, graph serialisation unchanged before/after ordering.
|
||||
1
Docs/WritingSolver/ResultPayoff/Evidence/review-mode.txt
Normal file
1
Docs/WritingSolver/ResultPayoff/Evidence/review-mode.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS Development review: admin-only opt-in; collapsed observer; signal arithmetic; result snapshot/export/replay/resolve/resume; filters; direct-entry unchanged; revision and Back/Forward; multi-select; neutral and insufficient outcomes; no-JS at 390/1440; forged cookie denied.
|
||||
@ -17,7 +17,7 @@ const indexed=process.env.PD_SOLVER_TEST_INDEXING==='true';
|
||||
await choose('unwanted');
|
||||
const slug=graph.solutions.find(s=>s.id==='d01').slug;
|
||||
assert.equal(page.url(),base+'/writing-problems/'+slug);
|
||||
assert((await page.locator('.solver-result-evidence > p').count())>1);
|
||||
assert((await page.locator('.solver-result-evidence li').count())>0);
|
||||
const personal=await page.locator('.solver-result-evidence').innerText();
|
||||
await page.reload();assert.equal(await page.locator('.solver-result-evidence').innerText(),personal);
|
||||
const fresh=await browser.newContext();const direct=await fresh.newPage();await direct.goto(page.url());
|
||||
|
||||
@ -22,7 +22,7 @@ assert(['127.0.0.1:5238','dev.plotdirector.com'].includes(new URL(base).host));
|
||||
assert.equal(await page.locator('.solver-result-panel .solver-result-cta').count(),1);
|
||||
assert.equal(await page.locator('.solver-result-cta').getAttribute('href'),tool.tour);
|
||||
assert((await page.locator('.solver-result-cta').innerText()).startsWith('See how'));
|
||||
assert.equal(await page.locator('.solver-visual-placeholder').count(),0);assert.equal(await page.locator('.solver-tool-visual img').count(),1);assert(await page.locator('.solver-tool-visual img').evaluate(e=>e.complete&&e.naturalWidth>0));
|
||||
assert.equal(await page.locator('.solver-visual-placeholder').count(),0);assert.equal(await page.locator('.solver-start .solver-tool-visual img').count(),1);assert(await page.locator('.solver-start .solver-tool-visual img').evaluate(e=>e.complete&&e.naturalWidth>0));
|
||||
assert.equal(await page.locator('.solver-also').count(),content.secondary?1:0);
|
||||
assert.equal(await page.locator('.solver-deeper a').count(),content.articleKey?1:0);
|
||||
if(content.articleKey){const article=await page.locator('.solver-deeper a').getAttribute('href');assert.equal((await context.request.get(base+article)).status(),200);}
|
||||
|
||||
13
PlotLine.Tests/Browser/writing-solver-payoff.cjs
Normal file
13
PlotLine.Tests/Browser/writing-solver-payoff.cjs
Normal file
@ -0,0 +1,13 @@
|
||||
const{chromium}=require('playwright'),assert=require('node:assert/strict'),fs=require('node:fs');
|
||||
const base=process.env.SOLVER_BASE_URL||'http://127.0.0.1:5238';
|
||||
const catalog=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Presentation/payoff-v1.json'));
|
||||
const graph=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Candidates/curated-v2-stage1-repair/writing-solver-curated-v2-stage1-repair.json'));
|
||||
const cases=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Candidates/curated-v2-stage1-repair/acceptance-paths.json')).cases;
|
||||
const witnesses=JSON.parse(fs.readFileSync('Docs/WritingSolver/CuratedV2/DeadEndRepair/audit.json')).after.exploration.nodes;
|
||||
(async()=>{const b=await chromium.launch();const measured=[];try{const c=await b.newContext({viewport:{width:1440,height:900}});await c.addCookies([{name:'solver-anonymous',value:'true',url:base}]);const p=await c.newPage();
|
||||
async function path(answers){await p.goto(base+'/writing-problems');for(const a of answers){for(const choice of a.choices)await p.locator(`input[name=choices][value="${choice}"]`).check();await p.locator('.solver-form button[type=submit]').click();}}
|
||||
for(const result of catalog.results){const s=graph.solutions.find(s=>s.id===result.solution);assert.equal((await p.goto(base+'/writing-problems/'+s.slug)).status(),200);assert.equal(await p.locator('.solver-payoff').getAttribute('data-result-family'),result.family);assert.equal(await p.locator('h1').innerText(),s.title);assert(await p.locator('.solver-start').evaluate(e=>!!(e.compareDocumentPosition(document.querySelector('.solver-deeper-editorial'))&Node.DOCUMENT_POSITION_FOLLOWING)));assert.equal(await p.locator('.solver-result-cta').count(),1);}
|
||||
for(const width of [390,768,1440,1920]){await p.setViewportSize({width,height:900});for(const family of [...new Set(catalog.results.map(r=>r.family))]){const test=cases.find(t=>catalog.results.find(r=>r.solution===t.expectedPrimary)?.family===family);await path(test.answers);assert.equal(await p.locator('.solver-payoff').getAttribute('data-result-family'),family);assert((await p.locator('.solver-result-evidence li').count())>0);const action=await p.locator('.solver-author-action').boundingBox(),help=await p.locator('.solver-specific-help').boundingBox();measured.push({width,family,actionY:action.y,helpY:help.y});if(width>=1440){assert(action.y<700,JSON.stringify(measured.at(-1)));assert(help.y<900,JSON.stringify(measured.at(-1)));}assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);await p.locator('.solver-tool-visual img').first().scrollIntoViewIfNeeded();await p.locator('.solver-tool-visual img').first().evaluate(e=>e.decode());assert((await p.locator('.solver-tool-visual img').first().boundingBox()).width>=(width>=1440?570:250));if(process.env.PAYOFF_CAPTURE_DIR){fs.mkdirSync(process.env.PAYOFF_CAPTURE_DIR,{recursive:true});await p.evaluate(()=>scrollTo({top:0,behavior:"instant"}));await p.screenshot({path:`${process.env.PAYOFF_CAPTURE_DIR}/${family}-${width}.png`});}}}
|
||||
for(const node of ['final-cast','final-progression']){await path(witnesses[node]);assert.equal(await p.locator('input[name=node]').inputValue(),node);assert.equal(await p.locator('.solver-choice input').last().getAttribute('value'),'unsure');assert.equal(await p.locator('.solver-choice').last().getAttribute('class'),'solver-choice solver-choice--fallback');}
|
||||
// Ordinary, crawlable reassurance remains journey-based, not a new indexable diagnosis.
|
||||
await p.goto(base+'/writing-problems');for(const choice of ['story-not-working','too-many','lost','deliberate']){await p.locator(`input[name=choices][value="${choice}"]`).check();await p.locator('.solver-form button[type=submit]').click();}assert.equal(await p.locator('.solver-reassurance').count(),1);assert.equal(await p.locator('.solver-result-cta').count(),0);assert.equal(await p.locator('.solver-tool-visual').count(),0);assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);if(process.env.PAYOFF_CAPTURE_DIR){await p.screenshot({path:process.env.PAYOFF_CAPTURE_DIR+'/reassurance.png'});fs.writeFileSync(process.env.PAYOFF_CAPTURE_DIR+'/reassurance-url.txt',p.url());}console.log('PASS all 52 archetypes; seven diagnostic families × four widths with personalised evidence, practical response and real images; known mixed-order uncertainties last in DOM; reassurance has no product CTA/image.');fs.writeFileSync(process.env.PAYOFF_METRICS||'/tmp/payoff-fold.json',JSON.stringify(measured,null,2));await c.close();}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
@ -3,8 +3,8 @@ const base=process.env.SOLVER_BASE_URL||'http://127.0.0.1:5238';assert(['127.0.0
|
||||
const graph=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Candidates/curated-v2-stage1-repair/writing-solver-curated-v2-stage1-repair.json'));
|
||||
const catalog=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Presentation/results-v1.json'));
|
||||
(async()=>{const b=await chromium.launch();try{const representatives=[];for(const cap of catalog.capabilities){if(representatives.some(c=>c.captureView===cap.captureView))continue;representatives.push(cap);}assert.equal(representatives.length,11);
|
||||
for(const width of [390,768,1440,1920]){const c=await b.newContext({viewport:{width,height:1100}});const p=await c.newPage();for(const cap of representatives){const result=catalog.results.find(r=>r.capability===cap.id);const solution=graph.solutions.find(s=>s.id===result.solution);const images=[];p.on('requestfinished',r=>{if(r.url().includes('/images/writing-solver/'))images.push(r.url());});await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert(await img.evaluate(e=>e.complete&&e.naturalWidth>0));assert.equal(await img.getAttribute('alt'),cap.imageAlt);assert.equal(await p.locator('.solver-visual-placeholder').count(),0);assert.equal(await p.locator('.solver-tool-visual picture').count(),1);assert.equal(await p.locator('.solver-tool-visual img').count(),1);assert(!(await p.locator('main').innerText()).includes('Development preview'));assert.equal(await p.locator('.solver-space').evaluate(e=>e.getBoundingClientRect().width),width);assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);assert.equal(new URL(p.url()).search,'');assert(images.length===1,'Only the selected image variant should download');assert.equal(await p.locator('.solver-image-link').getAttribute('target'),'_blank');assert((await p.locator('.solver-content').boundingBox()).width<=930);p.removeAllListeners('requestfinished');}await c.close();}
|
||||
const c=await b.newContext();const p=await c.newPage();for(const solution of graph.solutions){await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert.equal(await img.count(),1);assert(await img.evaluate(e=>e.naturalWidth>0));assert.equal(await p.locator('.solver-visual-placeholder').count(),0);}
|
||||
for(const width of [390,768,1440,1920]){const c=await b.newContext({viewport:{width,height:1100}});const p=await c.newPage();for(const cap of representatives){const result=catalog.results.find(r=>r.capability===cap.id);const solution=graph.solutions.find(s=>s.id===result.solution);const images=[];p.on('requestfinished',r=>{if(r.url().includes('/images/writing-solver/'))images.push(r.url());});await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-start .solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert(await img.evaluate(e=>e.complete&&e.naturalWidth>0));assert.equal(await img.getAttribute('alt'),cap.imageAlt);assert.equal(await p.locator('.solver-visual-placeholder').count(),0);assert.equal(await p.locator('.solver-start .solver-tool-visual picture').count(),1);assert.equal(await p.locator('.solver-start .solver-tool-visual img').count(),1);assert(!(await p.locator('main').innerText()).includes('Development preview'));assert.equal(await p.locator('.solver-space').evaluate(e=>e.getBoundingClientRect().width),width);assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);assert.equal(new URL(p.url()).search,'');assert(images.length>=1&&images.length<=2&&new Set(images).size===images.length,'Only one variant per primary/secondary demonstration should download');assert.equal(await p.locator('.solver-start .solver-image-link').getAttribute('target'),'_blank');assert((await p.locator('.solver-content').boundingBox()).width<=1140);p.removeAllListeners('requestfinished');}await c.close();}
|
||||
const c=await b.newContext();const p=await c.newPage();for(const solution of graph.solutions){await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-start .solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert.equal(await img.count(),1);assert(await img.evaluate(e=>e.naturalWidth>0));assert.equal(await p.locator('.solver-visual-placeholder').count(),0);}
|
||||
// Test the normal browser fallback when AVIF is unsupported, without changing the application.
|
||||
await p.route('**/writing-problems/*',async route=>{const response=await route.fetch();await route.fulfill({response,body:(await response.text()).replace('type="image/avif"','type="image/unsupported"')});});await p.goto(base+'/writing-problems/'+graph.solutions[0].slug);await p.locator('.solver-tool-visual img').scrollIntoViewIfNeeded();await p.locator('.solver-tool-visual img').evaluate(e=>e.decode());assert((await p.locator('.solver-tool-visual img').evaluate(e=>e.currentSrc)).endsWith('.webp'));
|
||||
console.log('PASS all 52 real screenshot mappings; 11 view families at 390/768/1440/1920; one downloaded asset, AVIF/WebP fallback, alt, stable dimensions, clean URLs, full-width canvas, readable column and no overflow.');await c.close();}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
await p.route('**/writing-problems/*',async route=>{const response=await route.fetch();await route.fulfill({response,body:(await response.text()).replace('type="image/avif"','type="image/unsupported"')});});await p.goto(base+'/writing-problems/'+graph.solutions[0].slug);await p.locator('.solver-start .solver-tool-visual img').scrollIntoViewIfNeeded();await p.locator('.solver-start .solver-tool-visual img').evaluate(e=>e.decode());assert((await p.locator('.solver-start .solver-tool-visual img').evaluate(e=>e.currentSrc)).endsWith('.webp'));
|
||||
console.log('PASS all 52 real screenshot mappings; 11 view families at 390/768/1440/1920; one responsive variant per primary/secondary demonstration, AVIF/WebP fallback, alt, stable dimensions, clean URLs, full-width canvas, readable column and no overflow.');await c.close();}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
|
||||
@ -96,6 +96,7 @@ var tests = new (string Name, Action Test)[]
|
||||
("Curated V2 preserves 60 literal paths and enforces eight explicit Development review exceptions", WritingSolverCuratedV2Tests.Acceptance),
|
||||
("Curated V2 exhausts real-engine states and preserves revision/multi-select behaviour", WritingSolverCuratedV2Tests.ReachabilityAndRevision),
|
||||
("Curated V2 passes normal validation and invalid publication stays guarded", WritingSolverCuratedV2Tests.ExistingValidatorBoundary),
|
||||
("Payoff covers all 52 diagnoses with seven archetypes and semantic uncertainty ordering without graph changes", WritingSolverPayoffTests.Audit),
|
||||
("Development review observes every acceptance prefix without changing signals, results or graph; access and durable capture stay isolated", WritingSolverReviewTests.Audit),
|
||||
("All permanent writing problems have distinct editorial content, intent, metadata, links and real images", WritingProblemEditorialTests.Audit),
|
||||
("Clean solver completion preserves private evidence and permanent indexable URLs", WritingSolverCleanUrlTests.TransitionAndIsolation),
|
||||
|
||||
@ -81,6 +81,7 @@ internal static class ToolbarBrowserHost
|
||||
builder.Services.AddSingleton<WritingSolverResultContext>();
|
||||
builder.Services.AddScoped<WritingSolverReview>();
|
||||
builder.Services.AddSingleton<WritingSolverReviewStore>();
|
||||
builder.Services.AddSingleton(services=>new WritingSolverPayoff(Path.GetFullPath("PlotLine/Content/WritingSolver/Presentation/payoff-v1.json")));
|
||||
builder.Services.AddAuthorization(options=>options.AddPolicy("AdminOnly",policy=>policy.RequireClaim(ClaimTypes.Role,"SolverReviewer")));
|
||||
builder.Services.AddSingleton(new WritingProblemEditorial(Path.GetFullPath("PlotLine/Content/WritingSolver/Editorial/pages-v1.json")));
|
||||
builder.Services.AddSingleton(new WritingSolverResults(Path.GetFullPath("PlotLine/Content/WritingSolver/Presentation/results-v1.json")));
|
||||
|
||||
31
PlotLine.Tests/WritingSolverPayoffTests.cs
Normal file
31
PlotLine.Tests/WritingSolverPayoffTests.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using System.Text.Json;
|
||||
using PlotLine.Data;
|
||||
using PlotLine.Services;
|
||||
internal static class WritingSolverPayoffTests
|
||||
{
|
||||
public static void Audit()
|
||||
{
|
||||
void Check(bool ok,string reason){if(!ok)throw new Exception(reason);}
|
||||
var root=WritingSolverCuratedV2Tests.Root();
|
||||
var payoff=new WritingSolverPayoff(Path.Combine(root,"PlotLine/Content/WritingSolver/Presentation/payoff-v1.json"));
|
||||
var graph=WritingSolverRepository.Parse(File.ReadAllText(Path.Combine(root,"PlotLine/Content/WritingSolver/Candidates/curated-v2-stage1-repair/writing-solver-curated-v2-stage1-repair.json")));
|
||||
var before=JsonSerializer.Serialize(graph,WritingSolverRepository.JsonOptions);var results=WritingSolverResultTests.Content();
|
||||
Check(payoff.Content.Results.Select(r=>r.Family).Distinct().Count()==7,"Expected seven diagnostic archetypes.");
|
||||
foreach(var solution in graph.Solutions)
|
||||
{
|
||||
var p=payoff.For(solution.Id);Check(p.Action.Length>50,"Missing practical action.");
|
||||
var approved=results.Catalog.Results.Single(r=>r.Solution==solution.Id);
|
||||
Check((p.Family=="workflow")== (approved.Secondary is not null),"Workflow must use an approved secondary, without padding single-feature results.");
|
||||
}
|
||||
foreach(var entry in payoff.Content.Uncertainty)Check(graph.Nodes.Any(n=>n.Id==entry.Node&&n.Choices.Any(c=>c.Id==entry.Choice)),"Invalid uncertainty classification.");
|
||||
foreach(var node in graph.Nodes)
|
||||
{
|
||||
var choices=payoff.OrderedChoices(node).ToArray();var seen=false;
|
||||
foreach(var choice in choices){if(payoff.IsUncertain(node,choice))seen=true;else Check(!seen,"Uncertainty was not last.");}
|
||||
Check(choices.Select(c=>c.Id).Order().SequenceEqual(node.Choices.Where(c=>c.Active).Select(c=>c.Id).Order()),"Choices were added or removed.");
|
||||
}
|
||||
foreach(var id in new[]{"final-cast","final-progression"}){var node=graph.Nodes.Single(n=>n.Id==id);Check(payoff.OrderedChoices(node).Last().Id=="unsure","Known mixed-order uncertainty was not corrected.");}
|
||||
Check(!payoff.IsUncertain(graph.Nodes.Single(n=>n.Id=="story-problem"),graph.Nodes.Single(n=>n.Id=="story-problem").Choices.Single(c=>c.Id=="scene-contribution")),"A substantive symptom was mistaken for an unknown answer.");
|
||||
Check(before==JsonSerializer.Serialize(graph,WritingSolverRepository.JsonOptions),"Presentation changed graph/scoring/routing/order fields.");
|
||||
}
|
||||
}
|
||||
766
PlotLine/Content/WritingSolver/Presentation/payoff-v1.json
Normal file
766
PlotLine/Content/WritingSolver/Presentation/payoff-v1.json
Normal file
@ -0,0 +1,766 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"solution": "d01",
|
||||
"family": "overview",
|
||||
"action": "Put the open threads beside one another and choose which unresolved commitment to follow next."
|
||||
},
|
||||
{
|
||||
"solution": "d02",
|
||||
"family": "plot-map",
|
||||
"action": "Find the last contribution before the gap and the first one after it. Read the return before deciding whether a bridge is missing."
|
||||
},
|
||||
{
|
||||
"solution": "d03",
|
||||
"family": "plot-map",
|
||||
"action": "Choose one event in each thread and trace what changes in the other. Look for a consequence, not merely a shared character."
|
||||
},
|
||||
{
|
||||
"solution": "d04",
|
||||
"family": "workflow",
|
||||
"action": "Compare the space each thread receives with the emphasis you intended. Equal shares are not the aim."
|
||||
},
|
||||
{
|
||||
"solution": "d05",
|
||||
"family": "chronology",
|
||||
"action": "Ask what would be lost if this scene disappeared: a decision, discovery, change or later consequence."
|
||||
},
|
||||
{
|
||||
"solution": "d06",
|
||||
"family": "plot-map",
|
||||
"action": "Choose one promise and follow it from introduction to answer. Check the preparation as well as the payoff."
|
||||
},
|
||||
{
|
||||
"solution": "d07",
|
||||
"family": "plot-map",
|
||||
"action": "Follow an action into the next consequential event. Identify what would happen differently without the earlier scene."
|
||||
},
|
||||
{
|
||||
"solution": "d08",
|
||||
"family": "overview",
|
||||
"action": "Create a small reference for the people you keep having to look up. Start with roles and distinguishing details."
|
||||
},
|
||||
{
|
||||
"solution": "d09",
|
||||
"family": "people",
|
||||
"action": "Compare the decisions and pressures belonging to each character before deciding whether their roles overlap."
|
||||
},
|
||||
{
|
||||
"solution": "d10",
|
||||
"family": "people",
|
||||
"action": "Read the last unresolved moment before the character disappears, then their return. Decide what the reader needs to carry across."
|
||||
},
|
||||
{
|
||||
"solution": "d11",
|
||||
"family": "people",
|
||||
"action": "Compare appearances with the roles you intended. A minor character and a protagonist need not receive equal space."
|
||||
},
|
||||
{
|
||||
"solution": "d12",
|
||||
"family": "people",
|
||||
"action": "Check what each viewpoint uniquely lets the reader experience before changing its share of the manuscript."
|
||||
},
|
||||
{
|
||||
"solution": "d13",
|
||||
"family": "trace",
|
||||
"action": "Choose the established version of one conflicting fact, then check the passages that rely on it."
|
||||
},
|
||||
{
|
||||
"solution": "d14",
|
||||
"family": "workflow",
|
||||
"action": "Find the last known location and the next appearance. Check the available interval and the move connecting them."
|
||||
},
|
||||
{
|
||||
"solution": "d15",
|
||||
"family": "overview",
|
||||
"action": "Lay out the connections you repeatedly reconstruct. Begin with the few relationships relevant to your current scene."
|
||||
},
|
||||
{
|
||||
"solution": "d16",
|
||||
"family": "people",
|
||||
"action": "Compare the last clear relationship state with the behaviour in the current scene. Find the encounter connecting them."
|
||||
},
|
||||
{
|
||||
"solution": "d17",
|
||||
"family": "people",
|
||||
"action": "Read the encounters before the change. Check which choice or consequence makes the new relationship state believable."
|
||||
},
|
||||
{
|
||||
"solution": "d18",
|
||||
"family": "people",
|
||||
"action": "Compare what survives from one encounter into the next: a changed expectation can matter more than a new label."
|
||||
},
|
||||
{
|
||||
"solution": "d19",
|
||||
"family": "people",
|
||||
"action": "Compare each person\u2019s understanding of the relationship. Check whether the difference is deliberate and visible in their behaviour."
|
||||
},
|
||||
{
|
||||
"solution": "d20",
|
||||
"family": "people",
|
||||
"action": "Choose the event that changes the network, then follow its consequences into the connected relationships."
|
||||
},
|
||||
{
|
||||
"solution": "d21",
|
||||
"family": "trace",
|
||||
"action": "Find the first use of the information, then the first opportunity to learn it. Inspect the missing or reversed link."
|
||||
},
|
||||
{
|
||||
"solution": "d22",
|
||||
"family": "trace",
|
||||
"action": "Find the conversation, witness or discovery that supplies the fact. Then check the first scene that relies on it."
|
||||
},
|
||||
{
|
||||
"solution": "d23",
|
||||
"family": "trace",
|
||||
"action": "Choose one fact and compare who knows it, who suspects it and whose position changes in the next scene."
|
||||
},
|
||||
{
|
||||
"solution": "d24",
|
||||
"family": "trace",
|
||||
"action": "Check the acquisition and use of information around the moved scenes before changing either event."
|
||||
},
|
||||
{
|
||||
"solution": "d25",
|
||||
"family": "trace",
|
||||
"action": "Follow one clue through discovery and interpretation. A clue can be present without its significance being understood."
|
||||
},
|
||||
{
|
||||
"solution": "d26",
|
||||
"family": "trace",
|
||||
"action": "Compare preparation, revelation and the reader\u2019s intended moment of understanding."
|
||||
},
|
||||
{
|
||||
"solution": "d27",
|
||||
"family": "chronology",
|
||||
"action": "Find the two conflicting points, then inspect the neighbouring scenes to decide which date, event or assumption needs correcting."
|
||||
},
|
||||
{
|
||||
"solution": "d28",
|
||||
"family": "chronology",
|
||||
"action": "Mark the start and finish of the interval. Check whether the intervening action fits the time available."
|
||||
},
|
||||
{
|
||||
"solution": "d29",
|
||||
"family": "workflow",
|
||||
"action": "Compare the age stated in the scene with the birthday and elapsed years. Then check the established character record."
|
||||
},
|
||||
{
|
||||
"solution": "d30",
|
||||
"family": "chronology",
|
||||
"action": "Separate when events happen from when the reader encounters them. Check whether each jump supplies the context you intended."
|
||||
},
|
||||
{
|
||||
"solution": "d31",
|
||||
"family": "chronology",
|
||||
"action": "Place the parallel events around their shared deadline and check which reactions depend on another sequence."
|
||||
},
|
||||
{
|
||||
"solution": "d32",
|
||||
"family": "chronology",
|
||||
"action": "Keep the fixed date visible, then test the time available for the events immediately before and after it."
|
||||
},
|
||||
{
|
||||
"solution": "d33",
|
||||
"family": "overview",
|
||||
"action": "Create a navigable overview of the scenes you already have. Choose one crowded or hard-to-find stretch first."
|
||||
},
|
||||
{
|
||||
"solution": "d34",
|
||||
"family": "workflow",
|
||||
"action": "Identify what must happen before this scene and what depends on it. Preserve a reference before trying a different placement."
|
||||
},
|
||||
{
|
||||
"solution": "d35",
|
||||
"family": "chronology",
|
||||
"action": "Read across the chapter break. Check what it interrupts, withholds or allows the reader to absorb."
|
||||
},
|
||||
{
|
||||
"solution": "d36",
|
||||
"family": "chronology",
|
||||
"action": "Compare the unique work of the two scenes. Repetition can be useful when its meaning or consequences change."
|
||||
},
|
||||
{
|
||||
"solution": "d37",
|
||||
"family": "chronology",
|
||||
"action": "Keep a reference arrangement, then try one meaningful move. Compare the setup and consequences around it."
|
||||
},
|
||||
{
|
||||
"solution": "d38",
|
||||
"family": "workflow",
|
||||
"action": "Compare the journey\u2019s available time with a plausible route. Check the scenes that establish departure and arrival."
|
||||
},
|
||||
{
|
||||
"solution": "d39",
|
||||
"family": "trace",
|
||||
"action": "Choose the intended version of the place, then check the descriptions and actions that depend on its layout."
|
||||
},
|
||||
{
|
||||
"solution": "d40",
|
||||
"family": "trace",
|
||||
"action": "Follow the object from its last clear holder or position to its next appearance. Identify the connecting handover or move."
|
||||
},
|
||||
{
|
||||
"solution": "d41",
|
||||
"family": "trace",
|
||||
"action": "Trace how the new holder acquires the object before their first use of it."
|
||||
},
|
||||
{
|
||||
"solution": "d42",
|
||||
"family": "trace",
|
||||
"action": "Compare the object\u2019s earlier damage, loss or destruction with its later state. Look for the intended explanation between them."
|
||||
},
|
||||
{
|
||||
"solution": "d43",
|
||||
"family": "progression",
|
||||
"action": "Choose a quiet stretch and ask what changes in the available choices. Quietness itself is not a fault."
|
||||
},
|
||||
{
|
||||
"solution": "d44",
|
||||
"family": "progression",
|
||||
"action": "Find the transition between a long wait and a cluster of changes. Read the scenes before smoothing any graph."
|
||||
},
|
||||
{
|
||||
"solution": "d45",
|
||||
"family": "progression",
|
||||
"action": "Choose one rise or drop in pressure. Check what the reader is anticipating, and whether the release is intentional."
|
||||
},
|
||||
{
|
||||
"solution": "d46",
|
||||
"family": "workflow",
|
||||
"action": "Follow the character\u2019s response to one significant event. Look for a changed choice, then check its effect on the wider story."
|
||||
},
|
||||
{
|
||||
"solution": "d47",
|
||||
"family": "progression",
|
||||
"action": "Compare the closing cluster of changes with their earlier preparation. Decide which developments need room sooner."
|
||||
},
|
||||
{
|
||||
"solution": "d48",
|
||||
"family": "trace",
|
||||
"action": "Choose the first changed fact or event and trace later references that may still assume the previous version."
|
||||
},
|
||||
{
|
||||
"solution": "d49",
|
||||
"family": "chronology",
|
||||
"action": "Name the alternatives and preserve a reference. Compare one meaningful difference before choosing which version to keep."
|
||||
},
|
||||
{
|
||||
"solution": "d50",
|
||||
"family": "trace",
|
||||
"action": "Find the book that establishes the fact, then the later passage relying on it. Record the agreed reference."
|
||||
},
|
||||
{
|
||||
"solution": "d51",
|
||||
"family": "workflow",
|
||||
"action": "Trace the last meaningful contribution in each book, then check the series-level promise and eventual payoff."
|
||||
},
|
||||
{
|
||||
"solution": "d52",
|
||||
"family": "overview",
|
||||
"action": "Externalise the small set of references you repeatedly search for. You do not need to catalogue the entire novel first."
|
||||
}
|
||||
],
|
||||
"uncertainty": [
|
||||
{
|
||||
"node": "entry",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "rescue-happening",
|
||||
"choice": "really-dont-know"
|
||||
},
|
||||
{
|
||||
"node": "story-connection",
|
||||
"choice": "cant-tell"
|
||||
},
|
||||
{
|
||||
"node": "story-payoff",
|
||||
"choice": "dont-know"
|
||||
},
|
||||
{
|
||||
"node": "feel-where",
|
||||
"choice": "cant-tell"
|
||||
},
|
||||
{
|
||||
"node": "feel-how",
|
||||
"choice": "only-feel"
|
||||
},
|
||||
{
|
||||
"node": "flow-target",
|
||||
"choice": "not-sure"
|
||||
},
|
||||
{
|
||||
"node": "flow-tension",
|
||||
"choice": "cant-tell"
|
||||
},
|
||||
{
|
||||
"node": "change-damage",
|
||||
"choice": "dont-know"
|
||||
},
|
||||
{
|
||||
"node": "change-knowledge",
|
||||
"choice": "dont-know"
|
||||
},
|
||||
{
|
||||
"node": "cast-presence",
|
||||
"choice": "cant-see"
|
||||
},
|
||||
{
|
||||
"node": "check-threads",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-threads",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-purpose",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-purpose",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-causality",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-causality",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-payoff",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-payoff",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-cast",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-relationships",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-knowledge",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-time",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-whereabouts",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-whereabouts",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-structure",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-object",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-place",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-place",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-progression",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-arc",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-arc",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-change",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-change",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-series",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-series",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-overload",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-overload",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "dominance-observation",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "dominance-intention",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-facts",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "intent-facts",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-no-source-source-order",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-source-no-source",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-povs-no-source-order",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-reader-order-povs",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-clues-source",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-order-no-source-reader",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-source-povs",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-reader-order",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-knowledge-povs-source",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-clash-elapsed",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-clash-age",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-age-clash",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-reading-clash",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-fixed-clash",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-lost-gap",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-gap-lost",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-apart-lost",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-scenes-lost",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-gap-apart",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-track-holder",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-holder-track",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-track-history",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-history-track",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-track-place",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-place-purpose",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-chapter-place",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-purpose-repeat",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-volume-purpose",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-purpose-volume",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-repeat-purpose",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure-place-chapter",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-lost-apart",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-apart-gap",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-threads-scenes-apart",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-uneven-late",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-uneven-character",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-nothing-uneven",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-uneven-nothing",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-late-uneven",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-nothing-character",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-repeat-moving",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-unprepared-stage",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-stage-views",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-ripples-network",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-views-stage",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-stage-moving",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-moving-repeat",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-tension-nothing",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-tension-uneven",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-progression-tension-late",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-elapsed-travel",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-elapsed-clash",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-travel-elapsed",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-clash-reading",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-place-holder",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-holder-history",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object-history-place",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-remember-same-job",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-same-job-remember",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-share-remember",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-gap-share",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-voice-share",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-gap-none",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-share-voice",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-cast-share-gap",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-network-stage",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-network-views",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-network-ripples",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-elapsed-fixed",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-parallel-clash",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-time-reading-parallel",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-stage-network",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships-stage-ripples",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-object",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-structure",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "check-relationships",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "final-cast",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "final-progression",
|
||||
"choice": "unsure"
|
||||
},
|
||||
{
|
||||
"node": "final-dominance",
|
||||
"choice": "unsure"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -118,6 +118,7 @@ public class Program
|
||||
builder.Services.AddSingleton<WritingSolverResultContext>();
|
||||
builder.Services.AddScoped<WritingSolverReview>();
|
||||
builder.Services.AddSingleton<WritingSolverReviewStore>();
|
||||
builder.Services.AddSingleton(services=>new WritingSolverPayoff(Path.Combine(services.GetRequiredService<IWebHostEnvironment>().ContentRootPath,"Content/WritingSolver/Presentation/payoff-v1.json")));
|
||||
builder.Services.AddSingleton(services => new WritingProblemEditorial(Path.Combine(services.GetRequiredService<IWebHostEnvironment>().ContentRootPath,"Content/WritingSolver/Editorial/pages-v1.json")));
|
||||
builder.Services.AddSingleton(services => new WritingSolverResults(Path.Combine(services.GetRequiredService<IWebHostEnvironment>().ContentRootPath,"Content/WritingSolver/Presentation/results-v1.json")));
|
||||
builder.Services.AddScoped<IToolbarPreferenceRepository, ToolbarPreferenceRepository>();
|
||||
|
||||
22
PlotLine/Services/WritingSolverPayoff.cs
Normal file
22
PlotLine/Services/WritingSolverPayoff.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System.Text.Json;
|
||||
using PlotLine.Data;
|
||||
using PlotLine.Models.WritingSolver;
|
||||
namespace PlotLine.Services;
|
||||
// Authored presentation only; never changes graph choices, order fields or engine inputs.
|
||||
public sealed class WritingSolverPayoff
|
||||
{
|
||||
public sealed record Result(string Solution,string Family,string Action);
|
||||
public sealed record Unknown(string Node,string Choice);
|
||||
public sealed record Catalog(List<Result> Results,List<Unknown> Uncertainty);
|
||||
public Catalog Content { get; }
|
||||
private readonly HashSet<(string,string)> unknown;
|
||||
public WritingSolverPayoff(string path)
|
||||
{
|
||||
Content=JsonSerializer.Deserialize<Catalog>(File.ReadAllText(path),WritingSolverRepository.JsonOptions)??throw new InvalidDataException("Missing payoff catalogue.");
|
||||
if(Content.Results.Count!=52||Content.Results.Select(r=>r.Solution).Distinct().Count()!=52||Content.Results.Any(r=>!new[]{"plot-map","chronology","progression","people","trace","overview","workflow"}.Contains(r.Family)||string.IsNullOrWhiteSpace(r.Action)))throw new InvalidDataException("Invalid payoff mappings.");
|
||||
unknown=Content.Uncertainty.Select(x=>(x.Node,x.Choice)).ToHashSet();
|
||||
}
|
||||
public Result For(string id)=>Content.Results.Single(r=>r.Solution==id);
|
||||
public bool IsUncertain(SolverNode node,SolverChoice choice)=>unknown.Contains((node.Id,choice.Id));
|
||||
public IEnumerable<SolverChoice> OrderedChoices(SolverNode node)=>node.Choices.Where(c=>c.Active).OrderBy(c=>IsUncertain(node,c)).ThenBy(c=>c.Order);
|
||||
}
|
||||
@ -1,6 +1,7 @@
|
||||
@using PlotLine.Models.WritingSolver
|
||||
@model SolverJourney
|
||||
@inject PlotLine.Services.WritingSolverResults Results
|
||||
@inject PlotLine.Services.WritingSolverPayoff Payoff
|
||||
@{ Layout = "_PublicLayout"; var next = Model.Outcome.Next; var beginning = Model.Outcome.Answers.Count == 0; var presentation=Results.Present(Model.Outcome); }
|
||||
<section class="solver-space @(beginning ? "solver-space--entry" : "")">
|
||||
<div class="solver-content">
|
||||
@ -21,7 +22,7 @@
|
||||
<legend class="@(beginning ? "solver-entry-legend" : "solver-question")">@next.Title</legend>
|
||||
<p class="solver-help" id="solver-help">@next.Help</p>
|
||||
<div class="solver-choices @(next.Type == "area" ? "solver-choices--areas" : "")">
|
||||
@foreach(var choice in next.Choices.Where(c => c.Active).OrderBy(c => c.Order))
|
||||
@foreach(var choice in Payoff.OrderedChoices(next))
|
||||
{
|
||||
<label class="solver-choice @(choice.Fallback ? "solver-choice--fallback" : "")">
|
||||
<input type="@(next.Multiple ? "checkbox" : "radio")" name="choices" value="@choice.Id" aria-describedby="solver-help" />
|
||||
|
||||
@ -1,15 +1,18 @@
|
||||
@using PlotLine.Models.WritingSolver
|
||||
@model SolverJourney
|
||||
@{ var reassurance = Model.Outcome.Reassurance!; }
|
||||
<article class="solver-neutral">
|
||||
<article class="solver-neutral solver-reassurance" data-result-family="reassurance">
|
||||
<span class="solver-reassurance-seal" aria-hidden="true">✓</span>
|
||||
<p class="solver-resolution">A little reassurance before you go</p>
|
||||
<h1>@reassurance.Title</h1>
|
||||
<p class="solver-intro">@reassurance.Summary</p>
|
||||
<section class="solver-neutral-action"><h2>A useful next step</h2>
|
||||
@foreach(var paragraph in reassurance.Advice) { <p class="solver-editorial">@paragraph</p> }
|
||||
</section>
|
||||
@if(reassurance.Feature is string id)
|
||||
{
|
||||
var feature=Model.Graph.Features.Single(f=>f.Id==id && f.Active);
|
||||
<p><a class="editorial-link" href="/features/@feature.Slug">@feature.Title →</a></p>
|
||||
<p class="solver-optional-check">Only if you want to check further: <a class="editorial-link" href="/features/@feature.Slug">@feature.Title →</a></p>
|
||||
}
|
||||
<p class="solver-help">You can leave it there, or return whenever you want a little help untangling a writing problem.</p>
|
||||
<a class="editorial-link" href="/">Back to PlotDirector →</a>
|
||||
|
||||
@ -4,45 +4,52 @@
|
||||
@inject WritingSolverResults Results
|
||||
@inject IHelpService Help
|
||||
@inject WritingProblemEditorial Editorial
|
||||
@{ var tool=Model.Capability; var content=Model.Content; var signedIn=User.Identity?.IsAuthenticated==true; var permanent=Editorial.Find(Model.Solution.Id); var article=content.ArticleKey is null?null:Help.GetByContextKey(content.ArticleKey); }
|
||||
<article class="solver-result solver-result-panel">
|
||||
@inject WritingSolverPayoff Payoff
|
||||
@{ var treatment=Payoff.For(Model.Solution.Id); var personal=Model.Evidence.Count>0; var wide=new[]{"plot-map","chronology","progression","trace"}.Contains(treatment.Family); ViewData["SolverVisualSizes"]=wide?"(max-width: 700px) calc(100vw - 40px), (max-width: 1190px) calc(100vw - 48px), 1140px":"(max-width: 700px) calc(100vw - 40px), (max-width: 1190px) 55vw, 650px"; var tool=Model.Capability; var content=Model.Content; var signedIn=User.Identity?.IsAuthenticated==true; var permanent=Editorial.Find(Model.Solution.Id); var article=content.ArticleKey is null?null:Help.GetByContextKey(content.ArticleKey); }
|
||||
<article class="solver-result solver-result-panel solver-payoff solver-payoff--@treatment.Family" data-result-family="@treatment.Family">
|
||||
<header class="solver-result-heading">
|
||||
@if(Model.Evidence.Count>0) { <p class="solver-resolution">✓ Here’s a useful way forward</p> }
|
||||
@if(personal) { <p class="solver-resolution">✓ What we think is happening</p> }
|
||||
else { <p class="marketing-eyebrow">Writing problems</p> }
|
||||
<h1>@Model.Solution.Title</h1>
|
||||
@if(Model.Evidence.Count>0 || permanent is null)
|
||||
@if(personal)
|
||||
{
|
||||
<div class="solver-result-evidence">
|
||||
@foreach(var evidence in Model.Evidence) { <p>@evidence</p> }
|
||||
<p class="solver-result-inference">@content.Explanation</p>
|
||||
</div>
|
||||
<div class="solver-result-evidence solver-listening">
|
||||
<p class="solver-result-inference">@content.Explanation</p>
|
||||
<div><h2>Why we think that</h2><ul>@foreach(var evidence in Model.Evidence){<li>@evidence</li>}</ul></div>
|
||||
</div>
|
||||
}
|
||||
@if(permanent is not null) { <p class="solver-recognition">@permanent.Recognition</p> }
|
||||
@if(Model.Evidence.Count>0 && permanent is not null) { <p><a class="editorial-link" href="#solver-start-heading">See where to start in PlotDirector →</a></p> }
|
||||
else if(permanent is not null){<p class="solver-recognition">@permanent.Recognition</p>}
|
||||
</header>
|
||||
@if(permanent is not null) { <partial name="Editorial" model="permanent" /> }
|
||||
@if(permanent is null && !string.IsNullOrWhiteSpace(content.Principle))
|
||||
{ <aside class="solver-principle solver-principle--compact"><strong>Worth remembering</strong><p>@content.Principle</p></aside> }
|
||||
<aside class="solver-author-action"><strong>Your next step</strong><p>@treatment.Action</p></aside>
|
||||
<section class="solver-start" aria-labelledby="solver-start-heading">
|
||||
<h2 id="solver-start-heading">How PlotDirector can help</h2>
|
||||
<div class="solver-start-grid">
|
||||
@if(treatment.Family=="progression"){<div class="solver-graph-intro"><h3>@tool.Name</h3><p class="solver-specific-help">@content.Reason</p></div><partial name="ResultVisual" model="tool" />}
|
||||
<div class="solver-start-copy">
|
||||
<p class="marketing-eyebrow">Start here</p>
|
||||
<h3>@tool.Name</h3>
|
||||
<p>@tool.Shows</p>
|
||||
<p>@content.Reason</p>
|
||||
@if(treatment.Family!="progression"){<p class="marketing-eyebrow">Start here</p><h3>@tool.Name</h3><p class="solver-specific-help">@content.Reason</p>}
|
||||
<p class="solver-view-shows">@tool.Shows</p>
|
||||
<p class="solver-look-for"><strong>Look for</strong> @content.LookFor</p>
|
||||
<a class="marketing-btn marketing-btn--primary solver-result-cta" href="@(signedIn ? "/writing-problems/workspace/"+tool.Id : tool.Tour)">@(signedIn ? "Open "+tool.Name+" in my workspace" : "See how "+tool.Name+" works") <span aria-hidden="true">→</span></a>
|
||||
@if(signedIn) { <p class="solver-context-hint">Choose your project first@(tool.WorkspaceRoute.Contains("{characterId}") ? ", then the character you want to follow." : ".")</p> }
|
||||
else { <p class="solver-context-hint">Explore the tool without signing in.</p> }
|
||||
</div>
|
||||
<partial name="ResultVisual" model="tool" />
|
||||
@if(treatment.Family!="progression"){<partial name="ResultVisual" model="tool" />}
|
||||
</div>
|
||||
</section>
|
||||
@if(content.Secondary is not null)
|
||||
{
|
||||
var secondary=Results.Capability(content.Secondary);
|
||||
<aside class="solver-also"><strong>Also useful</strong><h3><a href="@secondary.Tour">@secondary.Name →</a></h3><p>@content.SecondaryReason</p></aside>
|
||||
<aside class="solver-also solver-workflow-next"><strong>Then check</strong><h3><a href="@secondary.Tour">@secondary.Name →</a></h3><p>@content.SecondaryReason</p>
|
||||
@if(treatment.Family=="workflow"){ ViewData["SolverVisualSizes"]="(max-width: 700px) calc(100vw - 40px), (max-width: 900px) calc(100vw - 48px), 850px"; <partial name="ResultVisual" model="secondary" />}
|
||||
</aside>
|
||||
}
|
||||
@if(treatment.Family=="progression"){<aside class="solver-principle solver-principle--compact"><strong>Evidence, not a target</strong><p>Read the scenes behind a rise, pause or dip. A graph does not need to be smooth for a novel to work.</p></aside>}
|
||||
@if(permanent is not null)
|
||||
{
|
||||
<section class="solver-deeper-editorial" aria-label="Understand this writing problem">
|
||||
@if(personal){<p class="solver-recognition">@permanent.Recognition</p>}
|
||||
<partial name="Editorial" model="permanent" />
|
||||
</section>
|
||||
}
|
||||
@if(article is not null)
|
||||
{
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
@using PlotLine.Models.WritingSolver
|
||||
@model SolverCapability
|
||||
@inject PlotLine.Services.WritingSolverResults Results
|
||||
@{ var sizes=ViewData["SolverVisualSizes"] as string??"(max-width: 700px) calc(100vw - 40px), (max-width: 978px) calc((100vw - 80px) / 2), 449px"; }
|
||||
<figure class="solver-tool-visual">
|
||||
@if(Results.HasImage(Model))
|
||||
{
|
||||
<a class="solver-image-link" href="@Model.Image" target="_blank" rel="noopener" aria-label="Enlarge: @Model.ImageAlt (opens in a new tab)">
|
||||
<picture>
|
||||
<source type="image/avif" srcset="@Results.ImageSourceSet(Model,"avif")" sizes="(max-width: 700px) calc(100vw - 40px), (max-width: 978px) calc((100vw - 80px) / 2), 449px" />
|
||||
<img src="@Model.Image" srcset="@Results.ImageSourceSet(Model,"webp")" sizes="(max-width: 700px) calc(100vw - 40px), (max-width: 978px) calc((100vw - 80px) / 2), 449px" alt="@Model.ImageAlt" width="@Model.ImageWidth" height="@Model.ImageHeight" loading="lazy" decoding="async" />
|
||||
<source type="image/avif" srcset="@Results.ImageSourceSet(Model,"avif")" sizes="@sizes" />
|
||||
<img src="@Model.Image" srcset="@Results.ImageSourceSet(Model,"webp")" sizes="@sizes" alt="@Model.ImageAlt" width="@Model.ImageWidth" height="@Model.ImageHeight" loading="lazy" decoding="async" />
|
||||
</picture>
|
||||
</a>
|
||||
}
|
||||
|
||||
@ -120,3 +120,57 @@ html[data-site-theme="public"] .solver-browse-areas { max-width:780px; display:g
|
||||
@supports (background-image: image-set(url("/images/public/writing-solver-desk.avif") type("image/avif"))) {
|
||||
html[data-site-theme="public"] { --solver-desk-image:image-set(url("/images/public/writing-solver-desk.avif") type("image/avif"),url("/images/public/writing-solver-desk.webp") type("image/webp")); }
|
||||
}
|
||||
|
||||
/* Result payoff: one shared warm canvas, seven compositions chosen by the problem. */
|
||||
html[data-site-theme="public"] .solver-space--article:has(.solver-payoff) .solver-content { width:min(1140px,100%); }
|
||||
html[data-site-theme="public"] .solver-payoff h1 { max-width:1050px; font-size:clamp(2.1rem,3.6vw,3rem); margin-bottom:16px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-result-heading { margin-bottom:18px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-listening { max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:30px; font:1rem/1.55 "Segoe UI",sans-serif; }
|
||||
html[data-site-theme="public"] .solver-listening h2 { font:600 1rem/1.4 "Segoe UI",sans-serif; margin:0 0 8px; }
|
||||
html[data-site-theme="public"] .solver-listening ul { list-style:none; margin:0; padding:0; }
|
||||
html[data-site-theme="public"] .solver-listening li { position:relative; padding-left:23px; margin-bottom:7px; }
|
||||
html[data-site-theme="public"] .solver-listening li::before { content:"✓"; position:absolute; left:0; color:#5b7854; }
|
||||
html[data-site-theme="public"] .solver-author-action { background:var(--sage); border-left:3px solid #75816a; padding:12px 18px; max-width:950px; }
|
||||
html[data-site-theme="public"] .solver-author-action strong { font-size:.85rem; color:var(--plum); }
|
||||
html[data-site-theme="public"] .solver-author-action p { margin:4px 0 0; line-height:1.55; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-start { margin-top:18px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-start h2 { margin-bottom:14px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-start-grid { grid-template-columns:.8fr 1.2fr; gap:28px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-start-copy h3 { margin:5px 0 10px; }
|
||||
html[data-site-theme="public"] .solver-specific-help { font:1.16rem/1.5 Georgia,serif; }
|
||||
html[data-site-theme="public"] .solver-view-shows { font-size:.95rem; line-height:1.6; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--progression,.solver-payoff--trace) .solver-start-grid { grid-template-columns:1fr; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--progression,.solver-payoff--trace) .solver-start-copy { display:grid; grid-template-columns:1fr 1fr; column-gap:32px; align-items:start; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--progression,.solver-payoff--trace) .solver-start-copy :is(.marketing-eyebrow,h3) { grid-column:1 / -1; }
|
||||
html[data-site-theme="public"] .solver-payoff--plot-map .solver-tool-visual { padding:16px; border:1px solid var(--line); border-radius:18px; background:#fffaf2b8; }
|
||||
html[data-site-theme="public"] .solver-payoff--chronology .solver-look-for { border-top:2px solid var(--gold); border-left:0; padding:12px 0; }
|
||||
html[data-site-theme="public"] .solver-payoff--progression .solver-start-grid { gap:12px; }
|
||||
html[data-site-theme="public"] .solver-payoff--progression .solver-tool-visual { border-bottom:3px solid var(--gold-dark); padding-bottom:10px; }
|
||||
html[data-site-theme="public"] .solver-payoff--people .solver-start-grid { grid-template-columns:1.2fr .8fr; }
|
||||
html[data-site-theme="public"] .solver-payoff--people .solver-tool-visual { grid-column:1; grid-row:1; }
|
||||
html[data-site-theme="public"] .solver-payoff--people .solver-start-copy { grid-column:2; }
|
||||
html[data-site-theme="public"] .solver-payoff--trace .solver-author-action { background:#f1e5ec; border-left-color:var(--plum); }
|
||||
html[data-site-theme="public"] .solver-payoff--trace .solver-start-copy .solver-look-for { grid-row:2 / 5; grid-column:2; padding:16px; border:1px solid var(--line); border-radius:10px; }
|
||||
html[data-site-theme="public"] .solver-payoff--overview .solver-author-action { padding:20px 24px; border-radius:14px; border-left:0; }
|
||||
html[data-site-theme="public"] .solver-payoff--overview .solver-view-shows { color:var(--muted); }
|
||||
html[data-site-theme="public"] .solver-payoff--workflow .solver-start { border-top:3px solid var(--gold-dark); }
|
||||
html[data-site-theme="public"] .solver-workflow-next .solver-tool-visual { max-width:850px; margin-top:18px; }
|
||||
html[data-site-theme="public"] .solver-deeper-editorial { border-top:1px solid var(--line); margin-top:32px; padding-top:18px; }
|
||||
html[data-site-theme="public"] .solver-reassurance { background:linear-gradient(145deg,#e8eadced,#fffaf2e8); padding:30px; border:1px solid #c5ceb9; border-radius:18px; }
|
||||
html[data-site-theme="public"] .solver-reassurance-seal { display:block; color:#5b7854; font:3rem Georgia,serif; }
|
||||
html[data-site-theme="public"] .solver-neutral-action { border-top:1px solid #c5ceb9; margin-top:22px; padding-top:16px; }
|
||||
html[data-site-theme="public"] .solver-neutral-action h2 { font-size:1.5rem; }
|
||||
@media(max-width:700px) {
|
||||
html[data-site-theme="public"] .solver-payoff :is(.solver-listening,.solver-start-grid,.solver-start-copy) { display:block; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-tool-visual { margin:22px 0 0; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-listening>div { margin-top:18px; }
|
||||
html[data-site-theme="public"] .solver-reassurance { padding:22px 18px; }
|
||||
html[data-site-theme="public"] .solver-payoff .solver-result-cta { white-space:normal; }
|
||||
}
|
||||
@media(min-width:701px) {
|
||||
html[data-site-theme="public"] .solver-space--article:has(.solver-payoff) { padding-top:24px; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--trace) .solver-start-copy :is(.marketing-eyebrow,h3) { grid-column:1; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--trace) .solver-start-copy .solver-look-for { grid-column:2; grid-row:1 / 4; }
|
||||
html[data-site-theme="public"] :is(.solver-payoff--plot-map,.solver-payoff--chronology,.solver-payoff--trace) .solver-start-copy .solver-result-cta { grid-column:2; }
|
||||
html[data-site-theme="public"] .solver-payoff--progression .solver-tool-visual { max-width:100%; }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user