This report summarizes scanner evidence for microsoft/typespec, a Java project with 5,907 GitHub stars. SynthScan examined 1,899,883 lines of code across 13942 source files, recording 3708 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 3.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2770 finding(s).
Are imports declared and package/API names verified? 140 finding(s).
Are wrappers, guards, and repeated structures necessary? 2916 finding(s).
Which changes need focused human review? 3708 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3708 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kages/http-client-python/eng/scripts/ci/run_pyright.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kages/http-client-python/eng/scripts/ci/run_pyright.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/util.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/util.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/conf.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/conf.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kages/http-client-python/eng/scripts/ci/run_apiview.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kages/http-client-python/eng/scripts/ci/run_apiview.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/run_mypy.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/eng/scripts/ci/run_mypy.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/ci/run_pylint.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/ci/run_pylint.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/eng/scripts/ci/run_sphinx_build.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/eng/scripts/ci/run_sphinx_build.py | 6 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/run_tsp.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/run_tsp.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ages/http-client-python/eng/scripts/setup/venvtools.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ages/http-client-python/eng/scripts/setup/venvtools.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ttp-client-python/eng/scripts/setup/package_manager.py | 3 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ttp-client-python/eng/scripts/setup/package_manager.py | 7 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p-client-python/eng/scripts/setup/build_pygen_wheel.py | 3 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p-client-python/eng/scripts/setup/build_pygen_wheel.py | 7 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ages/http-client-python/eng/scripts/setup/run_batch.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ages/http-client-python/eng/scripts/setup/run_batch.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/install.py | 3 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/install.py | 7 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/prepare.py | 3 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/prepare.py | 7 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/tests/conftest.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/tests/conftest.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 22 | # ============================================================================= | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 24 | # ============================================================================= | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 62 | # ============================================================================= | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 66 | # ============================================================================= | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 147 | # ============================================================================= | COMMENT |
| MEDIUM | packages/http-client-python/tests/tox.ini | 149 | # ============================================================================= | COMMENT |
| MEDIUM | …es/http-client-python/tests/unit/test_raw_bytes_xml.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/http-client-python/tests/unit/test_raw_bytes_xml.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nt-python/tests/unit/test_generated_packaging_files.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nt-python/tests/unit/test_generated_packaging_files.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/tests/unit/conftest.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/http-client-python/tests/unit/conftest.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/tests/unit/test_preprocess_etag.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/tests/unit/test_preprocess_etag.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …python/tests/unit/test_model_base_xml_serialization.py | 1 | # ------------------------------------ | COMMENT |
| MEDIUM | …python/tests/unit/test_model_base_xml_serialization.py | 4 | # ------------------------------------ | COMMENT |
| MEDIUM | …t-python/tests/unit/test_content_type_optional_body.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t-python/tests/unit/test_content_type_optional_body.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …-client-python/tests/unit/test_optional_return_type.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …-client-python/tests/unit/test_optional_return_type.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/tests/unit/test_typeddict.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ckages/http-client-python/tests/unit/test_typeddict.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …-client-python/tests/unit/test_bytes_body_overloads.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …-client-python/tests/unit/test_bytes_body_overloads.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …s/http-client-python/tests/unit/test_name_converter.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …s/http-client-python/tests/unit/test_name_converter.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/tests/unit/test_enum_docstrings.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/http-client-python/tests/unit/test_enum_docstrings.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/http-client-python/tests/unit/test_sse_streaming.py | 1 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/http-client-python/tests/unit/test_sse_streaming.py | 5 | # -------------------------------------------------------------------------- | COMMENT |
| 695 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/scripts/labels/automation.ts | 159 | function createExternalReviewersConfig(config: RepoConfig): PolicyServiceConfig { | CODE |
| LOW | eng/emitter-diff/src/cli.ts | 99 | async function resolveDefaultBaselineRef(repoRoot: string): Promise<string> { | CODE |
| LOW | eng/emitter-diff/src/baseline-cache.ts | 26 | export function computeBaselineProfileKey(input: BaselineCacheProfileInput): string { | CODE |
| LOW | website/public/1ds-init.js | 11 | function ensureCookieBannerPlaceholder() { | CODE |
| LOW | website/src/content/current-sidebar.ts | 5 | function getBadgeForLibraryStability(stability: LibraryStability | undefined): Badge | undefined { | CODE |
| LOW | website/src/content/current-sidebar.ts | 18 | function createLibraryReferenceStructure( | CODE |
| LOW | …/src/content/docs/docs/extending-typespec/codefixes.md | 18 | export function createChangeIdentifierCodeFix(node: IdentifierNode, newIdentifier: string) { | CODE |
| LOW | …e/src/content/docs/release-notes/release-2022-12-07.md | 155 | export function getServiceNamespaceString(program: Program): string | undefined; | CODE |
| LOW | …site/src/components/playground-component/import-map.ts | 14 | async function fetchAdditionalPackageImports( | CODE |
| LOW | …tp-client-js/test/scenarios/encoding/bytes_nullable.md | 50 | export function jsonModelWithBytesToApplicationTransform(input_?: any): ModelWithBytes { | CODE |
| LOW | …tp-client-js/test/scenarios/encoding/bytes_nullable.md | 130 | export function jsonModelWithBytesToTransportTransform(input_?: ModelWithBytes | null): any { | CODE |
| LOW | …ient-js/test/scenarios/encoding/bytes_json_property.md | 47 | export function jsonBytesBodyToApplicationTransform(input_?: any): BytesBody { | CODE |
| LOW | …s/test/scenarios/encoding/model_with_bytes_property.md | 37 | export function jsonBytesPropertyToApplicationTransform(input_?: any): BytesProperty { | CODE |
| LOW | …s/http-client-js/test/scenarios/models/model_spread.md | 38 | export function jsonDogToTransportTransform(input_?: Dog | null): any { | CODE |
| LOW | …s/http-client-js/test/scenarios/models/model_spread.md | 53 | export function jsonDogToApplicationTransform(input_?: any): Dog { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 112 | export function dateUnixTimestampSerializer(date?: Date | null): number { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 119 | export function dateUnixTimestampDeserializer(date?: number | null): Date { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 126 | export function jsonFishToTransportDiscriminator(input_?: Fish): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 141 | export function jsonFishToTransportTransform(input_?: Fish | null): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 151 | export function jsonFishToApplicationDiscriminator(input_?: any): Fish { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 166 | export function jsonFishToApplicationTransform(input_?: any): Fish { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 176 | export function jsonSharkToTransportDiscriminator(input_?: Shark): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 191 | export function jsonSharkToTransportTransform(input_?: Shark | null): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 202 | export function jsonSharkToApplicationDiscriminator(input_?: any): Shark { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 217 | export function jsonSharkToApplicationTransform(input_?: any): Shark { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 228 | export function jsonSawSharkToTransportTransform(input_?: SawShark | null): any { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 238 | export function jsonSawSharkToApplicationTransform(input_?: any): SawShark { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 248 | export function jsonGoblinSharkToTransportTransform(input_?: GoblinShark | null): any { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 258 | export function jsonGoblinSharkToApplicationTransform(input_?: any): GoblinShark { | CODE |
| LOW⚡ | …/test/scenarios/models/inheritance_2_discriminators.md | 268 | export function jsonSalmonToTransportTransform(input_?: Salmon | null): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 280 | export function jsonSalmonToApplicationTransform(input_?: any): Salmon { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 292 | export function jsonArrayFishToTransportTransform(items_?: Array<Fish> | null): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 305 | export function jsonArrayFishToApplicationTransform(items_?: any): Array<Fish> { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 318 | export function jsonRecordFishToTransportTransform(items_?: Record<string, any> | null): any { | CODE |
| LOW | …/test/scenarios/models/inheritance_2_discriminators.md | 332 | export function jsonRecordFishToApplicationTransform(items_?: any): Record<string, any> { | CODE |
| LOW | …/http-client-js/test/scenarios/models/model_extends.md | 44 | export function jsonPetToTransportTransform(input_?: Pet | null): any { | CODE |
| LOW | …/http-client-js/test/scenarios/models/model_extends.md | 58 | export function jsonPetToApplicationTransform(input_?: any): Pet { | CODE |
| LOW | …/http-client-js/test/scenarios/models/model_extends.md | 72 | export function jsonDogToTransportTransform(input_?: Dog | null): any { | CODE |
| LOW | …/http-client-js/test/scenarios/models/model_extends.md | 87 | export function jsonDogToApplicationTransform(input_?: any): Dog { | CODE |
| LOW | …s/test/scenarios/models/model_additional_properties.md | 46 | export function jsonDogToTransportTransform(input_?: Dog | null): any { | CODE |
| LOW | …s/test/scenarios/models/model_additional_properties.md | 62 | export function jsonDogToApplicationTransform(input_?: any): Dog { | CODE |
| LOW | …-js/test/scenarios/models/inheritance_discriminator.md | 39 | export function jsonDinosaurToTransportTransform(input_?: Dinosaur | null): any { | CODE |
| LOW | …-js/test/scenarios/models/inheritance_discriminator.md | 52 | export function jsonTRexToTransportTransform(input_?: TRex | null): any { | CODE |
| LOW | …-js/test/scenarios/models/inheritance_discriminator.md | 66 | export function jsonDinosaurToApplicationTransform(input_?: any): Dinosaur { | CODE |
| LOW | …-js/test/scenarios/models/inheritance_discriminator.md | 79 | export function jsonTRexToApplicationTransform(input_?: any): TRex { | CODE |
| LOW | …/test/scenarios/models/property_references_property.md | 37 | export function jsonBarToTransportTransform(input_?: Bar | null): any { | CODE |
| LOW⚡ | …/test/scenarios/models/property_references_property.md | 102 | export function dateUnixTimestampSerializer(date?: Date | null): number { | CODE |
| LOW⚡ | …/test/scenarios/models/property_references_property.md | 109 | export function dateUnixTimestampDeserializer(date?: number | null): Date { | CODE |
| LOW⚡ | …/test/scenarios/models/property_references_property.md | 116 | export function jsonBarToTransportTransform(input_?: Bar | null): any { | CODE |
| LOW⚡ | …/test/scenarios/models/property_references_property.md | 125 | export function jsonBarToApplicationTransform(input_?: any): Bar { | CODE |
| LOW | …/test/scenarios/models/property_references_property.md | 141 | export function jsonBarToApplicationTransform(input_?: any): Bar { | CODE |
| LOW | …es/http-client-js/test/scenarios/serializers/spread.md | 37 | export async function spreadWithMultipleParameters( | CODE |
| LOW | …st/scenarios/serializers/discriminated_union_spread.md | 43 | export function jsonSpreadRecordForDiscriminatedUnionToTransportTransform( | CODE |
| LOW | …st/scenarios/serializers/discriminated_union_spread.md | 57 | export function jsonSpreadRecordForDiscriminatedUnionToApplicationTransform( | CODE |
| LOW | …st/scenarios/serializers/discriminated_union_spread.md | 73 | export function jsonWidgetDataToTransportTransform(input_?: WidgetData | null): any { | CODE |
| LOW | …st/scenarios/serializers/discriminated_union_spread.md | 82 | export function jsonWidgetDataToApplicationDiscriminator(input_?: any): WidgetData { | CODE |
| LOW | …st/scenarios/serializers/discriminated_union_spread.md | 100 | export function jsonWidgetDataToTransportDiscriminator(input_?: WidgetData): any { | CODE |
| LOW | …es/http-client-js/test/scenarios/serializers/record.md | 24 | export function jsonFooToTransportTransform(input_?: Foo | null): any { | CODE |
| LOW | …es/http-client-js/test/scenarios/serializers/record.md | 35 | export function jsonFooToApplicationTransform(input_?: any): Foo { | CODE |
| LOW | …es/http-client-js/test/scenarios/serializers/record.md | 78 | export function jsonFooToTransportTransform(input_?: Foo | null): any { | CODE |
| 2058 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/tsp-core/pipelines/pr-tools.yml | 101 | - script: node eng/tsp-core/scripts/create-tryit-comment.ts | COMMENT |
| LOW | eng/tsp-core/pipelines/jobs/cli/build-tsp-cli-all.yml | 21 | # parameters: | COMMENT |
| LOW | …pleService/SampleClient/src/Generated/DogOperations.cs | 61 | throw; | COMMENT |
| LOW | …rp/SampleService/SampleClient/src/Generated/Metrics.cs | 61 | COMMENT | |
| LOW | …Service/SampleClient/src/Generated/AnimalOperations.cs | 61 | throw; | COMMENT |
| LOW | …Service/SampleClient/src/Generated/AnimalOperations.cs | 181 | throw; | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 101 | /// [Protocol Method] Return hi | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 141 | /// <item> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 241 | /// </item> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 381 | /// </item> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 501 | { | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 601 | System.Console.WriteLine($"An exception was thrown in method HelloDemo2Async: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 641 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 721 | System.Console.WriteLine($"An exception was thrown in method CreateLiteralAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 861 | System.Console.WriteLine("Exiting method TopAction."); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 941 | COMMENT | |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1001 | COMMENT | |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1061 | System.Console.WriteLine($"An exception was thrown in method PatchActionAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1101 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1141 | /// <param name="requiredNullableString"> required nullable string. </param> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1201 | COMMENT | |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1261 | { | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1301 | /// [Protocol Method] Model can have its friendly name | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1381 | System.Console.WriteLine($"An exception was thrown in method FriendlyModelAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1521 | { | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1641 | { | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1721 | /// [Protocol Method] get extensible enum | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1841 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 1961 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2061 | { | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2101 | /// <summary> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2181 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2221 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2301 | System.Console.WriteLine($"An exception was thrown in method WithApiVersionAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2401 | System.Console.WriteLine($"An exception was thrown in method GetWithNextLinkAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2501 | System.Console.WriteLine($"An exception was thrown in method GetWithStringNextLinkAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2541 | /// [Protocol Method] List things with continuation token | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2641 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2741 | finally | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2821 | /// <item> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2861 | /// <list type="bullet"> | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2941 | System.Console.WriteLine($"An exception was thrown in method EmbeddedParametersAsync: {ex}"); | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 2981 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 3061 | } | COMMENT |
| LOW | …ice/SampleClient/src/Generated/SampleTypeSpecClient.cs | 3201 | { | COMMENT |
| LOW | …mpleClient/src/Generated/SampleTypeSpecModelFactory.cs | 21 | /// <param name="optionalLiteralInt"> optional literal int. </param> | COMMENT |
| LOW | …mpleClient/src/Generated/SampleTypeSpecModelFactory.cs | 61 | /// <param name="requiredCollection"> Required collection of enums. </param> | COMMENT |
| LOW | …mpleClient/src/Generated/SampleTypeSpecModelFactory.cs | 181 | requiredQuery, | COMMENT |
| LOW | …mpleClient/src/Generated/SampleTypeSpecModelFactory.cs | 241 | return new AnotherDynamicModel(bar, default); | COMMENT |
| LOW | …mpleClient/src/Generated/SampleTypeSpecModelFactory.cs | 261 | /// <param name="wrappedColors"> A wrapped array of strings (default). </param> | COMMENT |
| LOW | …eService/SampleClient/src/Generated/PlantOperations.cs | 61 | System.Console.WriteLine("Exiting method GetTree."); | COMMENT |
| LOW | …eService/SampleClient/src/Generated/PlantOperations.cs | 161 | throw; | COMMENT |
| LOW | …eService/SampleClient/src/Generated/PlantOperations.cs | 241 | } | COMMENT |
| LOW | …eService/SampleClient/src/Generated/PlantOperations.cs | 361 | System.Console.WriteLine("Exiting method UpdateTreeAsync."); | COMMENT |
| LOW | …eService/SampleClient/src/Generated/PlantOperations.cs | 401 | /// <list type="bullet"> | COMMENT |
| LOW | …pleService/SampleClient/src/Generated/PetOperations.cs | 61 | throw; | COMMENT |
| LOW | …pleService/SampleClient/src/Generated/PetOperations.cs | 181 | throw; | COMMENT |
| LOW | …ce/SampleClient/src/Generated/Models/RoundTripModel.cs | 61 | /// <param name="requiredCollection"> Required collection of enums. </param> | COMMENT |
| LOW | …ce/SampleClient/src/Generated/Models/RoundTripModel.cs | 161 | /// <summary> | COMMENT |
| LOW | …ce/SampleClient/src/Generated/Models/RoundTripModel.cs | 181 | /// <term> BinaryData.FromString("{\"key\": \"value\"}"). </term> | COMMENT |
| 420 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | eng/emitter-diff/workflow.test.ts | 365 | f.github.rest.issues.createComment.mockRejectedValueOnce(new Error("Permission denied")); | CODE |
| CRITICAL⚡ | …-python/tests/mock_api/azure/test_azure_core_traits.py | 10 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …hon/tests/mock_api/azure/test_service_multi_service.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …api/azure/test_azure_resource_manager_multi_service.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …k_api/azure/asynctests/test_azure_core_traits_async.py | 11 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …i/azure/asynctests/test_service_multi_service_async.py | 7 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL⚡ | …sts/test_azure_resource_manager_multi_service_async.py | 8 | from azure.core.exceptions import HttpResponseError | CODE |
| CRITICAL | packages/http/test/test-host.ts | 61 | ? Array.from(r.parameters.body.type.properties.keys()) | CODE |
| CRITICAL | …ient-csharp/emitter/test/Unit/operation-paging.test.ts | 58 | @global.Azure.ClientGenerator.Core.Legacy.nextLinkVerb("POST") | CODE |
| CRITICAL | …osoft.TypeSpec.Generator/test/Snippets/SnippetTests.cs | 123 | Assert.AreEqual("new global::Microsoft.TypeSpec.Generator.Tests.Snippets.SnippetTests.TestClass(20)", writer | CODE |
| CRITICAL | …osoft.TypeSpec.Generator/test/Snippets/SnippetTests.cs | 143 | Assert.AreEqual("new global::Microsoft.TypeSpec.Generator.Tests.Snippets.SnippetTests.TestClass(20)", writer | CODE |
| CRITICAL | …Data/SnippetTests/ValidateInstanceCtorWithArguments.cs | 1 | new global::Microsoft.TypeSpec.Generator.Tests.Snippets.SnippetTests.TestClass(20) | CODE |
| CRITICAL | …medTypeSymbolProviders/NamedTypeSymbolProviderTests.cs | 512 | var symbols = Microsoft.TypeSpec.Generator.SourceInput.SourceInputHelper.GetSymbols(compilation.Assembly.Mod | STRING |
| CRITICAL | …ers/ModelFactories/ModelFactoriesCustomizationTests.cs | 39 | var method = generator.Object.OutputLibrary.ModelFactory.Value.Methods.Single(method => | CODE |
| CRITICAL | …urceInput/TestData/ApiCompatBaselineTests/Baseline.txt | 3 | MembersMustExist : Member 'public Azure.AI.Projects.Agents.ProtocolVersionRecord Azure.AI.Projects.Agents.ProjectsAgents | CODE |
| CRITICAL | …urceInput/TestData/ApiCompatBaselineTests/Baseline.xml | 13 | <Target>M:Azure.AI.Projects.Agents.ProjectsAgentsModelFactory.ProtocolVersionRecord(Azure.AI.Projects.Agents.Project | CODE |
| CRITICAL | …ientModel/test/Providers/ModelBaseConstructionTests.cs | 167 | Assert.That(model.BaseModelProvider.FullConstructor.Signature.Parameters.Single().Type.IsNullable, | CODE |
| CRITICAL | …TypeDefinitions/SystemObjectModelSerializationTests.cs | 176 | Assert.That(generator.Object.TypeFactory.CSharpTypeMap.Keys.Any(type => type.AreNamesEqual(frameworkType)), | STRING |
| CRITICAL | …t.TypeSpec.Generator.ClientModel/src/ScmTypeFactory.cs | 59 | => _hasDynamicModels ??= ScmCodeModelGenerator.Instance.InputLibrary.InputNamespace.Models.Any(m => m.IsDyna | CODE |
| CRITICAL | …ckages/http-client-csharp/playground-server/Program.cs | 150 | arch = System.Runtime.InteropServices.RuntimeInformation.OSArchitecture.ToString() | CODE |
| CRITICAL⚡ | …ypespec/http/client/generator/core/util/CodeNamer.java | 32 | return com.microsoft.typespec.http.client.generator.core.preprocessor.namer.CodeNamer.toCamelCase(name); | CODE |
| CRITICAL⚡ | …ypespec/http/client/generator/core/util/CodeNamer.java | 36 | return com.microsoft.typespec.http.client.generator.core.preprocessor.namer.CodeNamer.toPascalCase(name); | CODE |
| CRITICAL⚡ | …ypespec/http/client/generator/core/util/CodeNamer.java | 40 | return com.microsoft.typespec.http.client.generator.core.preprocessor.namer.CodeNamer.escapeXmlComment(comment); | CODE |
| CRITICAL | …ypespec/http/client/generator/core/util/CodeNamer.java | 130 | return com.microsoft.typespec.http.client.generator.core.preprocessor.namer.CodeNamer.getValidName(name, | CODE |
| CRITICAL | …ator/core/template/util/ModelTemplateHeaderHelper.java | 43 | for (Field httpHeaderNameConstant : io.clientcore.core.http.models.HttpHeaderName.class.getDeclaredFields()) { | CODE |
| CRITICAL | …enerator/core/template/example/ModelExampleWriter.java | 349 | this.imports.add(java.nio.charset.StandardCharsets.class.getName()); | CODE |
| CRITICAL | packages/compiler/test/formatter/formatter.test.ts | 3090 | @@Some.Very.Long.Namespace.Decorator.Some.Very.Long.Namespace.Decorator.Some.Very.Long.Namespace.Decorator(subscribe1); | STRING |
| CRITICAL | packages/compiler/test/formatter/formatter.test.ts | 3093 | @@Some.Very.Long.Namespace.Decorator.Some.Very.Long.Namespace.Decorator.Some.Very.Long.Namespace.Decorator( | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ite/src/content/docs/docs/extending-typespec/basics.md | 36 | ## Step 1: Initial setup | COMMENT |
| LOW | …ite/src/content/docs/docs/extending-typespec/basics.md | 169 | ## Step 2: Adding TypeSpec types to your library | COMMENT |
| LOW | …ite/src/content/docs/docs/extending-typespec/basics.md | 210 | ## Step 3: Defining dependencies | COMMENT |
| LOW⚡ | …ite/src/content/docs/docs/extending-typespec/basics.md | 242 | ## Step 4: Testing your TypeSpec library | COMMENT |
| LOW⚡ | …ite/src/content/docs/docs/extending-typespec/basics.md | 246 | ## Step 5: Publishing your TypeSpec library | COMMENT |
| LOW⚡ | …ite/src/content/docs/docs/extending-typespec/basics.md | 250 | ## Step 6: Importing your TypeSpec library | COMMENT |
| LOW | …ite/src/content/docs/docs/extending-typespec/basics.md | 269 | ## Step 7: Next steps | COMMENT |
| LOW | website/src/content/docs/release-notes/typespec-0-65.md | 59 | // Step 1: Update to retrieve the mutation instead of projections | COMMENT |
| LOW | website/src/content/docs/release-notes/typespec-0-65.md | 63 | // Step 2: call mutator instead of projection api | COMMENT |
| LOW | website/src/content/docs/release-notes/typespec-0-67.md | 393 | // Step 1: Update to retrieve the mutation instead of projections | COMMENT |
| LOW | website/src/content/docs/release-notes/typespec-0-67.md | 397 | // Step 2: call mutator instead of projection api | COMMENT |
| LOW | packages/http-client-python/ARCHITECTURE.md | 126 | #### Step 1: Preprocess | COMMENT |
| LOW | packages/http-client-python/ARCHITECTURE.md | 137 | #### Step 2: Codegen | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 37 | ### Step 1: Build and regenerate | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 50 | ### Step 2: Fetch or update baseline | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 90 | ### Step 3: Generate diff summary | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 155 | ### Step 4: Open in editor | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 176 | ### Step 5: Report to user | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 248 | ### Step 1: Check what code changes were made on the branch | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 260 | ### Step 2: Correlate code changes with expected generated output changes | COMMENT |
| LOW | …tp-client-python/.github/skills/diff-upstream/SKILL.md | 272 | ### Step 3: Compare expected vs actual diffs | COMMENT |
| LOW | …-python/.github/skills/test-unbranded-emitter/SKILL.md | 32 | ### Step 1: Build the emitter | COMMENT |
| LOW | …-python/.github/skills/test-unbranded-emitter/SKILL.md | 42 | ### Step 2: Check if regeneration is needed | COMMENT |
| LOW | …-python/.github/skills/test-unbranded-emitter/SKILL.md | 77 | ### Step 3: Regenerate if needed | COMMENT |
| LOW | …-python/.github/skills/test-unbranded-emitter/SKILL.md | 99 | ### Step 4: Run the generator test suite | COMMENT |
| LOW | …-python/.github/skills/test-unbranded-emitter/SKILL.md | 113 | ### Step 5: Report results | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 35 | ### Step 1: Resolve the spec path | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 55 | ### Step 2: Locate and parse `tspconfig.yaml` | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 72 | ### Step 3: Extract Python emitter options from tspconfig.yaml | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 97 | ### Step 4: Determine the flavor | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 109 | ### Step 5: Find the TypeSpec compiler | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 125 | ### Step 6: Construct and run the compile command | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 170 | ### Step 7: Run the compilation | COMMENT |
| LOW | …-python/.github/skills/generate-from-typespec/SKILL.md | 184 | ### Step 8: Verify and clean up | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 236 | ### Step 0: Library Selection (Interactive Mode Only) | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 244 | ### Step 1: Build Unbranded Generator | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 250 | ### Step 2: Package Unbranded Generator | COMMENT |
| LOW | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 275 | #### Step 3: Update OpenAI Generator and Regenerate | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 305 | ### Step 3: Update and Build Azure Generator | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 313 | ### Step 4: Package Azure Generator | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 320 | ### Step 5: Update eng Folder Artifacts | COMMENT |
| LOW⚡ | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 330 | ### Step 6: Update and Build Management Plane Generator | COMMENT |
| LOW | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 347 | ### Step 7: Prepare Library List | COMMENT |
| LOW | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 357 | ### Step 8: Regenerate Libraries | COMMENT |
| LOW | …es/http-client-csharp/eng/scripts/docs/RegenPreview.md | 377 | ### Step 9: Restore Artifacts (On Success Only) | COMMENT |
| LOW | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 249 | // Step 1: Build all types (simulating CSharpGen.ExecuteAsync) | COMMENT |
| LOW⚡ | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 260 | // Step 2: Visitor changes the parameter type from int to float, | COMMENT |
| LOW⚡ | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 265 | // Step 3: Apply customization filtering after visitor | COMMENT |
| LOW | …t/typespec/http/client/generator/mgmt/FluentNamer.java | 83 | // Step 2: Transform | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 68 | // Step 1: Parse input yaml as CodeModel | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 71 | // Step 2: Map | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 74 | // Step 3: Write to templates | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 77 | // Step 4: Print to files | COMMENT |
| LOW | …client/generator/core/postprocessor/Postprocessor.java | 68 | // Step 1: post process | COMMENT |
| LOW | …client/generator/core/postprocessor/Postprocessor.java | 114 | // Step 2: Print to files | COMMENT |
| LOW | packages/versioning/CHANGELOG.md | 155 | // Step 1: Update to retrieve the mutation instead of projections | COMMENT |
| LOW | packages/versioning/CHANGELOG.md | 159 | // Step 2: call mutator instead of projection api | COMMENT |
| LOW | packages/versioning/CHANGELOG.md | 190 | // Step 1: Update to retrieve the mutation instead of projections | COMMENT |
| LOW | packages/versioning/CHANGELOG.md | 194 | // Step 2: call mutator instead of projection api | COMMENT |
| LOW | .github/skills/emitter-prep-for-pr/SKILL.md | 27 | ### Step 1: Determine the emitter package | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING.md | 524 | | `agentic-workflows` | #000000 | Issues/PR created by github agentic workflows | | CODE |
| MEDIUM | …nt/docs/docs/getting-started/code-generation-csharp.md | 212 | ## 7. Understanding the dependency injection system | COMMENT |
| MEDIUM | …nt/docs/docs/getting-started/code-generation-csharp.md | 214 | The generated C# service uses ASP.NET Core's dependency injection system to connect controllers with your business logic | CODE |
| MEDIUM | …ocs/extending-typespec/writing-scaffolding-template.md | 27 | ## Basics of a scaffolding template | COMMENT |
| MEDIUM | …/src/content/docs/release-notes/typespec-1-0-0-rc-0.md | 95 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | …/src/content/docs/release-notes/typespec-1-0-0-rc-0.md | 95 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | …bsite/src/content/docs/release-notes/typespec-1-1-0.md | 31 | - [#7541](https://github.com/microsoft/typespec/pull/7541) Add extension API for other vscode extension to be able to re | CODE |
| MEDIUM | website/src/content/blog/2025-05-30-mcp/blog.md | 15 | [MCP servers](https://modelcontextprotocol.io/) are everywhere these days. People are integrating MCP servers into their | CODE |
| MEDIUM⚡ | packages/http-server-js/CHANGELOG.md | 120 | - [#7280](https://github.com/microsoft/typespec/pull/7280) Fixed an error in which the scaffolding script incorrectly co | CODE |
| MEDIUM⚡ | packages/http-server-js/CHANGELOG.md | 128 | - [#7234](https://github.com/microsoft/typespec/pull/7234) Fixed a few bugs with output directory resolution logic in `h | CODE |
| MEDIUM⚡ | packages/http-server-js/CHANGELOG.md | 129 | - [#7225](https://github.com/microsoft/typespec/pull/7225) Added a missing shebang line to `hsjs-scaffold` for better pl | CODE |
| MEDIUM⚡ | packages/http-server-js/CHANGELOG.md | 129 | - [#7225](https://github.com/microsoft/typespec/pull/7225) Added a missing shebang line to `hsjs-scaffold` for better pl | CODE |
| MEDIUM | packages/http-server-js/CHANGELOG.md | 162 | - [#6796](https://github.com/microsoft/typespec/pull/6796) Fixes the mocks in hsjs-scaffold to use bigints for large int | CODE |
| MEDIUM | packages/http-server-js/CHANGELOG.md | 162 | - [#6796](https://github.com/microsoft/typespec/pull/6796) Fixes the mocks in hsjs-scaffold to use bigints for large int | CODE |
| MEDIUM | packages/http-server-js/CHANGELOG.md | 180 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | packages/http-server-js/CHANGELOG.md | 180 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | packages/http-server-js/CHANGELOG.md | 215 | - [#5906](https://github.com/microsoft/typespec/pull/5906) Implement basic project scaffolding. | CODE |
| MEDIUM | packages/http-client-python/eng/scripts/ci/util.py | 21 | # These are auto-generated test/sample scaffolding, not the actual SDK code. | COMMENT |
| MEDIUM | packages/typespec-vscode/CHANGELOG.md | 143 | - [#7541](https://github.com/microsoft/typespec/pull/7541) Add extension API for other vscode extension to be able to re | CODE |
| MEDIUM⚡ | packages/http-server-csharp/CHANGELOG.md | 244 | - [#6701](https://github.com/microsoft/typespec/pull/6701) Write scaffolding and project files in output dir and fix iss | CODE |
| MEDIUM⚡ | packages/http-server-csharp/CHANGELOG.md | 245 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM⚡ | packages/http-server-csharp/CHANGELOG.md | 245 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | packages/http-server-csharp/CHANGELOG.md | 293 | - [#5733](https://github.com/microsoft/typespec/pull/5733) Add scaffolding option for csharp generator | CODE |
| MEDIUM | packages/compiler/CHANGELOG.md | 830 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | packages/compiler/CHANGELOG.md | 830 | - [#6710](https://github.com/microsoft/typespec/pull/6710) Updates to scaffolding script and scaffold commands for consi | CODE |
| MEDIUM | packages/compiler/templates/scaffolding.json | 64 | "message": "\n\tGenerated ASP.Net services require dotnet 9:\n\thttps://dotnet.microsoft.com/download \n\n\tCrea | CODE |
| MEDIUM | packages/compiler/templates/scaffolding.json | 71 | "message": "\n\tGenerated JavaScript services require a service runtime:\n\thttps://nodejs.org/download \n\n\tCr | CODE |
| MEDIUM | packages/compiler/src/server/types.ts | 222 | // with the compiler for multiple times in different steps (i.e. get core templates, validate the selected template, s | COMMENT |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 31 | - Configuration: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/github-agentic-workflows.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 54 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/create-agentic-workflow.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 66 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/update-agentic-workflow.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 78 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/debug-agentic-workflow.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 90 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/upgrade-agentic-workflows.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 102 | **Prompt file**: https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/create-shared-agentic-workflow.md | CODE |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 134 | # Initialize repository for agentic workflows | COMMENT |
| MEDIUM | .github/agents/agentic-workflows.agent.md | 162 | - Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.50.1/.github/aw/github-agentic-workf | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sts/mock_api/shared/test_typetest_property_nullable.py | 29 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …sts/mock_api/shared/test_typetest_property_nullable.py | 42 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH⚡ | …sts/mock_api/shared/test_typetest_property_nullable.py | 58 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH⚡ | …sts/mock_api/shared/test_typetest_property_nullable.py | 68 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH⚡ | …sts/mock_api/shared/test_typetest_property_nullable.py | 78 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH⚡ | …sts/mock_api/shared/test_typetest_property_nullable.py | 88 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH⚡ | …sts/mock_api/shared/test_typetest_property_nullable.py | 98 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 32 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 46 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 63 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 74 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 85 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 96 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| HIGH | …ed/asynctests/test_typetest_property_nullable_async.py | 107 | assert '{"requiredProperty": "foo", "nullableProperty": null}' == json.dumps(non_model, cls=SdkJSONEncoder) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-client-python/eng/scripts/ci/conf.py | 10 | CODE | |
| LOW | packages/http-client-python/eng/scripts/ci/conf.py | 11 | CODE | |
| LOW | …/http-client-python/eng/scripts/ci/run_sphinx_build.py | 15 | CODE | |
| LOW | …ages/http-client-python/eng/scripts/setup/run_batch.py | 14 | CODE | |
| LOW | …ckages/http-client-python/eng/scripts/setup/install.py | 27 | CODE | |
| LOW | …ent-python/tests/unit/test_model_base_serialization.py | 5 | CODE | |
| LOW | …ck_api/azure/test_azure_client_generator_core_usage.py | 41 | CODE | |
| LOW | …_api/shared/test_typetest_model_usage_typeddictonly.py | 8 | CODE | |
| LOW | …_api/shared/test_typetest_model_usage_typeddictonly.py | 8 | CODE | |
| LOW | …s/mock_api/shared/test_typetest_property_valuetypes.py | 7 | CODE | |
| LOW | …sts/mock_api/shared/test_typetest_property_optional.py | 7 | CODE | |
| LOW | …ts/mock_api/shared/test_multipart_filetype_variants.py | 15 | CODE | |
| LOW | …ts/mock_api/shared/test_multipart_filetype_variants.py | 17 | CODE | |
| LOW | …ed/asynctests/test_typetest_property_optional_async.py | 7 | CODE | |
| LOW | …tests/test_typetest_model_usage_typeddictonly_async.py | 9 | CODE | |
| LOW | …tests/test_typetest_model_usage_typeddictonly_async.py | 9 | CODE | |
| LOW | …tests/test_typetest_model_usage_typeddictonly_async.py | 9 | CODE | |
| LOW | …hon/generator/pygen/codegen/models/credential_types.py | 21 | CODE | |
| LOW | …-python/generator/pygen/codegen/models/base_builder.py | 35 | CODE | |
| LOW | …-python/generator/pygen/codegen/models/base_builder.py | 36 | CODE | |
| LOW | …-python/generator/pygen/codegen/models/base_builder.py | 37 | CODE | |
| LOW | …-python/generator/pygen/codegen/models/base_builder.py | 38 | CODE | |
| LOW | …thon/generator/pygen/codegen/models/primitive_types.py | 15 | CODE | |
| LOW | …nt-python/generator/pygen/codegen/models/model_type.py | 17 | CODE | |
| LOW | …ython/generator/pygen/codegen/models/parameter_list.py | 38 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/property.py | 16 | CODE | |
| LOW | …client-python/generator/pygen/codegen/models/client.py | 29 | CODE | |
| LOW | …client-python/generator/pygen/codegen/models/client.py | 30 | CODE | |
| LOW | …thon/generator/pygen/codegen/models/request_builder.py | 29 | CODE | |
| LOW | …thon/generator/pygen/codegen/models/request_builder.py | 30 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 8 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 9 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 9 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 11 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 12 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 16 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 39 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 39 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 39 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 42 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 42 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 42 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 42 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 52 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 53 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 54 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 55 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 55 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 55 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 60 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 66 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 70 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/response.py | 19 | CODE | |
| LOW | …python/generator/pygen/codegen/models/combined_type.py | 14 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/operation.py | 43 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/operation.py | 44 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/operation.py | 45 | CODE | |
| LOW | …lient-python/generator/pygen/codegen/models/imports.py | 10 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/enum_type.py | 14 | CODE | |
| LOW | …python/generator/pygen/codegen/models/lro_operation.py | 15 | CODE | |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ttp-client-python/eng/scripts/setup/package_manager.py | 53 | except (subprocess.CalledProcessError, FileNotFoundError, PermissionError): | CODE |
| HIGH | packages/http-client-python/tests/conftest.py | 89 | except ProcessLookupError: | CODE |
| HIGH | packages/http-client-python/tests/conftest.py | 95 | except Exception: | CODE |
| HIGH | …ts/mock_api/shared/test_multipart_filetype_variants.py | 31 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | packages/http-client-python/generator/pygen/black.py | 58 | except NothingChanged: | CODE |
| HIGH | packages/http-client-python/generator/pygen/__init__.py | 274 | except FileNotFoundError: | CODE |
| HIGH | packages/http-client-python/generator/pygen/__init__.py | 282 | except FileNotFoundError: | CODE |
| HIGH | packages/http-client-python/generator/pygen/utils.py | 115 | except ValueError: | CODE |
| HIGH | …ython/generator/pygen/codegen/models/parameter_list.py | 192 | except AttributeError: | CODE |
| HIGH | …ient-python/generator/pygen/codegen/models/__init__.py | 164 | except KeyError: | CODE |
| HIGH | …nt-python/generator/pygen/codegen/models/code_model.py | 250 | except KeyError: | CODE |
| HIGH | …erator/pygen/codegen/serializers/builder_serializer.py | 1644 | except StopIteration: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ramework/test/testing/snippet-extractor-python.test.ts | 19 | print("Hello") | CODE |
| HIGH | …ramework/test/testing/snippet-extractor-python.test.ts | 26 | print("Hello") | CODE |
| HIGH | …nts/function-declaration/function-declaration.test.tsx | 227 | print("Hello World!") | CODE |
| HIGH⚡ | …kages/compiler/src/core/cli/actions/compile/compile.ts | 205 | print("Compiler statistics:"); | CODE |
| HIGH⚡ | …kages/compiler/src/core/cli/actions/compile/compile.ts | 206 | print(" Complexity:"); | CODE |
| HIGH⚡ | …kages/compiler/src/core/cli/actions/compile/compile.ts | 209 | print(" Performance:"); | CODE |
| HIGH | …kages/compiler/src/core/cli/actions/compile/compile.ts | 260 | print(`${" ".repeat(indent)}${pc.gray(key)}: ${value}`); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-client-python/eng/scripts/ci/util.py | 38 | CODE | |
| LOW | …ttp-client-python/eng/scripts/setup/package_manager.py | 59 | CODE | |
| LOW | …ages/http-client-python/eng/scripts/setup/run_batch.py | 91 | CODE | |
| LOW | …ages/http-client-python/eng/scripts/setup/run_batch.py | 106 | CODE | |
| LOW | packages/http-client-python/tests/conftest.py | 100 | CODE | |
| LOW | packages/http-client-python/generator/pygen/__init__.py | 64 | CODE | |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 29 | CODE | |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 258 | CODE | |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 445 | CODE | |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 569 | CODE | |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 600 | CODE | |
| LOW | …http-client-python/generator/pygen/codegen/__init__.py | 22 | CODE | |
| LOW | …http-client-python/generator/pygen/codegen/__init__.py | 39 | CODE | |
| LOW | …nt-python/generator/pygen/codegen/models/model_type.py | 319 | CODE | |
| LOW | …nt-python/generator/pygen/codegen/models/model_type.py | 437 | CODE | |
| LOW | …client-python/generator/pygen/codegen/models/client.py | 71 | CODE | |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 160 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/operation.py | 311 | CODE | |
| LOW | …lient-python/generator/pygen/codegen/models/imports.py | 179 | CODE | |
| LOW | …ent-python/generator/pygen/codegen/models/enum_type.py | 267 | CODE | |
| LOW | …nt-python/generator/pygen/codegen/models/code_model.py | 184 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 702 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 849 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 936 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 1080 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 1154 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 1465 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 1596 | CODE | |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 1682 | CODE | |
| LOW | …enerator/pygen/codegen/serializers/types_serializer.py | 303 | CODE | |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 83 | CODE | |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 141 | CODE | |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 349 | CODE | |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 125 | CODE | |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 628 | CODE | |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 651 | CODE | |
| LOW | …ator/pygen/codegen/serializers/parameter_serializer.py | 55 | CODE | |
| LOW | …ator/pygen/codegen/serializers/parameter_serializer.py | 185 | CODE | |
| LOW | …enerator/pygen/codegen/serializers/model_serializer.py | 280 | CODE | |
| LOW | …enerator/pygen/codegen/serializers/model_serializer.py | 329 | CODE | |
| LOW | …enerator/pygen/codegen/serializers/model_serializer.py | 519 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-server-js/src/util/case.ts | 117 | // If we're in an acronym, we need to check if the next character is lower case. | COMMENT |
| LOW | packages/http-client-python/emitter/src/utils.ts | 66 | // To prevent that, first we need to check if s2 is undefined. | COMMENT |
| LOW | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 249 | // Step 1: Build all types (simulating CSharpGen.ExecuteAsync) | COMMENT |
| LOW⚡ | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 260 | // Step 2: Visitor changes the parameter type from int to float, | COMMENT |
| LOW⚡ | …t.TypeSpec.Generator/test/OutputLibraryVisitorTests.cs | 265 | // Step 3: Apply customization filtering after visitor | COMMENT |
| LOW | …t/typespec/http/client/generator/mgmt/FluentNamer.java | 83 | // Step 2: Transform | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 68 | // Step 1: Parse input yaml as CodeModel | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 71 | // Step 2: Map | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 74 | // Step 3: Write to templates | COMMENT |
| LOW⚡ | …osoft/typespec/http/client/generator/core/Javagen.java | 77 | // Step 4: Print to files | COMMENT |
| LOW | …client/generator/core/postprocessor/Postprocessor.java | 68 | // Step 1: post process | COMMENT |
| LOW | …client/generator/core/postprocessor/Postprocessor.java | 114 | // Step 2: Print to files | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | eng/common/CredScanSuppression.json | 5 | "placeholder": ["abcdef12345", "Y0uW1llN3v3rGu3ss!"], | CODE |
| LOW | packages/asset-emitter/src/builders/object-builder.ts | 5 | const placeholderSym = Symbol("placeholder"); | CODE |
| LOW⚡ | …_azure_resource_manager_multi_service_shared_models.py | 44 | assert result.properties.metadata.created_by == "user@example.com" | CODE |
| LOW⚡ | …_azure_resource_manager_multi_service_shared_models.py | 57 | created_by="user@example.com", | CODE |
| LOW | …_azure_resource_manager_multi_service_shared_models.py | 76 | assert result.properties.metadata.created_by == "user@example.com" | CODE |
| LOW⚡ | …_azure_resource_manager_multi_service_shared_models.py | 95 | assert result.properties.metadata.created_by == "admin@example.com" | CODE |
| LOW⚡ | …_azure_resource_manager_multi_service_shared_models.py | 108 | created_by="admin@example.com", | CODE |
| LOW | …_azure_resource_manager_multi_service_shared_models.py | 127 | assert result.properties.metadata.created_by == "admin@example.com" | CODE |
| LOW⚡ | …_resource_manager_multi_service_shared_models_async.py | 46 | assert result.properties.metadata.created_by == "user@example.com" | CODE |
| LOW⚡ | …_resource_manager_multi_service_shared_models_async.py | 60 | created_by="user@example.com", | CODE |
| LOW | …_resource_manager_multi_service_shared_models_async.py | 79 | assert result.properties.metadata.created_by == "user@example.com" | CODE |
| LOW⚡ | …_resource_manager_multi_service_shared_models_async.py | 99 | assert result.properties.metadata.created_by == "admin@example.com" | CODE |
| LOW⚡ | …_resource_manager_multi_service_shared_models_async.py | 113 | created_by="admin@example.com", | CODE |
| LOW | …_resource_manager_multi_service_shared_models_async.py | 132 | assert result.properties.metadata.created_by == "admin@example.com" | CODE |
| LOW | …vicesharedmodels/ArmMultiServiceSharedModelsTests.java | 29 | SharedMetadata storageMetadata = new SharedMetadata().withCreatedBy("admin@example.com").withTags(storageTags); | CODE |
| LOW | …vicesharedmodels/ArmMultiServiceSharedModelsTests.java | 41 | SharedMetadata vmMetadata = new SharedMetadata().withCreatedBy("user@example.com").withTags(vmTags); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-client-python/eng/scripts/ci/util.py | 100 | except Exception as e: | CODE |
| LOW | …kages/http-client-python/eng/scripts/ci/run_apiview.py | 40 | except Exception as e: | CODE |
| LOW | …/http-client-python/eng/scripts/ci/run_sphinx_build.py | 122 | except Exception as e: | CODE |
| LOW | …ages/http-client-python/eng/scripts/setup/run_batch.py | 65 | except Exception as e: | CODE |
| LOW | …ckages/http-client-python/eng/scripts/setup/install.py | 56 | except Exception as e: | CODE |
| MEDIUM | …ckages/http-client-python/eng/scripts/setup/install.py | 58 | print(f"Error: Installation failed despite Python and package manager being available: {e}") | CODE |
| LOW | packages/http-client-python/tests/conftest.py | 91 | except Exception: | CODE |
| LOW | packages/http-client-python/tests/conftest.py | 95 | except Exception: | CODE |
| MEDIUM | packages/http-client-python/tests/install_packages.py | 115 | print(f"Error installing packages: {e}") | CODE |
| MEDIUM | packages/http-client-python/tests/install_packages.py | 146 | print(f"Error: Unknown command or flavor '{sys.argv[1]}'") | CODE |
| LOW | …ts/mock_api/shared/test_multipart_filetype_variants.py | 31 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …ests/mock_api/shared/unittests/test_parse_pyproject.py | 72 | except Exception as e: | CODE |
| LOW | packages/http-client-python/generator/pygen/__init__.py | 245 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 93 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 120 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 625 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 684 | except Exception as e: # pylint: disable=broad-except | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | eng/common/scripts/labels/automation.ts | 48 | const content = `# This file is generated by the sync-labels script DO NOT EDIT manually\n${cspell}${yaml}`; | CODE |
| MEDIUM | …http-client-python/eng/scripts/ci/regenerate-common.ts | 699 | const DELETE_CONTENT = "# This file is to be deleted after regeneration"; | CODE |
| MEDIUM | …http-client-python/eng/scripts/ci/regenerate-common.ts | 700 | const KEEP_CONTENT = "# This file is to be kept after regeneration"; | CODE |
| MEDIUM | …ttp-client-python/eng/scripts/setup/package_manager.py | 136 | # Create a mock venv_context for compatibility | COMMENT |
| MEDIUM | .github/policies/issues.triage.generated.yml | 1 | # This file is generated by the sync-labels script DO NOT EDIT manually | COMMENT |
| MEDIUM | .github/policies/prs.triage.generated.yml | 1 | # This file is generated by the sync-labels script DO NOT EDIT manually | COMMENT |
| MEDIUM | .github/policies/prs.external-reviewers.generated.yml | 1 | # This file is generated by the sync-labels script DO NOT EDIT manually | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ent-python/generator/pygen/codegen/models/enum_type.py | 0 | returns the serialization value for msrest. :return: the serialization value for msrest :rtype: str | STRING |
| HIGH | …python/generator/pygen/codegen/models/constant_type.py | 0 | returns the serialization value for msrest. :return: the serialization value for msrest :rtype: str | STRING |
| HIGH | …thon/generator/pygen/codegen/models/dictionary_type.py | 0 | returns the serialization value for msrest. :return: the serialization value for msrest :rtype: str | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-client-python/generator/pygen/__init__.py | 336 | def update_yaml(self, yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 143 | def update_paging_response(yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 569 | def update_types(self, yaml_data: list[dict[str, Any]]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 600 | def update_client(self, yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 646 | def update_parameter(self, yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 729 | def _update_lro_operation_helper(self, yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 811 | def update_operation_groups(self, code_model: dict[str, Any], client: dict[str, Any]) -> None: | CODE |
| LOW | …p-client-python/generator/pygen/preprocess/__init__.py | 835 | def update_yaml(self, yaml_data: dict[str, Any]) -> None: | CODE |
| LOW | …ient-python/generator/pygen/codegen/models/__init__.py | 79 | __all__ = [ | CODE |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 60 | def _update_version_map(self, version_map: dict[str, str], dep_name: str, dep: str) -> None: | CODE |
| LOW | …python/generator/pygen/codegen/serializers/__init__.py | 42 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rc/components/transforms/json/json-model-transform.tsx | 83 | // Make the input optional to make the transform more robust and check against null and undefined | COMMENT |
| LOW | …/http-client-python/eng/scripts/ci/run_sphinx_build.py | 77 | # If no submodules, just use the main package | COMMENT |
| LOW | …ent-python/generator/pygen/codegen/models/list_type.py | 43 | # this means we're version tolerant XML, we just return the XML element | COMMENT |
| LOW | …ent-python/generator/pygen/codegen/models/list_type.py | 86 | # this means we're version tolerant XML, we just return the XML element | COMMENT |
| LOW | …ent-python/generator/pygen/codegen/models/list_type.py | 92 | # this means we're version tolerant XML, we just return the XML element | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ests/mock_api/shared/unittests/test_parse_pyproject.py | 27 | Get a specific section from a package's pyproject.toml file. Args: package_path: Relative path to the | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/http-client-python/tests/conftest.py | 108 | # Check if server is already running | COMMENT |
| LOW | …erator/pygen/codegen/serializers/builder_serializer.py | 754 | # Check if this is a typeddict-only model within dpg mode — skip serialization | COMMENT |
| LOW | …erator/pygen/codegen/serializers/general_serializer.py | 121 | # Check if dependency is one we track in version map | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/test/output/petstore/@typespec/openapi3/openapi.yaml | 4 | description: 'This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](htt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/xml/src/decorators.ts | 77 | function getData( | CODE |