You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dataset.yaml
+22-20Lines changed: 22 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
- repo: prismicio-community/course-fizzi-next
2
-
from: 15037446358508e153e765da49f8f5defa7fbbf6
3
-
to: 2760114f2647ebec8f63e0ecc2dc87a8cd4096ac
1
+
- repo: "prismicio-community/course-fizzi-next"
2
+
from: "15037446358508e153e765da49f8f5defa7fbbf6"
3
+
to: "2760114f2647ebec8f63e0ecc2dc87a8cd4096ac"
4
4
issues: []
5
5
scores:
6
6
api-signature:
@@ -15,13 +15,14 @@
15
15
weight: 0.1
16
16
args:
17
17
setup:
18
-
- npm ci
18
+
- "npm ci"
19
19
commands:
20
-
- npm run lint
21
-
- npm exec prettier -- --check .
22
-
- repo: DataDog/datadog-lambda-python
23
-
from: 93d4a07fa61a4d4d2feec08e722505a9e0cc8657
24
-
to: d7763789f262b2da228f8210509e302e6e510d0a
20
+
- "npm run lint"
21
+
- "npm exec prettier -- --check ."
22
+
prompt: "Update the project to provide a streamlined content setup experience for users who want to skip the tutorial. Replace the old migration script with a new automated content setup script that handles authentication, fetches documents from a source repository, and copies them to the user's repository. Update the README to include clear instructions for launching the site without going through the tutorial, including steps to clone the code, select the locale, run the setup script, publish the migration release, and configure the slice simulator URL. Change the package name from \"nextjs-starter-prismic-minimal\" to \"fizzi\" in package.json and package-lock.json. Add a new npm script called \"set-up-content\" that runs the setup script via npx tsx. The new setup script should automatically handle login if needed (by opening a browser session), fetch all documents from a source repository matching the package name, create a migration that copies those documents with human-readable release names derived from document UIDs or types, and print a URL to the migration release for publishing. Remove the old migrate.ts file and the documents directory entirely since content will now be pulled from the source repository dynamically. Ensure the script provides clear console output at each step to guide the user through the process."
23
+
- repo: "DataDog/datadog-lambda-python"
24
+
from: "93d4a07fa61a4d4d2feec08e722505a9e0cc8657"
25
+
to: "d7763789f262b2da228f8210509e302e6e510d0a"
25
26
issues: []
26
27
scores:
27
28
api-signature:
@@ -36,15 +37,15 @@
36
37
weight: 0.1
37
38
args:
38
39
setup:
39
-
- python3 -m venv .venv
40
-
- ./.venv/bin/python -m pip install ".[dev]"
40
+
- "python3 -m venv .venv"
41
+
- "./.venv/bin/python -m pip install \".[dev]\""
41
42
commands:
42
-
- ./.venv/bin/pytest -vv
43
-
- ./.venv/bin/flake8 datadog_lambda/
44
-
45
-
- repo: AlaminPu1007/algorithm-visualizer
46
-
from: ca409519ec96a83ec8d6c2ba30f2487f8d601719
47
-
to: 21845e972dd8e2378cbcd16accc5ae8cdd37acb2
43
+
- "./.venv/bin/pytest -vv"
44
+
- "./.venv/bin/flake8 datadog_lambda/"
45
+
prompt: "Add a metric to track Lambda batch item failures. When Lambda functions return a response containing batch item failures (the batchItemFailures field), emit a count of how many items failed as an enhanced metric. This should only happen when enhanced metrics are enabled and the response structure is valid. The metric should be submitted automatically after each Lambda invocation by integrating it into the wrapper's post-execution hook. Follow existing codebase patterns for function signatures, metric submission, and integration points. Include comprehensive test coverage for various scenarios including responses with failures, empty failures, missing fields, non-dict responses, invalid field types, disabled enhanced metrics, and integration with the wrapper."
46
+
- repo: "AlaminPu1007/algorithm-visualizer"
47
+
from: "ca409519ec96a83ec8d6c2ba30f2487f8d601719"
48
+
to: "21845e972dd8e2378cbcd16accc5ae8cdd37acb2"
48
49
issues: []
49
50
scores:
50
51
api-signature:
@@ -59,7 +60,8 @@
59
60
weight: 0.1
60
61
args:
61
62
setup:
62
-
- npm ci
63
+
- "npm ci"
63
64
commands:
64
-
- npm run lint
65
-
- npm run build
65
+
- "npm run lint"
66
+
- "npm run build"
67
+
prompt: "Ship version 1.6.0 with Floyd Warshall algorithm support and UI refinements. Update the version number in package.json to 1.6.0 and add a corresponding changelog entry documenting the Floyd Warshall algorithm implementation, loading state management during algorithm execution, and error handling for development mode. In the README, update the shortest path finding section to list Bellman-Ford, Floyd Warshall, and Dijkstra's algorithms (with backticks for formatting), and clean up extra blank lines between feature sections. Add Floyd Warshall to the projects data schema as a new entry in the appropriate algorithm list. Refactor the PathFind component layout: change the default button type from 'shortest-path' to 'unique-path', reorganize the control panel to right-align and adjust responsive breakpoints from 410px to 600px where appropriate, reorder the algorithm type dropdown options so Unique Path and No of island appear before Shortest Path, and make the container positioning relative with the ShortestPath status plate absolutely positioned. Update the ShortestPath, UniquePath, and NoOfIslands components to remove their individual container divs and replace them with fragments or empty tags, allowing the parent PathFind component to manage layout. Ensure all changes maintain existing functionality and follow the codebase's component structure patterns."
Copy file name to clipboardExpand all lines: lib/planner.ts
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -128,3 +128,41 @@ export async function generatePlannerTasks(
128
128
129
129
returntasks;
130
130
}
131
+
132
+
constsinglePromptSchema=z.object({
133
+
prompt: z.string().min(1),
134
+
});
135
+
136
+
exportasyncfunctiongenerateSinglePrompt(
137
+
entry: DatasetEval,
138
+
fullDiff: string,
139
+
): Promise<string>{
140
+
consttruncatedDiff=
141
+
fullDiff.length>50_000
142
+
? `${fullDiff.slice(0,50_000)}\n... [truncated]`
143
+
: fullDiff;
144
+
145
+
try{
146
+
constresult=awaitgenerateObject({
147
+
model: getZenLanguageModel(plannerModelId),
148
+
schema: singlePromptSchema,
149
+
system: buildSystemPrompt(),
150
+
temperature: 0,
151
+
prompt: `Repository: ${entry.repo}
152
+
Base commit: ${entry.from}
153
+
Target commit: ${entry.to}
154
+
155
+
Complete diff showing all changes:
156
+
${truncatedDiff}
157
+
158
+
Generate a single comprehensive prompt that describes all changes needed to transform the codebase from the base commit to the target commit. Return the JSON object with the prompt.`,
0 commit comments