|
| 1 | +{ |
| 2 | + "scoring_categories": { |
| 3 | + "required_topics": { |
| 4 | + "weight": 0.40, |
| 5 | + "topics": [ |
| 6 | + { |
| 7 | + "name": "GraphTransformer interface and transform sequence", |
| 8 | + "weight": 0.08, |
| 9 | + "check_any_pattern": [ |
| 10 | + "GraphTransformer", |
| 11 | + "graph transform", |
| 12 | + "transform.*sequence", |
| 13 | + "mutate.*graph" |
| 14 | + ] |
| 15 | + }, |
| 16 | + { |
| 17 | + "name": "ConfigTransformer for resource vertices", |
| 18 | + "weight": 0.07, |
| 19 | + "check_any_pattern": [ |
| 20 | + "ConfigTransformer", |
| 21 | + "resource.*vertex.*configuration", |
| 22 | + "resource block.*vertex" |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "StateTransformer for existing instances", |
| 27 | + "weight": 0.07, |
| 28 | + "check_any_pattern": [ |
| 29 | + "StateTransformer", |
| 30 | + "existing.*instance.*state", |
| 31 | + "state.*vertex" |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "name": "ReferenceTransformer for dependency analysis", |
| 36 | + "weight": 0.08, |
| 37 | + "check_any_pattern": [ |
| 38 | + "ReferenceTransformer", |
| 39 | + "dependency.*analysis", |
| 40 | + "reference.*dependency" |
| 41 | + ] |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "ProviderTransformer for initialization ordering", |
| 45 | + "weight": 0.07, |
| 46 | + "check_any_pattern": [ |
| 47 | + "ProviderTransformer", |
| 48 | + "provider.*initialization.*order", |
| 49 | + "provider.*before.*resource" |
| 50 | + ] |
| 51 | + }, |
| 52 | + { |
| 53 | + "name": "Provider plugin architecture and EvalContext", |
| 54 | + "weight": 0.08, |
| 55 | + "check_any_pattern": [ |
| 56 | + "EvalContext", |
| 57 | + "provider.*plugin", |
| 58 | + "provider.*retrieve.*context" |
| 59 | + ] |
| 60 | + }, |
| 61 | + { |
| 62 | + "name": "Provider instance diff calculation", |
| 63 | + "weight": 0.07, |
| 64 | + "check_any_pattern": [ |
| 65 | + "instance diff", |
| 66 | + "provider.*diff", |
| 67 | + "state.*configuration.*difference" |
| 68 | + ] |
| 69 | + }, |
| 70 | + { |
| 71 | + "name": "State manager interfaces (statemgr)", |
| 72 | + "weight": 0.08, |
| 73 | + "check_any_pattern": [ |
| 74 | + "statemgr", |
| 75 | + "state manager", |
| 76 | + "Filesystem.*manager", |
| 77 | + "remote.*state.*backend" |
| 78 | + ] |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "SyncState for concurrent access", |
| 82 | + "weight": 0.08, |
| 83 | + "check_any_pattern": [ |
| 84 | + "SyncState", |
| 85 | + "synchronized.*state.*access", |
| 86 | + "concurrent.*state" |
| 87 | + ] |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "GraphNodeExecutable interface", |
| 91 | + "weight": 0.08, |
| 92 | + "check_any_pattern": [ |
| 93 | + "GraphNodeExecutable", |
| 94 | + "Execute.*method", |
| 95 | + "vertex.*executable" |
| 96 | + ] |
| 97 | + }, |
| 98 | + { |
| 99 | + "name": "Node types (NodePlannableResourceInstance, NodeApplyableResourceInstance)", |
| 100 | + "weight": 0.08, |
| 101 | + "check_any_pattern": [ |
| 102 | + "NodePlannableResourceInstance", |
| 103 | + "NodeApplyableResourceInstance", |
| 104 | + "NodeDestroyResourceInstance" |
| 105 | + ] |
| 106 | + }, |
| 107 | + { |
| 108 | + "name": "ContextGraphWalker and graph traversal", |
| 109 | + "weight": 0.08, |
| 110 | + "check_any_pattern": [ |
| 111 | + "ContextGraphWalker", |
| 112 | + "graph.*walk", |
| 113 | + "graph.*traversal", |
| 114 | + "walker.*traverse" |
| 115 | + ] |
| 116 | + }, |
| 117 | + { |
| 118 | + "name": "Dynamic expansion (GraphNodeDynamicExpandable)", |
| 119 | + "weight": 0.08, |
| 120 | + "check_any_pattern": [ |
| 121 | + "GraphNodeDynamicExpandable", |
| 122 | + "dynamic.*expansion", |
| 123 | + "count.*for_each.*expansion" |
| 124 | + ] |
| 125 | + } |
| 126 | + ] |
| 127 | + }, |
| 128 | + "file_references": { |
| 129 | + "weight": 0.25, |
| 130 | + "files": [ |
| 131 | + { |
| 132 | + "path": "internal/terraform/context.go", |
| 133 | + "weight": 0.25, |
| 134 | + "description": "Core context and execution orchestration" |
| 135 | + }, |
| 136 | + { |
| 137 | + "path": "internal/terraform/graph_builder", |
| 138 | + "weight": 0.20, |
| 139 | + "description": "Graph builder implementations" |
| 140 | + }, |
| 141 | + { |
| 142 | + "path": "internal/terraform/node_resource", |
| 143 | + "weight": 0.20, |
| 144 | + "description": "Resource node implementations for plan/apply" |
| 145 | + }, |
| 146 | + { |
| 147 | + "path": "internal/providers", |
| 148 | + "weight": 0.20, |
| 149 | + "description": "Provider interface and plugin coordination" |
| 150 | + }, |
| 151 | + { |
| 152 | + "path": "internal/states", |
| 153 | + "weight": 0.15, |
| 154 | + "description": "State management and synchronization" |
| 155 | + } |
| 156 | + ] |
| 157 | + }, |
| 158 | + "data_flow": { |
| 159 | + "weight": 0.20, |
| 160 | + "flows": [ |
| 161 | + { |
| 162 | + "name": "Plan execution flow", |
| 163 | + "weight": 0.35, |
| 164 | + "check_all_patterns": [ |
| 165 | + "graph.*build", |
| 166 | + "provider.*initialize", |
| 167 | + "resource.*plan", |
| 168 | + "diff.*calculate" |
| 169 | + ] |
| 170 | + }, |
| 171 | + { |
| 172 | + "name": "Apply execution flow", |
| 173 | + "weight": 0.35, |
| 174 | + "check_all_patterns": [ |
| 175 | + "graph.*walk", |
| 176 | + "node.*execute", |
| 177 | + "provider.*apply", |
| 178 | + "state.*update" |
| 179 | + ] |
| 180 | + }, |
| 181 | + { |
| 182 | + "name": "State read-modify-persist cycle", |
| 183 | + "weight": 0.30, |
| 184 | + "check_all_patterns": [ |
| 185 | + "state.*read", |
| 186 | + "state.*modify", |
| 187 | + "state.*persist" |
| 188 | + ] |
| 189 | + } |
| 190 | + ] |
| 191 | + }, |
| 192 | + "extension_points": { |
| 193 | + "weight": 0.15, |
| 194 | + "points": [ |
| 195 | + { |
| 196 | + "name": "GraphTransformer for custom graph mutations", |
| 197 | + "weight": 0.25, |
| 198 | + "check_any_pattern": [ |
| 199 | + "implement.*GraphTransformer", |
| 200 | + "custom.*transform", |
| 201 | + "extend.*graph.*build" |
| 202 | + ] |
| 203 | + }, |
| 204 | + { |
| 205 | + "name": "Provider plugin interface", |
| 206 | + "weight": 0.30, |
| 207 | + "check_any_pattern": [ |
| 208 | + "provider.*plugin", |
| 209 | + "custom.*provider", |
| 210 | + "provider.*interface.*implement" |
| 211 | + ] |
| 212 | + }, |
| 213 | + { |
| 214 | + "name": "State backend implementations", |
| 215 | + "weight": 0.25, |
| 216 | + "check_any_pattern": [ |
| 217 | + "state.*backend", |
| 218 | + "remote.*state", |
| 219 | + "statemgr.*implement" |
| 220 | + ] |
| 221 | + }, |
| 222 | + { |
| 223 | + "name": "Hook system for execution observability", |
| 224 | + "weight": 0.20, |
| 225 | + "check_any_pattern": [ |
| 226 | + "hook", |
| 227 | + "callback", |
| 228 | + "execution.*observer" |
| 229 | + ] |
| 230 | + } |
| 231 | + ] |
| 232 | + } |
| 233 | + } |
| 234 | +} |
0 commit comments