<commit_before># Minimal Certification Requirements

1) The **partner contract** was **signed**. See: [Steps for Building an Integration](https://docs.acrolinx.com/customintegrations/steps-for-building-an-integration)
2) The integration doesn't violate the **Acrolinx license model**. (Demo / Questions)
3) The correct **signature** is **hard-coded**. (Demo / Source)
   + How to set the signature?
      * Sidebar: [JS](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L29),
      [Java](https://github.com/acrolinx/acrolinx-sidebar-demo-java/blob/c32678dec4cfd849cc9d33e78fab2ace2bb1de0a/demo/swing/src/main/java/com/acrolinx/client/sidebar/demo/swing/AcrolinxDemoClientSwing.java#L40),
      [.NET (1)](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet#configuration)
      [(2)](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet/blob/master/Acrolinx.Demo.Sidebar/MultiSample.Designer.cs#L144),
      [C++](https://github.com/acrolinx/sidebar-demo-cpp/blob/064939fbfbe2e4b238ab9250b1568a3d91475382/Acrolinx.Adapter.Demo.Sidebar.Cpp/Acrolinx.Adapter.Demo.Sidebar.CppDlg.cpp#L115)
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/signature),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L65),
      [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L191),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/dc346b53ee3b274ecfd40dfe5e4af4855fea4695/Acrolinx.Net/Acrolinx.Net.Tests/TestEnvironment.cs#L26),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L60)
4) The [version information](project-setup.md#version-information) is set to enable support. (Demo / Source)
   + How to set the version?
      * Sidebar: [JS](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L67),
      [Java](https://github.com/acrolinx/acrolinx-sidebar-demo-java/blob/c32678dec4cfd849cc9d33e78fab2ace2bb1de0a/demo/swing/src/main/java/com/acrolinx/client/sidebar/demo/swing/AcrolinxDemoClientSwing.java#L38),
      [.NET](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet/blob/d7194416157e3661fbce8c5473a7bae14059e041/Acrolinx.Demo.Sidebar/Integration.cs#L52)
      (defaults to assembly version),
      [C++](https://github.com/acrolinx/sidebar-demo-cpp/blob/064939fbfbe2e4b238ab9250b1568a3d91475382/Acrolinx.Adapter.Demo.Sidebar.Cpp/Acrolinx.Adapter.Demo.Sidebar.CppDlg.cpp#L125)
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/signature),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L66),
      [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L191),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net/AcrolinxEndpoint.cs#L61)
      (defaults to assembly version),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/src/AcrolinxEndpoint.php#L96)
5) The correct **Acrolinx branding** is used. (Demo)
6) The integration seems to be **usable**. (Demo / Questions)
7) To fulfill the use case the best [points for integrating](integration-points.md) are used. (Demo / Questions)
8) The correct [check type](check-types.md) is set. (Demo / Source / Questions)
    + How to set the check type?
      * Sidebar: always `interactive`
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#reference/checking-api/submit-a-check/submit-a-check),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/src/check.ts#L64),
      [Java (1)](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L237)
      [(2)](https://acrolinx.github.io/sdk-java/com/acrolinx/client/sdk/check/CheckOptionsBuilder.html#withCheckType-com.acrolinx.client.sdk.check.CheckType-),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/20ca7d1e7d58caf5f60cba33dbca72d7700e39ae/Acrolinx.Net/Acrolinx.Net/Check/CheckOptions.cs#L30),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L274)
9) The right [authentication mode](configuration.md#authentication) is used. (Demo / Source)
   + How to set/change the sign-in mechanism?
      * Sidebar: All versions of the interactive sign-in like: external authentication, federate authentication, and
        Acrolinx Sign-In work out of the box. [JS (SSO)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L61)
      * Automated:
         + Interactive: [Platform API](https://github.com/acrolinx/platform-api#getting-an-access-token-with-acrolinx-sign-in),
           [JS](https://github.com/acrolinx/sdk-js/blob/217ea70387d8f20f74b3fff1e61addd97699f3ac/test/unit/signin.test.ts#L108),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/SignInInteractiveTest.java#L44),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L115)
         + SSO: [Platform API](https://acrolinxapi.docs.apiary.io/#reference/authentication-api/requestvalidate-an-api-token),
           [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L149),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/SignInSsoTest.java#L32),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/dc346b53ee3b274ecfd40dfe5e4af4855fea4695/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L60),
           [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L122)
         + API token: [Platform API (1)](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/access-token)
           [(2)](https://github.com/acrolinx/platform-api#getting-an-api-token),
           [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L185),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L193),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L261),
10) The [Acrolinx URL](configuration.md#acrolinx-url) isn't hardcoded and not defaulting to the test URL.
    The URL is ideally configured globally by an admin. (Demo / Source)
    + How to set the Acrolinx URL, and enable or disable the start page?
      * Sidebar: [JS (1)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L28)
      [(2)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L57),
      [Java (1)](https://acrolinx.github.io/sidebar-sdk-java/com/acrolinx/sidebar/pojo/settings/AcrolinxSidebarInitParameter.AcrolinxSidebarInitParameterBuilder.html#withServerAddress-java.lang.String-)<commit_msg>DEV-22357 auth <-> check type<commit_after># Minimal Certification Requirements

1) The **partner contract** was **signed**. See: [Steps for Building an Integration](https://docs.acrolinx.com/customintegrations/steps-for-building-an-integration)
2) The integration doesn't violate the **Acrolinx license model**. (Demo / Questions)
3) The correct **signature** is **hard-coded**. (Demo / Source)
   + How to set the signature?
      * Sidebar: [JS](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L29),
      [Java](https://github.com/acrolinx/acrolinx-sidebar-demo-java/blob/c32678dec4cfd849cc9d33e78fab2ace2bb1de0a/demo/swing/src/main/java/com/acrolinx/client/sidebar/demo/swing/AcrolinxDemoClientSwing.java#L40),
      [.NET (1)](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet#configuration)
      [(2)](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet/blob/master/Acrolinx.Demo.Sidebar/MultiSample.Designer.cs#L144),
      [C++](https://github.com/acrolinx/sidebar-demo-cpp/blob/064939fbfbe2e4b238ab9250b1568a3d91475382/Acrolinx.Adapter.Demo.Sidebar.Cpp/Acrolinx.Adapter.Demo.Sidebar.CppDlg.cpp#L115)
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/signature),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L65),
      [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L191),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/dc346b53ee3b274ecfd40dfe5e4af4855fea4695/Acrolinx.Net/Acrolinx.Net.Tests/TestEnvironment.cs#L26),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L60)
4) The [version information](project-setup.md#version-information) is set to enable support. (Demo / Source)
   + How to set the version?
      * Sidebar: [JS](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L67),
      [Java](https://github.com/acrolinx/acrolinx-sidebar-demo-java/blob/c32678dec4cfd849cc9d33e78fab2ace2bb1de0a/demo/swing/src/main/java/com/acrolinx/client/sidebar/demo/swing/AcrolinxDemoClientSwing.java#L38),
      [.NET](https://github.com/acrolinx/acrolinx-sidebar-demo-dotnet/blob/d7194416157e3661fbce8c5473a7bae14059e041/Acrolinx.Demo.Sidebar/Integration.cs#L52)
      (defaults to assembly version),
      [C++](https://github.com/acrolinx/sidebar-demo-cpp/blob/064939fbfbe2e4b238ab9250b1568a3d91475382/Acrolinx.Adapter.Demo.Sidebar.Cpp/Acrolinx.Adapter.Demo.Sidebar.CppDlg.cpp#L125)
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/signature),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L66),
      [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L191),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net/AcrolinxEndpoint.cs#L61)
      (defaults to assembly version),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/src/AcrolinxEndpoint.php#L96)
5) The correct **Acrolinx branding** is used. (Demo)
6) The integration seems to be **usable**. (Demo / Questions)
7) To fulfill the use case the best [points for integrating](integration-points.md) are used. (Demo / Questions)
8) The right [authentication mode](configuration.md#authentication) is used. (Demo / Source)
   + How to set/change the sign-in mechanism?
      * Sidebar: All versions of the interactive sign-in like: external authentication, federate authentication, and
        Acrolinx Sign-In work out of the box. [JS (SSO)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L61)
      * Automated:
         + Interactive: [Platform API](https://github.com/acrolinx/platform-api#getting-an-access-token-with-acrolinx-sign-in),
           [JS](https://github.com/acrolinx/sdk-js/blob/217ea70387d8f20f74b3fff1e61addd97699f3ac/test/unit/signin.test.ts#L108),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/SignInInteractiveTest.java#L44),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L115)
         + SSO: [Platform API](https://acrolinxapi.docs.apiary.io/#reference/authentication-api/requestvalidate-an-api-token),
           [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L149),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/SignInSsoTest.java#L32),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/dc346b53ee3b274ecfd40dfe5e4af4855fea4695/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L60),
           [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L122)
         + API token: [Platform API (1)](https://acrolinxapi.docs.apiary.io/#introduction/general-headers/access-token)
           [(2)](https://github.com/acrolinx/platform-api#getting-an-api-token),
           [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/test/integration-server/acrolinx-endpoint.test.ts#L185),
           [Java](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L193),
           [.NET](https://github.com/acrolinx/sdk-dotnet/blob/2655e198e13fa05e7ba8bd3a15b221223e5f4ce7/Acrolinx.Net/Acrolinx.Net.Tests/EndpointTest.cs#L261),
9) The correct [check type](check-types.md) is set. (Demo / Source / Questions)
    + How to set the check type?
      * Sidebar: always `interactive`
      * Automated: [Platform API](https://acrolinxapi.docs.apiary.io/#reference/checking-api/submit-a-check/submit-a-check),
      [JS](https://github.com/acrolinx/sdk-js/blob/2d6436f9b994137a646bcaed69ba70e04ec9e765/src/check.ts#L64),
      [Java (1)](https://github.com/acrolinx/sdk-java/blob/127d42a5247e4e52d72ce829b649befbfb2eeffd/src/test/java/com/acrolinx/client/sdk/integration/CheckTest.java#L237)
      [(2)](https://acrolinx.github.io/sdk-java/com/acrolinx/client/sdk/check/CheckOptionsBuilder.html#withCheckType-com.acrolinx.client.sdk.check.CheckType-),
      [.NET](https://github.com/acrolinx/sdk-dotnet/blob/20ca7d1e7d58caf5f60cba33dbca72d7700e39ae/Acrolinx.Net/Acrolinx.Net/Check/CheckOptions.cs#L30),
      [PHP](https://github.com/acrolinx/sdk-php/blob/21d976471d389f3ea8b9175ce70b26b3588fa4b3/tests/AcrolinxEndpointTest.php#L274)
10) The [Acrolinx URL](configuration.md#acrolinx-url) isn't hardcoded and not defaulting to the test URL.
    The URL is ideally configured globally by an admin. (Demo / Source)
    + How to set the Acrolinx URL, and enable or disable the start page?
      * Sidebar: [JS (1)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L28)
      [(2)](https://github.com/acrolinx/acrolinx-sidebar-demo/blob/d49f8e5fc22d6ddaef033ccfacdba30d91ced9e2/samples/config.js#L57),
      [Java (1)](https://acrolinx.github.io/sidebar-sdk-java/com/acrolinx/sidebar/pojo/settings/AcrolinxSidebarInitParameter.AcrolinxSidebarInitParameterBuilder.html#withServerAddress-java.lang.String-)
{'fraction_non_alphanumeric': 0.14192249622546552, 'fraction_numerical': 0.10335933568193256, 'mean_word_length': 4.947250280583614, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 88, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4602092', 'n_tokens_mistral': 7050, 'n_tokens_neox': 6190, 'n_words': 508}